Migrate more strings to translation keys (#11671)

This commit is contained in:
Michael Telatynski 2023-09-26 18:35:55 +01:00 committed by GitHub
parent 13aed62a91
commit 4d0d024e86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
125 changed files with 7066 additions and 6607 deletions

View file

@ -51,7 +51,7 @@ export function NotificationPusherSettings(): JSX.Element {
() => ({
kind: "email",
app_id: "m.email",
app_display_name: _t("Email Notifications"),
app_display_name: _t("notifications|email_pusher_app_display_name"),
lang: navigator.language,
data: {
brand: SdkConfig.get().brand,
@ -91,17 +91,16 @@ export function NotificationPusherSettings(): JSX.Element {
return (
<>
<SettingsSubsection className="mx_NotificationPusherSettings" heading={_t("Email summary")}>
<SettingsSubsection
className="mx_NotificationPusherSettings"
heading={_t("settings|notifications|email_section")}
>
<SettingsSubsectionText className="mx_NotificationPusherSettings_description">
{_t("Receive an email summary of missed notifications")}
{_t("settings|notifications|email_description")}
</SettingsSubsectionText>
<div className="mx_SettingsSubsection_description mx_NotificationPusherSettings_detail">
<SettingsSubsectionText>
{_t(
"Select which emails you want to send summaries to. Manage your emails in <button>General</button>.",
{},
{ button: generalTabButton },
)}
{_t("settings|notifications|email_select", {}, { button: generalTabButton })}
</SettingsSubsectionText>
</div>
<SettingsIndent>