From 1c5455e6ed315622d0694cf223d0ab7280a7cc1a Mon Sep 17 00:00:00 2001 From: JimmFly Date: Thu, 18 May 2023 13:15:01 +0800 Subject: [PATCH] chore: adjust copywriting for onboarding (#2428) --- .../src/components/pure/help-island/index.tsx | 5 +++- packages/i18n/src/resources/en.json | 28 ++++++++++--------- packages/i18n/src/resources/fr.json | 8 ++++++ packages/i18n/src/resources/index.ts | 8 +++--- packages/i18n/src/resources/ja.json | 5 ++++ packages/i18n/src/resources/zh-Hans.json | 4 +++ 6 files changed, 40 insertions(+), 18 deletions(-) diff --git a/apps/web/src/components/pure/help-island/index.tsx b/apps/web/src/components/pure/help-island/index.tsx index dc36b81388..874478a83c 100644 --- a/apps/web/src/components/pure/help-island/index.tsx +++ b/apps/web/src/components/pure/help-island/index.tsx @@ -108,7 +108,10 @@ export const HelpIsland = ({ )} {showList.includes('guide') && ( - + { diff --git a/packages/i18n/src/resources/en.json b/packages/i18n/src/resources/en.json index 2c6990029f..df885437bd 100644 --- a/packages/i18n/src/resources/en.json +++ b/packages/i18n/src/resources/en.json @@ -26,7 +26,6 @@ "Expand sidebar": "Expand sidebar", "Paper": "Paper", "Edgeless": "Edgeless", - "Added to Favorites": "Added to Favourites", "Convert to ": "Convert to ", "Page": "Page", "Export": "Export", @@ -41,7 +40,6 @@ "Delete page?": "Delete page?", "Delete permanently?": "Delete permanently?", "will be moved to Trash": "{{title}} will be moved to Trash", - "Favorite": "Favourite", "Moved to Trash": "Moved to Trash", "Permanently deleted": "Permanently deleted", "restored": "{{title}} restored", @@ -59,7 +57,6 @@ "Strikethrough": "Strikethrough", "Inline code": "Inline code", "Code block": "Code block", - "Favorited": "Favourited", "Body text": "Body text", "Heading": "Heading {{number}}", "Increase indent": "Increase indent", @@ -67,13 +64,16 @@ "Markdown Syntax": "Markdown Syntax", "Divider": "Divider", "Once deleted, you can't undo this action": "Once deleted, you can't undo this action.", - "Remove from favorites": "Remove from favourites", - "Removed from Favorites": "Removed from Favourites", - "Add to Favorites": "Add to Favourites", "Contact Us": "Contact us", "Keyboard Shortcuts": "Keyboard shortcuts", + "Add to Favorites": "Add to Favourites", + "Added to Favorites": "Added to Favourites", "Jump to": "Jump to", "404 - Page Not Found": "404 - Page Not Found", + "Favorite": "Favourite", + "Favorited": "Favourited", + "Remove from favorites": "Remove from favourites", + "Removed from Favorites": "Removed from Favourites", "New Workspace": "New Workspace", "Create": "Create", "Select": "Select", @@ -153,9 +153,9 @@ "core": "core", "all": "all", "Data sync mode": "Data sync mode", - "Favorites": "Favourites", "Check Our Docs": "Check Our Docs", "Get in touch! Join our communities": "Get in touch! Join our communities.", + "Favorites": "Favourites", "Download data": "Download {{CoreOrAll}} data", "Back Home": "Back Home", "Set a Workspace name": "Set a Workspace name", @@ -186,11 +186,11 @@ "Sign out": "Sign out", "All data has been stored in the cloud": "All data has been stored in the cloud. ", "Download all data": "Download all data", - "emptyFavorite": "Click Add to Favourites and the page will appear here.", "Edit": "Edit", "Sign out description": "Signing out will cause the unsynchronised content to be lost.", "Retain cached cloud data": "Retain cached cloud data", "Workspace Owner": "Workspace Owner", + "emptyFavorite": "Click Add to Favourites and the page will appear here.", "Move to Trash": "Move to Trash", "Placeholder of delete workspace": "Please type workspace name to confirm", "Pivots": "Pivots", @@ -218,7 +218,6 @@ "Create Shared Link Description": "Create a link you can easily share with anyone.", "Shared Pages In Public Workspace Description": "The entire Workspace is published on the web and can be edited via <1>Workspace Settings.", "Organize pages to build knowledge": "Organize pages to build knowledge", - "Favorite pages for easy access": "Favourite pages for easy access", "Loading All Workspaces": "Loading All Workspaces", "Router is Loading": "Router is Loading", "Finding Workspace ID": "Finding Workspace ID", @@ -226,11 +225,13 @@ "Workspace Not Found": "Workspace Not Found", "Page is Loading": "Page is Loading", "Loading Page": "Loading Page", + "Favorite pages for easy access": "Favourite pages for easy access", "emptySharedPages": "Shared pages will appear here.", "You cannot delete the last workspace": "You cannot delete the last workspace", "Synced with AFFiNE Cloud": "Synced with AFFiNE Cloud", "Recent": "Recent", "Successfully deleted": "Successfully deleted", + "Restart Install Client Update": "Restart to install update", "Add Workspace": "Add Workspace", "Export success": "Export success", "Sync across devices with AFFiNE Cloud": "Sync across devices with AFFiNE Cloud", @@ -272,12 +273,13 @@ "com.affine.cloudTempDisable.title": "AFFiNE Cloud is upgrading now.", "com.affine.cloudTempDisable.description": "We are upgrading the AFFiNE Cloud service and it is temporarily unavailable on the client side. If you wish to stay updated on the progress and be notified on availability, you can fill out the <1>AFFiNE Cloud Signup.", "com.affine.helpIsland.gettingStarted": "Getting started", + "com.affine.updater.downloading": "Downloading", + "com.affine.updater.update-available": "Update available", + "com.affine.updater.open-download-page": "Open download page", + "com.affine.updater.restart-to-update": "Restart to install update", "FILE_ALREADY_EXISTS": "File already exists", "others": "Others", - "com.affine.updater.update-available": "Update available", - "com.affine.updater.downloading": "Downloading", - "com.affine.updater.restart-to-update": "Restart to install update", - "com.affine.updater.open-download-page": "Open download page", + "Update Available": "Update available", "dark": "Dark", "system": "System", "light": "Light" diff --git a/packages/i18n/src/resources/fr.json b/packages/i18n/src/resources/fr.json index 4850fb0871..d589d0a731 100644 --- a/packages/i18n/src/resources/fr.json +++ b/packages/i18n/src/resources/fr.json @@ -275,5 +275,13 @@ "com.affine.onboarding.title1": "Tableau blancs et document fusionnés", "com.affine.onboarding.videoDescription1": "Basculez facilement entre le mode Page pour de la création de documents structurés et le mode Tableau blanc pour de l'expression visuelle libre d'idées créatives.", "com.affine.pageMode": "Mode page", + "com.affine.banner.content": "La démo vous plait ? <1> Télécharger le client AFFiNE pour une expérience complète.", + "com.affine.cloudTempDisable.title": "AFFiNE Cloud est actuellement en cours de mise à jour.", + "com.affine.cloudTempDisable.description": "Nous mettons à jour le service AFFiNE Cloud et il est temporairement indisponible côté client. Si vous souhaitez rester informé des avancements et être informé de la disponibilité du projet, vous pouvez remplir l'<1>inscription au AFFiNE Cloud.", + "com.affine.helpIsland.gettingStarted": "Commencer", + "com.affine.updater.downloading": "Téléchargement en cours", + "com.affine.updater.open-download-page": "Ouvrir la page de Téléchargement", + "com.affine.updater.restart-to-update": "Redémarrez pour installer la mise à jour", + "com.affine.updater.update-available": "Mis à jour disponible", "others": "Autres" } diff --git a/packages/i18n/src/resources/index.ts b/packages/i18n/src/resources/index.ts index 62bb92afa8..c06b2bc505 100644 --- a/packages/i18n/src/resources/index.ts +++ b/packages/i18n/src/resources/index.ts @@ -36,7 +36,7 @@ export const LOCALES = [ originalName: 'français', flagEmoji: '🇫🇷', base: false, - completeRate: 0.9857142857142858, + completeRate: 1, res: fr, }, { @@ -46,7 +46,7 @@ export const LOCALES = [ originalName: 'Deutsch', flagEmoji: '🇩🇪', base: false, - completeRate: 0.9857142857142858, + completeRate: 0.971830985915493, res: de, }, { @@ -56,7 +56,7 @@ export const LOCALES = [ originalName: 'русский', flagEmoji: '🇷🇺', base: false, - completeRate: 0.6928571428571428, + completeRate: 0.6830985915492958, res: ru, }, { @@ -66,7 +66,7 @@ export const LOCALES = [ originalName: '日本語', flagEmoji: '🇯🇵', base: false, - completeRate: 1.0107142857142857, + completeRate: 1.0140845070422535, res: ja, }, ] as const; diff --git a/packages/i18n/src/resources/ja.json b/packages/i18n/src/resources/ja.json index 68631449d0..ccbb2279db 100644 --- a/packages/i18n/src/resources/ja.json +++ b/packages/i18n/src/resources/ja.json @@ -251,6 +251,11 @@ "com.affine.cloudTempDisable.title": "AFFiNEクラウドは現在アップグレード中です。", "com.affine.cloudTempDisable.description": "AFFiNEクラウドサービスのバージョンアップを行っており、クライアント側で一時的に利用できない状態になっています。進捗状況などに関する通知をご希望の方は<1>AFFiNEコミュニティにご参加ください。", "com.affine.banner.content": "デモをお楽しみですか?完全なエクスペリエンスを得るには<1>AFFiNEクライアントをダウンロードしてください。", + "com.affine.updater.restart-to-update": "再起動してアップデートをインストールする", + "com.affine.updater.update-available": "アップデート可能", + "com.affine.updater.downloading": "ダウンロード中", + "com.affine.updater.open-download-page": "ダウンロードページを開く", + "com.affine.helpIsland.gettingStarted": "始めましょう", "dark": "ダーク", "light": "ライト", "emptyAllPages": "このワークスペースに何もありません。新しいページを作成して編集を開始します", diff --git a/packages/i18n/src/resources/zh-Hans.json b/packages/i18n/src/resources/zh-Hans.json index 6ba331ead3..fd5614414e 100644 --- a/packages/i18n/src/resources/zh-Hans.json +++ b/packages/i18n/src/resources/zh-Hans.json @@ -275,6 +275,10 @@ "com.affine.onboarding.videoDescription1": "在页面模式和白板模式之间轻松切换,你可以在页面模式下创建结构化文档,并在白板模式下自由表达创意思想。", "com.affine.onboarding.videoDescription2": "轻松创建结构化文档,使用模块化界面将文本块、图像和其他内容拖放到页面中。", "com.affine.pageMode": "页面模式", + "com.affine.updater.downloading": "下载中", + "com.affine.updater.open-download-page": "打开下载页面", + "com.affine.updater.restart-to-update": "重新启动以安装更新", + "com.affine.updater.update-available": "有可用的更新", "emptySharedPages": "共享的页面将显示在此处。", "light": "浅色", "dark": "深色",