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
|
@ -175,7 +175,7 @@ export class PasswordAuthEntry extends React.Component<IAuthEntryProps, IPasswor
|
|||
className={passwordBoxClass}
|
||||
type="password"
|
||||
name="passwordField"
|
||||
label={_t("Password")}
|
||||
label={_t("common|password")}
|
||||
autoFocus={true}
|
||||
value={this.state.password}
|
||||
onChange={this.onPasswordFieldChange}
|
||||
|
|
|
@ -211,7 +211,7 @@ export default class LoginWithQRFlow extends React.Component<IProps> {
|
|||
buttons = this.cancelButton();
|
||||
break;
|
||||
case Phase.Verifying:
|
||||
title = _t("Success");
|
||||
title = _t("common|success");
|
||||
centreTitle = true;
|
||||
main = this.simpleSpinner(_t("Completing set up of your new device"));
|
||||
break;
|
||||
|
|
|
@ -45,7 +45,7 @@ interface IProps extends Omit<IInputProps, "onValidate" | "element"> {
|
|||
|
||||
class PassphraseField extends PureComponent<IProps> {
|
||||
public static defaultProps = {
|
||||
label: _td("Password"),
|
||||
label: _td("common|password"),
|
||||
labelEnterPassword: _td("Enter password"),
|
||||
labelStrongPassword: _td("Nice, strong password!"),
|
||||
labelAllowedButUnsafe: _td("Password is allowed, but unsafe"),
|
||||
|
|
|
@ -308,8 +308,8 @@ export default class PasswordLogin extends React.PureComponent<IProps, IState> {
|
|||
autoComplete="username"
|
||||
key="username_input"
|
||||
type="text"
|
||||
label={_t("Username")}
|
||||
placeholder={_t("Username").toLocaleLowerCase()}
|
||||
label={_t("common|username")}
|
||||
placeholder={_t("common|username").toLocaleLowerCase()}
|
||||
value={this.props.username}
|
||||
onChange={this.onUsernameChanged}
|
||||
onBlur={this.onUsernameBlur}
|
||||
|
@ -404,7 +404,7 @@ export default class PasswordLogin extends React.PureComponent<IProps, IState> {
|
|||
disabled={this.props.busy}
|
||||
>
|
||||
<option key={LoginField.MatrixId} value={LoginField.MatrixId}>
|
||||
{_t("Username")}
|
||||
{_t("common|username")}
|
||||
</option>
|
||||
<option key={LoginField.Email} value={LoginField.Email}>
|
||||
{_t("Email address")}
|
||||
|
@ -428,7 +428,7 @@ export default class PasswordLogin extends React.PureComponent<IProps, IState> {
|
|||
autoComplete="current-password"
|
||||
type="password"
|
||||
name="password"
|
||||
label={_t("Password")}
|
||||
label={_t("common|password")}
|
||||
value={this.state.password}
|
||||
onChange={this.onPasswordChanged}
|
||||
disabled={this.props.busy}
|
||||
|
|
|
@ -525,8 +525,8 @@ export default class RegistrationForm extends React.PureComponent<IProps, IState
|
|||
ref={(field) => (this[RegistrationField.Username] = field)}
|
||||
type="text"
|
||||
autoFocus={true}
|
||||
label={_t("Username")}
|
||||
placeholder={_t("Username").toLocaleLowerCase()}
|
||||
label={_t("common|username")}
|
||||
placeholder={_t("common|username").toLocaleLowerCase()}
|
||||
value={this.state.username}
|
||||
onChange={this.onUsernameChange}
|
||||
onValidate={this.onUsernameValidate}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue