| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/ui/webui/settings/md_settings_localized_strings_provide
r.h" | 5 #include "chrome/browser/ui/webui/settings/md_settings_localized_strings_provide
r.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| (...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 681 #else // !defined(OS_CHROMEOS) | 681 #else // !defined(OS_CHROMEOS) |
| 682 {"editPerson", IDS_SETTINGS_EDIT_PERSON}, | 682 {"editPerson", IDS_SETTINGS_EDIT_PERSON}, |
| 683 #endif // defined(OS_CHROMEOS) | 683 #endif // defined(OS_CHROMEOS) |
| 684 {"syncOverview", IDS_SETTINGS_SYNC_OVERVIEW}, | 684 {"syncOverview", IDS_SETTINGS_SYNC_OVERVIEW}, |
| 685 {"syncSignin", IDS_SETTINGS_SYNC_SIGNIN}, | 685 {"syncSignin", IDS_SETTINGS_SYNC_SIGNIN}, |
| 686 {"syncDisconnect", IDS_SETTINGS_SYNC_DISCONNECT}, | 686 {"syncDisconnect", IDS_SETTINGS_SYNC_DISCONNECT}, |
| 687 {"syncDisconnectTitle", IDS_SETTINGS_SYNC_DISCONNECT_TITLE}, | 687 {"syncDisconnectTitle", IDS_SETTINGS_SYNC_DISCONNECT_TITLE}, |
| 688 {"syncDisconnectDeleteProfile", | 688 {"syncDisconnectDeleteProfile", |
| 689 IDS_SETTINGS_SYNC_DISCONNECT_DELETE_PROFILE}, | 689 IDS_SETTINGS_SYNC_DISCONNECT_DELETE_PROFILE}, |
| 690 {"syncDisconnectConfirm", IDS_SETTINGS_SYNC_DISCONNECT_CONFIRM}, | 690 {"syncDisconnectConfirm", IDS_SETTINGS_SYNC_DISCONNECT_CONFIRM}, |
| 691 {"syncPageTitle", IDS_SETTINGS_SYNC}, | 691 {"sync", IDS_SETTINGS_SYNC}, |
| 692 {"syncPageTitle", IDS_SETTINGS_SYNC_PAGE_TITLE}, |
| 692 {"syncLoading", IDS_SETTINGS_SYNC_LOADING}, | 693 {"syncLoading", IDS_SETTINGS_SYNC_LOADING}, |
| 693 {"syncTimeout", IDS_SETTINGS_SYNC_TIMEOUT}, | 694 {"syncTimeout", IDS_SETTINGS_SYNC_TIMEOUT}, |
| 694 {"syncEverythingCheckboxLabel", | 695 {"syncEverythingCheckboxLabel", |
| 695 IDS_SETTINGS_SYNC_EVERYTHING_CHECKBOX_LABEL}, | 696 IDS_SETTINGS_SYNC_EVERYTHING_CHECKBOX_LABEL}, |
| 696 {"appCheckboxLabel", IDS_SETTINGS_APPS_CHECKBOX_LABEL}, | 697 {"appCheckboxLabel", IDS_SETTINGS_APPS_CHECKBOX_LABEL}, |
| 697 {"extensionsCheckboxLabel", IDS_SETTINGS_EXTENSIONS_CHECKBOX_LABEL}, | 698 {"extensionsCheckboxLabel", IDS_SETTINGS_EXTENSIONS_CHECKBOX_LABEL}, |
| 698 {"settingsCheckboxLabel", IDS_SETTINGS_SETTINGS_CHECKBOX_LABEL}, | 699 {"settingsCheckboxLabel", IDS_SETTINGS_SETTINGS_CHECKBOX_LABEL}, |
| 699 {"autofillCheckboxLabel", IDS_SETTINGS_AUTOFILL_CHECKBOX_LABEL}, | 700 {"autofillCheckboxLabel", IDS_SETTINGS_AUTOFILL_CHECKBOX_LABEL}, |
| 700 {"historyCheckboxLabel", IDS_SETTINGS_HISTORY_CHECKBOX_LABEL}, | 701 {"historyCheckboxLabel", IDS_SETTINGS_HISTORY_CHECKBOX_LABEL}, |
| 701 {"themesAndWallpapersCheckboxLabel", | 702 {"themesAndWallpapersCheckboxLabel", |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1011 #endif | 1012 #endif |
| 1012 AddUsersStrings(html_source); | 1013 AddUsersStrings(html_source); |
| 1013 AddWebContentStrings(html_source); | 1014 AddWebContentStrings(html_source); |
| 1014 | 1015 |
| 1015 policy_indicator::AddLocalizedStrings(html_source); | 1016 policy_indicator::AddLocalizedStrings(html_source); |
| 1016 | 1017 |
| 1017 html_source->SetJsonPath(kLocalizedStringsFile); | 1018 html_source->SetJsonPath(kLocalizedStringsFile); |
| 1018 } | 1019 } |
| 1019 | 1020 |
| 1020 } // namespace settings | 1021 } // namespace settings |
| OLD | NEW |