Migrate more strings to translation keys (#11665)
This commit is contained in:
committed by
GitHub
parent
de250df520
commit
54c88c57ed
@@ -95,7 +95,7 @@ export default class NotificationPanel extends React.PureComponent<IProps, IStat
|
||||
header={
|
||||
<div className="mx_BaseCard_header_title">
|
||||
<Heading size="4" className="mx_BaseCard_header_title_heading">
|
||||
{_t("Notifications")}
|
||||
{_t("notifications|enable_prompt_toast_title")}
|
||||
</Heading>
|
||||
</div>
|
||||
}
|
||||
|
||||
@@ -349,7 +349,7 @@ export default class UserMenu extends React.Component<IProps, IState> {
|
||||
{homeButton}
|
||||
<IconizedContextMenuOption
|
||||
iconClassName="mx_UserMenu_iconBell"
|
||||
label={_t("Notifications")}
|
||||
label={_t("notifications|enable_prompt_toast_title")}
|
||||
onClick={(e) => this.onSettingsOpen(e, UserTab.Notifications)}
|
||||
/>
|
||||
<IconizedContextMenuOption
|
||||
@@ -359,7 +359,7 @@ export default class UserMenu extends React.Component<IProps, IState> {
|
||||
/>
|
||||
<IconizedContextMenuOption
|
||||
iconClassName="mx_UserMenu_iconSettings"
|
||||
label={_t("All settings")}
|
||||
label={_t("user_menu|settings")}
|
||||
onClick={(e) => this.onSettingsOpen(e)}
|
||||
/>
|
||||
{feedbackButton}
|
||||
|
||||
@@ -679,7 +679,7 @@ export default class Registration extends React.Component<IProps, IState> {
|
||||
<Fragment>
|
||||
<div className="mx_Register_mainContent">
|
||||
<AuthHeaderDisplay
|
||||
title={_t("Create account")}
|
||||
title={_t("auth|create_account_title")}
|
||||
serverPicker={
|
||||
<ServerPicker
|
||||
title={_t("auth|server_picker_title_registration")}
|
||||
|
||||
Reference in New Issue
Block a user