An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: Clarify tab task menu labels https://github.com/siyuan-note/siyuan/issues/17642
Danieldaf6e2da885b
diff --git a/app/appearance/langs/ar.json b/app/appearance/langs/ar.jsonindex dc46e21fc1..59c16aeed4 100644--- a/app/appearance/langs/ar.json+++ b/app/appearance/langs/ar.json@@ -1,4 +1,6 @@{+ "task": "مهمة",+ "customTaskStatus": "حالة مهمة مخصصة","imageViewerPlay": "تشغيل عرض الشرائح","imageFlipHorizontal": "قلب أفقي","imageFlipVertical": "قلب عمودي",diff --git a/app/appearance/langs/de.json b/app/appearance/langs/de.jsonindex 065531b929..f3c7df3ed9 100644--- a/app/appearance/langs/de.json+++ b/app/appearance/langs/de.json@@ -1,4 +1,6 @@{+ "task": "Aufgabe",+ "customTaskStatus": "Benutzerdefinierter Aufgabenstatus","imageViewerPlay": "Diashow starten","imageFlipHorizontal": "Horizontal spiegeln","imageFlipVertical": "Vertikal spiegeln",diff --git a/app/appearance/langs/en.json b/app/appearance/langs/en.jsonindex bd112d7462..41c793c574 100644--- a/app/appearance/langs/en.json+++ b/app/appearance/langs/en.json@@ -1,4 +1,6 @@{+ "task": "Task",+ "customTaskStatus": "Custom task status","imageViewerPlay": "Play slideshow","imageFlipHorizontal": "Flip horizontally","imageFlipVertical": "Flip vertically",diff --git a/app/appearance/langs/es.json b/app/appearance/langs/es.jsonindex 569afd7e1b..f43397100b 100644--- a/app/appearance/langs/es.json+++ b/app/appearance/langs/es.json@@ -1,4 +1,6 @@{+ "task": "Tarea",+ "customTaskStatus": "Estado de tarea personalizado","imageViewerPlay": "Reproducir presentación","imageFlipHorizontal": "Voltear horizontalmente","imageFlipVertical": "Voltear verticalmente",diff --git a/app/appearance/langs/fr.json b/app/appearance/langs/fr.jsonindex fd543ca1c9..c9f180af7d 100644--- a/app/appearance/langs/fr.json+++ b/app/appearance/langs/fr.json@@ -1,4 +1,6 @@{+ "task": "Tâche",+ "customTaskStatus": "État de tâche personnalisé","imageViewerPlay": "Lancer le diaporama","imageFlipHorizontal": "Retourner horizontalement","imageFlipVertical": "Retourner verticalement",diff --git a/app/appearance/langs/he.json b/app/appearance/langs/he.jsonindex 03adef4130..c1488e2a50 100644--- a/app/appearance/langs/he.json+++ b/app/appearance/langs/he.json@@ -1,4 +1,6 @@{+ "task": "משימה",+ "customTaskStatus": "מצב משימה מותאם אישית","imageViewerPlay": "הפעלת מצגת","imageFlipHorizontal": "היפוך אופקי","imageFlipVertical": "היפוך אנכי",diff --git a/app/appearance/langs/hi.json b/app/appearance/langs/hi.jsonindex e8fe3acc17..b30b3facaf 100644--- a/app/appearance/langs/hi.json+++ b/app/appearance/langs/hi.json@@ -1,4 +1,6 @@{+ "task": "कार्य",+ "customTaskStatus": "कस्टम कार्य स्थिति","imageViewerPlay": "स्लाइड शो चलाएँ","imageFlipHorizontal": "क्षैतिज रूप से पलटें","imageFlipVertical": "लंबवत रूप से पलटें",diff --git a/app/appearance/langs/id.json b/app/appearance/langs/id.jsonindex 48ab27bf31..56ac9ad17e 100644--- a/app/appearance/langs/id.json+++ b/app/appearance/langs/id.json@@ -1,4 +1,6 @@{+ "task": "Tugas",+ "customTaskStatus": "Status tugas kustom","imageViewerPlay": "Putar tayangan slide","imageFlipHorizontal": "Balik secara horizontal","imageFlipVertical": "Balik secara vertikal",diff --git a/app/appearance/langs/it.json b/app/appearance/langs/it.jsonindex 271e6b93af..43a1549bdd 100644--- a/app/appearance/langs/it.json+++ b/app/appearance/langs/it.json@@ -1,4 +1,6 @@{+ "task": "Attività",+ "customTaskStatus": "Stato attività personalizzato","imageViewerPlay": "Avvia presentazione","imageFlipHorizontal": "Capovolgi orizzontalmente","imageFlipVertical": "Capovolgi verticalmente",diff --git a/app/appearance/langs/ja.json b/app/appearance/langs/ja.jsonindex 1551b95c0f..0a200e9c97 100644--- a/app/appearance/langs/ja.json+++ b/app/appearance/langs/ja.json@@ -1,4 +1,6 @@{+ "task": "タスク",+ "customTaskStatus": "カスタムタスク状態","imageViewerPlay": "スライドショーを再生","imageFlipHorizontal": "左右反転","imageFlipVertical": "上下反転",diff --git a/app/appearance/langs/ko.json b/app/appearance/langs/ko.jsonindex 2512372eb9..6c935ca7e1 100644--- a/app/appearance/langs/ko.json+++ b/app/appearance/langs/ko.json@@ -1,4 +1,6 @@{+ "task": "작업",+ "customTaskStatus": "사용자 지정 작업 상태","imageViewerPlay": "슬라이드 쇼 재생","imageFlipHorizontal": "좌우 반전","imageFlipVertical": "상하 반전",diff --git a/app/appearance/langs/nl.json b/app/appearance/langs/nl.jsonindex 9413aa94e5..cdf8e58d0e 100644--- a/app/appearance/langs/nl.json+++ b/app/appearance/langs/nl.json@@ -1,4 +1,6 @@{+ "task": "Taak",+ "customTaskStatus": "Aangepaste taakstatus","imageViewerPlay": "Diavoorstelling afspelen","imageFlipHorizontal": "Horizontaal spiegelen","imageFlipVertical": "Verticaal spiegelen",diff --git a/app/appearance/langs/pl.json b/app/appearance/langs/pl.jsonindex 370cdee1f4..66bbfb444f 100644--- a/app/appearance/langs/pl.json+++ b/app/appearance/langs/pl.json@@ -1,4 +1,6 @@{+ "task": "Zadanie",+ "customTaskStatus": "Niestandardowy stan zadania","imageViewerPlay": "Odtwórz pokaz slajdów","imageFlipHorizontal": "Odwróć w poziomie","imageFlipVertical": "Odwróć w pionie",diff --git a/app/appearance/langs/pt-BR.json b/app/appearance/langs/pt-BR.jsonindex c41610ef93..6b39628d73 100644--- a/app/appearance/langs/pt-BR.json+++ b/app/appearance/langs/pt-BR.json@@ -1,4 +1,6 @@{+ "task": "Tarefa",+ "customTaskStatus": "Status de tarefa personalizado","imageViewerPlay": "Reproduzir apresentação de slides","imageFlipHorizontal": "Inverter horizontalmente","imageFlipVertical": "Inverter verticalmente",diff --git a/app/appearance/langs/ru.json b/app/appearance/langs/ru.jsonindex b595f126c6..03bdf292d7 100644--- a/app/appearance/langs/ru.json+++ b/app/appearance/langs/ru.json@@ -1,4 +1,6 @@{+ "task": "Задача",+ "customTaskStatus": "Пользовательский статус задачи","imageViewerPlay": "Запустить слайд-шоу","imageFlipHorizontal": "Отразить по горизонтали","imageFlipVertical": "Отразить по вертикали",diff --git a/app/appearance/langs/sk.json b/app/appearance/langs/sk.jsonindex 2769e7d68c..5514b2d267 100644--- a/app/appearance/langs/sk.json+++ b/app/appearance/langs/sk.json@@ -1,4 +1,6 @@{+ "task": "Úloha",+ "customTaskStatus": "Vlastný stav úlohy","imageViewerPlay": "Spustiť prezentáciu","imageFlipHorizontal": "Prevrátiť vodorovne","imageFlipVertical": "Prevrátiť zvislo",diff --git a/app/appearance/langs/th.json b/app/appearance/langs/th.jsonindex e1b66c23b7..97fa56af91 100644--- a/app/appearance/langs/th.json+++ b/app/appearance/langs/th.json@@ -1,4 +1,6 @@{+ "task": "งาน",+ "customTaskStatus": "สถานะงานแบบกำหนดเอง","imageViewerPlay": "เล่นสไลด์โชว์","imageFlipHorizontal": "พลิกแนวนอน","imageFlipVertical": "พลิกแนวตั้ง",diff --git a/app/appearance/langs/tr.json b/app/appearance/langs/tr.jsonindex 6a324acf83..18c596d38d 100644--- a/app/appearance/langs/tr.json+++ b/app/appearance/langs/tr.json@@ -1,4 +1,6 @@{+ "task": "Görev",+ "customTaskStatus": "Özel görev durumu","imageViewerPlay": "Slayt gösterisini oynat","imageFlipHorizontal": "Yatay çevir","imageFlipVertical": "Dikey çevir",diff --git a/app/appearance/langs/uk.json b/app/appearance/langs/uk.jsonindex c3e708954b..9a2c1ea728 100644--- a/app/appearance/langs/uk.json+++ b/app/appearance/langs/uk.json@@ -1,4 +1,6 @@{+ "task": "Завдання",+ "customTaskStatus": "Власний стан завдання","imageViewerPlay": "Запустити показ слайдів","imageFlipHorizontal": "Віддзеркалити горизонтально","imageFlipVertical": "Віддзеркалити вертикально",diff --git a/app/appearance/langs/zh-CN.json b/app/appearance/langs/zh-CN.jsonindex e5f3e5de44..a37cafdbf5 100644--- a/app/appearance/langs/zh-CN.json+++ b/app/appearance/langs/zh-CN.json@@ -1,4 +1,6 @@{+ "task": "任务",+ "customTaskStatus": "自定义任务状态","imageViewerPlay": "播放幻灯片","imageFlipHorizontal": "水平翻转","imageFlipVertical": "垂直翻转",diff --git a/app/appearance/langs/zh-TW.json b/app/appearance/langs/zh-TW.jsonindex 70ad411e69..57b3c5ae6a 100644--- a/app/appearance/langs/zh-TW.json+++ b/app/appearance/langs/zh-TW.json@@ -1,4 +1,6 @@{+ "task": "任務",+ "customTaskStatus": "自訂任務狀態","imageViewerPlay": "播放投影片","imageFlipHorizontal": "水平翻轉","imageFlipVertical": "垂直翻轉",diff --git a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101225-k254i8g.sy b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101225-k254i8g.syindex d9fdd62623..7a6a11af89 100644--- a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101225-k254i8g.sy+++ b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-6yi0dv5/20200924101225-k254i8g.sy@@ -6,7 +6,7 @@"id": "20200924101225-k254i8g","title": "Content Block Type","type": "doc",- "updated": "20260906202104"+ "updated": "20260906210725"},"Children": [{@@ -1336,7 +1336,7 @@"HeadingLevel": 2,"Properties": {"id": "20210104091538-a55chyw",- "updated": "20260906202104"+ "updated": "20260906210725"},"Children": [{@@ -2786,7 +2786,7 @@"Type": "NodeHeading","Properties": {"id": "20260906003122-tfblsll",- "updated": "20260906202104"+ "updated": "20260906210725"},"Children": [{@@ -2801,12 +2801,12 @@"Type": "NodeParagraph","Properties": {"id": "20260906003122-gtkz3ie",- "updated": "20260906202104"+ "updated": "20260906210725"},"Children": [{"Type": "NodeText",- "Data": "Each tab item has a title and body and supports nested content and block references. Right-click a tab title and use the checkbox option to toggle task mode for the group."+ "Data": "Each tab item has a title and body and supports nested content and block references. Right-click a tab title and use the task option to toggle task mode for the group."}]},diff --git a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180320-fqgskfj/20200905090211-2vixtlf.sy b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180320-fqgskfj/20200905090211-2vixtlf.syindex 659b9533c5..7b1e5f2213 100644--- a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180320-fqgskfj/20200905090211-2vixtlf.sy+++ b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180320-fqgskfj/20200905090211-2vixtlf.sy@@ -6,7 +6,7 @@"id": "20200905090211-2vixtlf","title": "内容块类型","type": "doc",- "updated": "20260906202104"+ "updated": "20260906210725"},"Children": [{@@ -1369,7 +1369,7 @@"HeadingLevel": 2,"Properties": {"id": "20210104090624-9qgquxh",- "updated": "20260906202104"+ "updated": "20260906210725"},"Children": [{@@ -2868,7 +2868,7 @@"Type": "NodeHeading","Properties": {"id": "20260906003122-tqc63mt",- "updated": "20260906202104"+ "updated": "20260906210725"},"Children": [{@@ -2883,12 +2883,12 @@"Type": "NodeParagraph","Properties": {"id": "20260906003122-xun3tcl",- "updated": "20260906202104"+ "updated": "20260906210725"},"Children": [{"Type": "NodeText",- "Data": "页签项包含标题和正文,支持嵌套内容和块引用。右键点击页签标题,可通过复选框选项切换整组的任务模式。"+ "Data": "页签项包含标题和正文,支持嵌套内容和块引用。右键点击页签标题,可通过任务选项切换整组的任务模式。"}]},diff --git a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226115825-mhcslw2/20211226120147-ib6yy3i.sy b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226115825-mhcslw2/20211226120147-ib6yy3i.syindex c557e34db2..af1fc41df2 100644--- a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226115825-mhcslw2/20211226120147-ib6yy3i.sy+++ b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226115825-mhcslw2/20211226120147-ib6yy3i.sy@@ -6,7 +6,7 @@"id": "20211226120147-ib6yy3i","title": "內容區塊類型","type": "doc",- "updated": "20260906202104"+ "updated": "20260906210725"},"Children": [{@@ -1365,7 +1365,7 @@"HeadingLevel": 2,"Properties": {"id": "20211226120227-esm6f20",- "updated": "20260906202104"+ "updated": "20260906210725"},"Children": [{@@ -2786,7 +2786,7 @@"Type": "NodeHeading","Properties": {"id": "20260906003122-6qha4x8",- "updated": "20260906202104"+ "updated": "20260906210725"},"Children": [{@@ -2801,12 +2801,12 @@"Type": "NodeParagraph","Properties": {"id": "20260906003122-6we2ve6",- "updated": "20260906202104"+ "updated": "20260906210725"},"Children": [{"Type": "NodeText",- "Data": "頁籤項包含標題與正文,支援巢狀內容和區塊引用。在頁籤標題上按右鍵,可透過覈取方塊選項切換整組的任務模式。"+ "Data": "頁籤項包含標題與正文,支援巢狀內容和區塊引用。在頁籤標題上按右鍵,可透過任務選項切換整組的任務模式。"}]},diff --git a/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-gvtksyj/20240530101000-35bbvcx.sy b/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-gvtksyj/20240530101000-35bbvcx.syindex b450fb51e3..7309bef751 100644--- a/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-gvtksyj/20240530101000-35bbvcx.sy+++ b/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-gvtksyj/20240530101000-35bbvcx.sy@@ -7,7 +7,7 @@"id": "20240530101000-35bbvcx","title": "コンテンツブロックの種類","type": "doc",- "updated": "20260906202104"+ "updated": "20260906210725"},"Children": [{@@ -1422,7 +1422,7 @@"Properties": {"ID": "20240530101000-rjjxxn8","id": "20240530101000-p035stn",- "updated": "20260906202104"+ "updated": "20260906210725"},"Children": [{@@ -2980,7 +2980,7 @@"Type": "NodeHeading","Properties": {"id": "20260906003122-3mia0g1",- "updated": "20260906202104"+ "updated": "20260906210725"},"Children": [{@@ -2995,12 +2995,12 @@"Type": "NodeParagraph","Properties": {"id": "20260906003122-azyooos",- "updated": "20260906202104"+ "updated": "20260906210725"},"Children": [{"Type": "NodeText",- "Data": "タブ項目にはタイトルと本文があり、入れ子の内容とブロック参照に対応しています。タイトルを右クリックし、チェックボックスの項目でグループ全体のタスクモードを切り替えられます。"+ "Data": "タブ項目にはタイトルと本文があり、入れ子の内容とブロック参照に対応しています。タイトルを右クリックし、タスクの項目でグループ全体のタスクモードを切り替えられます。"}]},diff --git a/app/src/protyle/wysiwyg/tabs.ts b/app/src/protyle/wysiwyg/tabs.tsindex 75d0f68f3a..f6753f7a7e 100644--- a/app/src/protyle/wysiwyg/tabs.ts+++ b/app/src/protyle/wysiwyg/tabs.ts@@ -42,7 +42,7 @@ const editTabTask = (protyle: IProtyle, item: HTMLElement) => {}const lang = window.siyuan.languages;const dialog = new Dialog({- title: `${lang.check} - ${lang.custom}`,+ title: lang.customTaskStatus,content: `<div class="b3-dialog__content"><input class="b3-text-field fn__block" maxlength="1"></div><div class="b3-dialog__action"><button class="b3-button b3-button--cancel">${lang.cancel}</button><div class="fn__space"></div><button class="b3-button b3-button--text">${lang.confirm}</button></div>`,@@ -185,11 +185,11 @@ export const openTabsMenu = (protyle: IProtyle, tabs: HTMLElement, item: HTMLEleclick: () => {copyTextByType([item.dataset.nodeId], "ref");},}]});if (canEdit(protyle, tabs)) {- menu.addItem({icon: "iconCheck", label: lang.checkbox,+ menu.addItem({icon: "iconCheck", label: lang.task,checked: getTabItems(tabs).some(entry => entry.hasAttribute("tabs-task")),click: () => toggleTabsTasks(protyle, tabs)});if (item.hasAttribute("tabs-task")) {- menu.addItem({icon: "iconCheck", label: `${lang.check} - ${lang.custom}`, click: () => editTabTask(protyle, item)});+ menu.addItem({icon: "iconCheck", label: lang.customTaskStatus, click: () => editTabTask(protyle, item)});}menu.addItem({icon: "iconEdit", label: lang.rename, click: () => renameTab(protyle, item)});menu.addItem({icon: "iconCopy", label: lang.duplicateCopy, click: () => {@@ -227,7 +227,7 @@ export const initEditorTabs = (protyle: IProtyle) => {readonly: tabs => !canEdit(protyle, tabs || root),label: window.siyuan.languages.tabItem,addLabel: window.siyuan.languages.tabItem,- taskLabel: window.siyuan.languages.check,+ taskLabel: window.siyuan.languages.task,task: item => setTabTask(protyle, item, nextTaskListMarker(item.getAttribute("tabs-task"))),taskMenu: item => editTabTask(protyle, item),endEdit: () => hideElements(["toolbar"], protyle),