From c3c1de09ab64e80acde2a2b1d41580da25b36da4 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Mon, 24 Oct 2022 18:01:27 -0400 Subject: [PATCH] Settings --- app/scenes/Settings/Preferences.tsx | 8 ++++++++ app/scenes/Settings/Profile.tsx | 8 ++++++-- shared/i18n/locales/en_US/translation.json | 5 ++++- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/app/scenes/Settings/Preferences.tsx b/app/scenes/Settings/Preferences.tsx index 38bdc9451..5aeaf7c1a 100644 --- a/app/scenes/Settings/Preferences.tsx +++ b/app/scenes/Settings/Preferences.tsx @@ -9,6 +9,7 @@ import Heading from "~/components/Heading"; import InputSelect from "~/components/InputSelect"; import Scene from "~/components/Scene"; import Switch from "~/components/Switch"; +import Text from "~/components/Text"; import useCurrentUser from "~/hooks/useCurrentUser"; import useStores from "~/hooks/useStores"; import useToasts from "~/hooks/useToasts"; @@ -55,7 +56,11 @@ function Preferences() { icon={} > {t("Preferences")} + + Manage settings that affect your personal experience. + + {t("Display")} + + {t("Behavior")} { return ( }> {t("Profile")} + + Manage how you appear to other members of the workspace. +
{ translation portal.": "Choose the interface language. Community translations are accepted though our <2>translation portal.", "Use pointer cursor": "Use pointer cursor", "Show a hand cursor when hovering over interactive elements.": "Show a hand cursor when hovering over interactive elements.", "Show line numbers": "Show line numbers", "Show line numbers on code blocks in documents.": "Show line numbers on code blocks in documents.", + "Behavior": "Behavior", "Remember previous location": "Remember previous location", "Automatically return to the document you were last viewing when the app is re-opened.": "Automatically return to the document you were last viewing when the app is re-opened.", "You may delete your account at any time, note that this is unrecoverable": "You may delete your account at any time, note that this is unrecoverable", "Profile saved": "Profile saved", "Profile picture updated": "Profile picture updated", "Unable to upload new profile picture": "Unable to upload new profile picture", + "Manage how you appear to other members of the workspace.": "Manage how you appear to other members of the workspace.", "Photo": "Photo", "Choose a photo or image to represent yourself.": "Choose a photo or image to represent yourself.", "This could be your real name, or a nickname — however you’d like people to refer to you.": "This could be your real name, or a nickname — however you’d like people to refer to you.", @@ -725,7 +729,6 @@ "Require members to be invited to the workspace before they can create an account using SSO.": "Require members to be invited to the workspace before they can create an account using SSO.", "Default role": "Default role", "The default user role for new accounts. Changing this setting does not affect existing user accounts.": "The default user role for new accounts. Changing this setting does not affect existing user accounts.", - "Behavior": "Behavior", "When enabled, documents can be shared publicly on the internet by any member of the workspace": "When enabled, documents can be shared publicly on the internet by any member of the workspace", "Rich service embeds": "Rich service embeds", "Links to supported services are shown as rich embeds within your documents": "Links to supported services are shown as rich embeds within your documents",