Merge pull request #5595 from matrix-org/jryans/mobile-guide-text

Tweak mobile guide toast copy
This commit is contained in:
J. Ryan Stinnett 2021-01-29 15:49:03 +00:00 committed by GitHub
commit 873b173025
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 7 deletions

View file

@ -728,9 +728,9 @@
"Notifications": "Notifications",
"Enable desktop notifications": "Enable desktop notifications",
"Enable": "Enable",
"Mobile experience": "Mobile experience",
"Element Web is currently experimental on mobile. The native apps are recommended for most people.": "Element Web is currently experimental on mobile. The native apps are recommended for most people.",
"Learn more": "Learn more",
"Use app for a better experience": "Use app for a better experience",
"Element Web is experimental on mobile. For a better experience and the latest features, use our free native app.": "Element Web is experimental on mobile. For a better experience and the latest features, use our free native app.",
"Use app": "Use app",
"Your homeserver has exceeded its user limit.": "Your homeserver has exceeded its user limit.",
"Your homeserver has exceeded one of its resource limits.": "Your homeserver has exceeded one of its resource limits.",
"Contact your <a>server admin</a>.": "Contact your <a>server admin</a>.",
@ -2197,6 +2197,7 @@
"We call the places where you can host your account homeservers.": "We call the places where you can host your account homeservers.",
"Other homeserver": "Other homeserver",
"Use your preferred Matrix homeserver if you have one, or host your own.": "Use your preferred Matrix homeserver if you have one, or host your own.",
"Learn more": "Learn more",
"About homeservers": "About homeservers",
"Sign out and remove encryption keys?": "Sign out and remove encryption keys?",
"Clear Storage and Sign Out": "Clear Storage and Sign Out",

View file

@ -40,13 +40,13 @@ export const showToast = () => {
}
ToastStore.sharedInstance().addOrReplaceToast({
key: TOAST_KEY,
title: _t("Mobile experience"),
title: _t("Use app for a better experience"),
props: {
description: _t(
"Element Web is currently experimental on mobile. " +
"The native apps are recommended for most people.",
"Element Web is experimental on mobile. " +
"For a better experience and the latest features, use our free native app.",
),
acceptLabel: _t("Learn more"),
acceptLabel: _t("Use app"),
onAccept,
rejectLabel: _t("Dismiss"),
onReject,