bug 483241 - Fully implement download progress dialogs, r+sr=Neil
authorRobert Kaiser <kairo@kairo.at>
Fri, 29 May 2009 12:06:45 +0200
changeset 7079 a5a210d854e10ad42d662b332c7c162325bda153
parent 7078 57af1a361d488d8f2252d3893bdf1be2c6bd0a6d
child 7080 2660219ce68914e124433d32be96be51e261063e
push id1
push useraxel@mozilla.com
push dateTue, 10 Oct 2017 22:14:06 +0000
bugs483241
bug 483241 - Fully implement download progress dialogs, r+sr=Neil X-Channel-Repo: comm-central X-Channel-Converted-Revision: fc43764b4eea6daf0b1a4996644f65b42948edd6
suite/chrome/common/downloads/downloadmanager.properties
suite/chrome/common/downloads/progressDialog.dtd
--- a/suite/chrome/common/downloads/downloadmanager.properties
+++ b/suite/chrome/common/downloads/downloadmanager.properties
@@ -9,25 +9,59 @@ blocked=Blocked
 # LOCALIZATION NOTE (downloadsTitleFiles, downloadsTitlePercent): Semi-colon list of
 # plural forms. See: http://developer.mozilla.org/en/docs/Localization_and_Plurals
 # %1$S number of files; %2$S overall download percent (only for downloadsTitlePercent)
 # %% will appear as a single % sign, so %2$S%% is the percent number plus the % sign
 # examples: 2% of 1 file - Download Manager; 22% of 11 files - Download Manager
 downloadsTitleFiles=%1$S file - Download Manager;%1$S files - Download Manager
 downloadsTitlePercent=%2$S%% of %1$S file - Download Manager;%2$S%% of %1$S files - Download Manager
 
+# LOCALIZATION NOTE (progressTitle):
+# %1$S is the file name, %2$S is the download state
+# examples: coolvideo.ogg - Finished; seamonkey-nightly.zip - Paused
+progressTitle=%1$S - %2$S
+# LOCALIZATION NOTE (progressTitlePercent):
+# %1$S is download percent, %2$S is the file name, %3$S is the download state
+# %% will appear as a single % sign, so %1$S%% is the percent number plus the % sign
+# examples: 42% of coolvideo.ogg - Paused; 98% of seamonkey-nightly.zip - Downloading
+progressTitlePercent=%1$S%% of %2$S - %3$S
+
+# LOCALIZATION NOTE (percentFormat): %1$S is download percent
+# %% will appear as a single % sign, so %1$S%% is the percent number plus the % sign
+percentFormat=%1$S%%
+
 # LOCALIZATION NOTE (speedFormat):
 # %1$S rate number; %2$S rate unit
 # units are taken from toolkit's downloads.properties
 # example: 2.2 MB/sec
 speedFormat=%1$S %2$S/sec
 
 # LOCALIZATION NOTE (timeSingle): %1$S time number; %2$S time unit
 # example: 1 minute; 11 hours
 timeSingle=%1$S %2$S
 # LOCALIZATION NOTE (timeDouble):
 # %1$S time number; %2$S time unit; %3$S time sub number; %4$S time sub unit
 # example: 11 hours, 2 minutes; 1 day, 22 hours
 timeDouble=%1$S %2$S, %3$S %4$S
 
+# LOCALIZATION NOTE (timeElapsedSingle): %1$S time number; %2$S time unit
+# example: 1 minute elapsed; 11 hours elapsed
+timeElapsedSingle=%1$S %2$S elapsed
+# LOCALIZATION NOTE (timeElapsedDouble):
+# %1$S time number; %2$S time unit; %3$S time sub number; %4$S time sub unit
+# example: 11 hours, 2 minutes elapsed; 1 day, 22 hours elapsed
+timeElapsedDouble=%1$S %2$S, %3$S %4$S elapsed
+
+# LOCALIZATION NOTE (sizeSpeed):
+# %1$S is transfer progress; %2$S download speed
+# example: 1.1 of 11.1 GB (2.2 MB/sec)
+sizeSpeed=%1$S (%2$S)
+
+# LOCALIZATION NOTE (statusActive): — is the "em dash" (long dash)
+# %1$S download status; %2$S time remaining
+# example: Paused — 11 hours, 2 minutes remaining
+statusActive=%1$S — %2$S
+
+fromSource=From %S
+
 fileExecutableSecurityWarning="%S" is an executable file. Executable files may contain viruses or other malicious code that could harm your computer. Use caution when opening this file. Are you sure you want to launch "%S"?
 fileExecutableSecurityWarningTitle=Open Executable File?
 fileExecutableSecurityWarningDontAsk=Don't ask me this again
--- a/suite/chrome/common/downloads/progressDialog.dtd
+++ b/suite/chrome/common/downloads/progressDialog.dtd
@@ -15,27 +15,40 @@
    -
    - The Initial Developer of the Original Code is
    - the SeaMonkey project at mozilla.org.
    - Portions created by the Initial Developer are Copyright (C) 2008
    - the Initial Developer. All Rights Reserved.
    -
    - Contributor(s):
    -   Justin Wood <Callek@gmail.com>
+   -  Robert Kaiser <kairo@kairo.at>
    -
    - Alternatively, the contents of this file may be used under the terms of
    - either the GNU General Public License Version 2 or later (the "GPL"), or
    - the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
    - in which case the provisions of the GPL or the LGPL are applicable instead
    - of those above. If you wish to allow use of your version of this file only
    - under the terms of either the GPL or the LGPL, and not to allow others to
    - use your version of this file under the terms of the MPL, indicate your
    - decision by deleting the provisions above and replace them with the notice
    - and other provisions required by the LGPL or the GPL. If you do not delete
    - the provisions above, a recipient may use your version of this file under
    - the terms of any one of the MPL, the GPL or the LGPL.
    -
    - ***** END LICENSE BLOCK ***** -->
 
-<!ENTITY cancelLabel          "Close">
-<!ENTITY acceptLabel          "Open Download Manager">
-<!ENTITY progressTitle        "Download in Progress…">
-<!ENTITY tempDescription      "We're sorry, but progress dialogs in downloads are currently not implemented. Your download has started.">
+<!ENTITY progress.title                  "Download in Progress…">
+<!ENTITY closeWindow.key                 "w">
+<!ENTITY cmd.pause.tooltip               "Pause">
+<!ENTITY cmd.resume.tooltip              "Resume">
+<!ENTITY cmd.retry.tooltip               "Retry">
+<!ENTITY cmd.cancel.tooltip              "Cancel">
+<!ENTITY cmd.open.label                  "Open">
+<!ENTITY cmd.open.accesskey              "O">
+<!ENTITY cmd.show.label                  "Open Containing Folder">
+<!ENTITY cmd.show.accesskey              "F">
+<!ENTITY cmd.goToDownloadPage.label      "Go to Download Page">
+<!ENTITY cmd.goToDownloadPage.accesskey  "G">
+<!ENTITY cmd.copyDownloadLink.label      "Copy Download Link">
+<!ENTITY cmd.copyDownloadLink.accesskey  "L">
+<!ENTITY closeWhenDone.label             "Close this window when the download is complete.">
+<!ENTITY closeWhenDone.accesskey         "w">