Bug 1585428 - update FxA toolbar heading from 'Manage Account' to 'Settings'. r=flod,eoger

Differential Revision: https://phabricator.services.mozilla.com/D47852
This commit is contained in:
Mark Hammond
2019-10-03 05:36:16 +00:00
parent 342d60821a
commit 291eea15b8
3 changed files with 5 additions and 7 deletions

View File

@@ -443,9 +443,7 @@ var gSync = {
fxaMenuAccountButtonEl.setAttribute("closemenu", "none");
headerTitle = state.email;
headerDescription = this.fxaStrings.GetStringFromName(
"account.manageAccount"
);
headerDescription = this.fxaStrings.GetStringFromName("account.settings");
panelTitle = state.displayName ? state.displayName : panelTitle;
}

View File

@@ -55,7 +55,7 @@ add_task(async function test_ui_state_signedin() {
checkMenuBarItem("sync-syncnowitem");
checkFxaToolbarButtonPanel({
headerTitle: "foo@bar.com",
headerDescription: "Manage Account",
headerDescription: "Settings",
enabledItems: [
"PanelUI-fxa-menu-sendtab-button",
"PanelUI-fxa-menu-remotetabs-button",
@@ -163,7 +163,7 @@ add_task(async function test_ui_state_syncdisabled() {
checkMenuBarItem("sync-enable");
checkFxaToolbarButtonPanel({
headerTitle: "foo@bar.com",
headerDescription: "Manage Account",
headerDescription: "Settings",
enabledItems: [
"PanelUI-fxa-menu-sendtab-button",
"PanelUI-fxa-menu-remotetabs-button",

View File

@@ -109,9 +109,9 @@ singleTabArrivingWithTruncatedURL.body = %S…
# Used as a default header for the FxA toolbar menu.
account.title = Account
# LOCALIZATION NOTE (account.manageAccount):
# LOCALIZATION NOTE (account.settings):
# Used as the description below user's email in the FxA toolbar menu.
account.manageAccount = Manage Account
account.settings = Settings
# LOCALIZATION NOTE (account.finishAccountSetup):
# Used as the FxA toolbar menu item value when user has not