Bug 972567 - Add a more descriptive tooltip to the Reconnect to Sync menu item. r=markh

This commit is contained in:
Jessie Hildebrandt 2015-06-05 10:37:03 +10:00
Родитель 4ac012bfd7
Коммит 675c532590
2 изменённых файлов: 5 добавлений и 0 удалений

Просмотреть файл

@ -245,8 +245,10 @@ let gFxAccounts = {
if (!this._inCustomizationMode) {
if (this.loginFailed) {
let tooltipDescription = this.strings.formatStringFromName("reconnectDescription", [userData.email], 1);
this.button.setAttribute("fxastatus", "error");
this.button.setAttribute("label", errorLabel);
this.button.setAttribute("tooltiptext", tooltipDescription);
} else if (userData) {
this.button.setAttribute("fxastatus", "signedin");
this.button.setAttribute("label", userData.email);

Просмотреть файл

@ -24,6 +24,9 @@ needVerifiedUserLong = Please click the verification link in the email sent to %
resendVerificationEmail.label = Resend
resendVerificationEmail.accessKey = R
# LOCALIZATION NOTE (reconnectDescription) - %S = Email address of user's Firefox Account
reconnectDescription = Reconnect %S
forgetMigration.label = Forget
forgetMigration.accessKey = F