Improve copy

pull/21833/head
Stuart Mumford 2020-02-20 10:24:51 +00:00
parent de05965fc0
commit f980bfec9e
No known key found for this signature in database
GPG Key ID: 60BC5C03E6276769
2 changed files with 8 additions and 7 deletions

View File

@ -69,9 +69,10 @@ export async function startAnyRegistrationFlow(options) {
//} else {
const QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
const modal = Modal.createTrackedDialog('Registration required', '', QuestionDialog, {
title: _t("Login or Registration Required"),
description: _t("You need to login or register to do this."),
button: _t("Register"),
hasCancelButton: false,
title: _t("Sign In or Create Account"),
description: _t("Use your account or create a new one to continue."),
button: _t("Create Account"),
extraButtons: [
<button className="mx_Dialog_primary" key="start_login"
onClick={() => {
@ -80,7 +81,7 @@ export async function startAnyRegistrationFlow(options) {
screenAfterLogin: options.screen_after});
}
}>
{ _t('Login') }
{ _t('Sign In') }
</button>,
],
onFinished: (proceed) => {

View File

@ -123,9 +123,9 @@
"Unable to enable Notifications": "Unable to enable Notifications",
"This email address was not found": "This email address was not found",
"Your email address does not appear to be associated with a Matrix ID on this Homeserver.": "Your email address does not appear to be associated with a Matrix ID on this Homeserver.",
"Login or Registration Required": "Login or Registration Required",
"You need to login or register to do this.": "You need to login or register to do this.",
"Register": "Register",
"Sign In or Create Account": "Sign In or Create Account",
"Use your account or create a new one to continue.": "Use your account or create a new one to continue.",
"Create Account": "Create Account",
"Login": "Login",
"Default": "Default",
"Restricted": "Restricted",