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

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

Issue 8879064: Reverting this revert, since it does not seem to have caused the breakage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years 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/resources/options/language_options.js ('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
===================================================================
--- chrome/browser/ui/webui/options/language_options_handler_common.cc (revision 114404)
+++ chrome/browser/ui/webui/options/language_options_handler_common.cc (working copy)
@@ -64,6 +64,10 @@
l10n_util::GetStringFUTF16(
IDS_OPTIONS_SETTINGS_LANGUAGES_THIS_LANGUAGE_IS_CURRENTLY_IN_USE,
product_name));
+ localized_strings->SetString("restart_required",
+ l10n_util::GetStringUTF16(IDS_OPTIONS_RELAUNCH_REQUIRED));
+ // OS X uses the OS native spellchecker so no need for these strings.
+#if !defined(OS_MACOSX)
localized_strings->SetString("use_this_for_spell_checking",
l10n_util::GetStringUTF16(
IDS_OPTIONS_SETTINGS_USE_THIS_FOR_SPELL_CHECKING));
@@ -73,12 +77,11 @@
localized_strings->SetString("is_used_for_spell_checking",
l10n_util::GetStringUTF16(
IDS_OPTIONS_SETTINGS_IS_USED_FOR_SPELL_CHECKING));
- localized_strings->SetString("restart_required",
- l10n_util::GetStringUTF16(IDS_OPTIONS_RELAUNCH_REQUIRED));
localized_strings->SetString("enable_spell_check",
l10n_util::GetStringUTF16(IDS_OPTIONS_ENABLE_SPELLCHECK));
localized_strings->SetString("enable_auto_spell_correction",
l10n_util::GetStringUTF16(IDS_OPTIONS_ENABLE_AUTO_SPELL_CORRECTION));
+#endif // !OS_MACOSX
localized_strings->SetString("add_language_title",
l10n_util::GetStringUTF16(IDS_OPTIONS_LANGUAGES_ADD_TITLE));
localized_strings->SetString("add_language_select_label",
« no previous file with comments | « chrome/browser/resources/options/language_options.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698