mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
chore: update setting text (#3000)
This commit is contained in:
@@ -23,10 +23,12 @@ export const DeleteLeaveWorkspace: FC<{
|
||||
<SettingRow
|
||||
name={
|
||||
<span style={{ color: 'var(--affine-error-color)' }}>
|
||||
{isOwner ? t['Delete Workspace']() : t['Leave Workspace']()}
|
||||
{isOwner
|
||||
? t['com.affine.settings.workspace.remove']()
|
||||
: t['Leave Workspace']()}
|
||||
</span>
|
||||
}
|
||||
desc={t['None yet']()}
|
||||
desc={t['com.affine.settings.workspace.remove.message']()}
|
||||
style={{ cursor: 'pointer' }}
|
||||
onClick={() => {
|
||||
setShowDelete(true);
|
||||
|
||||
@@ -23,7 +23,7 @@ export const AboutAffine = () => {
|
||||
<>
|
||||
<SettingHeader
|
||||
title={t['About AFFiNE']()}
|
||||
subtitle={t['Information about AFFiNE']()}
|
||||
subtitle={t['com.affine.settings.about.message']()}
|
||||
data-testid="about-title"
|
||||
/>
|
||||
{runtimeConfig.enableNewSettingUnstableApi && environment.isDesktop ? (
|
||||
@@ -34,9 +34,7 @@ export const AboutAffine = () => {
|
||||
></SettingRow>
|
||||
<SettingRow
|
||||
name={t['Check for updates automatically']()}
|
||||
desc={t[
|
||||
'If enabled, it will automatically check for new versions at regular intervals.'
|
||||
]()}
|
||||
desc={t['com.affine.settings.about.update.check.message']()}
|
||||
>
|
||||
<Switch
|
||||
checked={appSettings.autoCheckUpdate}
|
||||
@@ -45,9 +43,7 @@ export const AboutAffine = () => {
|
||||
</SettingRow>
|
||||
<SettingRow
|
||||
name={t['Download updates automatically']()}
|
||||
desc={t[
|
||||
'If enabled, new versions will be automatically downloaded to the current device.'
|
||||
]()}
|
||||
desc={t['com.affine.settings.about.update.download.message']()}
|
||||
>
|
||||
<Switch
|
||||
checked={appSettings.autoCheckUpdate}
|
||||
|
||||
@@ -145,8 +145,8 @@ export const AppearanceSettings = () => {
|
||||
{environment.isDesktop ? (
|
||||
<SettingWrapper title={t['Sidebar']()}>
|
||||
<SettingRow
|
||||
name={t['Noise background on the sidebar']()}
|
||||
desc={t['Use background noise effect on the sidebar.']()}
|
||||
name={t['com.affine.settings.appearance.sidebar.noise']()}
|
||||
desc={t['com.affine.settings.appearance.sidebar.noise.message']()}
|
||||
>
|
||||
<Switch
|
||||
checked={appSettings.enableNoisyBackground}
|
||||
@@ -156,8 +156,10 @@ export const AppearanceSettings = () => {
|
||||
/>
|
||||
</SettingRow>
|
||||
<SettingRow
|
||||
name={t['Translucent UI on the sidebar']()}
|
||||
desc={t['Use transparency effect on the sidebar.']()}
|
||||
name={t['com.affine.settings.appearance.sidebar.translucent']()}
|
||||
desc={t[
|
||||
'com.affine.settings.appearance.sidebar.translucent.message'
|
||||
]()}
|
||||
>
|
||||
<Switch
|
||||
checked={appSettings.enableBlurBackground}
|
||||
|
||||
Reference in New Issue
Block a user