-
+
{ _t("This is an experimental feature. For now, " +
"new users receiving an invite will have to open the invite on to actually join.", {}, {
b: sub => { sub },
diff --git a/src/components/views/beta/BetaCard.tsx b/src/components/views/beta/BetaCard.tsx
index 33b1fef9e6..1233f345d1 100644
--- a/src/components/views/beta/BetaCard.tsx
+++ b/src/components/views/beta/BetaCard.tsx
@@ -21,6 +21,7 @@ import {_t} from "../../../languageHandler";
import AccessibleButton from "../elements/AccessibleButton";
import SettingsStore from "../../../settings/SettingsStore";
import {SettingLevel} from "../../../settings/SettingLevel";
+import TextWithTooltip from "../elements/TextWithTooltip";
interface IProps {
title?: string;
@@ -28,6 +29,26 @@ interface IProps {
}
export const BetaPill = ({ onClick }: { onClick?: () => void }) => {
+ if (onClick) {
+ return
+
+ { _t("Spaces is a beta feature") }
+
+
+ { _t("Tap for more info") }
+
+
}
+ onClick={onClick}
+ tooltipProps={{ yOffset: -10 }}
+ >
+ { _t("Beta") }
+ ;
+ }
+
return {
>
{
+ onFinished();
defaultDispatcher.dispatch({
action: Action.ViewUserSettings,
initialTabId: USER_LABS_TAB,
diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json
index 2367cf777a..7f5205efa3 100644
--- a/src/i18n/strings/en_EN.json
+++ b/src/i18n/strings/en_EN.json
@@ -785,10 +785,11 @@
"%(senderName)s: %(stickerName)s": "%(senderName)s: %(stickerName)s",
"Change notification settings": "Change notification settings",
"Spaces": "Spaces",
- "Spaces are a new way to group people and rooms for fun, work, yourself or anything in between.": "Spaces are a new way to group people and rooms for fun, work, yourself or anything in between.",
+ "Spaces are new ways to group rooms and people.": "Spaces are new ways to group rooms and people.",
"%(brand)s will reload with Spaces disabled. Communities and custom tags will be visible again.": "%(brand)s will reload with Spaces disabled. Communities and custom tags will be visible again.",
"Beta available for web, desktop and Android. Thank you for trying the beta.": "Beta available for web, desktop and Android. Thank you for trying the beta.",
- "%(brand)s will reload with Spaces enabled, communities and custom tags hidden.": "%(brand)s will reload with Spaces enabled, communities and custom tags hidden.",
+ "%(brand)s will reload with Spaces enabled. Communities and custom tags will be hidden.": "%(brand)s will reload with Spaces enabled. Communities and custom tags will be hidden.",
+ "You can leave the beta any time from settings or tapping on a beta badge, like the one above.": "You can leave the beta any time from settings or tapping on a beta badge, like the one above.",
"Beta available for web, desktop and Android. Some features may be unavailable on your homeserver.": "Beta available for web, desktop and Android. Some features may be unavailable on your homeserver.",
"Show options to enable 'Do not disturb' mode": "Show options to enable 'Do not disturb' mode",
"Send and receive voice messages (in development)": "Send and receive voice messages (in development)",
@@ -2459,6 +2460,8 @@
"Revoke permissions": "Revoke permissions",
"Move left": "Move left",
"Move right": "Move right",
+ "Spaces is a beta feature": "Spaces is a beta feature",
+ "Tap for more info": "Tap for more info",
"Beta": "Beta",
"Leave the beta": "Leave the beta",
"Join the beta": "Join the beta",
@@ -2595,7 +2598,7 @@
"Error whilst fetching joined communities": "Error whilst fetching joined communities",
"Create a new community": "Create a new community",
"Create a community to group together users and rooms! Build a custom homepage to mark out your space in the Matrix universe.": "Create a community to group together users and rooms! Build a custom homepage to mark out your space in the Matrix universe.",
- "Communities are changing to spaces": "Communities are changing to spaces",
+ "Communities are changing to Spaces": "Communities are changing to Spaces",
"You’re all caught up": "You’re all caught up",
"You have no visible notifications.": "You have no visible notifications.",
"%(brand)s failed to get the protocol list from the homeserver. The homeserver may be too old to support third party networks.": "%(brand)s failed to get the protocol list from the homeserver. The homeserver may be too old to support third party networks.",
diff --git a/src/settings/Settings.tsx b/src/settings/Settings.tsx
index 907fc33a73..5bda746646 100644
--- a/src/settings/Settings.tsx
+++ b/src/settings/Settings.tsx
@@ -136,8 +136,7 @@ export const SETTINGS: {[setting: string]: ISetting} = {
controller: new ReloadOnChangeController(),
betaInfo: {
title: _td("Spaces"),
- caption: _td("Spaces are a new way to group people and rooms for fun, " +
- "work, yourself or anything in between."),
+ caption: _td("Spaces are new ways to group rooms and people."),
disclaimer: (enabled) => {
if (enabled) {
return <>
@@ -150,9 +149,12 @@ export const SETTINGS: {[setting: string]: ISetting} = {
}
return <>
-
{ _t("%(brand)s will reload with Spaces enabled, communities and custom tags hidden.", {
+
{ _t("%(brand)s will reload with Spaces enabled. " +
+ "Communities and custom tags will be hidden.", {
brand: SdkConfig.get().brand,
}) }
+
{ _t("You can leave the beta any time from settings or tapping on a beta badge, " +
+ "like the one above.") }
{ _t("Beta available for web, desktop and Android. " +
"Some features may be unavailable on your homeserver.") }