| 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 487 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 498 IDS_SETTINGS_LANGUAGES_MANAGE_LANGUAGES_TITLE}, | 498 IDS_SETTINGS_LANGUAGES_MANAGE_LANGUAGES_TITLE}, |
| 499 {"allLanguages", IDS_SETTINGS_LANGUAGES_ALL_LANGUAGES}, | 499 {"allLanguages", IDS_SETTINGS_LANGUAGES_ALL_LANGUAGES}, |
| 500 {"enabledLanguages", IDS_SETTINGS_LANGUAGES_ENABLED_LANGUAGES}, | 500 {"enabledLanguages", IDS_SETTINGS_LANGUAGES_ENABLED_LANGUAGES}, |
| 501 {"cannotBeDisplayedInThisLanguage", | 501 {"cannotBeDisplayedInThisLanguage", |
| 502 IDS_SETTINGS_LANGUAGES_CANNOT_BE_DISPLAYED_IN_THIS_LANGUAGE}, | 502 IDS_SETTINGS_LANGUAGES_CANNOT_BE_DISPLAYED_IN_THIS_LANGUAGE}, |
| 503 {"isDisplayedInThisLanguage", | 503 {"isDisplayedInThisLanguage", |
| 504 IDS_SETTINGS_LANGUAGES_IS_DISPLAYED_IN_THIS_LANGUAGE}, | 504 IDS_SETTINGS_LANGUAGES_IS_DISPLAYED_IN_THIS_LANGUAGE}, |
| 505 {"displayInThisLanguage", | 505 {"displayInThisLanguage", |
| 506 IDS_SETTINGS_LANGUAGES_DISPLAY_IN_THIS_LANGUAGE}, | 506 IDS_SETTINGS_LANGUAGES_DISPLAY_IN_THIS_LANGUAGE}, |
| 507 {"offerToTranslateInThisLanguage", | 507 {"offerToTranslateInThisLanguage", |
| 508 IDS_OPTIONS_LANGUAGES_OFFER_TO_TRANSLATE_IN_THIS_LANGUAGE}, | 508 IDS_SETTINGS_LANGUAGES_OFFER_TO_TRANSLATE_IN_THIS_LANGUAGE}, |
| 509 {"cannotTranslateInThisLanguage", | 509 {"cannotTranslateInThisLanguage", |
| 510 IDS_OPTIONS_LANGUAGES_CANNOT_TRANSLATE_IN_THIS_LANGUAGE}, | 510 IDS_SETTINGS_LANGUAGES_CANNOT_TRANSLATE_IN_THIS_LANGUAGE}, |
| 511 {"editDictionaryPageTitle", IDS_SETTINGS_LANGUAGES_EDIT_DICTIONARY_TITLE}, | 511 {"editDictionaryPageTitle", IDS_SETTINGS_LANGUAGES_EDIT_DICTIONARY_TITLE}, |
| 512 {"addDictionaryWordLabel", IDS_SETTINGS_LANGUAGES_ADD_DICTIONARY_WORD}, | 512 {"addDictionaryWordLabel", IDS_SETTINGS_LANGUAGES_ADD_DICTIONARY_WORD}, |
| 513 {"addDictionaryWordButton", | 513 {"addDictionaryWordButton", |
| 514 IDS_SETTINGS_LANGUAGES_ADD_DICTIONARY_WORD_BUTTON}, | 514 IDS_SETTINGS_LANGUAGES_ADD_DICTIONARY_WORD_BUTTON}, |
| 515 {"customDictionaryWords", IDS_SETTINGS_LANGUAGES_DICTIONARY_WORDS}, | 515 {"customDictionaryWords", IDS_SETTINGS_LANGUAGES_DICTIONARY_WORDS}, |
| 516 }; | 516 }; |
| 517 AddLocalizedStringsBulk(html_source, localized_strings, | 517 AddLocalizedStringsBulk(html_source, localized_strings, |
| 518 arraysize(localized_strings)); | 518 arraysize(localized_strings)); |
| 519 } | 519 } |
| 520 | 520 |
| (...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 913 #endif | 913 #endif |
| 914 AddUsersStrings(html_source); | 914 AddUsersStrings(html_source); |
| 915 AddWebContentStrings(html_source); | 915 AddWebContentStrings(html_source); |
| 916 | 916 |
| 917 policy_indicator::AddLocalizedStrings(html_source); | 917 policy_indicator::AddLocalizedStrings(html_source); |
| 918 | 918 |
| 919 html_source->SetJsonPath(kLocalizedStringsFile); | 919 html_source->SetJsonPath(kLocalizedStringsFile); |
| 920 } | 920 } |
| 921 | 921 |
| 922 } // namespace settings | 922 } // namespace settings |
| OLD | NEW |