Update text to change auth flows

pull/21833/head
J. Ryan Stinnett 2019-01-23 14:33:56 -06:00
parent 9b3d674a92
commit f069833ad9
4 changed files with 6 additions and 5 deletions

View File

@ -257,7 +257,7 @@ module.exports = React.createClass({
{ serverConfigSection } { serverConfigSection }
{ errorText } { errorText }
<a className="mx_Auth_changeFlow" onClick={this.onLoginClick} href="#"> <a className="mx_Auth_changeFlow" onClick={this.onLoginClick} href="#">
{ _t('Return to login screen') } { _t('Sign in instead') }
</a> </a>
</div> </div>
</div> </div>

View File

@ -565,7 +565,7 @@ module.exports = React.createClass({
{ this.componentForStep(this.state.currentFlow) } { this.componentForStep(this.state.currentFlow) }
{ serverConfig } { serverConfig }
<a className="mx_Auth_changeFlow" onClick={this.onRegisterClick} href="#"> <a className="mx_Auth_changeFlow" onClick={this.onRegisterClick} href="#">
{ _t('Create an account') } { _t('Create account') }
</a> </a>
{ loginAsGuestJsx } { loginAsGuestJsx }
</AuthBody> </AuthBody>

View File

@ -466,7 +466,7 @@ module.exports = React.createClass({
if (!this.state.doingUIAuth) { if (!this.state.doingUIAuth) {
signIn = ( signIn = (
<a className="mx_Auth_changeFlow" onClick={this.onLoginClick} href="#"> <a className="mx_Auth_changeFlow" onClick={this.onLoginClick} href="#">
{ _t('I already have an account') } { _t('Sign in instead') }
</a> </a>
); );
} }

View File

@ -1316,6 +1316,7 @@
"New password": "New password", "New password": "New password",
"Confirm your new password": "Confirm your new password", "Confirm your new password": "Confirm your new password",
"Send Reset Email": "Send Reset Email", "Send Reset Email": "Send Reset Email",
"Sign in instead": "Sign in instead",
"Invalid homeserver discovery response": "Invalid homeserver discovery response", "Invalid homeserver discovery response": "Invalid homeserver discovery response",
"Invalid identity server discovery response": "Invalid identity server discovery response", "Invalid identity server discovery response": "Invalid identity server discovery response",
"General failure": "General failure", "General failure": "General failure",
@ -1334,7 +1335,7 @@
"Sign in with single sign-on": "Sign in with single sign-on", "Sign in with single sign-on": "Sign in with single sign-on",
"Try the app first": "Try the app first", "Try the app first": "Try the app first",
"Sign in to your account": "Sign in to your account", "Sign in to your account": "Sign in to your account",
"Create an account": "Create an account", "Create account": "Create account",
"Failed to fetch avatar URL": "Failed to fetch avatar URL", "Failed to fetch avatar URL": "Failed to fetch avatar URL",
"Set a display name:": "Set a display name:", "Set a display name:": "Set a display name:",
"Upload an avatar:": "Upload an avatar:", "Upload an avatar:": "Upload an avatar:",
@ -1349,7 +1350,7 @@
"A phone number is required to register on this homeserver.": "A phone number is required to register on this homeserver.", "A phone number is required to register on this homeserver.": "A phone number is required to register on this homeserver.",
"You need to enter a user name.": "You need to enter a user name.", "You need to enter a user name.": "You need to enter a user name.",
"An unknown error occurred.": "An unknown error occurred.", "An unknown error occurred.": "An unknown error occurred.",
"I already have an account": "I already have an account", "Create an account": "Create an account",
"Commands": "Commands", "Commands": "Commands",
"Results from DuckDuckGo": "Results from DuckDuckGo", "Results from DuckDuckGo": "Results from DuckDuckGo",
"Emoji": "Emoji", "Emoji": "Emoji",