Update Fluent linter, flag combination of Mozilla term + account

This commit is contained in:
Francesco Lodolo 2024-05-03 08:58:43 +02:00 коммит произвёл Vincent
Родитель 7725b368fc
Коммит 55291af189
5 изменённых файлов: 5 добавлений и 3 удалений

1
.github/linter_config.yml поставляемый
Просмотреть файл

@ -40,6 +40,7 @@ CO01:
- Mozilla
- Relay
- Monitor
- "{ -brand-mozilla } account"
exclusions:
messages:
- breach-checklist-ssn-header

1
.github/workflows/reference_linter.yaml поставляемый
Просмотреть файл

@ -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 well 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 well 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 well no longer monitor for new data breaches. This will not delete your Mozilla account.",
"All of your Monitor account information will be deleted and well 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>