summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authoryusukes@chromium.org <yusukes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-12 05:55:59 +0000
committeryusukes@chromium.org <yusukes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-12 05:55:59 +0000
commitc4d73947e08d03952e8cb3174aa6cfdaac1a963f (patch)
tree24dc926e562dc92e246c5c38628c40dbe4ee5cdd /chrome
parent39188540aa003e164d0c23a6cb830a36b78789a1 (diff)
downloadchromium_src-c4d73947e08d03952e8cb3174aa6cfdaac1a963f.zip
chromium_src-c4d73947e08d03952e8cb3174aa6cfdaac1a963f.tar.gz
chromium_src-c4d73947e08d03952e8cb3174aa6cfdaac1a963f.tar.bz2
Move a hard-coded string to grd file and use l10n_util to get it.
Patch from Yasuhiro Matsuda <mazda@chromium.org> Original review: http://codereview.chromium.org/690002 BUG=None TEST=works as before git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41402 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/app/generated_resources.grd3
-rw-r--r--chrome/browser/chromeos/status/language_menu_button.cc3
2 files changed, 4 insertions, 2 deletions
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd
index 505e69d..d8578aa 100644
--- a/chrome/app/generated_resources.grd
+++ b/chrome/app/generated_resources.grd
@@ -7030,6 +7030,9 @@ Keep your key file in a safe place. You will need it to create new versions of y
<message name="IDS_STATUSBAR_BATTERY_IS_CHARGED" desc="In the power menu button, the battery is charged message.">
Battery is charged
</message>
+ <message name="IDS_STATUSBAR_IME_CONFIGURE" desc="Configure the text input method.">
+ Configure IME...
+ </message>
<message name="IDS_COMPACT_NAVBAR" desc="The menu item on the app menu to toggle compact navigation bar">
Toggle Compact Navigation Bar
</message>
diff --git a/chrome/browser/chromeos/status/language_menu_button.cc b/chrome/browser/chromeos/status/language_menu_button.cc
index 15b0e91..18a0bed 100644
--- a/chrome/browser/chromeos/status/language_menu_button.cc
+++ b/chrome/browser/chromeos/status/language_menu_button.cc
@@ -273,8 +273,7 @@ string16 LanguageMenuButton::GetLabelAt(int index) const {
DCHECK(language_list_.get());
if (IndexPointsToConfigureImeMenuItem(index)) {
- // TODO(yusukes): Use message catalog.
- return WideToUTF16(L"Configure IME...");
+ return l10n_util::GetStringUTF16(IDS_STATUSBAR_IME_CONFIGURE);
}
std::string name;