diff options
author | anitawoodruff@chromium.org <anitawoodruff@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-29 21:03:38 +0000 |
---|---|---|
committer | anitawoodruff@chromium.org <anitawoodruff@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-29 21:03:38 +0000 |
commit | 9703b77bbc8180646cdc2bbff9846fa04108de86 (patch) | |
tree | 9188b14e609299e9418580fe9b33a73ddd8ca919 /ash | |
parent | d51f70ef9d528956fe4c475272f4068f84cb95ff (diff) | |
download | chromium_src-9703b77bbc8180646cdc2bbff9846fa04108de86.zip chromium_src-9703b77bbc8180646cdc2bbff9846fa04108de86.tar.gz chromium_src-9703b77bbc8180646cdc2bbff9846fa04108de86.tar.bz2 |
Show 'Screenshots disabled' message instead of generic fail notification
Previously, if the user tries to take a screenshot on Chrome OS when this
is disabled by policy, they just receive a generic 'Failed to take screenshot'
notification. Instead, we now notify the user that screenshots are disabled by
their administrator if this is why it failed.
BUG=256840
Review URL: https://chromiumcodereview.appspot.com/23446005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@220363 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash')
-rw-r--r-- | ash/ash_strings.grd | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ash/ash_strings.grd b/ash/ash_strings.grd index 62693dc..a0bafae 100644 --- a/ash/ash_strings.grd +++ b/ash/ash_strings.grd @@ -560,12 +560,18 @@ Press Shift + Alt to switch. <message name="IDS_ASH_SCREENSHOT_NOTIFICATION_TITLE_SUCCESS" desc="The title of the notification when a screenshot was taken."> Screenshot taken </message> + <message name="IDS_ASH_SCREENSHOT_NOTIFICATION_TITLE_DISABLED" desc="The title of the notification when taking a screenshot failed because screenshots are disabled."> + Screenshots disabled + </message> <message name="IDS_ASH_SCREENSHOT_NOTIFICATION_TITLE_FAIL" desc="The title of the notification when taking a screenshot failed."> An error occurred </message> <message name="IDS_ASH_SCREENSHOT_NOTIFICATION_TEXT_SUCCESS" desc="The text of the notification when a screenshot was taken."> Click to view </message> + <message name="IDS_ASH_SCREENSHOT_NOTIFICATION_TEXT_DISABLED" desc="The text of the notification when taking a screenshot failed because screenshots are disabled by administrator policy."> + The ability to take screenshots has been disabled by your administrator. + </message> <message name="IDS_ASH_SCREENSHOT_NOTIFICATION_TEXT_FAIL" desc="The text of the notification when taking a screenshot failed."> Failed to save screenshot </message> |