summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authoryusukes@chromium.org <yusukes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-16 13:49:13 +0000
committeryusukes@chromium.org <yusukes@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-16 13:49:13 +0000
commit2a0641aaf1f7828d8b2c3ce451d29455b4c9a466 (patch)
tree92b346604fdc2e9aec3cd843cf01d15da1ec6d0d /chrome/browser
parentbc32f8b1ad0ffefc96024ef929c67d884a1cc051 (diff)
downloadchromium_src-2a0641aaf1f7828d8b2c3ce451d29455b4c9a466.zip
chromium_src-2a0641aaf1f7828d8b2c3ce451d29455b4c9a466.tar.gz
chromium_src-2a0641aaf1f7828d8b2c3ce451d29455b4c9a466.tar.bz2
Add string resources for ibus-pinyin and ibus-hangul.
BUG=none TEST=manual. Review URL: http://codereview.chromium.org/1042001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41718 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/chromeos/status/language_menu_l10n_util.cc32
1 files changed, 22 insertions, 10 deletions
diff --git a/chrome/browser/chromeos/status/language_menu_l10n_util.cc b/chrome/browser/chromeos/status/language_menu_l10n_util.cc
index 62c6ca7..8f50f370 100644
--- a/chrome/browser/chromeos/status/language_menu_l10n_util.cc
+++ b/chrome/browser/chromeos/status/language_menu_l10n_util.cc
@@ -18,16 +18,28 @@ const struct EnglishToResouceId {
// For both ibus-anthy and ibus-google-japanese-input.
// - ibus-anthy: third_party/ibus-anthy/files/po/
// - ibus-google-japanese-input: TBD
- {"Hiragana", IDS_STATUSBAR_IME_JAPANESE_IME_STATUS_HIRAGANA},
- {"Katakana", IDS_STATUSBAR_IME_JAPANESE_IME_STATUS_KATAKANA},
- {"Half width katakana", // small k is not a typo.
- IDS_STATUSBAR_IME_JAPANESE_IME_STATUS_HALF_WIDTH_KATAKANA},
- {"Latin", IDS_STATUSBAR_IME_JAPANESE_IME_STATUS_LATIN},
- {"Wide Latin", IDS_STATUSBAR_IME_JAPANESE_IME_STATUS_WIDE_LATIN},
- {"Roman", IDS_STATUSBAR_IME_JAPANESE_IME_INPUT_MODE_ROMAN},
- {"Kana", IDS_STATUSBAR_IME_JAPANESE_IME_INPUT_MODE_KANA},
-
- // TODO(yusukes): Support ibus-pinyin, -hangul, -chewing, and -table.
+ { "Hiragana", IDS_STATUSBAR_IME_JAPANESE_IME_STATUS_HIRAGANA },
+ { "Katakana", IDS_STATUSBAR_IME_JAPANESE_IME_STATUS_KATAKANA },
+ { "Half width katakana", // small k is not a typo.
+ IDS_STATUSBAR_IME_JAPANESE_IME_STATUS_HALF_WIDTH_KATAKANA },
+ { "Latin", IDS_STATUSBAR_IME_JAPANESE_IME_STATUS_LATIN },
+ { "Wide Latin", IDS_STATUSBAR_IME_JAPANESE_IME_STATUS_WIDE_LATIN },
+ { "Roman", IDS_STATUSBAR_IME_JAPANESE_IME_INPUT_MODE_ROMAN },
+ { "Kana", IDS_STATUSBAR_IME_JAPANESE_IME_INPUT_MODE_KANA },
+
+ // For ibus-hangul: third_party/ibus-hangul/files/po/.
+ { "Enable/Disable Hanja mode", IDS_STATUSBAR_IME_KOREAN_HANJA_MODE },
+
+ // For ibus-pinyin: third_party/ibus-pinyin/files/po/.
+ { "Chinese", IDS_STATUSBAR_IME_CHINESE_PINYIN_TOGGLE_CHINESE_ENGLISH },
+ { "Full/Half width",
+ IDS_STATUSBAR_IME_CHINESE_PINYIN_TOGGLE_FULL_HALF },
+ { "Full/Half width punctuation",
+ IDS_STATUSBAR_IME_CHINESE_PINYIN_TOGGLE_FULL_HALF_PUNCTUATION },
+ { "Simplfied/Traditional Chinese",
+ IDS_STATUSBAR_IME_CHINESE_PINYIN_TOGGLE_S_T_CHINESE },
+
+ // TODO(yusukes): Support ibus-chewing and ibus-table-* if needed.
};
const size_t kNumEntries = arraysize(kEnglishToResourceIdArray);