Create more common_*
common strings (#11439)
This commit is contained in:
parent
df4a2218d7
commit
aa6e3654b8
106 changed files with 1121 additions and 1069 deletions
|
@ -167,7 +167,7 @@ const JoinRuleSettings: React.FC<JoinRuleSettingsProps> = ({
|
|||
},
|
||||
{
|
||||
value: JoinRule.Public,
|
||||
label: _t("Public"),
|
||||
label: _t("common|public"),
|
||||
description: (
|
||||
<>
|
||||
{_t("Anyone can find and join.")}
|
||||
|
|
|
@ -246,7 +246,7 @@ export default class ThemeChoicePanel extends React.Component<IProps, IState> {
|
|||
|
||||
const orderedThemes = getOrderedThemes();
|
||||
return (
|
||||
<SettingsSubsection heading={_t("Theme")} data-testid="mx_ThemeChoicePanel">
|
||||
<SettingsSubsection heading={_t("common|theme")} data-testid="mx_ThemeChoicePanel">
|
||||
{systemThemeSection}
|
||||
<div className="mx_ThemeChoicePanel_themeSelectors" data-testid="theme-choice-panel-selectors">
|
||||
<StyledRadioGroup
|
||||
|
|
|
@ -79,7 +79,7 @@ const CurrentDeviceSectionHeading: React.FC<CurrentDeviceSectionHeadingProps> =
|
|||
<SettingsSubsectionHeading heading={_t("Current session")}>
|
||||
<KebabContextMenu
|
||||
disabled={disabled}
|
||||
title={_t("Options")}
|
||||
title={_t("common|options")}
|
||||
options={menuOptions}
|
||||
data-testid="current-session-menu"
|
||||
/>
|
||||
|
|
|
@ -76,7 +76,7 @@ const DeviceDetails: React.FC<Props> = ({
|
|||
id: "application",
|
||||
heading: _t("Application"),
|
||||
values: [
|
||||
{ label: _t("Name"), value: device.appName },
|
||||
{ label: _t("common|name"), value: device.appName },
|
||||
{ label: _t("Version"), value: device.appVersion },
|
||||
{ label: _t("URL"), value: device.url },
|
||||
],
|
||||
|
|
|
@ -52,7 +52,7 @@ export const OtherSessionsSectionHeading: React.FC<Props> = ({
|
|||
{!!menuOptions.length && (
|
||||
<KebabContextMenu
|
||||
disabled={disabled}
|
||||
title={_t("Options")}
|
||||
title={_t("common|options")}
|
||||
options={menuOptions}
|
||||
data-testid="other-sessions-menu"
|
||||
/>
|
||||
|
|
|
@ -540,7 +540,7 @@ export default class GeneralUserSettingsTab extends React.Component<IProps, ISta
|
|||
height="18"
|
||||
// override icon default values
|
||||
aria-hidden={false}
|
||||
aria-label={_t("Warning")}
|
||||
aria-label={_t("common|warning")}
|
||||
/>
|
||||
) : null;
|
||||
const heading = (
|
||||
|
|
|
@ -79,7 +79,7 @@ const SidebarUserSettingsTab: React.FC = () => {
|
|||
>
|
||||
<SettingsSubsectionText>
|
||||
<HomeIcon />
|
||||
{_t("Home")}
|
||||
{_t("common|home")}
|
||||
</SettingsSubsectionText>
|
||||
<SettingsSubsectionText>
|
||||
{_t("Home is useful for getting an overview of everything.")}
|
||||
|
@ -106,7 +106,7 @@ const SidebarUserSettingsTab: React.FC = () => {
|
|||
>
|
||||
<SettingsSubsectionText>
|
||||
<FavoriteIcon />
|
||||
{_t("Favourites")}
|
||||
{_t("common|favourites")}
|
||||
</SettingsSubsectionText>
|
||||
<SettingsSubsectionText>
|
||||
{_t("Group all your favourite rooms and people in one place.")}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue