Bug 1275383 - Change the copy of Sync disconnection warning. r=markh

MozReview-Commit-ID: 6WuxnRaYo7X

--HG--
extra : transplant_source : %BD%FE%F8%FD%AA%40%CF%97%B8M%D7%7Fm%9Aq%F9%BEhX%AB
This commit is contained in:
Edouard Oger 2016-06-01 16:41:31 -07:00
parent 220f25386e
commit a58b0d4db3
2 changed files with 11 additions and 11 deletions

View File

@ -620,14 +620,11 @@ var gSyncPane = {
if (confirm) {
// We use a string bundle shared with aboutAccounts.
let sb = Services.strings.createBundle("chrome://browser/locale/syncSetup.properties");
let continueLabel = sb.GetStringFromName("continue.label");
let disconnectLabel = sb.GetStringFromName("disconnect.label");
let title = sb.GetStringFromName("disconnect.verify.title");
let brandBundle = Services.strings.createBundle("chrome://branding/locale/brand.properties");
let brandShortName = brandBundle.GetStringFromName("brandShortName");
let body = sb.GetStringFromName("disconnect.verify.heading") +
let body = sb.GetStringFromName("disconnect.verify.bodyHeading") +
"\n\n" +
sb.formatStringFromName("disconnect.verify.description",
[brandShortName], 1);
sb.GetStringFromName("disconnect.verify.bodyText");
let ps = Services.prompt;
let buttonFlags = (ps.BUTTON_POS_0 * ps.BUTTON_TITLE_IS_STRING) +
(ps.BUTTON_POS_1 * ps.BUTTON_TITLE_CANCEL) +
@ -640,7 +637,7 @@ var gSyncPane = {
bag.setPropertyAsBool("allowTabModal", true);
let pressed = prompt.confirmEx(title, body, buttonFlags,
continueLabel, null, null, null, {});
disconnectLabel, null, null, null, {});
if (pressed != 0) { // 0 is the "continue" button
return;

View File

@ -52,11 +52,14 @@ existingAccount.change.label = You can change this preference by selecting Sync
# Firefox Accounts based setup.
continue.label = Continue
# LOCALIZATION NOTE (disconnect.label, disconnect.verify.title, disconnect.verify.bodyHeading, disconnect.verify.bodyText):
# These strings are used in the confirmation dialog shown when the user hits the disconnect button
# LOCALIZATION NOTE (disconnect.label): This is the label for the disconnect button
disconnect.label = Disconnect
disconnect.verify.title = Disconnect
disconnect.verify.heading = Are you sure?
# LOCALIZATION NOTE (disconnect.verify.description): %S will be replaced with
# brandShortName
disconnect.verify.description = %S will stop syncing with your account, but wont delete any of your browsing data on this computer.
disconnect.verify.bodyHeading = Disconnect from Sync?
disconnect.verify.bodyText = Your browsing data will remain on this computer, but it will no longer sync with your account.
relinkVerify.title = Merge Warning
relinkVerify.heading = Are you sure you want to sign in to Sync?