| 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 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 523 IDS_SETTINGS_LANGUAGES_MANAGE_LANGUAGES_TITLE}, | 523 IDS_SETTINGS_LANGUAGES_MANAGE_LANGUAGES_TITLE}, |
| 524 {"allLanguages", IDS_SETTINGS_LANGUAGES_ALL_LANGUAGES}, | 524 {"allLanguages", IDS_SETTINGS_LANGUAGES_ALL_LANGUAGES}, |
| 525 {"enabledLanguages", IDS_SETTINGS_LANGUAGES_ENABLED_LANGUAGES}, | 525 {"enabledLanguages", IDS_SETTINGS_LANGUAGES_ENABLED_LANGUAGES}, |
| 526 {"cannotBeDisplayedInThisLanguage", | 526 {"cannotBeDisplayedInThisLanguage", |
| 527 IDS_SETTINGS_LANGUAGES_CANNOT_BE_DISPLAYED_IN_THIS_LANGUAGE}, | 527 IDS_SETTINGS_LANGUAGES_CANNOT_BE_DISPLAYED_IN_THIS_LANGUAGE}, |
| 528 {"isDisplayedInThisLanguage", | 528 {"isDisplayedInThisLanguage", |
| 529 IDS_SETTINGS_LANGUAGES_IS_DISPLAYED_IN_THIS_LANGUAGE}, | 529 IDS_SETTINGS_LANGUAGES_IS_DISPLAYED_IN_THIS_LANGUAGE}, |
| 530 {"displayInThisLanguage", | 530 {"displayInThisLanguage", |
| 531 IDS_SETTINGS_LANGUAGES_DISPLAY_IN_THIS_LANGUAGE}, | 531 IDS_SETTINGS_LANGUAGES_DISPLAY_IN_THIS_LANGUAGE}, |
| 532 {"offerToTranslateInThisLanguage", | 532 {"offerToTranslateInThisLanguage", |
| 533 IDS_OPTIONS_LANGUAGES_OFFER_TO_TRANSLATE_IN_THIS_LANGUAGE}, | 533 IDS_SETTINGS_LANGUAGES_OFFER_TO_TRANSLATE_IN_THIS_LANGUAGE}, |
| 534 {"cannotTranslateInThisLanguage", | 534 {"cannotTranslateInThisLanguage", |
| 535 IDS_OPTIONS_LANGUAGES_CANNOT_TRANSLATE_IN_THIS_LANGUAGE}, | 535 IDS_SETTINGS_LANGUAGES_CANNOT_TRANSLATE_IN_THIS_LANGUAGE}, |
| 536 {"editDictionaryPageTitle", IDS_SETTINGS_LANGUAGES_EDIT_DICTIONARY_TITLE}, | 536 {"editDictionaryPageTitle", IDS_SETTINGS_LANGUAGES_EDIT_DICTIONARY_TITLE}, |
| 537 {"addDictionaryWordLabel", IDS_SETTINGS_LANGUAGES_ADD_DICTIONARY_WORD}, | 537 {"addDictionaryWordLabel", IDS_SETTINGS_LANGUAGES_ADD_DICTIONARY_WORD}, |
| 538 {"addDictionaryWordButton", | 538 {"addDictionaryWordButton", |
| 539 IDS_SETTINGS_LANGUAGES_ADD_DICTIONARY_WORD_BUTTON}, | 539 IDS_SETTINGS_LANGUAGES_ADD_DICTIONARY_WORD_BUTTON}, |
| 540 {"customDictionaryWords", IDS_SETTINGS_LANGUAGES_DICTIONARY_WORDS}, | 540 {"customDictionaryWords", IDS_SETTINGS_LANGUAGES_DICTIONARY_WORDS}, |
| 541 }; | 541 }; |
| 542 AddLocalizedStringsBulk(html_source, localized_strings, | 542 AddLocalizedStringsBulk(html_source, localized_strings, |
| 543 arraysize(localized_strings)); | 543 arraysize(localized_strings)); |
| 544 } | 544 } |
| 545 | 545 |
| (...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 938 #endif | 938 #endif |
| 939 AddUsersStrings(html_source); | 939 AddUsersStrings(html_source); |
| 940 AddWebContentStrings(html_source); | 940 AddWebContentStrings(html_source); |
| 941 | 941 |
| 942 policy_indicator::AddLocalizedStrings(html_source); | 942 policy_indicator::AddLocalizedStrings(html_source); |
| 943 | 943 |
| 944 html_source->SetJsonPath(kLocalizedStringsFile); | 944 html_source->SetJsonPath(kLocalizedStringsFile); |
| 945 } | 945 } |
| 946 | 946 |
| 947 } // namespace settings | 947 } // namespace settings |
| OLD | NEW |