diff --git a/mozilla/embedding/components/ui/progressDlg/nsProgressDialog.js b/mozilla/embedding/components/ui/progressDlg/nsProgressDialog.js index 975438058d3..40d632e169c 100644 --- a/mozilla/embedding/components/ui/progressDlg/nsProgressDialog.js +++ b/mozilla/embedding/components/ui/progressDlg/nsProgressDialog.js @@ -840,7 +840,8 @@ nsProgressDialog.prototype = { .getService( Components.interfaces.nsIStringBundleService ) .createBundle( "chrome://global/locale/nsProgressDialog.properties"); } - return this.mBundle.formatStringFromName( propertyId, strings, len ); + return len ? this.mBundle.formatStringFromName( propertyId, strings, len ) + : this.mBundle.getStringFromName( propertyId ); }, // Get localizable string (from dialog elements).