Bug 1694659 - Update permit unload / beforeunload / unload warning prompt wording, r=Gijs.

Differential Revision: https://phabricator.services.mozilla.com/D108177
This commit is contained in:
Florian Quèze 2021-03-12 14:49:25 +00:00
parent d3efd5b95c
commit 8a32a56194
2 changed files with 4 additions and 4 deletions

View File

@ -80,7 +80,7 @@ class PromptCollection {
try {
title = this.stringBundles.dom.GetStringFromName("OnBeforeUnloadTitle");
message = this.stringBundles.dom.GetStringFromName(
"OnBeforeUnloadMessage"
"OnBeforeUnloadMessage2"
);
leaveLabel = this.stringBundles.dom.GetStringFromName(
"OnBeforeUnloadLeaveButton"

View File

@ -19,9 +19,9 @@ WaitForScriptButton=Continue
DontAskAgain=&Dont ask me again
WindowCloseBlockedWarning=Scripts may not close windows that were not opened by script.
OnBeforeUnloadTitle=Are you sure?
OnBeforeUnloadMessage=This page is asking you to confirm that you want to leave - data you have entered may not be saved.
OnBeforeUnloadStayButton=Stay on Page
OnBeforeUnloadLeaveButton=Leave Page
OnBeforeUnloadMessage2=This page is asking you to confirm that you want to leave — information youve entered may not be saved.
OnBeforeUnloadStayButton=Stay on page
OnBeforeUnloadLeaveButton=Leave page
EmptyGetElementByIdParam=Empty string passed to getElementById().
SpeculationFailed=An unbalanced tree was written using document.write() causing data from the network to be reparsed. For more information https://developer.mozilla.org/en/Optimizing_Your_Pages_for_Speculative_Parsing
DocumentWriteIgnored=A call to document.write() from an asynchronously-loaded external script was ignored.