Bug 1867018 - Update about:preferences strings for saved cards modal r=credential-management-reviewers,fluent-reviewers,joschmidt,kpatenio

Differential Revision: https://phabricator.services.mozilla.com/D195277
This commit is contained in:
jneuberger 2023-12-11 21:54:33 +00:00
Родитель dc6400347b
Коммит f6d010a46e
5 изменённых файлов: 10 добавлений и 10 удалений

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

@ -5,7 +5,7 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title data-l10n-id="autofill-add-new-card-title"></title>
<title data-l10n-id="autofill-add-card-title"></title>
<link rel="localization" href="browser/preferences/formAutofill.ftl" />
<link
rel="stylesheet"

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

@ -208,7 +208,7 @@ class EditCreditCardDialog extends AutofillEditDialog {
if (this._record?.guid) {
document.l10n.setAttributes(
this._elements.title,
"autofill-edit-card-title"
"autofill-edit-card-title2"
);
}
}

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

@ -9,7 +9,7 @@
data-l10n-attrs="style"
>
<head>
<title data-l10n-id="autofill-manage-credit-cards-title"></title>
<title data-l10n-id="autofill-manage-payment-methods-title"></title>
<link rel="localization" href="browser/preferences/formAutofill.ftl" />
<link rel="localization" href="toolkit/payments/payments.ftl" />
<link rel="stylesheet" href="chrome://global/skin/in-content/common.css" />
@ -21,7 +21,7 @@
</head>
<body>
<fieldset>
<legend data-l10n-id="autofill-manage-credit-cards-list-header" />
<legend data-l10n-id="autofill-manage-cards-list-header" />
<select id="credit-cards" size="9" multiple="multiple" />
</fieldset>
<div id="controls-container">

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

@ -7,8 +7,8 @@
autofill-manage-addresses-title = Saved Addresses
autofill-manage-addresses-list-header = Addresses
autofill-manage-credit-cards-title = Saved Credit Cards
autofill-manage-credit-cards-list-header = Credit Cards
autofill-manage-payment-methods-title = Saved payment methods
autofill-manage-cards-list-header = Cards
autofill-manage-dialog =
.style = min-width: 560px
@ -121,9 +121,9 @@ autofill-country-warning-message = Form Autofill is currently available only for
autofill-message-tooltip = View message about autofill
# The dialog title for creating credit cards in browser preferences.
autofill-add-new-card-title = Add New Credit Card
autofill-add-card-title = Add card
# The dialog title for editing credit cards in browser preferences.
autofill-edit-card-title = Edit Credit Card
autofill-edit-card-title2 = Edit card
# In macOS, this string is preceded by the operating system with "Firefox is trying to ",
# and has a period added to its end. Make sure to test in your locale.

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

@ -41,8 +41,8 @@ const EDIT_ADDRESS_L10N_IDS = [
"autofill-address-tel",
];
const MANAGE_CREDITCARDS_L10N_IDS = [
"autofill-add-new-card-title",
"autofill-manage-credit-cards-title",
"autofill-add-card-title",
"autofill-manage-payment-methods-title",
];
const EDIT_CREDITCARD_L10N_IDS = [
"autofill-card-number",