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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
106 changed files with 1121 additions and 1069 deletions

View file

@ -256,7 +256,7 @@ export const RoomSearchView = forwardRef<ScrollPanel, Props>(
ret.push(
<li key={mxEv.getId() + "-room"}>
<h2>
{_t("Room")}: {room.name}
{_t("common|room")}: {room.name}
</h2>
</li>,
);

View file

@ -112,7 +112,7 @@ export const ThreadPanelHeader: React.FC<{
return (
<div className="mx_BaseCard_header_title">
<Heading size="4" className="mx_BaseCard_header_title_heading">
{_t("Threads")}
{_t("common|threads")}
</Heading>
{!empty && (
<>

View file

@ -369,7 +369,7 @@ export default class ThreadView extends React.Component<IProps, IState> {
return (
<div className="mx_BaseCard_header_title">
<Heading size="4" className="mx_BaseCard_header_title_heading">
{_t("Thread")}
{_t("common|thread")}
</Heading>
<ThreadListContextMenu mxEvent={this.props.mxEvent} permalinkCreator={this.props.permalinkCreator} />
</div>

View file

@ -327,7 +327,7 @@ export default class UserMenu extends React.Component<IProps, IState> {
homeButton = (
<IconizedContextMenuOption
iconClassName="mx_UserMenu_iconHome"
label={_t("Home")}
label={_t("common|home")}
onClick={this.onHomeClick}
/>
);