summaryrefslogtreecommitdiffstats
path: root/chrome/app
diff options
context:
space:
mode:
authorsatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-16 08:47:01 +0000
committersatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-16 08:47:01 +0000
commitf72d1333614fc8e89a294e8bd799d473d2999ca6 (patch)
tree79ac01133bd7855115579c432b3e72bd0a938d41 /chrome/app
parente9d43761072c343a1dfbe80628f9b0db6a8b04e4 (diff)
downloadchromium_src-f72d1333614fc8e89a294e8bd799d473d2999ca6.zip
chromium_src-f72d1333614fc8e89a294e8bd799d473d2999ca6.tar.gz
chromium_src-f72d1333614fc8e89a294e8bd799d473d2999ca6.tar.bz2
Fix a bug where users were able to remove a language used for displaying Chromium OS.
Users shoulnd't be able to remove such a language. In the C++ version, we disabled the "Remove" button to prevent the action, but in the DOMUI version, we'll show a warning instead, per suggestions from UX designers. BUG=chromium-os:5702 TEST=manually Review URL: http://codereview.chromium.org/3122018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56189 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r--chrome/app/generated_resources.grd4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd
index cfae607..729828b 100644
--- a/chrome/app/generated_resources.grd
+++ b/chrome/app/generated_resources.grd
@@ -8657,6 +8657,10 @@ Keep your key file in a safe place. You will need it to create new versions of y
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_THIS_LANGUAGE_IS_CURRENTLY_IN_USE"
+ desc="Warning invoked when the user tries to remove the language used for displaying Chrome OS">
+ This language is currently in use for displaying <ph name="PRODUCT_NAME">$1<ex>Chrome OS</ex></ph>.
+ </message>
<message name="IDS_OPTIONS_SETTINGS_LANGUAGES_ADD_LANGUAGE_INSTRUCTIONS"
desc="Explanatory message about how to add and order languages">
Add languages and drag to order them based on your preference.