Migrate more strings to translation keys (#11665)

This commit is contained in:
Michael Telatynski 2023-09-25 18:12:41 +01:00 committed by GitHub
parent de250df520
commit 54c88c57ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
127 changed files with 6797 additions and 5825 deletions

View file

@ -30,12 +30,12 @@ export const showToast = (
syncError?: boolean,
): void => {
const errorText = messageForResourceLimitError(limitType, adminContact, {
"monthly_active_user": _td("Your homeserver has exceeded its user limit."),
"monthly_active_user": _td("error|mau"),
"hs_blocked": _td("error|hs_blocked"),
"": _td("Your homeserver has exceeded one of its resource limits."),
"": _td("error|resource_limits"),
});
const contactText = messageForResourceLimitError(limitType, adminContact, {
"": _td("Contact your <a>server admin</a>."),
"": _td("error|admin_contact_short"),
});
ToastStore.sharedInstance().addOrReplaceToast({