| 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/i18n/number_formatting.h" | 10 #include "base/i18n/number_formatting.h" |
| (...skipping 920 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 931 {"addLanguagesDialogTitle", | 931 {"addLanguagesDialogTitle", |
| 932 IDS_SETTINGS_LANGUAGES_MANAGE_LANGUAGES_TITLE}, | 932 IDS_SETTINGS_LANGUAGES_MANAGE_LANGUAGES_TITLE}, |
| 933 {"allLanguages", IDS_SETTINGS_LANGUAGES_ALL_LANGUAGES}, | 933 {"allLanguages", IDS_SETTINGS_LANGUAGES_ALL_LANGUAGES}, |
| 934 {"enabledLanguages", IDS_SETTINGS_LANGUAGES_ENABLED_LANGUAGES}, | 934 {"enabledLanguages", IDS_SETTINGS_LANGUAGES_ENABLED_LANGUAGES}, |
| 935 {"isDisplayedInThisLanguage", | 935 {"isDisplayedInThisLanguage", |
| 936 IDS_SETTINGS_LANGUAGES_IS_DISPLAYED_IN_THIS_LANGUAGE}, | 936 IDS_SETTINGS_LANGUAGES_IS_DISPLAYED_IN_THIS_LANGUAGE}, |
| 937 {"displayInThisLanguage", | 937 {"displayInThisLanguage", |
| 938 IDS_SETTINGS_LANGUAGES_DISPLAY_IN_THIS_LANGUAGE}, | 938 IDS_SETTINGS_LANGUAGES_DISPLAY_IN_THIS_LANGUAGE}, |
| 939 {"offerToTranslateInThisLanguage", | 939 {"offerToTranslateInThisLanguage", |
| 940 IDS_SETTINGS_LANGUAGES_OFFER_TO_TRANSLATE_IN_THIS_LANGUAGE}, | 940 IDS_SETTINGS_LANGUAGES_OFFER_TO_TRANSLATE_IN_THIS_LANGUAGE}, |
| 941 {"offerToEnableTranslate", |
| 942 IDS_SETTINGS_LANGUAGES_OFFER_TO_ENABLE_TRANSLATE}, |
| 941 #if !defined(OS_MACOSX) | 943 #if !defined(OS_MACOSX) |
| 942 {"spellCheckListTitle", IDS_SETTINGS_LANGUAGES_SPELL_CHECK_LIST_TITLE}, | 944 {"spellCheckListTitle", IDS_SETTINGS_LANGUAGES_SPELL_CHECK_LIST_TITLE}, |
| 943 {"spellCheckExpandA11yLabel", | 945 {"spellCheckExpandA11yLabel", |
| 944 IDS_SETTINGS_LANGUAGES_SPELL_CHECK_EXPAND_ACCESSIBILITY_LABEL}, | 946 IDS_SETTINGS_LANGUAGES_SPELL_CHECK_EXPAND_ACCESSIBILITY_LABEL}, |
| 945 {"spellCheckSummaryTwoLanguages", | 947 {"spellCheckSummaryTwoLanguages", |
| 946 IDS_SETTINGS_LANGUAGES_SPELL_CHECK_SUMMARY_TWO_LANGUAGES}, | 948 IDS_SETTINGS_LANGUAGES_SPELL_CHECK_SUMMARY_TWO_LANGUAGES}, |
| 947 // TODO(michaelpg): Use ICU plural format when available to properly | 949 // TODO(michaelpg): Use ICU plural format when available to properly |
| 948 // translate "and [n] other(s)". | 950 // translate "and [n] other(s)". |
| 949 {"spellCheckSummaryThreeLanguages", | 951 {"spellCheckSummaryThreeLanguages", |
| 950 IDS_SETTINGS_LANGUAGES_SPELL_CHECK_SUMMARY_THREE_LANGUAGES}, | 952 IDS_SETTINGS_LANGUAGES_SPELL_CHECK_SUMMARY_THREE_LANGUAGES}, |
| (...skipping 916 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1867 | 1869 |
| 1868 #if defined(OS_CHROMEOS) | 1870 #if defined(OS_CHROMEOS) |
| 1869 chromeos::network_element::AddLocalizedStrings(html_source); | 1871 chromeos::network_element::AddLocalizedStrings(html_source); |
| 1870 #endif | 1872 #endif |
| 1871 policy_indicator::AddLocalizedStrings(html_source); | 1873 policy_indicator::AddLocalizedStrings(html_source); |
| 1872 | 1874 |
| 1873 html_source->SetJsonPath(kLocalizedStringsFile); | 1875 html_source->SetJsonPath(kLocalizedStringsFile); |
| 1874 } | 1876 } |
| 1875 | 1877 |
| 1876 } // namespace settings | 1878 } // namespace settings |
| OLD | NEW |