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

Side by Side Diff: chrome/browser/ui/webui/options/language_options_handler_common.cc

Issue 1700373003: [win/cros/lin] Update spellcheck menu strings according to UX. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@spell-menu
Patch Set: The only mac-specific difference is casing. Created 4 years, 10 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/app/generated_resources.grd ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/options/language_options_handler_common.h" 5 #include "chrome/browser/ui/webui/options/language_options_handler_common.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 { "displayInThisLanguage", 73 { "displayInThisLanguage",
74 IDS_OPTIONS_SETTINGS_LANGUAGES_DISPLAY_IN_THIS_LANGUAGE, 74 IDS_OPTIONS_SETTINGS_LANGUAGES_DISPLAY_IN_THIS_LANGUAGE,
75 product_id }, 75 product_id },
76 { "restartRequired", IDS_OPTIONS_RELAUNCH_REQUIRED }, 76 { "restartRequired", IDS_OPTIONS_RELAUNCH_REQUIRED },
77 // OS X uses the OS native spellchecker so no need for these strings. 77 // OS X uses the OS native spellchecker so no need for these strings.
78 #if !defined(OS_MACOSX) 78 #if !defined(OS_MACOSX)
79 { "useThisForSpellChecking", 79 { "useThisForSpellChecking",
80 IDS_OPTIONS_SETTINGS_USE_THIS_FOR_SPELL_CHECKING }, 80 IDS_OPTIONS_SETTINGS_USE_THIS_FOR_SPELL_CHECKING },
81 { "cannotBeUsedForSpellChecking", 81 { "cannotBeUsedForSpellChecking",
82 IDS_OPTIONS_SETTINGS_CANNOT_BE_USED_FOR_SPELL_CHECKING }, 82 IDS_OPTIONS_SETTINGS_CANNOT_BE_USED_FOR_SPELL_CHECKING },
83 { "isUsedForSpellChecking",
84 IDS_OPTIONS_SETTINGS_IS_USED_FOR_SPELL_CHECKING },
groby-ooo-7-16 2016/02/18 03:06:36 Uh, isn't that still used? https://code.google.com
please use gerrit instead 2016/02/18 16:54:30 Bad naming in language_options.js. The variable "i
85 { "enableSpellCheck", IDS_OPTIONS_ENABLE_SPELLCHECK }, 83 { "enableSpellCheck", IDS_OPTIONS_ENABLE_SPELLCHECK },
86 { "downloadingDictionary", IDS_OPTIONS_DICTIONARY_DOWNLOADING }, 84 { "downloadingDictionary", IDS_OPTIONS_DICTIONARY_DOWNLOADING },
87 { "downloadFailed", IDS_OPTIONS_DICTIONARY_DOWNLOAD_FAILED }, 85 { "downloadFailed", IDS_OPTIONS_DICTIONARY_DOWNLOAD_FAILED },
88 { "retryButton", IDS_OPTIONS_DICTIONARY_DOWNLOAD_RETRY }, 86 { "retryButton", IDS_OPTIONS_DICTIONARY_DOWNLOAD_RETRY },
89 { "downloadFailHelp", IDS_OPTIONS_DICTIONARY_DOWNLOAD_FAIL_HELP }, 87 { "downloadFailHelp", IDS_OPTIONS_DICTIONARY_DOWNLOAD_FAIL_HELP },
90 #endif // !OS_MACOSX 88 #endif // !OS_MACOSX
91 { "addLanguageTitle", IDS_OPTIONS_LANGUAGES_ADD_TITLE }, 89 { "addLanguageTitle", IDS_OPTIONS_LANGUAGES_ADD_TITLE },
92 { "addLanguageSelectLabel", IDS_OPTIONS_LANGUAGES_ADD_SELECT_LABEL }, 90 { "addLanguageSelectLabel", IDS_OPTIONS_LANGUAGES_ADD_SELECT_LABEL },
93 { "restartButton", IDS_OPTIONS_SETTINGS_LANGUAGES_RELAUNCH_BUTTON }, 91 { "restartButton", IDS_OPTIONS_SETTINGS_LANGUAGES_RELAUNCH_BUTTON },
94 { "offerToTranslateInThisLanguage", 92 { "offerToTranslateInThisLanguage",
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 return; 308 return;
311 } 309 }
312 } 310 }
313 } 311 }
314 312
315 SpellcheckService* LanguageOptionsHandlerCommon::GetSpellcheckService() { 313 SpellcheckService* LanguageOptionsHandlerCommon::GetSpellcheckService() {
316 return SpellcheckServiceFactory::GetForContext(Profile::FromWebUI(web_ui())); 314 return SpellcheckServiceFactory::GetForContext(Profile::FromWebUI(web_ui()));
317 } 315 }
318 316
319 } // namespace options 317 } // namespace options
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698