feat(core): set doc mode and primary doc mode separately (#8359)

https://github.com/user-attachments/assets/98c282f2-4c53-475f-bf10-936a626c2630
This commit is contained in:
JimmFly
2024-10-17 13:48:45 +00:00
parent 7dae5c5dd5
commit bfb8d582ed
15 changed files with 192 additions and 90 deletions
@@ -1,12 +1,12 @@
{
"ar": 87,
"ar": 86,
"ca": 6,
"da": 7,
"de": 32,
"en": 100,
"es-AR": 16,
"es-AR": 15,
"es-CL": 18,
"es": 16,
"es": 15,
"fr": 77,
"hi": 2,
"it": 1,
@@ -14,9 +14,9 @@
"ko": 92,
"pl": 0,
"pt-BR": 99,
"ru": 85,
"ru": 84,
"sv-SE": 5,
"ur": 3,
"zh-Hans": 100,
"zh-Hant": 100
"zh-Hant": 99
}
+10 -2
View File
@@ -92,6 +92,7 @@
"Successfully deleted": "Successfully deleted",
"Successfully joined!": "Successfully joined!",
"Switch": "Switch",
"switchView": "Switch view",
"Sync": "Sync",
"Synced with AFFiNE Cloud": "Synced with AFFiNE Cloud",
"Tags": "Tags",
@@ -425,6 +426,8 @@
"com.affine.editCollectionName.createTips": "Collection is a smart folder where you can manually add docs or automatically add docs through rules.",
"com.affine.editCollectionName.name": "Name",
"com.affine.editCollectionName.name.placeholder": "Collection name",
"com.affine.editorDefaultMode.edgeless": "Default to Edgeless mode",
"com.affine.editorDefaultMode.page": "Default to Page mode",
"com.affine.empty.collection-detail.action.add-doc": "Add docs",
"com.affine.empty.collection-detail.action.add-rule": "Add rules",
"com.affine.empty.collection-detail.description": "Collection is a smart folder where you can manually add docs or automatically add docs through rules.",
@@ -527,7 +530,7 @@
"com.affine.keyboardShortcuts.elbowedConnector": "Elbowed connector",
"com.affine.keyboardShortcuts.expandOrCollapseSidebar": "Expand/collapse sidebar",
"com.affine.keyboardShortcuts.goBack": "Go back",
"com.affine.keyboardShortcuts.goForward": "Go Forward",
"com.affine.keyboardShortcuts.goForward": "Go forward",
"com.affine.keyboardShortcuts.group": "Group",
"com.affine.keyboardShortcuts.groupDatabase": "Group as database",
"com.affine.keyboardShortcuts.hand": "Hand",
@@ -551,7 +554,7 @@
"com.affine.keyboardShortcuts.straightConnector": "Straight connector",
"com.affine.keyboardShortcuts.strikethrough": "Strikethrough",
"com.affine.keyboardShortcuts.subtitle": "Check keyboard shortcuts quickly",
"com.affine.keyboardShortcuts.switch": "Switch",
"com.affine.keyboardShortcuts.switch": "Switch view",
"com.affine.keyboardShortcuts.text": "Text",
"com.affine.keyboardShortcuts.title": "Keyboard shortcuts",
"com.affine.keyboardShortcuts.unGroup": "Ungroup",
@@ -647,6 +650,7 @@
"com.affine.page-properties.property.required": "Required",
"com.affine.page-properties.property.show-in-view": "Show in view",
"com.affine.page-properties.property.tags": "Tags",
"com.affine.page-properties.property.docPrimaryMode": "Doc mode",
"com.affine.page-properties.property.text": "Text",
"com.affine.page-properties.property.updatedBy": "Last edited by",
"com.affine.propertySidebar.property-list.section": "Properties",
@@ -1213,6 +1217,10 @@
"com.affine.toastMessage.edgelessMode": "Edgeless mode",
"com.affine.toastMessage.movedTrash": "Moved to trash",
"com.affine.toastMessage.pageMode": "Page Mode",
"com.affine.toastMessage.defaultMode.page.title": "Default mode has changed",
"com.affine.toastMessage.defaultMode.page.message": "The default mode for this document has been changed to Page mode",
"com.affine.toastMessage.defaultMode.edgeless.title": "Default mode has changed",
"com.affine.toastMessage.defaultMode.edgeless.message": "The default mode for this document has been changed to Edgeless mode",
"com.affine.toastMessage.permanentlyDeleted": "Permanently deleted",
"com.affine.toastMessage.removedFavorites": "Removed from favourites",
"com.affine.toastMessage.rename": "Successfully renamed",
@@ -682,7 +682,6 @@
"com.affine.editCollectionName.name": "이름",
"com.affine.editCollectionName.name.placeholder": "컬렉션 이름",
"com.affine.editor.reference-not-found": "연결된 페이지를 찾을 수 없음",
"com.affine.editorModeSwitch.tooltip": "전환",
"com.affine.empty.collection-detail.action.add-doc": "문서 추가",
"com.affine.empty.collection-detail.action.add-rule": "규칙 추가",
"com.affine.empty.collection-detail.description": "컬렉션은 페이지를 수동으로 추가하거나 규칙을 통해 자동으로 페이지를 추가할 수 있는 스마트 폴더입니다.",
@@ -92,6 +92,7 @@
"Successfully deleted": "成功删除。",
"Successfully joined!": "加入成功!",
"Switch": "切换",
"switchView": "切换视图",
"Sync": "同步",
"Synced with AFFiNE Cloud": "AFFiNE Cloud 同步完成",
"Tags": "标签",
@@ -438,6 +439,9 @@
"com.affine.empty.docs.trash-description": "已删除的文档将显示在此处。",
"com.affine.empty.tags.description": "为您的文档创建一个新标签。",
"com.affine.empty.tags.title": "标签管理",
"com.affine.editorDefaultMode.edgeless": "默认为无界模式",
"com.affine.editorDefaultMode.page": "默认为文档模式",
"com.affine.editor.reference-not-found": "未找到已链接的文档",
"com.affine.emptyDesc": "这里还没有文档",
"com.affine.enableAffineCloudModal.button.cancel": "取消",
"com.affine.error.hide-error": "隐藏错误详情",
@@ -551,7 +555,7 @@
"com.affine.keyboardShortcuts.straightConnector": "直线连接器快捷键",
"com.affine.keyboardShortcuts.strikethrough": "删除线",
"com.affine.keyboardShortcuts.subtitle": "快速查看快捷键",
"com.affine.keyboardShortcuts.switch": "切换快捷键",
"com.affine.keyboardShortcuts.switch": "切换视图快捷键",
"com.affine.keyboardShortcuts.text": "文本",
"com.affine.keyboardShortcuts.title": "键盘快捷键",
"com.affine.keyboardShortcuts.unGroup": "取消分组",
@@ -642,6 +646,7 @@
"com.affine.page-properties.property.required": "必选",
"com.affine.page-properties.property.show-in-view": "在视图中显示",
"com.affine.page-properties.property.tags": "标签",
"com.affine.page-properties.property.docPrimaryMode": "文档模式",
"com.affine.page-properties.property.text": "文本",
"com.affine.page-properties.property.updatedBy": "最后编辑者",
"com.affine.page-properties.settings.title": "自定义属性",
@@ -1206,6 +1211,10 @@
"com.affine.toastMessage.rename": "更名成功",
"com.affine.toastMessage.restored": "{{title}} 已恢复",
"com.affine.toastMessage.successfullyDeleted": "删除成功",
"com.affine.toastMessage.defaultMode.page.title": "默认模式已更改",
"com.affine.toastMessage.defaultMode.page.message": "该文档的默认模式已更改为页面模式",
"com.affine.toastMessage.defaultMode.edgeless.title": "默认模式已更改",
"com.affine.toastMessage.defaultMode.edgeless.message": "该文档的默认模式已更改为无界模式",
"com.affine.today": "今天",
"com.affine.tomorrow": "明日",
"com.affine.top-tip.mobile": "在移动设备上仅限于查看。",