diff --git a/app/appearance/langs/en_US.json b/app/appearance/langs/en_US.json index 475dc86c6..d69d4afc5 100644 --- a/app/appearance/langs/en_US.json +++ b/app/appearance/langs/en_US.json @@ -1,7 +1,7 @@ { - "newSubFile": "New SubFile", - "newFileAfter": "New file after", - "newFileBefore": "New file before", + "newSubDoc": "Create sub doc", + "newDocBelow": "Create doc below", + "newDocAbove": "Create doc above", "adaptiveWidth": "Adaptive Width", "fullWidthTip": "After enabling, the editing area will be displayed as wide as possible", "tabLimit": "Tab Limit", diff --git a/app/appearance/langs/es_ES.json b/app/appearance/langs/es_ES.json index 0c6da71c0..4ffa138a6 100644 --- a/app/appearance/langs/es_ES.json +++ b/app/appearance/langs/es_ES.json @@ -1,7 +1,7 @@ { - "newSubFile": "Nuevo SubArchivo", - "newFileAfter": "Nuevo archivo en el mismo nivel después", - "newFileBefore": "Nuevo archivo en el mismo nivel anterior", + "newSubDoc": "Crear subdocumento", + "newDocBelow": "Crear documento a continuación", + "newDocAbove": "Crear documento arriba", "fullWidth": "Ancho adaptable", "fullWidthTip": "Cuando está habilitado, el área de edición se mostrará lo más amplia posible", "tabLimit": "Límite de la pestaña", diff --git a/app/appearance/langs/fr_FR.json b/app/appearance/langs/fr_FR.json index 2165ede41..d64178aca 100644 --- a/app/appearance/langs/fr_FR.json +++ b/app/appearance/langs/fr_FR.json @@ -1,7 +1,7 @@ { - "newSubFile": "Nouveau sous-fichier", - "newFileAfter": "Nouveau fichier au même niveau après", - "newFileBefore": "Nouveau fichier au même niveau avant", + "newSubDoc": "Créer un sous-doc", + "newDocBelow": "Créer un document ci-dessous", + "newDocAbove": "Créer un document ci-dessus", "fullWidth": "Largeur adaptative", "fullWidthTip": "Lorsqu'il est activé, la zone d'édition sera affichée aussi large que possible", "tabLimit": "Nombre maximum d'onglets ouverts", diff --git a/app/appearance/langs/zh_CHT.json b/app/appearance/langs/zh_CHT.json index ffff443a0..343e1ab37 100644 --- a/app/appearance/langs/zh_CHT.json +++ b/app/appearance/langs/zh_CHT.json @@ -1,7 +1,7 @@ { - "newSubFile": "新建子文檔", - "newFileAfter": "在後新建同級文檔", - "newFileBefore": "在前新建同級文檔", + "newSubDoc": "新建子文檔", + "newDocBelow": "在下方新建文檔", + "newDocAbove": "在上方新建文檔", "fullWidth": "自適應寬度", "fullWidthTip": "開啟後將盡可能寬地顯示編輯區", "tabLimit": "頁簽打開最大數量", diff --git a/app/appearance/langs/zh_CN.json b/app/appearance/langs/zh_CN.json index 0771a4103..24ba77f23 100644 --- a/app/appearance/langs/zh_CN.json +++ b/app/appearance/langs/zh_CN.json @@ -1,7 +1,7 @@ { - "newSubFile": "新建子文档", - "newFileAfter": "在后新建同级文档", - "newFileBefore": "在前新建同级文档", + "newSubDoc": "新建子文档", + "newDocBelow": "在下方新建文档", + "newDocAbove": "在上方新建文档", "fullWidth": "自适应宽度", "fullWidthTip": "开启后将尽可能宽地显示编辑区", "tabLimit": "页签打开最大数量", diff --git a/app/src/menus/navigation.ts b/app/src/menus/navigation.ts index df6ea4e0a..85a1f5d79 100644 --- a/app/src/menus/navigation.ts +++ b/app/src/menus/navigation.ts @@ -135,7 +135,7 @@ export const initFileMenu = (notebookId: string, pathString: string, liElement: if (!window.siyuan.config.readonly) { window.siyuan.menus.menu.append(new MenuItem({ icon: "iconFile", - label: window.siyuan.languages.newSubFile, + label: window.siyuan.languages.newSubDoc, click: () => { newFile(notebookId, pathString, true); } @@ -143,7 +143,7 @@ export const initFileMenu = (notebookId: string, pathString: string, liElement: if (window.siyuan.config.fileTree.sort === 6) { window.siyuan.menus.menu.append(new MenuItem({ icon: "iconBefore", - label: window.siyuan.languages.newFileBefore, + label: window.siyuan.languages.newDocAbove, click: () => { const paths: string[] = []; Array.from(liElement.parentElement.children).forEach((item) => { @@ -159,7 +159,7 @@ export const initFileMenu = (notebookId: string, pathString: string, liElement: }).element); window.siyuan.menus.menu.append(new MenuItem({ icon: "iconAfter", - label: window.siyuan.languages.newFileAfter, + label: window.siyuan.languages.newDocBelow, click: () => { const paths: string[] = []; Array.from(liElement.parentElement.children).forEach((item) => {