Align common_*
strings with Element X project in Localazy (#11434)
This commit is contained in:
parent
1a49a38f04
commit
c40141cc4f
132 changed files with 1491 additions and 1247 deletions
|
@ -337,9 +337,9 @@ const RoomSummaryCard: React.FC<IProps> = ({ room, permalinkCreator, onClose })
|
|||
|
||||
return (
|
||||
<BaseCard header={header} className="mx_RoomSummaryCard" onClose={onClose}>
|
||||
<Group title={_t("About")} className="mx_RoomSummaryCard_aboutGroup">
|
||||
<Group title={_t("common|about")} className="mx_RoomSummaryCard_aboutGroup">
|
||||
<Button className="mx_RoomSummaryCard_icon_people" onClick={onRoomMembersClick}>
|
||||
{_t("People")}
|
||||
{_t("common|people")}
|
||||
<span className="mx_BaseCard_Button_sublabel">{memberCount}</span>
|
||||
</Button>
|
||||
{!isVideoRoom && (
|
||||
|
|
|
@ -344,7 +344,7 @@ const MessageButton = ({ member }: { member: Member }): JSX.Element => {
|
|||
className="mx_UserInfo_field"
|
||||
disabled={busy}
|
||||
>
|
||||
{_t("Message")}
|
||||
{_t("common|message")}
|
||||
</AccessibleButton>
|
||||
);
|
||||
};
|
||||
|
@ -845,7 +845,7 @@ export const BanToggleButton = ({
|
|||
function (err) {
|
||||
logger.error("Ban error: " + err);
|
||||
Modal.createDialog(ErrorDialog, {
|
||||
title: _t("Error"),
|
||||
title: _t("common|error"),
|
||||
description: _t("Failed to ban user"),
|
||||
});
|
||||
},
|
||||
|
@ -927,7 +927,7 @@ const MuteToggleButton: React.FC<IBaseRoomProps> = ({
|
|||
function (err) {
|
||||
logger.error("Mute error: " + err);
|
||||
Modal.createDialog(ErrorDialog, {
|
||||
title: _t("Error"),
|
||||
title: _t("common|error"),
|
||||
description: _t("Failed to mute user"),
|
||||
});
|
||||
},
|
||||
|
@ -941,7 +941,7 @@ const MuteToggleButton: React.FC<IBaseRoomProps> = ({
|
|||
mx_UserInfo_destructive: !muted,
|
||||
});
|
||||
|
||||
const muteLabel = muted ? _t("Unmute") : _t("Mute");
|
||||
const muteLabel = muted ? _t("common|unmute") : _t("common|mute");
|
||||
return (
|
||||
<AccessibleButton kind="link" className={classes} onClick={onMuteToggle} disabled={isUpdating}>
|
||||
{muteLabel}
|
||||
|
@ -1159,7 +1159,7 @@ export const PowerLevelEditor: React.FC<{
|
|||
function (err) {
|
||||
logger.error("Failed to change power level " + err);
|
||||
Modal.createDialog(ErrorDialog, {
|
||||
title: _t("Error"),
|
||||
title: _t("common|error"),
|
||||
description: _t("Failed to change power level"),
|
||||
});
|
||||
},
|
||||
|
@ -1516,7 +1516,7 @@ const BasicUserInfo: React.FC<{
|
|||
|
||||
const securitySection = (
|
||||
<div className="mx_UserInfo_container">
|
||||
<h3>{_t("Security")}</h3>
|
||||
<h3>{_t("common|security")}</h3>
|
||||
<p>{text}</p>
|
||||
{verifyButton}
|
||||
{cryptoEnabled && (
|
||||
|
|
|
@ -353,7 +353,7 @@ export default class VerificationPanel extends React.PureComponent<IProps, IStat
|
|||
|
||||
return (
|
||||
<div className="mx_UserInfo_container">
|
||||
<h3>{_t("Verification cancelled")}</h3>
|
||||
<h3>{_t("common|verification_cancelled")}</h3>
|
||||
<p>{text}</p>
|
||||
|
||||
<AccessibleButton kind="primary" className="mx_UserInfo_wideButton" onClick={this.props.onClose}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue