Align common_* strings with Element X project in Localazy (#11434)

This commit is contained in:
Michael Telatynski 2023-08-22 18:47:33 +01:00 committed by GitHub
parent 1a49a38f04
commit c40141cc4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
132 changed files with 1491 additions and 1247 deletions

View file

@ -1990,7 +1990,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
this.subTitleStatus = "";
if (state === SyncState.Error) {
this.subTitleStatus += `[${_t("Offline")}] `;
this.subTitleStatus += `[${_t("common|offline")}] `;
}
if (numUnreadRooms > 0) {
this.subTitleStatus += `[${numUnreadRooms}]`;

View file

@ -199,7 +199,7 @@ export const RoomSearchView = forwardRef<ScrollPanel, Props>(
if (!results?.results?.length) {
ret.push(
<li key="search-top-marker">
<h2 className="mx_RoomView_topMarker">{_t("No results")}</h2>
<h2 className="mx_RoomView_topMarker">{_t("common|no_results")}</h2>
</li>,
);
} else {

View file

@ -253,7 +253,7 @@ const SpaceLanding: React.FC<{ space: Room }> = ({ space }) => {
onClick={() => {
showSpaceSettings(space);
}}
title={_t("Settings")}
title={_t("common|settings")}
/>
);
}
@ -313,7 +313,7 @@ const SpaceSetupFirstRooms: React.FC<{
key={name}
name={name}
type="text"
label={_t("Room name")}
label={_t("common|room_name")}
placeholder={placeholders[i]}
value={roomNames[i]}
onChange={(ev: React.ChangeEvent<HTMLInputElement>) => setRoomName(i, ev.target.value)}

View file

@ -378,7 +378,7 @@ export default class UserMenu extends React.Component<IProps, IState> {
{homeButton}
<IconizedContextMenuOption
iconClassName="mx_UserMenu_iconSettings"
label={_t("Settings")}
label={_t("common|settings")}
onClick={(e) => this.onSettingsOpen(e)}
/>
{feedbackButton}

View file

@ -234,7 +234,7 @@ export default class SoftLogout extends React.Component<IProps, IState> {
{error}
<Field
type="password"
label={_t("Password")}
label={_t("common|password")}
onChange={this.onPasswordChange}
value={this.state.password}
disabled={this.state.busy}