Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:lipstick: Clarify always-on-top window labels https://github.com/siyuan-note/siyuan/issues/20003

Daniel098cc676ccc6
diff --git a/app/appearance/langs/ar.json b/app/appearance/langs/ar.json
index 259f79d4a4..240682dca7 100644
--- a/app/appearance/langs/ar.json
+++ b/app/appearance/langs/ar.json
@@ -1,4 +1,6 @@
{
+ "pinWindow": "إبقاء النافذة في المقدمة",
+ "unpinWindow": "إلغاء إبقاء النافذة في المقدمة",
"settingsWindowMode": "مكان فتح الإعدادات",
"settingsWindowModeTip": "يسري عند فتح الإعدادات في المرة القادمة؛ يحدد كل ملحق طريقة فتح إعداداته",
"settingsWindowInApp": "داخل النافذة الرئيسية",
diff --git a/app/appearance/langs/de.json b/app/appearance/langs/de.json
index 6c25eaecea..e8b7a09cef 100644
--- a/app/appearance/langs/de.json
+++ b/app/appearance/langs/de.json
@@ -1,4 +1,6 @@
{
+ "pinWindow": "Fenster im Vordergrund halten",
+ "unpinWindow": "Fenster nicht mehr im Vordergrund halten",
"settingsWindowMode": "Einstellungen öffnen in",
"settingsWindowModeTip": "Gilt beim nächsten Öffnen der Einstellungen; Plugins bestimmen selbst, wie ihre Einstellungen geöffnet werden",
"settingsWindowInApp": "Hauptfenster",
diff --git a/app/appearance/langs/en.json b/app/appearance/langs/en.json
index d774a570db..29c162bd8a 100644
--- a/app/appearance/langs/en.json
+++ b/app/appearance/langs/en.json
@@ -1,4 +1,6 @@
{
+ "pinWindow": "Keep window on top",
+ "unpinWindow": "Stop keeping window on top",
"settingsWindowMode": "Open settings in",
"settingsWindowModeTip": "Applies the next time settings are opened; plugins determine how their own settings open",
"settingsWindowInApp": "Main window",
diff --git a/app/appearance/langs/es.json b/app/appearance/langs/es.json
index 6d7ed465dd..4d81f7855a 100644
--- a/app/appearance/langs/es.json
+++ b/app/appearance/langs/es.json
@@ -1,4 +1,6 @@
{
+ "pinWindow": "Mantener ventana encima",
+ "unpinWindow": "Dejar de mantener ventana encima",
"settingsWindowMode": "Abrir ajustes en",
"settingsWindowModeTip": "Se aplica la próxima vez que se abran los ajustes; cada complemento decide cómo abrir sus propios ajustes",
"settingsWindowInApp": "Ventana principal",
diff --git a/app/appearance/langs/fr.json b/app/appearance/langs/fr.json
index 81085b8439..acf9170272 100644
--- a/app/appearance/langs/fr.json
+++ b/app/appearance/langs/fr.json
@@ -1,4 +1,6 @@
{
+ "pinWindow": "Garder la fenêtre au premier plan",
+ "unpinWindow": "Ne plus garder la fenêtre au premier plan",
"settingsWindowMode": "Ouvrir les paramètres dans",
"settingsWindowModeTip": "S’applique à la prochaine ouverture des paramètres ; les extensions décident comment ouvrir leurs propres paramètres",
"settingsWindowInApp": "La fenêtre principale",
diff --git a/app/appearance/langs/he.json b/app/appearance/langs/he.json
index 91dace1e8c..cb1fba39bb 100644
--- a/app/appearance/langs/he.json
+++ b/app/appearance/langs/he.json
@@ -1,4 +1,6 @@
{
+ "pinWindow": "השארת החלון תמיד מעל",
+ "unpinWindow": "ביטול השארת החלון תמיד מעל",
"settingsWindowMode": "פתיחת ההגדרות ב",
"settingsWindowModeTip": "יחול בפתיחה הבאה של ההגדרות; כל תוסף קובע כיצד ההגדרות שלו ייפתחו",
"settingsWindowInApp": "החלון הראשי",
diff --git a/app/appearance/langs/hi.json b/app/appearance/langs/hi.json
index 4ee9325d97..d492def5c1 100644
--- a/app/appearance/langs/hi.json
+++ b/app/appearance/langs/hi.json
@@ -1,4 +1,6 @@
{
+ "pinWindow": "विंडो को सबसे ऊपर रखें",
+ "unpinWindow": "विंडो को सबसे ऊपर रखना बंद करें",
"settingsWindowMode": "सेटिंग खोलने का स्थान",
"settingsWindowModeTip": "अगली बार सेटिंग खोलने पर लागू होगा; प्लगइन अपनी सेटिंग खोलने का तरीका स्वयं तय करते हैं",
"settingsWindowInApp": "मुख्य विंडो",
diff --git a/app/appearance/langs/id.json b/app/appearance/langs/id.json
index 8cb71bf7ae..272fa6740c 100644
--- a/app/appearance/langs/id.json
+++ b/app/appearance/langs/id.json
@@ -1,4 +1,6 @@
{
+ "pinWindow": "Pertahankan jendela di atas",
+ "unpinWindow": "Berhenti mempertahankan jendela di atas",
"settingsWindowMode": "Buka pengaturan di",
"settingsWindowModeTip": "Berlaku saat pengaturan dibuka berikutnya; plugin menentukan cara membuka pengaturannya sendiri",
"settingsWindowInApp": "Jendela utama",
diff --git a/app/appearance/langs/it.json b/app/appearance/langs/it.json
index f675530f57..0d2a1ccfa8 100644
--- a/app/appearance/langs/it.json
+++ b/app/appearance/langs/it.json
@@ -1,4 +1,6 @@
{
+ "pinWindow": "Mantieni la finestra in primo piano",
+ "unpinWindow": "Non mantenere più la finestra in primo piano",
"settingsWindowMode": "Apri le impostazioni in",
"settingsWindowModeTip": "Si applica alla prossima apertura delle impostazioni; i plugin decidono come aprire le proprie impostazioni",
"settingsWindowInApp": "Finestra principale",
diff --git a/app/appearance/langs/ja.json b/app/appearance/langs/ja.json
index 51375980bd..315af0ccb5 100644
--- a/app/appearance/langs/ja.json
+++ b/app/appearance/langs/ja.json
@@ -1,4 +1,6 @@
{
+ "pinWindow": "ウィンドウを最前面に表示",
+ "unpinWindow": "ウィンドウの最前面表示を解除",
"settingsWindowMode": "設定を開く場所",
"settingsWindowModeTip": "次回設定を開くときに適用されます。プラグインの設定を開く方法は各プラグインが決定します",
"settingsWindowInApp": "メインウィンドウ内",
diff --git a/app/appearance/langs/ko.json b/app/appearance/langs/ko.json
index b96f7792ab..e2c1d15694 100644
--- a/app/appearance/langs/ko.json
+++ b/app/appearance/langs/ko.json
@@ -1,4 +1,6 @@
{
+ "pinWindow": "창을 항상 위에 표시",
+ "unpinWindow": "창의 항상 위 표시 해제",
"settingsWindowMode": "설정을 열 위치",
"settingsWindowModeTip": "다음에 설정을 열 때 적용되며, 플러그인 설정을 여는 방식은 각 플러그인이 결정합니다",
"settingsWindowInApp": "기본 창 내부",
diff --git a/app/appearance/langs/nl.json b/app/appearance/langs/nl.json
index 725b97ec34..47107816a8 100644
--- a/app/appearance/langs/nl.json
+++ b/app/appearance/langs/nl.json
@@ -1,4 +1,6 @@
{
+ "pinWindow": "Venster bovenaan houden",
+ "unpinWindow": "Venster niet meer bovenaan houden",
"settingsWindowMode": "Instellingen openen in",
"settingsWindowModeTip": "Geldt de volgende keer dat instellingen worden geopend; plugins bepalen hoe hun eigen instellingen openen",
"settingsWindowInApp": "Hoofdvenster",
diff --git a/app/appearance/langs/pl.json b/app/appearance/langs/pl.json
index 66e4985f87..7d01b04d59 100644
--- a/app/appearance/langs/pl.json
+++ b/app/appearance/langs/pl.json
@@ -1,4 +1,6 @@
{
+ "pinWindow": "Utrzymuj okno na wierzchu",
+ "unpinWindow": "Nie utrzymuj okna na wierzchu",
"settingsWindowMode": "Otwieraj ustawienia w",
"settingsWindowModeTip": "Obowiązuje przy następnym otwarciu ustawień; wtyczki decydują, jak otwierać własne ustawienia",
"settingsWindowInApp": "Oknie głównym",
diff --git a/app/appearance/langs/pt-BR.json b/app/appearance/langs/pt-BR.json
index 72d1d5116c..a84dcd1c67 100644
--- a/app/appearance/langs/pt-BR.json
+++ b/app/appearance/langs/pt-BR.json
@@ -1,4 +1,6 @@
{
+ "pinWindow": "Manter janela no topo",
+ "unpinWindow": "Deixar de manter janela no topo",
"settingsWindowMode": "Abrir configurações em",
"settingsWindowModeTip": "Aplica-se na próxima abertura das configurações; os plugins determinam como abrir suas próprias configurações",
"settingsWindowInApp": "Janela principal",
diff --git a/app/appearance/langs/ru.json b/app/appearance/langs/ru.json
index 10f81f862b..7e1f4b2393 100644
--- a/app/appearance/langs/ru.json
+++ b/app/appearance/langs/ru.json
@@ -1,4 +1,6 @@
{
+ "pinWindow": "Поверх всех окон",
+ "unpinWindow": "Отменить отображение поверх всех окон",
"settingsWindowMode": "Где открывать настройки",
"settingsWindowModeTip": "Применяется при следующем открытии настроек; плагины определяют способ открытия своих настроек",
"settingsWindowInApp": "В главном окне",
diff --git a/app/appearance/langs/sk.json b/app/appearance/langs/sk.json
index 328f954c79..0bc71f6fa6 100644
--- a/app/appearance/langs/sk.json
+++ b/app/appearance/langs/sk.json
@@ -1,4 +1,6 @@
{
+ "pinWindow": "Ponechať okno navrchu",
+ "unpinWindow": "Zrušiť ponechanie okna navrchu",
"settingsWindowMode": "Otvárať nastavenia v",
"settingsWindowModeTip": "Platí pri ďalšom otvorení nastavení; doplnky určujú spôsob otvorenia svojich vlastných nastavení",
"settingsWindowInApp": "Hlavnom okne",
diff --git a/app/appearance/langs/sr.json b/app/appearance/langs/sr.json
index 960cdd5244..dea9435d06 100644
--- a/app/appearance/langs/sr.json
+++ b/app/appearance/langs/sr.json
@@ -1,4 +1,6 @@
{
+ "pinWindow": "Држи прозор на врху",
+ "unpinWindow": "Престани да држиш прозор на врху",
"settingsWindowMode": "Место отварања подешавања",
"settingsWindowModeTip": "Примењује се при следећем отварању подешавања; додаци одређују како се отварају њихова подешавања",
"settingsWindowInApp": "Главни прозор",
diff --git a/app/appearance/langs/th.json b/app/appearance/langs/th.json
index e8211d137e..d9f891d079 100644
--- a/app/appearance/langs/th.json
+++ b/app/appearance/langs/th.json
@@ -1,4 +1,6 @@
{
+ "pinWindow": "ให้หน้าต่างอยู่ด้านบนเสมอ",
+ "unpinWindow": "ยกเลิกให้หน้าต่างอยู่ด้านบนเสมอ",
"settingsWindowMode": "ตำแหน่งเปิดการตั้งค่า",
"settingsWindowModeTip": "มีผลเมื่อเปิดการตั้งค่าครั้งถัดไป ส่วนปลั๊กอินจะกำหนดวิธีเปิดการตั้งค่าของตนเอง",
"settingsWindowInApp": "ในหน้าต่างหลัก",
diff --git a/app/appearance/langs/tr.json b/app/appearance/langs/tr.json
index 6f8f663844..cd2a70d008 100644
--- a/app/appearance/langs/tr.json
+++ b/app/appearance/langs/tr.json
@@ -1,4 +1,6 @@
{
+ "pinWindow": "Pencereyi her zaman üstte tut",
+ "unpinWindow": "Pencereyi her zaman üstte tutmayı bırak",
"settingsWindowMode": "Ayarların açılacağı yer",
"settingsWindowModeTip": "Ayarlar bir sonraki açılışta uygulanır; eklentiler kendi ayarlarının nasıl açılacağını belirler",
"settingsWindowInApp": "Ana pencere",
diff --git a/app/appearance/langs/uk.json b/app/appearance/langs/uk.json
index 0ca3e72329..fb18b8f193 100644
--- a/app/appearance/langs/uk.json
+++ b/app/appearance/langs/uk.json
@@ -1,4 +1,6 @@
{
+ "pinWindow": "Показувати вікно поверх інших",
+ "unpinWindow": "Не показувати вікно поверх інших",
"settingsWindowMode": "Де відкривати налаштування",
"settingsWindowModeTip": "Застосовується під час наступного відкриття налаштувань; плагіни визначають спосіб відкриття власних налаштувань",
"settingsWindowInApp": "У головному вікні",
diff --git a/app/appearance/langs/zh-CN.json b/app/appearance/langs/zh-CN.json
index bb13bae6a4..f256ce64c1 100644
--- a/app/appearance/langs/zh-CN.json
+++ b/app/appearance/langs/zh-CN.json
@@ -1,4 +1,6 @@
{
+ "pinWindow": "置顶窗口",
+ "unpinWindow": "取消置顶窗口",
"settingsWindowMode": "打开设置位置",
"settingsWindowModeTip": "下次打开设置时生效,插件设置的打开方式由插件决定",
"settingsWindowInApp": "主窗口内",
diff --git a/app/appearance/langs/zh-TW.json b/app/appearance/langs/zh-TW.json
index e2f4c474a2..c2201a4d75 100644
--- a/app/appearance/langs/zh-TW.json
+++ b/app/appearance/langs/zh-TW.json
@@ -1,4 +1,6 @@
{
+ "pinWindow": "置頂視窗",
+ "unpinWindow": "取消置頂視窗",
"settingsWindowMode": "開啟設定位置",
"settingsWindowModeTip": "下次開啟設定時生效,外掛程式設定的開啟方式由外掛程式決定",
"settingsWindowInApp": "主視窗內",
diff --git a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100906-0u4zfq3.sy b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100906-0u4zfq3.sy
index 07719b95a4..8cef74f72e 100644
--- a/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100906-0u4zfq3.sy
+++ b/app/guide/20210808180117-6v0mkxr/20200923234011-ieuun1p/20210808180303-xaduj2o/20200924100906-0u4zfq3.sy
@@ -6,7 +6,7 @@
"id": "20200924100906-0u4zfq3",
"title": "Window and Tab",
"type": "doc",
- "updated": "20260930220342"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -44,7 +44,7 @@
"HeadingLevel": 2,
"Properties": {
"id": "20260809170000-fdf0e30",
- "updated": "20260925230000"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -785,7 +785,7 @@
"HeadingLevel": 3,
"Properties": {
"id": "20260922155242-zq7j067",
- "updated": "20260925230000"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -799,7 +799,7 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20260922155242-he816jm",
- "updated": "20260925230000"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -808,7 +808,7 @@
},
{
"Type": "NodeText",
- "Data": " Click the layout button again to close the naming dialog. The visibility and order of the layout and pin buttons can be configured in "
+ "Data": " Click the layout button again to close the naming dialog. The visibility and order of the layout and \"Keep window on top\" buttons can be configured in "
},
{
"Type": "NodeTextMark",
@@ -853,7 +853,7 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20260922155242-py20wzf",
- "updated": "20260923114823"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -867,7 +867,7 @@
},
{
"Type": "NodeText",
- "Data": " beside the pin button, enter a name, and save. Changes to tabs, splits, document reading positions, and PDF pages are then saved automatically."
+ "Data": " beside the \"Keep window on top\" button, enter a name, and save. Changes to tabs, splits, document reading positions, and PDF pages are then saved automatically."
}
]
},
@@ -908,7 +908,7 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20260922155242-ikklk4b",
- "updated": "20260923114823"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -985,7 +985,7 @@
},
{
"Type": "NodeText",
- "Data": " to save the current main window into that entry. New window layouts save automatically. Both types show the latest save time at the bottom of the submenu. You can also rename a new window layout using the layout icon beside the pin button. Rename dialogs are titled "
+ "Data": " to save the current main window into that entry. New window layouts save automatically. Both types show the latest save time at the bottom of the submenu. You can also rename a new window layout using the layout icon beside the \"Keep window on top\" button. Rename dialogs are titled "
},
{
"Type": "NodeTextMark",
diff --git a/app/guide/20210808180117-6v0mkxr/20230429115711-ejbts4s.sy b/app/guide/20210808180117-6v0mkxr/20230429115711-ejbts4s.sy
index 7f7a36b0c7..36d2c73a55 100644
--- a/app/guide/20210808180117-6v0mkxr/20230429115711-ejbts4s.sy
+++ b/app/guide/20210808180117-6v0mkxr/20230429115711-ejbts4s.sy
@@ -7,7 +7,7 @@
"id": "20230429115711-ejbts4s",
"title": "Glossary",
"type": "doc",
- "updated": "20260809232000"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -824,7 +824,7 @@
"HeadingLevel": 2,
"Properties": {
"id": "20230429120050-5xk88t9",
- "updated": "20230429120054"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -1042,7 +1042,7 @@
"HeadingLevel": 3,
"Properties": {
"id": "20230429120050-mgddw1u",
- "updated": "20230429120134"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -1070,12 +1070,12 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20230429120050-zo5u4jx",
- "updated": "20230429120050"
+ "updated": "20260930224728"
},
"Children": [
{
"Type": "NodeText",
- "Data": "By pinning the window, the window can also be placed on top of all applications so that the user can make better use of the limited screen space."
+ "Data": "By keeping the window on top, the window can also be placed on top of all applications so that the user can make better use of the limited screen space."
}
]
},
diff --git a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200822191536-rm6hwid.sy b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200822191536-rm6hwid.sy
index 72300deb17..4f340bcb70 100644
--- a/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200822191536-rm6hwid.sy
+++ b/app/guide/20210808180117-czj9bvb/20200812220555-lj3enxa/20210808180321-hbvl5c2/20200822191536-rm6hwid.sy
@@ -6,7 +6,7 @@
"id": "20200822191536-rm6hwid",
"title": "窗口和页签",
"type": "doc",
- "updated": "20260930220342"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -44,7 +44,7 @@
"HeadingLevel": 2,
"Properties": {
"id": "20260809170000-d150748",
- "updated": "20260925230000"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -789,7 +789,7 @@
"HeadingLevel": 3,
"Properties": {
"id": "20260922155242-z5t2n3l",
- "updated": "20260925230000"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -803,7 +803,7 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20260922155242-5nc0zym",
- "updated": "20260925230000"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -848,7 +848,7 @@
},
{
"Type": "NodeText",
- "Data": " 中配置布局按钮和置顶按钮的显隐与排序。"
+ "Data": " 中配置布局按钮和置顶窗口按钮的显隐与排序。"
}
]
},
@@ -857,12 +857,12 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20260922155242-h17mu6r",
- "updated": "20260923114823"
+ "updated": "20260930224728"
},
"Children": [
{
"Type": "NodeText",
- "Data": "创建:在新窗口中安排好页签,点击钉住按钮旁的 "
+ "Data": "创建:在新窗口中安排好页签,点击置顶窗口按钮旁的 "
},
{
"Type": "NodeTextMark",
@@ -912,7 +912,7 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20260922155242-sujwuib",
- "updated": "20260923114823"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -989,7 +989,7 @@
},
{
"Type": "NodeText",
- "Data": ",可将当前主窗口保存到该条目;新窗口布局会自动保存。两类布局的子菜单末尾均显示最近保存时间。也可点击钉住按钮旁的布局图标重命名新窗口布局。重命名弹窗分别以 "
+ "Data": ",可将当前主窗口保存到该条目;新窗口布局会自动保存。两类布局的子菜单末尾均显示最近保存时间。也可点击置顶窗口按钮旁的布局图标重命名新窗口布局。重命名弹窗分别以 "
},
{
"Type": "NodeTextMark",
diff --git a/app/guide/20210808180117-czj9bvb/20230429114837-70asb4j.sy b/app/guide/20210808180117-czj9bvb/20230429114837-70asb4j.sy
index 9829570261..5c566980f1 100644
--- a/app/guide/20210808180117-czj9bvb/20230429114837-70asb4j.sy
+++ b/app/guide/20210808180117-czj9bvb/20230429114837-70asb4j.sy
@@ -7,7 +7,7 @@
"id": "20230429114837-70asb4j",
"title": "术语表",
"type": "doc",
- "updated": "20260809232000"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -874,7 +874,7 @@
"HeadingLevel": 2,
"Properties": {
"id": "20230429114837-j6668qw",
- "updated": "20230428210748"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -1092,7 +1092,7 @@
"HeadingLevel": 3,
"Properties": {
"id": "20230429114837-1fw1u07",
- "updated": "20230428210813"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -1120,12 +1120,12 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20230429114837-idbctyn",
- "updated": "20230429101947"
+ "updated": "20260930224728"
},
"Children": [
{
"Type": "NodeText",
- "Data": "通过钉住窗口还可以实现该窗口位于所有应用程序之上,以便用户更好的利用有限的屏幕空间。"
+ "Data": "通过置顶窗口还可以实现该窗口位于所有应用程序之上,以便用户更好的利用有限的屏幕空间。"
}
]
},
diff --git a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226123216-tlxw66f.sy b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226123216-tlxw66f.sy
index 3b961fa81d..0973d44f79 100644
--- a/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226123216-tlxw66f.sy
+++ b/app/guide/20211226090932-5lcq56f/20211226115423-d5z1joq/20211226121203-rjjngpz/20211226123216-tlxw66f.sy
@@ -6,7 +6,7 @@
"id": "20211226123216-tlxw66f",
"title": "視窗和分頁",
"type": "doc",
- "updated": "20260930220342"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -44,7 +44,7 @@
"HeadingLevel": 2,
"Properties": {
"id": "20260809170000-3a8f750",
- "updated": "20260925230000"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -789,7 +789,7 @@
"HeadingLevel": 3,
"Properties": {
"id": "20260922155242-cvaq88b",
- "updated": "20260925230000"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -803,7 +803,7 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20260922155242-4dgh9o5",
- "updated": "20260925230000"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -848,7 +848,7 @@
},
{
"Type": "NodeText",
- "Data": " 中設定版面配置按鈕和置頂按鈕的顯示與排序。"
+ "Data": " 中設定版面配置按鈕和置頂視窗按鈕的顯示與排序。"
}
]
},
@@ -857,12 +857,12 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20260922155242-ez4wspy",
- "updated": "20260923114823"
+ "updated": "20260930224728"
},
"Children": [
{
"Type": "NodeText",
- "Data": "建立:在新視窗中安排好分頁,點擊釘選按鈕旁的 "
+ "Data": "建立:在新視窗中安排好分頁,點擊置頂視窗按鈕旁的 "
},
{
"Type": "NodeTextMark",
@@ -912,7 +912,7 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20260922155242-j375giy",
- "updated": "20260923114823"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -989,7 +989,7 @@
},
{
"Type": "NodeText",
- "Data": ",可將目前的主視窗儲存至該項目;新視窗版面配置會自動儲存。兩類版面配置的子選單末尾均顯示最近儲存時間。也可點擊釘選按鈕旁的版面配置圖示重新命名新視窗版面配置。重新命名對話方塊分別以 "
+ "Data": ",可將目前的主視窗儲存至該項目;新視窗版面配置會自動儲存。兩類版面配置的子選單末尾均顯示最近儲存時間。也可點擊置頂視窗按鈕旁的版面配置圖示重新命名新視窗版面配置。重新命名對話方塊分別以 "
},
{
"Type": "NodeTextMark",
diff --git a/app/guide/20211226090932-5lcq56f/20230429115206-ob8nl8t.sy b/app/guide/20211226090932-5lcq56f/20230429115206-ob8nl8t.sy
index b63c7a719f..cb92fdf627 100644
--- a/app/guide/20211226090932-5lcq56f/20230429115206-ob8nl8t.sy
+++ b/app/guide/20211226090932-5lcq56f/20230429115206-ob8nl8t.sy
@@ -7,7 +7,7 @@
"id": "20230429115206-ob8nl8t",
"title": "術語表",
"type": "doc",
- "updated": "20260809232000"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -824,7 +824,7 @@
"HeadingLevel": 2,
"Properties": {
"id": "20230429115527-imhpeay",
- "updated": "20230429115527"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -1042,7 +1042,7 @@
"HeadingLevel": 3,
"Properties": {
"id": "20230429115527-fa5g1fg",
- "updated": "20230429115527"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -1070,12 +1070,12 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20230429115527-aflpo8c",
- "updated": "20230429115527"
+ "updated": "20260930224728"
},
"Children": [
{
"Type": "NodeText",
- "Data": "通過釘住窗口還可以實現該窗口位於所有應用程序之上,以便用戶更好的利用有限的螢幕空間。"
+ "Data": "透過置頂視窗還可以讓該視窗位於所有應用程式之上,以便使用者更有效地利用有限的螢幕空間。"
}
]
},
diff --git a/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-g3ugxml/20240530101000-7yv4y5z.sy b/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-g3ugxml/20240530101000-7yv4y5z.sy
index 2cf63b1e12..68d9ba496d 100644
--- a/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-g3ugxml/20240530101000-7yv4y5z.sy
+++ b/app/guide/20240530133126-axarxgx/20240530101000-4qitucx/20240530101000-g3ugxml/20240530101000-7yv4y5z.sy
@@ -7,7 +7,7 @@
"id": "20240530101000-7yv4y5z",
"title": "ウィンドウとタブ",
"type": "doc",
- "updated": "20260930220342"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -45,7 +45,7 @@
"HeadingLevel": 2,
"Properties": {
"id": "20260809170000-5b80d49",
- "updated": "20260925230000"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -794,7 +794,7 @@
"HeadingLevel": 3,
"Properties": {
"id": "20260922155242-vua2yiz",
- "updated": "20260925230000"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -808,7 +808,7 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20260922155242-d7ab3nk",
- "updated": "20260925230000"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -853,7 +853,7 @@
},
{
"Type": "NodeText",
- "Data": " でレイアウトボタンと最前面表示ボタンの表示・非表示と順序を設定できます。"
+ "Data": " でレイアウトボタンと「ウィンドウを最前面に表示」ボタンの表示・非表示と順序を設定できます。"
}
]
},
@@ -862,12 +862,12 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20260922155242-30pjomk",
- "updated": "20260923114823"
+ "updated": "20260930224728"
},
"Children": [
{
"Type": "NodeText",
- "Data": "作成:新しいウィンドウでタブを配置し、ピン留めボタンの横にある "
+ "Data": "作成:新しいウィンドウでタブを配置し、「ウィンドウを最前面に表示」ボタンの横にある "
},
{
"Type": "NodeTextMark",
@@ -917,7 +917,7 @@
"Type": "NodeParagraph",
"Properties": {
"id": "20260922155242-hc8rau9",
- "updated": "20260923114823"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -994,7 +994,7 @@
},
{
"Type": "NodeText",
- "Data": " があり、前者は選択したレイアウトを読み込み、後者は現在のメインウィンドウをその項目に保存します。新しいウィンドウのレイアウトは自動的に保存されます。どちらもサブメニューの末尾に最終保存日時が表示されます。ピン留めボタンの横にあるレイアウトアイコンからも名前を変更できます。名前変更ダイアログのタイトルはそれぞれ "
+ "Data": " があり、前者は選択したレイアウトを読み込み、後者は現在のメインウィンドウをその項目に保存します。新しいウィンドウのレイアウトは自動的に保存されます。どちらもサブメニューの末尾に最終保存日時が表示されます。「ウィンドウを最前面に表示」ボタンの横にあるレイアウトアイコンからも名前を変更できます。名前変更ダイアログのタイトルはそれぞれ "
},
{
"Type": "NodeTextMark",
diff --git a/app/guide/20240530133126-axarxgx/20240530101000-mpln2lp.sy b/app/guide/20240530133126-axarxgx/20240530101000-mpln2lp.sy
index c064b503c2..958fdd0699 100644
--- a/app/guide/20240530133126-axarxgx/20240530101000-mpln2lp.sy
+++ b/app/guide/20240530133126-axarxgx/20240530101000-mpln2lp.sy
@@ -8,7 +8,7 @@
"id": "20240530101000-mpln2lp",
"title": "用語集",
"type": "doc",
- "updated": "20260809232000"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -1124,7 +1124,7 @@
"Properties": {
"ID": "20240530101000-3p714h4",
"id": "20240530101000-cuzmq47",
- "updated": "20240530101000"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -1357,7 +1357,7 @@
"Properties": {
"ID": "20240530101000-ilqxitl",
"id": "20240530101000-uodm275",
- "updated": "20240530101000"
+ "updated": "20260930224728"
},
"Children": [
{
@@ -1396,12 +1396,12 @@
"Properties": {
"ID": "20240530101000-38efo4p",
"id": "20240530101000-sjijinn",
- "updated": "20240530101000"
+ "updated": "20260930224728"
},
"Children": [
{
"Type": "NodeText",
- "Data": "独立したウィンドウはメニューバーのピンアイコンから最前面配置の切り替えができます。"
+ "Data": "独立したウィンドウでは「ウィンドウを最前面に表示」ボタンで最前面表示を有効にし、「ウィンドウの最前面表示を解除」で解除できます。"
}
]
},
diff --git a/app/src/boot/onGetConfig.ts b/app/src/boot/onGetConfig.ts
index 1bf9636d0b..b1ea83ff76 100644
--- a/app/src/boot/onGetConfig.ts
+++ b/app/src/boot/onGetConfig.ts
@@ -349,7 +349,7 @@ ${response.data.replace("%pages", "<span class=totalPages></span>").replace("%pa
});
document.body.insertAdjacentHTML("beforeend", `<div class="toolbar__window">
<div class="toolbar__window-drag"></div>
-<div class="toolbar__item ariaLabel" data-window-topbar-entry="pinWindow" aria-label="${window.siyuan.languages[isAlwaysOnTop ? "unpin" : "pin"]}" id="pinWindow">
+<div class="toolbar__item ariaLabel" data-window-topbar-entry="pinWindow" aria-label="${window.siyuan.languages[isAlwaysOnTop ? "unpinWindow" : "pinWindow"]}" id="pinWindow">
<svg>
<use xlink:href="#icon${isAlwaysOnTop ? "Unpin" : "Pin"}"></use>
</svg>
@@ -357,13 +357,13 @@ ${response.data.replace("%pages", "<span class=totalPages></span>").replace("%pa
const pinElement = document.getElementById("pinWindow");
void import("../window/workspace").then(({initWindowWorkspace}) => initWindowWorkspace());
pinElement.addEventListener("click", () => {
- if (pinElement.getAttribute("aria-label") === window.siyuan.languages.pin) {
+ if (pinElement.getAttribute("aria-label") === window.siyuan.languages.pinWindow) {
pinElement.querySelector("use").setAttribute("xlink:href", "#iconUnpin");
- pinElement.setAttribute("aria-label", window.siyuan.languages.unpin);
+ pinElement.setAttribute("aria-label", window.siyuan.languages.unpinWindow);
ipcRenderer.send(Constants.SIYUAN_CMD, "setAlwaysOnTopTrue");
} else {
pinElement.querySelector("use").setAttribute("xlink:href", "#iconPin");
- pinElement.setAttribute("aria-label", window.siyuan.languages.pin);
+ pinElement.setAttribute("aria-label", window.siyuan.languages.pinWindow);
ipcRenderer.send(Constants.SIYUAN_CMD, "setAlwaysOnTopFalse");
}
});
diff --git a/app/src/config/entryVisibility/catalog.ts b/app/src/config/entryVisibility/catalog.ts
index a93b7c91e8..f33895783c 100644
--- a/app/src/config/entryVisibility/catalog.ts
+++ b/app/src/config/entryVisibility/catalog.ts
@@ -710,7 +710,7 @@ export const entryCatalog: IEntryCatalogSection[] = [
label: lang("entryWindowTopBar"),
children: [
node("windowWorkspace", lang("layout")),
- node("pinWindow", lang("pin")),
+ node("pinWindow", lang("pinWindow")),
],
},
statusBarCatalogSection,
diff --git a/app/src/config/entryVisibility/windowTopBar.test.ts b/app/src/config/entryVisibility/windowTopBar.test.ts
index f28c926b57..40051e790b 100644
--- a/app/src/config/entryVisibility/windowTopBar.test.ts
+++ b/app/src/config/entryVisibility/windowTopBar.test.ts
@@ -21,6 +21,19 @@ test("新窗口顶栏目录与按钮一致,旧配置和内置方案默认显
assert.match(readFileSync("src/window/workspace.ts", "utf8"), /dataset.windowTopbarEntry = "windowWorkspace"/);
assert.match(readFileSync("src/boot/onGetConfig.ts", "utf8"), /data-window-topbar-entry="pinWindow"/);
assert.deepEqual(order.resolveEntryOrder(keys, ["pinWindow"], new Set()), ["windowWorkspace", "pinWindow"]);
+ const originalWindow = Object.getOwnPropertyDescriptor(globalThis, "window");
+ Object.defineProperty(globalThis, "window", {configurable: true, value: {
+ siyuan: {languages: {pin: "Pin", pinWindow: "Keep window on top"}},
+ }});
+ try {
+ assert.equal(nodes.find(node => node.key === "pinWindow").label(), "Keep window on top");
+ } finally {
+ if (originalWindow) {
+ Object.defineProperty(globalThis, "window", originalWindow);
+ } else {
+ Reflect.deleteProperty(globalThis, "window");
+ }
+ }
});
const compiled = transpileModule(readFileSync("src/config/entryVisibility/runtime.ts", "utf8")