Migrate more strings to translation keys (#11498)

This commit is contained in:
Michael Telatynski 2023-08-31 11:22:10 +01:00 committed by GitHub
parent 9329b896b3
commit 6b3243b27b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
89 changed files with 1495 additions and 1491 deletions

View file

@ -86,7 +86,7 @@ const SpacePreferencesDialog: React.FC<IProps> = ({ space, initialTabId, onFinis
className="mx_SpacePreferencesDialog"
hasCancel
onFinished={onFinished}
title={_t("Preferences")}
title={_t("common|preferences")}
fixedWidth={false}
>
<h4>

View file

@ -104,7 +104,7 @@ export default class UserSettingsDialog extends React.Component<IProps, IState>
tabs.push(
new Tab(
UserTab.Preferences,
_td("Preferences"),
_td("common|preferences"),
"mx_UserSettingsDialog_preferencesIcon",
<PreferencesUserSettingsTab closeSettingsFn={this.props.onFinished} />,
"UserSettingsPreferences",

View file

@ -127,7 +127,7 @@ export default class WidgetCapabilitiesPromptDialog extends React.PureComponent<
<div className="text-muted">{_t("This widget would like to:")}</div>
{checkboxRows}
<DialogButtons
primaryButton={_t("Approve")}
primaryButton={_t("action|approve")}
cancelButton={_t("Decline All")}
onPrimaryButtonClick={this.onSubmit}
onCancel={this.onReject}