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

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

Issue 16141002: Add "Don't translate" preference to chrome://settings/languages (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replaced 'dontTranslate' with 'dontTranslateInThisLanguage' along with the other resource names 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/core_options_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..ab978836447466663544b049b8131996c3c6b25a 100644
--- a/chrome/browser/ui/webui/options/language_options_handler_common.cc
+++ b/chrome/browser/ui/webui/options/language_options_handler_common.cc
@@ -76,7 +76,9 @@ void LanguageOptionsHandlerCommon::GetLocalizedValues(
#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 }
+ { "restart_button", IDS_OPTIONS_SETTINGS_LANGUAGES_RELAUNCH_BUTTON },
+ { "dontTranslateInThisLanguage",
+ IDS_OPTIONS_LANGUAGES_DONT_TRANSLATE_IN_THIS_LANGUAGE }
Evan Stade 2013/05/31 00:05:54 nit: add comma at end (if the previous author had
hajimehoshi 2013/05/31 01:27:36 Done.
};
#if defined(ENABLE_SETTINGS_APP)
« no previous file with comments | « chrome/browser/ui/webui/options/core_options_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698