Commit 4a852226 authored by jeremy@chromium.org's avatar jeremy@chromium.org

OS X: Remove "Language Settings" menu item

Since we're using the native spellchecker, this menu item is no longer needed.

BUG=None
TEST=Right click on a text field in web content, go to the "Spelling and Grammar" context menu. "Languages and Settings" should no longer appear as an option.


Review URL: http://codereview.chromium.org/8851010

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113500 0039d316-1c4b-4281-b951-d872f2087c98
parent f07449f1
......@@ -514,9 +514,6 @@ are declared in build/common.gypi.
<message name="IDS_CONTENT_CONTEXT_SPELLCHECK_MENU" desc="The name of the Spellcheck Options submenu in the content area context menu">
&amp;Spell-checker options
</message>
<message name="IDS_CONTENT_CONTEXT_LANGUAGE_SETTINGS" desc="The name of the Language Settings command in the content area context menu">
&amp;Language settings...
</message>
<message name="IDS_CONTENT_CONTEXT_SELECTALL" desc="The name of the Select All command in the content area context menu">
Select &amp;all
</message>
......@@ -795,6 +792,9 @@ are declared in build/common.gypi.
<message name="IDS_CONTENT_CONTEXT_CHECK_SPELLING_OF_THIS_FIELD" desc="The name of the Check the spelling of this field command in the spelling context menu">
&amp;Check the spelling of this field
</message>
<message name="IDS_CONTENT_CONTEXT_LANGUAGE_SETTINGS" desc="The name of the Language Settings command in the content area context menu">
&amp;Language settings...
</message>
</if>
<!-- Paste and Match Style / Paste as Plain Text -->
......
......@@ -54,12 +54,6 @@ void SpellCheckerSubMenuObserver::InitMenu(const ContextMenuParams& params) {
l10n_util::GetStringUTF16(
IDS_CONTENT_CONTEXT_CHECK_SPELLING_WHILE_TYPING));
// Add an item that opens the 'fonts and languages options' page.
submenu_model_.AddSeparator();
submenu_model_.AddItemWithStringId(
IDC_CONTENT_CONTEXT_LANGUAGE_SETTINGS,
IDS_CONTENT_CONTEXT_LANGUAGE_SETTINGS);
proxy_->AddSubMenu(
IDC_SPELLCHECK_MENU,
l10n_util::GetStringUTF16(IDS_CONTENT_CONTEXT_SPELLCHECK_MENU),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment