Rename Monthly Monitor report to *Plus report

Also, since that setting only applies to Plus users, moved the
string to the non-localised strings. (The previous string might
come back in a future feature, but as I understand it, Pontoon will
remember it for easy re-translation.)
This commit is contained in:
Vincent 2024-08-26 16:31:34 +02:00 коммит произвёл Vincent
Родитель 1c9440fa22
Коммит d8f6ff4eb6
4 изменённых файлов: 9 добавлений и 6 удалений

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

@ -2,6 +2,11 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
## Email preferences
settings-alert-preferences-allow-monthly-monitor-plus-report-title = Monthly { -brand-monitor-plus } report
settings-alert-preferences-allow-monthly-monitor-plus-report-subtitle = A monthly update of new exposures, whats been fixed, and what needs your attention.
## Cancel Plus subscription
settings-cancel-plus-title = Cancel { -brand-monitor-plus } subscription

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

@ -14,8 +14,6 @@ settings-alert-preferences-allow-breach-alerts-title = Instant breach alerts
settings-alert-preferences-allow-breach-alerts-subtitle = These alerts are sent immediately once a data breach is detected
settings-alert-preferences-option-one = Send breach alerts to the affected email address
settings-alert-preferences-option-two = Send all breach alerts to the primary email address
settings-alert-preferences-allow-monthly-monitor-report-title = Monthly { -brand-monitor } report
settings-alert-preferences-allow-monthly-monitor-report-subtitle = A monthly update of new exposures, whats been fixed, and what needs your attention.
## Monitored email addresses

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

@ -185,12 +185,12 @@ export const AlertAddressForm = (props: Props) => {
<div>
<b>
{l10n.getString(
"settings-alert-preferences-allow-monthly-monitor-report-title",
"settings-alert-preferences-allow-monthly-monitor-plus-report-title",
)}
</b>
<p>
{l10n.getString(
"settings-alert-preferences-allow-monthly-monitor-report-subtitle",
"settings-alert-preferences-allow-monthly-monitor-plus-report-subtitle",
)}
</p>
</div>

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

@ -703,7 +703,7 @@ it("checks that monthly monitor report is enabled", () => {
);
const monthlyMonitorReportBtn = screen.getByLabelText(
"Monthly Monitor report",
"Monthly Monitor Plus report",
{ exact: false },
);
expect(monthlyMonitorReportBtn).toHaveAttribute("aria-checked", "true");
@ -749,7 +749,7 @@ it("sends an API call to disable monthly monitor reports", async () => {
</TestComponentWrapper>,
);
const monthlyMonitorReportBtn = screen.getByLabelText(
"Monthly Monitor report",
"Monthly Monitor Plus report",
{ exact: false },
);