Create more common_* common strings (#11439)
This commit is contained in:
committed by
GitHub
parent
df4a2218d7
commit
aa6e3654b8
@@ -359,7 +359,7 @@ export default class CreateRoomDialog extends React.Component<IProps, IState> {
|
||||
<div className="mx_Dialog_content">
|
||||
<Field
|
||||
ref={this.nameField}
|
||||
label={_t("Name")}
|
||||
label={_t("common|name")}
|
||||
onChange={this.onNameChange}
|
||||
onValidate={this.onNameValidate}
|
||||
value={this.state.name}
|
||||
|
||||
@@ -41,7 +41,7 @@ enum Category {
|
||||
}
|
||||
|
||||
const categoryLabels: Record<Category, TranslationKey> = {
|
||||
[Category.Room]: _td("Room"),
|
||||
[Category.Room]: _td("common|room"),
|
||||
[Category.Other]: _td("Other"),
|
||||
};
|
||||
|
||||
@@ -106,7 +106,7 @@ const DevtoolsDialog: React.FC<IProps> = ({ roomId, threadRootId, onFinished })
|
||||
</div>
|
||||
))}
|
||||
<div>
|
||||
<h3>{_t("Options")}</h3>
|
||||
<h3>{_t("common|options")}</h3>
|
||||
<SettingsFlag name="developerMode" level={SettingLevel.ACCOUNT} />
|
||||
<SettingsFlag name="showHiddenEventsInTimeline" level={SettingLevel.DEVICE} />
|
||||
<SettingsFlag name="enableWidgetScreenshots" level={SettingLevel.ACCOUNT} />
|
||||
|
||||
@@ -304,7 +304,7 @@ const ExportDialog: React.FC<IProps> = ({ room, onFinished }) => {
|
||||
// Display cancel warning
|
||||
return (
|
||||
<BaseDialog
|
||||
title={_t("Warning")}
|
||||
title={_t("common|warning")}
|
||||
className="mx_ExportDialog"
|
||||
contentId="mx_Dialog_content"
|
||||
onFinished={onFinished}
|
||||
|
||||
@@ -75,7 +75,7 @@ const SpacePreferencesDialog: React.FC<IProps> = ({ space, initialTabId, onFinis
|
||||
const tabs: NonEmptyArray<Tab<SpacePreferenceTab>> = [
|
||||
new Tab(
|
||||
SpacePreferenceTab.Appearance,
|
||||
_td("Appearance"),
|
||||
_td("common|appearance"),
|
||||
"mx_SpacePreferencesDialog_appearanceIcon",
|
||||
<SpacePreferencesAppearanceTab space={space} />,
|
||||
),
|
||||
|
||||
@@ -86,7 +86,7 @@ export default class UserSettingsDialog extends React.Component<IProps, IState>
|
||||
tabs.push(
|
||||
new Tab(
|
||||
UserTab.Appearance,
|
||||
_td("Appearance"),
|
||||
_td("common|appearance"),
|
||||
"mx_UserSettingsDialog_appearanceIcon",
|
||||
<AppearanceUserSettingsTab />,
|
||||
"UserSettingsAppearance",
|
||||
@@ -168,7 +168,7 @@ export default class UserSettingsDialog extends React.Component<IProps, IState>
|
||||
tabs.push(
|
||||
new Tab(
|
||||
UserTab.Labs,
|
||||
_td("Labs"),
|
||||
_td("common|labs"),
|
||||
"mx_UserSettingsDialog_labsIcon",
|
||||
<LabsUserSettingsTab />,
|
||||
"UserSettingsLabs",
|
||||
|
||||
Reference in New Issue
Block a user