summaryrefslogtreecommitdiffstats
path: root/chrome/app/generated_resources.grd
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-07 19:58:03 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-07 19:58:03 +0000
commit45e3c12431d29fc90143a03b0b318f4cf2021b4e (patch)
treee1b4009b34c64f0d2d6d60200928241910e651e3 /chrome/app/generated_resources.grd
parentd3278a9a559f409e717c70fa926bdd3f9f39e486 (diff)
downloadchromium_src-45e3c12431d29fc90143a03b0b318f4cf2021b4e.zip
chromium_src-45e3c12431d29fc90143a03b0b318f4cf2021b4e.tar.gz
chromium_src-45e3c12431d29fc90143a03b0b318f4cf2021b4e.tar.bz2
Disables the download item on the download-shelf when the file is opened.
This is to mitigate against multiple clicks when a file takes some time to show anything to the user when opened (typically a setup.exe). By changing the title and disabling the button, we indicate to the user that an action was taken. BUG=7264 TEST=Download a file (image for example). In the download shelf, press the download item. The download item text should change to "Opening..." and it should be disabled (not responsive to clicks/drag and drops). Review URL: http://codereview.chromium.org/58014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13273 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/generated_resources.grd')
-rw-r--r--chrome/app/generated_resources.grd5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd
index b645645..9613e4551 100644
--- a/chrome/app/generated_resources.grd
+++ b/chrome/app/generated_resources.grd
@@ -1235,7 +1235,10 @@ each locale. -->
desc="Status that the file download will be opened when the download completes.">
Opening when complete
</message>
-
+ <message name="IDS_DOWNLOAD_STATUS_OPENING"
+ desc="Temporary status shown when a user has clicked to open a downloaded file.">
+ Opening <ph name="FILE">$1<ex>image.jpg</ex></ph>...
+ </message>
<message name="IDS_DOWNLOAD_STATUS_COMPLETE"
desc="Size and units downloaded.">
<ph name="DOWNLOAD_SIZE">$1<ex>54kB</ex></ph>, Complete