diff --git a/src/components/structures/auth/ForgotPassword.js b/src/components/structures/auth/ForgotPassword.js index dad56b798cd..58deb380e38 100644 --- a/src/components/structures/auth/ForgotPassword.js +++ b/src/components/structures/auth/ForgotPassword.js @@ -236,15 +236,15 @@ module.exports = React.createClass({ errorText =
{ err }
; } - let yourMatrixAccountText = _t('Your account'); + let yourMatrixAccountText = _t('Your Matrix account'); if (this.state.enteredHsUrl === this.props.defaultHsUrl) { - yourMatrixAccountText = _t('Your account on %(serverName)s', { + yourMatrixAccountText = _t('Your Matrix account on %(serverName)s', { serverName: this.props.defaultServerName, }); } else { try { const parsedHsUrl = new URL(this.state.enteredHsUrl); - yourMatrixAccountText = _t('Your account on %(serverName)s', { + yourMatrixAccountText = _t('Your Matrix account on %(serverName)s', { serverName: parsedHsUrl.hostname, }); } catch (e) { diff --git a/src/components/views/auth/PasswordLogin.js b/src/components/views/auth/PasswordLogin.js index 87fbc9c9fb6..fb14629214d 100644 --- a/src/components/views/auth/PasswordLogin.js +++ b/src/components/views/auth/PasswordLogin.js @@ -253,15 +253,15 @@ class PasswordLogin extends React.Component { ; } - let signInToText = _t('Sign in'); + let signInToText = _t('Sign in to your Matrix account'); if (this.props.hsName) { - signInToText = _t('Sign in to %(serverName)s', { + signInToText = _t('Sign in to your Matrix account on %(serverName)s', { serverName: this.props.hsName, }); } else { try { const parsedHsUrl = new URL(this.props.hsUrl); - signInToText = _t('Sign in to %(serverName)s', { + signInToText = _t('Sign in to your Matrix account on %(serverName)s', { serverName: parsedHsUrl.hostname, }); } catch (e) { diff --git a/src/components/views/auth/RegistrationForm.js b/src/components/views/auth/RegistrationForm.js index 910c72ef474..056411033bc 100644 --- a/src/components/views/auth/RegistrationForm.js +++ b/src/components/views/auth/RegistrationForm.js @@ -299,15 +299,15 @@ module.exports = React.createClass({ }, render: function() { - let yourMatrixAccountText = _t('Create your account'); + let yourMatrixAccountText = _t('Create your Matrix account'); if (this.props.hsName) { - yourMatrixAccountText = _t('Create your %(serverName)s account', { + yourMatrixAccountText = _t('Create your Matrix account on %(serverName)s', { serverName: this.props.hsName, }); } else { try { const parsedHsUrl = new URL(this.props.hsUrl); - yourMatrixAccountText = _t('Create your %(serverName)s account', { + yourMatrixAccountText = _t('Create your Matrix account on %(serverName)s', { serverName: parsedHsUrl.hostname, }); } catch (e) { diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index 0f5a875f0d0..1b4dd35da8e 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -1252,13 +1252,14 @@ "Username": "Username", "Mobile phone number": "Mobile phone number", "Not sure of your password? Set a new one": "Not sure of your password? Set a new one", - "Sign in to %(serverName)s": "Sign in to %(serverName)s", + "Sign in to your Matrix account": "Sign in to your Matrix account", + "Sign in to your Matrix account on %(serverName)s": "Sign in to your Matrix account on %(serverName)s", "Change": "Change", "Sign in with": "Sign in with", "Phone": "Phone", "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 %(serverName)s account": "Create your %(serverName)s account", + "Create your Matrix account": "Create your Matrix account", + "Create your Matrix account on %(serverName)s": "Create your Matrix account on %(serverName)s", "Email": "Email", "Email (optional)": "Email (optional)", "Phone (optional)": "Phone (optional)", @@ -1408,8 +1409,8 @@ "A new password must be entered.": "A new password must be entered.", "New passwords must match each other.": "New passwords must match each other.", "Resetting password will currently reset any end-to-end encryption keys on all devices, making encrypted chat history unreadable, unless you first export your room keys and re-import them afterwards. In future this will be improved.": "Resetting password will currently reset any end-to-end encryption keys on all devices, making encrypted chat history unreadable, unless you first export your room keys and re-import them afterwards. In future this will be improved.", - "Your account": "Your account", - "Your account on %(serverName)s": "Your account on %(serverName)s", + "Your Matrix account": "Your Matrix account", + "Your Matrix account on %(serverName)s": "Your Matrix account on %(serverName)s", "The homeserver URL %(hsUrl)s doesn't seem to be valid URL. Please enter a valid URL including the protocol prefix.": "The homeserver URL %(hsUrl)s doesn't seem to be valid URL. Please enter a valid URL including the protocol prefix.", "A verification email will be sent to your inbox to confirm setting your new password.": "A verification email will be sent to your inbox to confirm setting your new password.", "Send Reset Email": "Send Reset Email", @@ -1453,6 +1454,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 username.": "You need to enter a username.", "An unknown error occurred.": "An unknown error occurred.", + "Create your account": "Create your account", "Commands": "Commands", "Results from DuckDuckGo": "Results from DuckDuckGo", "Emoji": "Emoji",