Create more common_* common strings (#11439)

This commit is contained in:
Michael Telatynski
2023-08-23 10:25:33 +01:00
committed by GitHub
parent df4a2218d7
commit aa6e3654b8
106 changed files with 1121 additions and 1069 deletions

View File

@@ -785,7 +785,7 @@ export default class AppTile extends React.Component<IProps, IState> {
{this.state.hasContextMenuOptions && (
<ContextMenuButton
className="mx_AppTileMenuBar_widgets_button"
label={_t("Options")}
label={_t("common|options")}
isExpanded={this.state.menuDisplayed}
inputRef={this.contextMenuButton}
onClick={this.onContextMenuClick}

View File

@@ -504,7 +504,7 @@ export default class ImageView extends React.Component<IProps, IState> {
contextMenuButton = (
<ContextMenuTooltipButton
className="mx_ImageView_button mx_ImageView_button_more"
title={_t("Options")}
title={_t("common|options")}
onClick={this.onOpenContextMenu}
inputRef={this.contextMenuButton}
isExpanded={this.state.contextMenuDisplayed}

View File

@@ -95,9 +95,13 @@ const ServerPicker: React.FC<IProps> = ({ title, dialogTitle, serverConfig, onSe
return (
<div className="mx_ServerPicker">
<h2>{title || _t("Homeserver")}</h2>
<h2>{title || _t("common|homeserver")}</h2>
{!disableCustomUrls ? (
<AccessibleButton className="mx_ServerPicker_help" onClick={onHelpClick} aria-label={_t("Help")} />
<AccessibleButton
className="mx_ServerPicker_help"
onClick={onHelpClick}
aria-label={_t("common|help")}
/>
) : null}
<span className="mx_ServerPicker_server" title={typeof serverName === "string" ? serverName : undefined}>
{serverName}