Improve copy
This commit is contained in:
parent
de05965fc0
commit
f980bfec9e
2 changed files with 8 additions and 7 deletions
|
@ -69,9 +69,10 @@ export async function startAnyRegistrationFlow(options) {
|
||||||
//} else {
|
//} else {
|
||||||
const QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
|
const QuestionDialog = sdk.getComponent("dialogs.QuestionDialog");
|
||||||
const modal = Modal.createTrackedDialog('Registration required', '', QuestionDialog, {
|
const modal = Modal.createTrackedDialog('Registration required', '', QuestionDialog, {
|
||||||
title: _t("Login or Registration Required"),
|
hasCancelButton: false,
|
||||||
description: _t("You need to login or register to do this."),
|
title: _t("Sign In or Create Account"),
|
||||||
button: _t("Register"),
|
description: _t("Use your account or create a new one to continue."),
|
||||||
|
button: _t("Create Account"),
|
||||||
extraButtons: [
|
extraButtons: [
|
||||||
<button className="mx_Dialog_primary" key="start_login"
|
<button className="mx_Dialog_primary" key="start_login"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
@ -80,7 +81,7 @@ export async function startAnyRegistrationFlow(options) {
|
||||||
screenAfterLogin: options.screen_after});
|
screenAfterLogin: options.screen_after});
|
||||||
}
|
}
|
||||||
}>
|
}>
|
||||||
{ _t('Login') }
|
{ _t('Sign In') }
|
||||||
</button>,
|
</button>,
|
||||||
],
|
],
|
||||||
onFinished: (proceed) => {
|
onFinished: (proceed) => {
|
||||||
|
|
|
@ -123,9 +123,9 @@
|
||||||
"Unable to enable Notifications": "Unable to enable Notifications",
|
"Unable to enable Notifications": "Unable to enable Notifications",
|
||||||
"This email address was not found": "This email address was not found",
|
"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.",
|
"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",
|
"Sign In or Create Account": "Sign In or Create Account",
|
||||||
"You need to login or register to do this.": "You need to login or register to do this.",
|
"Use your account or create a new one to continue.": "Use your account or create a new one to continue.",
|
||||||
"Register": "Register",
|
"Create Account": "Create Account",
|
||||||
"Login": "Login",
|
"Login": "Login",
|
||||||
"Default": "Default",
|
"Default": "Default",
|
||||||
"Restricted": "Restricted",
|
"Restricted": "Restricted",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue