Migrate more strings to translation keys (#11499)

This commit is contained in:
Michael Telatynski 2023-09-01 08:26:48 +01:00 committed by GitHub
parent 45094bda7c
commit f88d76e2ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
77 changed files with 2043 additions and 2006 deletions

View file

@ -206,7 +206,7 @@ export function DeviceItem({ userId, device }: { userId: string; device: IDevice
}
let trustedLabel: string | undefined;
if (userTrust.isVerified()) trustedLabel = isVerified ? _t("Trusted") : _t("Not trusted");
if (userTrust.isVerified()) trustedLabel = isVerified ? _t("common|trusted") : _t("common|not_trusted");
if (isVerified === undefined) {
// we're still deciding if the device is verified
@ -443,7 +443,7 @@ export const UserOptionsSection: React.FC<{
insertPillButton = (
<AccessibleButton kind="link" onClick={onInsertPillButton} className="mx_UserInfo_field">
{_t("Mention")}
{_t("action|mention")}
</AccessibleButton>
);
}