Bug 1565696 - Update 'Use Generated Password' string to 'Use a Securely Generated Password'. r=MattN

Differential Revision: https://phabricator.services.mozilla.com/D38134

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Tim Nguyen 2019-07-15 22:26:53 +00:00
Родитель 1353b31f42
Коммит 223a1a8c40
4 изменённых файлов: 7 добавлений и 7 удалений

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

@ -198,7 +198,7 @@ class GeneratedPasswordAutocompleteItem extends AutocompleteItem {
this.value = generatedPassword;
XPCOMUtils.defineLazyGetter(this, "label", () => {
return getLocalizedString("useGeneratedPassword");
return getLocalizedString("useASecurelyGeneratedPassword");
});
}
}

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

@ -177,7 +177,7 @@ add_task(async function test_autofillAutocompletePassword_withGeneration() {
let results = await shownPromise;
let expectedACLabels = [
"user1",
"Use Generated Password",
"Use a Securely Generated Password",
];
checkAutoCompleteResults(results, expectedACLabels, "example.com", "Check all rows are correct");
synthesizeKey("KEY_ArrowDown");
@ -202,7 +202,7 @@ add_task(async function test_autofillAutocompletePassword_withGeneration() {
synthesizeKey("KEY_ArrowDown");
results = await shownPromise;
expectedACLabels = [
"Use Generated Password",
"Use a Securely Generated Password",
];
checkAutoCompleteResults(results, expectedACLabels, "example.com", "Check all rows are correct");
synthesizeKey("KEY_ArrowDown");
@ -238,7 +238,7 @@ add_task(async function test_autofillAutocompletePassword_withGeneration() {
results = await shownPromise;
expectedACLabels = [
LABEL_NO_USERNAME,
"Use Generated Password",
"Use a Securely Generated Password",
];
checkAutoCompleteResults(results, expectedACLabels, "example.com", "Check all rows are correct");
synthesizeKey("KEY_ArrowDown");

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

@ -899,7 +899,7 @@ add_task(async function test_all_patterns() {
items: [
{
value: "9ljgfd4shyktb45",
label: "Use Generated Password",
label: "Use a Securely Generated Password",
style: "generatedPassword",
comment: "9ljgfd4shyktb45",
},

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

@ -46,9 +46,9 @@ removeLoginPrompt=Are you sure you wish to remove this login?
removeLoginTitle=Remove login
loginsDescriptionAll2=Logins for the following sites are stored on your computer
# LOCALIZATION NOTE (useGeneratedPassword):
# LOCALIZATION NOTE (useASecurelyGeneratedPassword):
# Shown in the autocomplete popup to allow filling a generated password into a password field.
useGeneratedPassword=Use Generated Password
useASecurelyGeneratedPassword=Use a Securely Generated Password
# LOCALIZATION NOTE (loginHostAge):
# This is used to show the context menu login items with their age.
# 1st string is the username for the login, 2nd is the login's age.