| 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/strings/utf_string_conversions.h" | 9 #include "base/strings/utf_string_conversions.h" |
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
| (...skipping 688 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 699 IDS_SETTINGS_SEARCH_ENGINES_ADD_SEARCH_ENGINE); | 699 IDS_SETTINGS_SEARCH_ENGINES_ADD_SEARCH_ENGINE); |
| 700 html_source->AddLocalizedString( | 700 html_source->AddLocalizedString( |
| 701 "searchEnginesEditSearchEngine", | 701 "searchEnginesEditSearchEngine", |
| 702 IDS_SETTINGS_SEARCH_ENGINES_EDIT_SEARCH_ENGINE); | 702 IDS_SETTINGS_SEARCH_ENGINES_EDIT_SEARCH_ENGINE); |
| 703 html_source->AddLocalizedString( | 703 html_source->AddLocalizedString( |
| 704 "searchEnginesNotValid", | 704 "searchEnginesNotValid", |
| 705 IDS_SETTINGS_SEARCH_ENGINES_NOT_VALID); | 705 IDS_SETTINGS_SEARCH_ENGINES_NOT_VALID); |
| 706 html_source->AddLocalizedString("searchEngines", | 706 html_source->AddLocalizedString("searchEngines", |
| 707 IDS_SETTINGS_SEARCH_ENGINES); | 707 IDS_SETTINGS_SEARCH_ENGINES); |
| 708 html_source->AddLocalizedString( | 708 html_source->AddLocalizedString( |
| 709 "searchEnginesDefault", |
| 710 IDS_SETTINGS_SEARCH_ENGINES_DEFAULT_ENGINES); |
| 711 html_source->AddLocalizedString( |
| 709 "searchEnginesOther", | 712 "searchEnginesOther", |
| 710 IDS_SETTINGS_SEARCH_ENGINES_OTHER_ENGINES); | 713 IDS_SETTINGS_SEARCH_ENGINES_OTHER_ENGINES); |
| 711 html_source->AddLocalizedString( | 714 html_source->AddLocalizedString( |
| 712 "searchEnginesSearchEngine", | 715 "searchEnginesSearchEngine", |
| 713 IDS_SETTINGS_SEARCH_ENGINES_SEARCH_ENGINE); | 716 IDS_SETTINGS_SEARCH_ENGINES_SEARCH_ENGINE); |
| 714 html_source->AddLocalizedString("searchEnginesKeyword", | 717 html_source->AddLocalizedString("searchEnginesKeyword", |
| 715 IDS_SETTINGS_SEARCH_ENGINES_KEYWORD); | 718 IDS_SETTINGS_SEARCH_ENGINES_KEYWORD); |
| 716 html_source->AddLocalizedString("searchEnginesQueryURL", | 719 html_source->AddLocalizedString("searchEnginesQueryURL", |
| 717 IDS_SETTINGS_SEARCH_ENGINES_QUERY_URL); | 720 IDS_SETTINGS_SEARCH_ENGINES_QUERY_URL); |
| 718 html_source->AddLocalizedString( | 721 html_source->AddLocalizedString( |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 945 AddSiteSettingsStrings(html_source); | 948 AddSiteSettingsStrings(html_source); |
| 946 AddUsersStrings(html_source); | 949 AddUsersStrings(html_source); |
| 947 AddWebContentStrings(html_source); | 950 AddWebContentStrings(html_source); |
| 948 | 951 |
| 949 policy_indicator::AddLocalizedStrings(html_source); | 952 policy_indicator::AddLocalizedStrings(html_source); |
| 950 | 953 |
| 951 html_source->SetJsonPath(kLocalizedStringsFile); | 954 html_source->SetJsonPath(kLocalizedStringsFile); |
| 952 } | 955 } |
| 953 | 956 |
| 954 } // namespace settings | 957 } // namespace settings |
| OLD | NEW |