Migrate more strings to translation keys (#11694)

This commit is contained in:
Michael Telatynski 2023-10-03 19:17:26 +01:00 committed by GitHub
parent 677854d318
commit e1cfde0c6e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
201 changed files with 21074 additions and 18552 deletions

View file

@ -70,15 +70,13 @@ export default function AskInviteAnywayDialog({
</li>
));
const description =
descriptionProp ??
_t("Unable to find profiles for the Matrix IDs listed below - would you like to invite them anyway?");
const description = descriptionProp ?? _t("invite|unable_find_profiles_description_default");
return (
<BaseDialog
className="mx_RetryInvitesDialog"
onFinished={onGiveUpClicked}
title={_t("The following users may not exist")}
title={_t("invite|unable_find_profiles_title")}
contentId="mx_Dialog_content"
>
<div id="mx_Dialog_content">
@ -89,10 +87,10 @@ export default function AskInviteAnywayDialog({
<div className="mx_Dialog_buttons">
<button onClick={onGiveUpClicked}>{_t("action|close")}</button>
<button onClick={onInviteNeverWarnClicked}>
{inviteNeverWarnLabel ?? _t("Invite anyway and never warn me again")}
{inviteNeverWarnLabel ?? _t("invite|unable_find_profiles_invite_never_warn_label_default")}
</button>
<button onClick={onInviteClicked} autoFocus={true}>
{inviteLabel ?? _t("Invite anyway")}
{inviteLabel ?? _t("invite|unable_find_profiles_invite_label_default")}
</button>
</div>
</BaseDialog>