Update Fluent linter, flag combination of Mozilla term + account
This commit is contained in:
Родитель
7725b368fc
Коммит
55291af189
|
@ -40,6 +40,7 @@ CO01:
|
|||
- Mozilla
|
||||
- Relay
|
||||
- Monitor
|
||||
- "{ -brand-mozilla } account"
|
||||
exclusions:
|
||||
messages:
|
||||
- breach-checklist-ssn-header
|
||||
|
|
|
@ -21,5 +21,6 @@ jobs:
|
|||
run: |
|
||||
moz-fluent-lint ./locales/en/ --config .github/linter_config.yml
|
||||
- name: Lint pending strings
|
||||
if: always() # This step should run even if the previous one fails
|
||||
run: |
|
||||
moz-fluent-lint ./locales-pending/ --config .github/linter_config.yml
|
||||
|
|
|
@ -61,7 +61,7 @@ settings-delete-monitor-free-account-title = Delete { -brand-monitor } account
|
|||
settings-delete-monitor-free-account-description = This will permanently delete your { -brand-monitor } account and turn off all notifications.
|
||||
settings-delete-monitor-free-account-cta-label = Delete account
|
||||
settings-delete-monitor-free-account-dialog-title = Your { -brand-monitor } account will be permanently deleted
|
||||
settings-delete-monitor-free-account-dialog-lead = All of your { -brand-monitor } account information will be deleted and we’ll no longer monitor for new data breaches. This will not delete your { -brand-mozilla } account.
|
||||
settings-delete-monitor-free-account-dialog-lead-v2 = All of your { -brand-monitor } account information will be deleted and we’ll no longer monitor for new data breaches. This will not delete your { -brand-mozilla-account }.
|
||||
settings-delete-monitor-free-account-dialog-cta-label = Delete account
|
||||
settings-delete-monitor-free-account-dialog-cancel-button-label = Never mind, take me back
|
||||
settings-delete-monitor-account-confirmation-toast-label-2 = Your { -brand-monitor } account is now deleted.
|
||||
|
|
|
@ -1047,7 +1047,7 @@ it("warns about the consequences before deleting a free user's account", async (
|
|||
|
||||
const dialog = screen.getByRole("dialog");
|
||||
const consequencesWarning = within(dialog).getByText(
|
||||
"All of your Monitor account information will be deleted and we’ll no longer monitor for new data breaches. This will not delete your Mozilla account.",
|
||||
"All of your Monitor account information will be deleted and we’ll no longer monitor for new data breaches. This will not delete your Mozilla account.",
|
||||
);
|
||||
|
||||
expect(consequencesWarning).toBeInTheDocument();
|
||||
|
|
|
@ -233,7 +233,7 @@ export const SettingsView = (props: Props) => {
|
|||
<div className={styles.dialogLead}>
|
||||
<p>
|
||||
{l10n.getString(
|
||||
"settings-delete-monitor-free-account-dialog-lead",
|
||||
"settings-delete-monitor-free-account-dialog-lead-v2",
|
||||
)}
|
||||
</p>
|
||||
</div>
|
||||
|
|
Загрузка…
Ссылка в новой задаче