Bug 890529 - Update localization note on crashprompt strings. r=ally

This commit is contained in:
Jim Mathies 2013-07-23 15:29:00 -05:00
parent ad3e726bd8
commit cbd5e85bc7
2 changed files with 3 additions and 3 deletions

View File

@ -83,7 +83,7 @@ var CrashPrompt = {
let vendorName = Services.strings.createBundle("chrome://branding/locale/brand.properties") let vendorName = Services.strings.createBundle("chrome://branding/locale/brand.properties")
.GetStringFromName("vendorShortName"); .GetStringFromName("vendorShortName");
let crashBundle = Services.strings.createBundle("chrome://browser/locale/crashprompt.properties"); let crashBundle = Services.strings.createBundle("chrome://browser/locale/crashprompt.properties");
let message = crashBundle.formatStringFromName("crashprompt.messagebody", [brandName, vendorName, brandName], 3); let message = crashBundle.formatStringFromName("crashprompt.messagebody2", [brandName, vendorName], 2);
let descElement = document.getElementById("privacy-crash-blurb"); let descElement = document.getElementById("privacy-crash-blurb");
descElement.textContent = message; descElement.textContent = message;

View File

@ -2,5 +2,5 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this # License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
# LOCALIZATION NOTE: '%S' is short brand name # LOCALIZATION NOTE (crashprompt.messagebody2): %1$S - short brand name, %2$S - vendor name
crashprompt.messagebody=We are sorry, %S just recovered from a crash. Sending crash reports will help %S make %S more stable and secure. You can always change your preference in Settings/Options. crashprompt.messagebody2=We are sorry, %1$S just recovered from a crash. Sending crash reports will help %2$S make %1$S more stable and secure. You can always change your preference in Settings/Options.