From 68573aa35e39a13b618c498bfb174480bef2fb9d Mon Sep 17 00:00:00 2001 From: JimmFly Date: Tue, 12 Nov 2024 08:36:19 +0000 Subject: [PATCH] chore: fix typos (#8789) --- .../new-workspace-setting-detail/labels.tsx | 5 ----- packages/frontend/i18n/src/resources/en.json | 3 +-- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/frontend/core/src/desktop/dialogs/setting/workspace-setting/new-workspace-setting-detail/labels.tsx b/packages/frontend/core/src/desktop/dialogs/setting/workspace-setting/new-workspace-setting-detail/labels.tsx index 6613ceaeea..d740aa5f6f 100644 --- a/packages/frontend/core/src/desktop/dialogs/setting/workspace-setting/new-workspace-setting-detail/labels.tsx +++ b/packages/frontend/core/src/desktop/dialogs/setting/workspace-setting/new-workspace-setting-detail/labels.tsx @@ -9,7 +9,6 @@ import * as style from './style.css'; type WorkspaceStatus = | 'local' | 'syncCloud' - | 'syncDocker' | 'selfHosted' | 'joinedWorkspace' | 'availableOffline' @@ -60,10 +59,6 @@ const getLabelMap = (t: ReturnType): LabelMap => ({ value: t['com.affine.settings.workspace.state.sync-affine-cloud'](), background: 'var(--affine-tag-blue)', }, - syncDocker: { - value: t['com.affine.settings.workspace.state.sync-affine-docker'](), - background: 'var(--affine-tag-green)', - }, selfHosted: { value: t['com.affine.settings.workspace.state.self-hosted'](), background: 'var(--affine-tag-purple)', diff --git a/packages/frontend/i18n/src/resources/en.json b/packages/frontend/i18n/src/resources/en.json index 10fee1ddbd..53586303f9 100644 --- a/packages/frontend/i18n/src/resources/en.json +++ b/packages/frontend/i18n/src/resources/en.json @@ -1215,7 +1215,7 @@ "com.affine.settings.workspace.experimental-features.enable-emoji-folder-icon.name": "Emoji Folder Icon", "com.affine.settings.workspace.experimental-features.enable-emoji-folder-icon.description": "Once enabled, you can use an emoji as the folder icon. When the first character of the folder name is an emoji, it will be extracted and used as its icon.", "com.affine.settings.workspace.experimental-features.enable-emoji-doc-icon.name": "Emoji Doc Icon", - "com.affine.settings.workspace.experimental-features.enable-emoji-doc-icon.description": "Once enabled, you can use an emoji as the page icon. When the first character of the folder name is an emoji, it will be extracted and used as its icon.", + "com.affine.settings.workspace.experimental-features.enable-emoji-doc-icon.description": "Once enabled, you can use an emoji as the doc icon. When the first character of the doc name is an emoji, it will be extracted and used as its icon.", "com.affine.settings.workspace.experimental-features.enable-editor-settings.name": "Editor Settings", "com.affine.settings.workspace.experimental-features.enable-editor-settings.description": "Enables editor settings.", "com.affine.settings.workspace.experimental-features.enable-offline-mode.name": "Offline Mode", @@ -1236,7 +1236,6 @@ "com.affine.settings.workspace.preferences": "Preference", "com.affine.settings.workspace.state.local": "Local", "com.affine.settings.workspace.state.sync-affine-cloud": "Sync with AFFiNE Cloud", - "com.affine.settings.workspace.state.sync-affine-docker": "Sync with AFFiNE Docker", "com.affine.settings.workspace.state.self-hosted": "Self-Hosted Server", "com.affine.settings.workspace.state.joined": "Joined Workspace", "com.affine.settings.workspace.state.available-offline": "Available Offline",