Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Side by Side Diff: chrome/browser/ui/webui/settings/md_settings_localized_strings_provider.cc

Issue 2047733003: MD Settings: Spellcheck subsection secondary text (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@FixLanuageStrings
Patch Set: TODO Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/resources/settings/languages_page/languages_page.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 596 matching lines...) Expand 10 before | Expand all | Expand 10 after
607 {"isDisplayedInThisLanguage", 607 {"isDisplayedInThisLanguage",
608 IDS_SETTINGS_LANGUAGES_IS_DISPLAYED_IN_THIS_LANGUAGE}, 608 IDS_SETTINGS_LANGUAGES_IS_DISPLAYED_IN_THIS_LANGUAGE},
609 {"displayInThisLanguage", 609 {"displayInThisLanguage",
610 IDS_SETTINGS_LANGUAGES_DISPLAY_IN_THIS_LANGUAGE}, 610 IDS_SETTINGS_LANGUAGES_DISPLAY_IN_THIS_LANGUAGE},
611 {"offerToTranslateInThisLanguage", 611 {"offerToTranslateInThisLanguage",
612 IDS_SETTINGS_LANGUAGES_OFFER_TO_TRANSLATE_IN_THIS_LANGUAGE}, 612 IDS_SETTINGS_LANGUAGES_OFFER_TO_TRANSLATE_IN_THIS_LANGUAGE},
613 {"cannotTranslateInThisLanguage", 613 {"cannotTranslateInThisLanguage",
614 IDS_SETTINGS_LANGUAGES_CANNOT_TRANSLATE_IN_THIS_LANGUAGE}, 614 IDS_SETTINGS_LANGUAGES_CANNOT_TRANSLATE_IN_THIS_LANGUAGE},
615 #if !defined(OS_MACOSX) 615 #if !defined(OS_MACOSX)
616 {"spellCheckListTitle", IDS_SETTINGS_LANGUAGES_SPELL_CHECK_LIST_TITLE}, 616 {"spellCheckListTitle", IDS_SETTINGS_LANGUAGES_SPELL_CHECK_LIST_TITLE},
617 {"spellCheckSummaryTwoLanguages",
618 IDS_SETTINGS_LANGUAGES_SPELL_CHECK_SUMMARY_TWO_LANGUAGES},
619 // TODO(michaelpg): Use ICU plural format when available to properly
620 // translate "and [n] other(s)".
621 {"spellCheckSummaryThreeLanguages",
622 IDS_SETTINGS_LANGUAGES_SPELL_CHECK_SUMMARY_THREE_LANGUAGES},
623 {"spellCheckSummaryMultipleLanguages",
624 IDS_SETTINGS_LANGUAGES_SPELL_CHECK_SUMMARY_MULTIPLE_LANGUAGES},
617 {"manageSpellCheck", IDS_SETTINGS_LANGUAGES_SPELL_CHECK_MANAGE}, 625 {"manageSpellCheck", IDS_SETTINGS_LANGUAGES_SPELL_CHECK_MANAGE},
618 {"editDictionaryPageTitle", IDS_SETTINGS_LANGUAGES_EDIT_DICTIONARY_TITLE}, 626 {"editDictionaryPageTitle", IDS_SETTINGS_LANGUAGES_EDIT_DICTIONARY_TITLE},
619 {"addDictionaryWordLabel", IDS_SETTINGS_LANGUAGES_ADD_DICTIONARY_WORD}, 627 {"addDictionaryWordLabel", IDS_SETTINGS_LANGUAGES_ADD_DICTIONARY_WORD},
620 {"addDictionaryWordButton", 628 {"addDictionaryWordButton",
621 IDS_SETTINGS_LANGUAGES_ADD_DICTIONARY_WORD_BUTTON}, 629 IDS_SETTINGS_LANGUAGES_ADD_DICTIONARY_WORD_BUTTON},
622 {"customDictionaryWords", IDS_SETTINGS_LANGUAGES_DICTIONARY_WORDS}, 630 {"customDictionaryWords", IDS_SETTINGS_LANGUAGES_DICTIONARY_WORDS},
623 #endif 631 #endif
624 }; 632 };
625 AddLocalizedStringsBulk(html_source, localized_strings, 633 AddLocalizedStringsBulk(html_source, localized_strings,
626 arraysize(localized_strings)); 634 arraysize(localized_strings));
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
1126 #endif 1134 #endif
1127 AddUsersStrings(html_source); 1135 AddUsersStrings(html_source);
1128 AddWebContentStrings(html_source); 1136 AddWebContentStrings(html_source);
1129 1137
1130 policy_indicator::AddLocalizedStrings(html_source); 1138 policy_indicator::AddLocalizedStrings(html_source);
1131 1139
1132 html_source->SetJsonPath(kLocalizedStringsFile); 1140 html_source->SetJsonPath(kLocalizedStringsFile);
1133 } 1141 }
1134 1142
1135 } // namespace settings 1143 } // namespace settings
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/languages_page/languages_page.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698