Align action_*
strings with Element X project in Localazy (#11437)
This commit is contained in:
parent
bdd3710f25
commit
df4a2218d7
166 changed files with 1697 additions and 1555 deletions
|
@ -157,7 +157,7 @@ export default class ViewSource extends React.Component<IProps, IState> {
|
|||
? this.canSendStateEvent(mxEvent)
|
||||
: canEditContent(MatrixClientPeg.safeGet(), this.props.mxEvent);
|
||||
return (
|
||||
<BaseDialog className="mx_ViewSource" onFinished={this.props.onFinished} title={_t("View Source")}>
|
||||
<BaseDialog className="mx_ViewSource" onFinished={this.props.onFinished} title={_t("action|view_source")}>
|
||||
<div className="mx_ViewSource_header">
|
||||
<CopyableText getTextToCopy={() => roomId} border={false}>
|
||||
{_t("Room ID: %(roomId)s", { roomId })}
|
||||
|
@ -176,7 +176,7 @@ export default class ViewSource extends React.Component<IProps, IState> {
|
|||
{isEditing ? this.editSourceContent() : this.viewSourceContent()}
|
||||
{!isEditing && canEdit && (
|
||||
<div className="mx_Dialog_buttons">
|
||||
<button onClick={() => this.onEdit()}>{_t("Edit")}</button>
|
||||
<button onClick={() => this.onEdit()}>{_t("action|edit")}</button>
|
||||
</div>
|
||||
)}
|
||||
</BaseDialog>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue