From f069833ad9bc5933717420f09c481d30586e04a5 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Wed, 23 Jan 2019 14:33:56 -0600 Subject: [PATCH] Update text to change auth flows --- src/components/structures/auth/ForgotPassword.js | 2 +- src/components/structures/auth/Login.js | 2 +- src/components/structures/auth/Registration.js | 2 +- src/i18n/strings/en_EN.json | 5 +++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/components/structures/auth/ForgotPassword.js b/src/components/structures/auth/ForgotPassword.js index 513be46544..0a725808e0 100644 --- a/src/components/structures/auth/ForgotPassword.js +++ b/src/components/structures/auth/ForgotPassword.js @@ -257,7 +257,7 @@ module.exports = React.createClass({ { serverConfigSection } { errorText } - { _t('Return to login screen') } + { _t('Sign in instead') } diff --git a/src/components/structures/auth/Login.js b/src/components/structures/auth/Login.js index 6cc60248ab..cac17554c8 100644 --- a/src/components/structures/auth/Login.js +++ b/src/components/structures/auth/Login.js @@ -565,7 +565,7 @@ module.exports = React.createClass({ { this.componentForStep(this.state.currentFlow) } { serverConfig } - { _t('Create an account') } + { _t('Create account') } { loginAsGuestJsx } diff --git a/src/components/structures/auth/Registration.js b/src/components/structures/auth/Registration.js index fbc5aa1386..8ab27c3035 100644 --- a/src/components/structures/auth/Registration.js +++ b/src/components/structures/auth/Registration.js @@ -466,7 +466,7 @@ module.exports = React.createClass({ if (!this.state.doingUIAuth) { signIn = ( - { _t('I already have an account') } + { _t('Sign in instead') } ); } diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 786531fb02..464cce7980 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -1316,6 +1316,7 @@ "New password": "New password", "Confirm your new password": "Confirm your new password", "Send Reset Email": "Send Reset Email", + "Sign in instead": "Sign in instead", "Invalid homeserver discovery response": "Invalid homeserver discovery response", "Invalid identity server discovery response": "Invalid identity server discovery response", "General failure": "General failure", @@ -1334,7 +1335,7 @@ "Sign in with single sign-on": "Sign in with single sign-on", "Try the app first": "Try the app first", "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", "Set a display name:": "Set a display name:", "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.", "You need to enter a user name.": "You need to enter a user name.", "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", "Results from DuckDuckGo": "Results from DuckDuckGo", "Emoji": "Emoji",