summaryrefslogtreecommitdiffstats
path: root/chrome/app
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-09 20:40:06 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-09 20:40:06 +0000
commit69444cc086ef3ddf9aaecb4d6bebcb24687c6977 (patch)
treeedf46ca873f1a736095f86614dbb4abff316f14c /chrome/app
parentedd32342189ef6329e894ff08456a2c565606355 (diff)
downloadchromium_src-69444cc086ef3ddf9aaecb4d6bebcb24687c6977.zip
chromium_src-69444cc086ef3ddf9aaecb4d6bebcb24687c6977.tar.gz
chromium_src-69444cc086ef3ddf9aaecb4d6bebcb24687c6977.tar.bz2
This CL adds a confirmation box when closing the browser with in-progress downloads.
BUG=1028 TEST=Start several bug downloads, close the browser. A dialog shows up to warn you are about to lose the downloads. Try the wait and continue button. Try again with several windows, and in Incognito mode. Review URL: http://codereview.chromium.org/62131 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13453 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app')
-rw-r--r--chrome/app/generated_resources.grd11
1 files changed, 11 insertions, 0 deletions
diff --git a/chrome/app/generated_resources.grd b/chrome/app/generated_resources.grd
index 3a69196..c28c691 100644
--- a/chrome/app/generated_resources.grd
+++ b/chrome/app/generated_resources.grd
@@ -1349,6 +1349,17 @@ each locale. -->
&amp;Remove
</message>
+ <!-- Remove in-progress downloads confirmation dialog -->
+ <message name="IDS_DOWNLOAD_REMOVE_CONFIRM_TITLE" desc="Title of the dialog asking for user confirmation to close the browser when downloads are in-progress.">
+ You have <ph name="DOWNLOAD_COUNT">$1<ex>3</ex></ph> download(s) in progress. If you close Google Chrome, uncompleted downloads will be canceled and removed.
+ </message>
+ <message name="IDS_DOWNLOAD_REMOVE_CONFIRM_OK_BUTTON_LABEL" desc="Button text for OKing to close the browser when downloads are in-progress.">
+ Close and remove downloads
+ </message>
+ <message name="IDS_DOWNLOAD_REMOVE_CONFIRM_CANCEL_BUTTON_LABEL" desc="Button text for canceling the closing of the browser when downloads are in-progress.">
+ Wait for downloads to finish
+ </message>
+
<!-- Gears shortcut strings -->
<message name="IDS_CREATE_SHORTCUTS" desc="Default installation menu label">
Create application &amp;shortcuts...