Migrate more strings to translation keys (#11694)
This commit is contained in:
parent
677854d318
commit
e1cfde0c6e
201 changed files with 21074 additions and 18552 deletions
|
@ -407,7 +407,7 @@ export default class PasswordLogin extends React.PureComponent<IProps, IState> {
|
|||
{_t("common|username")}
|
||||
</option>
|
||||
<option key={LoginField.Email} value={LoginField.Email}>
|
||||
{_t("Email address")}
|
||||
{_t("common|email_address")}
|
||||
</option>
|
||||
<option key={LoginField.Password} value={LoginField.Password}>
|
||||
{_t("auth|msisdn_field_label")}
|
||||
|
|
|
@ -387,7 +387,7 @@ export default class RegistrationForm extends React.PureComponent<IProps, IState
|
|||
test: ({ value }, usernameAvailable) =>
|
||||
(!value || SAFE_LOCALPART_REGEX.test(value)) &&
|
||||
usernameAvailable !== UsernameAvailableStatus.Invalid,
|
||||
invalid: () => _t("Some characters not allowed"),
|
||||
invalid: () => _t("room_settings|general|alias_field_safe_localpart_invalid"),
|
||||
},
|
||||
{
|
||||
key: "available",
|
||||
|
@ -453,7 +453,7 @@ export default class RegistrationForm extends React.PureComponent<IProps, IState
|
|||
}
|
||||
const emailLabel = this.authStepIsRequired("m.login.email.identity")
|
||||
? _td("auth|email_field_label")
|
||||
: _td("Email (optional)");
|
||||
: _td("auth|registration|continue_without_email_field_label");
|
||||
return (
|
||||
<EmailField
|
||||
fieldRef={(field) => (this[RegistrationField.Email] = field)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue