Align action_* strings with Element X project in Localazy (#11437)

This commit is contained in:
Michael Telatynski
2023-08-22 20:55:15 +01:00
committed by GitHub
parent bdd3710f25
commit df4a2218d7
166 changed files with 1697 additions and 1555 deletions

View File

@@ -51,7 +51,7 @@ const onLearnMoreNoOptIn = (): void => {
// otherwise, the user either clicked "Cancel", or closed the dialog without making a choice,
// leave the toast open
},
primaryButton: _t("Enable"),
primaryButton: _t("action|enable"),
});
};
@@ -91,7 +91,7 @@ export const showToast = (): void => {
),
acceptLabel: _t("That's fine"),
onAccept,
rejectLabel: _t("Learn more"),
rejectLabel: _t("action|learn_more"),
onReject: onLearnMorePreviouslyOptedIn,
};
} else if (legacyAnalyticsOptIn === null || legacyAnalyticsOptIn === undefined) {
@@ -108,9 +108,9 @@ export const showToast = (): void => {
{},
{ LearnMoreLink: learnMoreLink },
),
acceptLabel: _t("Yes"),
acceptLabel: _t("action|yes"),
onAccept,
rejectLabel: _t("No"),
rejectLabel: _t("action|no"),
onReject,
};
} else {