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
+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",