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

@ -67,7 +67,7 @@ interface LiveContentSummaryWithCallProps {
export const LiveContentSummaryWithCall: FC<LiveContentSummaryWithCallProps> = ({ call }) => (
<LiveContentSummary
type={LiveContentType.Video}
text={_t("Video")}
text={_t("common|video")}
active={false}
participantCount={useParticipantCount(call)}
/>

View file

@ -259,7 +259,7 @@ function showStickersButton(props: IProps): ReactElement | null {
className="mx_MessageComposer_button"
iconClassName="mx_MessageComposer_stickers"
onClick={() => props.setStickerPickerOpen(!props.isStickerPickerOpen)}
title={props.isStickerPickerOpen ? _t("Hide stickers") : _t("Sticker")}
title={props.isStickerPickerOpen ? _t("Hide stickers") : _t("common|sticker")}
/>
) : null;
}

View file

@ -76,7 +76,7 @@ export default class PresenceLabel extends React.Component<IProps> {
} else {
if (presence === "online") return _t("Online");
if (presence === "unavailable") return _t("Idle"); // XXX: is this actually right?
if (presence === "offline") return _t("Offline");
if (presence === "offline") return _t("common|offline");
return _t("Unknown");
}
}

View file

@ -402,7 +402,7 @@ const TAG_AESTHETICS: TagAestheticsMap = {
defaultHidden: false,
},
[DefaultTagID.DM]: {
sectionLabel: _td("People"),
sectionLabel: _td("common|people"),
isInvite: false,
defaultHidden: false,
AuxButtonComponent: DmAuxButton,

View file

@ -333,7 +333,7 @@ export default class RoomPreviewBar extends React.Component<IProps, IState> {
break;
}
case MessageCase.Loading: {
title = _t("Loading…");
title = _t("common|loading");
showSpinner = true;
break;
}

View file

@ -32,7 +32,7 @@ export const RoomTileCallSummary: FC<Props> = ({ call }) => {
switch (useConnectionState(call)) {
case ConnectionState.Disconnected:
text = _t("Video");
text = _t("common|video");
active = false;
break;
case ConnectionState.Connecting: