Bug 896156 - Fix problems in plurals and comments for Metro download bar strings [r=emtwo]

This commit is contained in:
Matt Brubeck 2013-07-25 08:54:25 -07:00
parent c4fb72da35
commit 6e3b45ad90
2 changed files with 10 additions and 9 deletions

View File

@ -212,8 +212,7 @@ var Downloads = {
_showDownloadCompleteNotification: function (aDownload) { _showDownloadCompleteNotification: function (aDownload) {
let message = ""; let message = "";
let showInFilesButtonText = PluralForm.get(this._downloadCount, let showInFilesButtonText = Strings.browser.GetStringFromName("downloadShowInFiles");
Strings.browser.GetStringFromName("downloadsShowInFiles"));
let buttons = [ let buttons = [
{ {

View File

@ -61,9 +61,8 @@ downloadRun=Run
downloadSave=Save downloadSave=Save
downloadCancel=Cancel downloadCancel=Cancel
downloadTryAgain=Try Again downloadTryAgain=Try Again
# LOCALIZATION NOTE (downloadsShowInFiles): Semicolon-separated list of plural forms. # LOCALIZATION NOTE (downloadShowInFiles): 'Files' refers to the Windows 8 file explorer
# 'Files' refers to the Windows 8 file explorer downloadShowInFiles=Show in Files
downloadsShowInFiles=Show download in Files;Show downloads in Files
# Alerts # Alerts
alertLinkBookmarked=Bookmark added alertLinkBookmarked=Bookmark added
@ -79,16 +78,19 @@ alertDownloadsSize=Download too big
alertDownloadsNoSpace=Not enough storage space alertDownloadsNoSpace=Not enough storage space
# LOCALIZATION NOTE (alertDownloadSave): #1 is the file name, #2 is the file size, #3 is the file host # LOCALIZATION NOTE (alertDownloadSave): #1 is the file name, #2 is the file size, #3 is the file host
alertDownloadSave=Do you want to run or save #1 (#2) from #3? alertDownloadSave=Do you want to run or save #1 (#2) from #3?
# LOCALIZATION NOTE (alertDownloadMultiple): Semicolon-separated list of plural forms. # LOCALIZATION NOTE (alertDownloadMultiple): Semi-colon list of plural forms.
# See: http://developer.mozilla.org/en/docs/Localization_and_Plurals
# #1 is the number of files, #2 is (amount downloaded so far / total amount to download) and #3 is seconds remaining # #1 is the number of files, #2 is (amount downloaded so far / total amount to download) and #3 is seconds remaining
alertDownloadMultiple=Downloading one file, #2, #3; Downloading #1 files, #2, #3 alertDownloadMultiple=Downloading one file, #2, #3;Downloading #1 files, #2, #3
# LOCALIZATION NOTE (alertMultipleDownloadsComplete): Semicolon-separated list of plural forms. # LOCALIZATION NOTE (alertMultipleDownloadsComplete): Semi-colon list of plural forms.
# See: http://developer.mozilla.org/en/docs/Localization_and_Plurals
# #1 is the number of downloads completed # #1 is the number of downloads completed
alertMultipleDownloadsComplete=One download has been completed;#1 downloads have been completed alertMultipleDownloadsComplete=One download has been completed;#1 downloads have been completed
alertDownloadFailed=Sorry, downloading %S failed. alertDownloadFailed=Sorry, downloading %S failed.
# Popup Blocker # Popup Blocker
# LOCALIZATION NOTE (popupWarning.message): Semicolon-separated list of plural forms. # LOCALIZATION NOTE (popupWarning.message): Semi-colon list of plural forms.
# See: http://developer.mozilla.org/en/docs/Localization_and_Plurals
# #1 is brandShortName and #2 is the number of pop-ups blocked. # #1 is brandShortName and #2 is the number of pop-ups blocked.
popupWarning.message=#1 prevented this site from opening a pop-up window.;#1 prevented this site from opening #2 pop-up windows. popupWarning.message=#1 prevented this site from opening a pop-up window.;#1 prevented this site from opening #2 pop-up windows.
popupButtonAllowOnce2=Allow once popupButtonAllowOnce2=Allow once