Adjust registration field labels
This commit is contained in:
parent
25a2c3fe4d
commit
61a3ddb4e3
2 changed files with 9 additions and 8 deletions
|
@ -283,8 +283,8 @@ module.exports = React.createClass({
|
||||||
}
|
}
|
||||||
|
|
||||||
const emailPlaceholder = this._authStepIsRequired('m.login.email.identity') ?
|
const emailPlaceholder = this._authStepIsRequired('m.login.email.identity') ?
|
||||||
_t("Email address") :
|
_t("Email") :
|
||||||
_t("Email address (optional)");
|
_t("Email (optional)");
|
||||||
|
|
||||||
const emailSection = (
|
const emailSection = (
|
||||||
<div>
|
<div>
|
||||||
|
@ -301,8 +301,8 @@ module.exports = React.createClass({
|
||||||
let phoneSection;
|
let phoneSection;
|
||||||
if (!SdkConfig.get().disable_3pid_login) {
|
if (!SdkConfig.get().disable_3pid_login) {
|
||||||
const phonePlaceholder = this._authStepIsRequired('m.login.msisdn') ?
|
const phonePlaceholder = this._authStepIsRequired('m.login.msisdn') ?
|
||||||
_t("Mobile phone number") :
|
_t("Phone") :
|
||||||
_t("Mobile phone number (optional)");
|
_t("Phone (optional)");
|
||||||
phoneSection = (
|
phoneSection = (
|
||||||
<div className="mx_Login_phoneSection">
|
<div className="mx_Login_phoneSection">
|
||||||
<CountryDropdown ref="phone_country" onOptionChange={this._onPhoneCountryChange}
|
<CountryDropdown ref="phone_country" onOptionChange={this._onPhoneCountryChange}
|
||||||
|
@ -352,7 +352,7 @@ module.exports = React.createClass({
|
||||||
onBlur={function() {self.validateField(FIELD_PASSWORD);}}
|
onBlur={function() {self.validateField(FIELD_PASSWORD);}}
|
||||||
placeholder={_t("Password")} defaultValue={this.props.defaultPassword} />
|
placeholder={_t("Password")} defaultValue={this.props.defaultPassword} />
|
||||||
<input type="password" ref="passwordConfirm"
|
<input type="password" ref="passwordConfirm"
|
||||||
placeholder={_t("Confirm password")}
|
placeholder={_t("Confirm")}
|
||||||
className={this._classForField(FIELD_PASSWORD_CONFIRM, 'mx_Login_field')}
|
className={this._classForField(FIELD_PASSWORD_CONFIRM, 'mx_Login_field')}
|
||||||
onBlur={function() {self.validateField(FIELD_PASSWORD_CONFIRM);}}
|
onBlur={function() {self.validateField(FIELD_PASSWORD_CONFIRM);}}
|
||||||
defaultValue={this.props.defaultPassword} />
|
defaultValue={this.props.defaultPassword} />
|
||||||
|
|
|
@ -1202,8 +1202,10 @@
|
||||||
"If you don't specify an email address, you won't be able to reset your password. Are you sure?": "If you don't specify an email address, you won't be able to reset your password. Are you sure?",
|
"If you don't specify an email address, you won't be able to reset your password. Are you sure?": "If you don't specify an email address, you won't be able to reset your password. Are you sure?",
|
||||||
"Create your account": "Create your account",
|
"Create your account": "Create your account",
|
||||||
"Create your %(serverName)s account": "Create your %(serverName)s account",
|
"Create your %(serverName)s account": "Create your %(serverName)s account",
|
||||||
"Email address (optional)": "Email address (optional)",
|
"Email": "Email",
|
||||||
"Mobile phone number (optional)": "Mobile phone number (optional)",
|
"Email (optional)": "Email (optional)",
|
||||||
|
"Phone (optional)": "Phone (optional)",
|
||||||
|
"Confirm": "Confirm",
|
||||||
"Other servers": "Other servers",
|
"Other servers": "Other servers",
|
||||||
"Enter custom server URLs <a>What does this mean?</a>": "Enter custom server URLs <a>What does this mean?</a>",
|
"Enter custom server URLs <a>What does this mean?</a>": "Enter custom server URLs <a>What does this mean?</a>",
|
||||||
"Homeserver URL": "Homeserver URL",
|
"Homeserver URL": "Homeserver URL",
|
||||||
|
@ -1364,7 +1366,6 @@
|
||||||
"Desktop specific": "Desktop specific",
|
"Desktop specific": "Desktop specific",
|
||||||
"Missing Media Permissions, click here to request.": "Missing Media Permissions, click here to request.",
|
"Missing Media Permissions, click here to request.": "Missing Media Permissions, click here to request.",
|
||||||
"VoIP": "VoIP",
|
"VoIP": "VoIP",
|
||||||
"Email": "Email",
|
|
||||||
"Add email address": "Add email address",
|
"Add email address": "Add email address",
|
||||||
"Display name": "Display name",
|
"Display name": "Display name",
|
||||||
"To return to your account in future you need to set a password": "To return to your account in future you need to set a password",
|
"To return to your account in future you need to set a password": "To return to your account in future you need to set a password",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue