summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorgbillock@chromium.org <gbillock@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-19 20:11:45 +0000
committergbillock@chromium.org <gbillock@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-19 20:11:45 +0000
commitc7e1a6e34d51b065f52c6ff2e7bad1c7288c8ebf (patch)
tree4e555b50012a2f5608c52178f314719fbece96cc /chrome
parent9e54546bc94cce90979dd41272bbf489c36df124 (diff)
downloadchromium_src-c7e1a6e34d51b065f52c6ff2e7bad1c7288c8ebf.zip
chromium_src-c7e1a6e34d51b065f52c6ff2e7bad1c7288c8ebf.tar.gz
chromium_src-c7e1a6e34d51b065f52c6ff2e7bad1c7288c8ebf.tar.bz2
[i18n fixlet] Update Seach Downloads button.
Also correct a bit more title case for content context menu. R=estade@chromium.org BUG=None TEST=None Review URL: http://codereview.chromium.org/9159002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118341 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/app/generated_resources.grd38
-rw-r--r--chrome/browser/tab_contents/spelling_bubble_model.cc4
2 files changed, 20 insertions, 22 deletions
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd
index 456aaf6..b2475dd 100644
--- a/chrome/app/generated_resources.grd
+++ b/chrome/app/generated_resources.grd
@@ -496,12 +496,6 @@ are declared in build/common.gypi.
<message name="IDS_CONTENT_CONTEXT_SPELLING_ASK_GOOGLE" desc="The context-menu item that asks whether to integrate the spelling service of Google to Chrome. This text is also used as the title of a bubble which confirms it.">
Ask Google for suggestions
</message>
- <message name="IDS_CONTENT_CONTEXT_SPELLING_BUBBLE_TEXT" desc="The text of a bubble that confirms users allows integrating the spelling service of Google to Chrome.">
- Google Chrome can provide smarter spell-checking by sending what you type in the browser to Google servers, allowing you to use the same spell-checking technology used by Google search.
- </message>
- <message name="IDS_CONTENT_CONTEXT_SPELLING_BUBBLE_LINK" desc="The link text of a bubble. This link opens the 'Exploring Chrome's privacy features' page.">
- Learn More
- </message>
<message name="IDS_CONTENT_CONTEXT_SPELLING_BUBBLE_ENABLE" desc="The button text that allows integrating the spelling service of Google.">
Enable
</message>
@@ -708,20 +702,14 @@ are declared in build/common.gypi.
<message name="IDS_CONTENT_CONTEXT_NO_SPELLING_SUGGESTIONS" desc="In Title Case: The name of the No Spelling Suggestions display in the content area context menu">
&amp;No Spelling Suggestions
</message>
- <message name="IDS_CONTENT_CONTEXT_SPELLING_ASK_GOOGLE" desc="The context-menu item that asks whether to integrate the spelling service of Google to Chrome. This text is also used as the title of a bubble which confirms it.">
- Ask Google for suggestions
- </message>
- <message name="IDS_CONTENT_CONTEXT_SPELLING_BUBBLE_TEXT" desc="The text of a bubble that confirms users allows integrating the spelling service of Google to Chrome.">
- Google Chrome can provide smarter spell-checking by sending what you type in the browser to Google servers, allowing you to use the same spell-checking technology used by Google search.
+ <message name="IDS_CONTENT_CONTEXT_SPELLING_ASK_GOOGLE" desc="In Title Case: The context-menu item that asks whether to integrate the spelling service of Google to Chrome. This text is also used as the title of a bubble which confirms it.">
+ Ask Google for Suggestions
</message>
- <message name="IDS_CONTENT_CONTEXT_SPELLING_BUBBLE_LINK" desc="The link text of a bubble. This link opens the 'Google Chrome Privacy Notice' page.">
- Learn More
- </message>
- <message name="IDS_CONTENT_CONTEXT_SPELLING_BUBBLE_ENABLE" desc="The button text that allows integrating the spelling service of Google.">
+ <message name="IDS_CONTENT_CONTEXT_SPELLING_BUBBLE_ENABLE" desc="In Title Case: The button text that allows integrating the spelling service of Google.">
Enable
</message>
- <message name="IDS_CONTENT_CONTEXT_SPELLING_BUBBLE_DISABLE" desc="The button text that disallows integrating the spelling service of Google.">
- No thanks
+ <message name="IDS_CONTENT_CONTEXT_SPELLING_BUBBLE_DISABLE" desc="In Title Case: The button text that disallows integrating the spelling service of Google.">
+ No Thanks
</message>
<message name="IDS_CONTENT_CONTEXT_SPELLING_STOP_ASKING_GOOGLE" desc="The context-menu item that stops integrating the spelling service.">
Stop asking Google for suggestions
@@ -781,6 +769,9 @@ are declared in build/common.gypi.
About Voice Recognition
</message>
</if>
+ <message name="IDS_CONTENT_CONTEXT_SPELLING_BUBBLE_TEXT" desc="The text of a bubble that confirms users allows integrating the spelling service of Google to Chrome.">
+ Google Chrome can provide smarter spell-checking by sending what you type in the browser to Google servers, allowing you to use the same spell-checking technology used by Google search.
+ </message>
<!-- Spelling submenu -->
<if expr="is_macosx">
@@ -2363,9 +2354,16 @@ are declared in build/common.gypi.
desc="In the download view, 'Pause' link text">
Pause
</message>
- <message name="IDS_DOWNLOAD_SEARCH_BUTTON" desc="Title of the button in the download page that triggers a search">
- Search downloads
- </message>
+ <if expr="pp_ifdef('use_titlecase')">
+ <message name="IDS_DOWNLOAD_SEARCH_BUTTON" desc="In Title Case: Title of the button in the download page that triggers a search">
+ Search Downloads
+ </message>
+ </if>
+ <if expr="not pp_ifdef('use_titlecase')">
+ <message name="IDS_DOWNLOAD_SEARCH_BUTTON" desc="Title of the button in the download page that triggers a search">
+ Search downloads
+ </message>
+ </if>
<message name="IDS_DOWNLOAD_SEARCHRESULTSFOR" desc="Format string for search results">
Search results for '<ph name="SEARCH_STRING">$1</ph>'
</message>
diff --git a/chrome/browser/tab_contents/spelling_bubble_model.cc b/chrome/browser/tab_contents/spelling_bubble_model.cc
index 793b9b4..f3af4cb 100644
--- a/chrome/browser/tab_contents/spelling_bubble_model.cc
+++ b/chrome/browser/tab_contents/spelling_bubble_model.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -57,7 +57,7 @@ void SpellingBubbleModel::Cancel() {
}
string16 SpellingBubbleModel::GetLinkText() const {
- return l10n_util::GetStringUTF16(IDS_CONTENT_CONTEXT_SPELLING_BUBBLE_LINK);
+ return l10n_util::GetStringUTF16(IDS_LEARN_MORE);
}
void SpellingBubbleModel::LinkClicked() {