mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 907211 - Fix localized string access for download size. r=ally
This commit is contained in:
parent
4abd90b5b5
commit
612206ede1
@ -41,8 +41,10 @@ HelperAppLauncherDialog.prototype = {
|
||||
let displaySize = DownloadUtils.convertByteUnits(aSize);
|
||||
if (displaySize[0] > 0) // [0] is size, [1] is units
|
||||
return displaySize.join("");
|
||||
else
|
||||
return Strings.browser.GetStringFromName("downloadsUnknownSize");
|
||||
else {
|
||||
let browserBundle = Services.strings.createBundle("chrome://browser/locale/browser.properties");
|
||||
return browserBundle.GetStringFromName("downloadsUnknownSize");
|
||||
}
|
||||
},
|
||||
|
||||
_getChromeWindow: function (aWindow) {
|
||||
|
Loading…
Reference in New Issue
Block a user