mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 890529 - Update localization note on crashprompt strings. r=ally
This commit is contained in:
parent
ad3e726bd8
commit
cbd5e85bc7
@ -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;
|
||||||
|
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user