summaryrefslogtreecommitdiffstats
path: root/chrome/app/generated_resources.grd
diff options
context:
space:
mode:
authorsatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-11 09:16:50 +0000
committersatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-11 09:16:50 +0000
commit2c8fd26f832a3e24e22d32a8010ed7d23489266f (patch)
tree8124452a58b17f1afa2e9266afaafa5648d9f86d /chrome/app/generated_resources.grd
parenta62d12bb35be70791323edc7769b6c17843f5d66 (diff)
downloadchromium_src-2c8fd26f832a3e24e22d32a8010ed7d23489266f.zip
chromium_src-2c8fd26f832a3e24e22d32a8010ed7d23489266f.tar.gz
chromium_src-2c8fd26f832a3e24e22d32a8010ed7d23489266f.tar.bz2
Show alert messages when the user tries to remove the last language or the input method.
For now, use alert(). We'll replace this with a nicer way. Along the way, fix a bug in removePreloadEnginesByLanguageCode_(), where we didn't put parens right. BUG=chromium-os:4573 TEST=manually Review URL: http://codereview.chromium.org/3151003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55696 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/generated_resources.grd')
-rw-r--r--chrome/app/generated_resources.grd8
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd
index 6205b0a..6f346ba 100644
--- a/chrome/app/generated_resources.grd
+++ b/chrome/app/generated_resources.grd
@@ -8596,6 +8596,14 @@ Keep your key file in a safe place. You will need it to create new versions of y
desc="The label for the remove button for removing a language">
Remove
</message>
+ <message name="IDS_OPTIONS_SETTINGS_LANGUAGES_PLEASE_ADD_ANOTHER_INPUT_METHOD"
+ desc="Warning invoked when the user tries to remove the last input method">
+ Please add another input method before removing this one.
+ </message>
+ <message name="IDS_OPTIONS_SETTINGS_LANGUAGES_PLEASE_ADD_ANOTHER_LANGUAGE"
+ desc="Warning invoked when the user tries to remove the last language">
+ Please add another language before removing this one.
+ </message>
<message name="IDS_OPTIONS_SETTINGS_LANGUAGES_DISPLAY_IN_THIS_LANGUAGE"
desc="The label is used for a button that changes the UI
language of Chrome OS">