Migrate more strings to translation keys (#11651)
This commit is contained in:
parent
560449676b
commit
f4d056fd38
127 changed files with 8916 additions and 8272 deletions
|
@ -67,7 +67,7 @@ const onLearnMorePreviouslyOptedIn = (): void => {
|
|||
}
|
||||
// otherwise, the user closed the dialog without making a choice, leave the toast open
|
||||
},
|
||||
primaryButton: _t("That's fine"),
|
||||
primaryButton: _t("analytics|accept_button"),
|
||||
cancelButton: _t("action|stop"),
|
||||
});
|
||||
};
|
||||
|
@ -87,7 +87,7 @@ export const showToast = (): void => {
|
|||
// them to opt in again.
|
||||
props = {
|
||||
description: _t("analytics|consent_migration"),
|
||||
acceptLabel: _t("That's fine"),
|
||||
acceptLabel: _t("analytics|accept_button"),
|
||||
onAccept,
|
||||
rejectLabel: _t("action|learn_more"),
|
||||
onReject: onLearnMorePreviouslyOptedIn,
|
||||
|
|
|
@ -31,7 +31,7 @@ export const showToast = (
|
|||
): void => {
|
||||
const errorText = messageForResourceLimitError(limitType, adminContact, {
|
||||
"monthly_active_user": _td("Your homeserver has exceeded its user limit."),
|
||||
"hs_blocked": _td("This homeserver has been blocked by its administrator."),
|
||||
"hs_blocked": _td("error|hs_blocked"),
|
||||
"": _td("Your homeserver has exceeded one of its resource limits."),
|
||||
});
|
||||
const contactText = messageForResourceLimitError(limitType, adminContact, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue