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

Unified Diff: chrome/browser/ui/webui/options/language_options_handler_common.cc

Issue 16025007: Refacotring: fix styles of i18n-content names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bug fix Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/webui/options/chromeos/language_hangul_handler.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/options/language_options_handler_common.cc
diff --git a/chrome/browser/ui/webui/options/language_options_handler_common.cc b/chrome/browser/ui/webui/options/language_options_handler_common.cc
index af94af1774cd26b2cc8c9ad4033d020fb0266a1b..c191f3e443add57162bd7501dbe90c98fdf4aa61 100644
--- a/chrome/browser/ui/webui/options/language_options_handler_common.cc
+++ b/chrome/browser/ui/webui/options/language_options_handler_common.cc
@@ -44,50 +44,50 @@ void LanguageOptionsHandlerCommon::GetLocalizedValues(
DictionaryValue* localized_strings) {
DCHECK(localized_strings);
static OptionsStringResource resources[] = {
- { "add_button", IDS_OPTIONS_SETTINGS_LANGUAGES_ADD_BUTTON },
+ { "addButton", IDS_OPTIONS_SETTINGS_LANGUAGES_ADD_BUTTON },
{ "languages", IDS_OPTIONS_SETTINGS_LANGUAGES_LANGUAGES },
- { "add_language_instructions",
+ { "addLanguageInstructions",
IDS_OPTIONS_SETTINGS_LANGUAGES_ADD_LANGUAGE_INSTRUCTIONS },
- { "cannot_be_displayed_in_this_language",
+ { "cannotBeDisplayedInThisLanguage",
IDS_OPTIONS_SETTINGS_LANGUAGES_CANNOT_BE_DISPLAYED_IN_THIS_LANGUAGE,
IDS_PRODUCT_NAME },
- { "is_displayed_in_this_language",
+ { "isDisplayedInThisLanguage",
IDS_OPTIONS_SETTINGS_LANGUAGES_IS_DISPLAYED_IN_THIS_LANGUAGE,
IDS_PRODUCT_NAME },
- { "display_in_this_language",
+ { "displayInThisLanguage",
IDS_OPTIONS_SETTINGS_LANGUAGES_DISPLAY_IN_THIS_LANGUAGE,
IDS_PRODUCT_NAME },
- { "restart_required", IDS_OPTIONS_RELAUNCH_REQUIRED },
+ { "restartRequired", IDS_OPTIONS_RELAUNCH_REQUIRED },
// OS X uses the OS native spellchecker so no need for these strings.
#if !defined(OS_MACOSX)
- { "use_this_for_spell_checking",
+ { "useThisForSpellChecking",
IDS_OPTIONS_SETTINGS_USE_THIS_FOR_SPELL_CHECKING },
- { "cannot_be_used_for_spell_checking",
+ { "cannotBeUsedForSpellChecking",
IDS_OPTIONS_SETTINGS_CANNOT_BE_USED_FOR_SPELL_CHECKING },
- { "is_used_for_spell_checking",
+ { "isUsedForSpellChecking",
IDS_OPTIONS_SETTINGS_IS_USED_FOR_SPELL_CHECKING },
- { "enable_spell_check", IDS_OPTIONS_ENABLE_SPELLCHECK },
- { "enable_auto_spell_correction",
+ { "enableSpellCheck", IDS_OPTIONS_ENABLE_SPELLCHECK },
+ { "enableAutoSpellCorrection",
IDS_OPTIONS_ENABLE_AUTO_SPELL_CORRECTION },
- { "downloading_dictionary", IDS_OPTIONS_DICTIONARY_DOWNLOADING },
- { "download_failed", IDS_OPTIONS_DICTIONARY_DOWNLOAD_FAILED },
- { "retry_button", IDS_OPTIONS_DICTIONARY_DOWNLOAD_RETRY },
- { "download_fail_help", IDS_OPTIONS_DICTIONARY_DOWNLOAD_FAIL_HELP },
+ { "downloadingDictionary", IDS_OPTIONS_DICTIONARY_DOWNLOADING },
+ { "downloadFailed", IDS_OPTIONS_DICTIONARY_DOWNLOAD_FAILED },
+ { "retryButton", IDS_OPTIONS_DICTIONARY_DOWNLOAD_RETRY },
+ { "downloadFailHelp", IDS_OPTIONS_DICTIONARY_DOWNLOAD_FAIL_HELP },
#endif // !OS_MACOSX
- { "add_language_title", IDS_OPTIONS_LANGUAGES_ADD_TITLE },
- { "add_language_select_label", IDS_OPTIONS_LANGUAGES_ADD_SELECT_LABEL },
- { "restart_button", IDS_OPTIONS_SETTINGS_LANGUAGES_RELAUNCH_BUTTON }
+ { "addLanguageTitle", IDS_OPTIONS_LANGUAGES_ADD_TITLE },
+ { "addLanguageSelectLabel", IDS_OPTIONS_LANGUAGES_ADD_SELECT_LABEL },
+ { "restartButton", IDS_OPTIONS_SETTINGS_LANGUAGES_RELAUNCH_BUTTON }
};
#if defined(ENABLE_SETTINGS_APP)
static OptionsStringResource app_resources[] = {
- { "cannot_be_displayed_in_this_language",
+ { "cannotBeDisplayedInThisLanguage",
IDS_OPTIONS_SETTINGS_LANGUAGES_CANNOT_BE_DISPLAYED_IN_THIS_LANGUAGE,
IDS_SETTINGS_APP_LAUNCHER_PRODUCT_NAME },
- { "is_displayed_in_this_language",
+ { "isDisplayedInThisLanguage",
IDS_OPTIONS_SETTINGS_LANGUAGES_IS_DISPLAYED_IN_THIS_LANGUAGE,
IDS_SETTINGS_APP_LAUNCHER_PRODUCT_NAME },
- { "display_in_this_language",
+ { "displayInThisLanguage",
IDS_OPTIONS_SETTINGS_LANGUAGES_DISPLAY_IN_THIS_LANGUAGE,
IDS_SETTINGS_APP_LAUNCHER_PRODUCT_NAME },
};
« no previous file with comments | « chrome/browser/ui/webui/options/chromeos/language_hangul_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698