Skip to content

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

:memo: fix https://github.com/siyuan-note/siyuan/issues/8781

Vanessa959d6d0145ee
diff --git a/app/appearance/langs/en_US.json b/app/appearance/langs/en_US.json
index 1cfb4fe828..1536b10d3f 100644
--- a/app/appearance/langs/en_US.json
+++ b/app/appearance/langs/en_US.json
@@ -470,6 +470,7 @@
"recentEmoji": "Common Emoticons",
"andSubFile": "and its <b>x</b> subdocs",
"changeIcon": "Change icon",
+ "randomIcon": "Random icon",
"includeSubFile": "\nInclude x subdocs",
"untitled": "Untitled",
"lockScreen": "Lock Screen",
diff --git a/app/appearance/langs/es_ES.json b/app/appearance/langs/es_ES.json
index 098231fc19..414b56ecdb 100644
--- a/app/appearance/langs/es_ES.json
+++ b/app/appearance/langs/es_ES.json
@@ -470,6 +470,7 @@
"recentEmoji": "Emoticonos comunes",
"andSubFile": "y sus <b>x</b> documentos secundarios",
"changeIcon": "Cambiar el icono",
+ "randomIcon": "Icono aleatorio",
"includeSubFile": "\nIncluir x documentos secundarios",
"untitled": "Sin título",
"lockScreen": "Pantalla de bloqueo",
diff --git a/app/appearance/langs/fr_FR.json b/app/appearance/langs/fr_FR.json
index f1bd1bb992..8a1246be35 100644
--- a/app/appearance/langs/fr_FR.json
+++ b/app/appearance/langs/fr_FR.json
@@ -470,6 +470,7 @@
"recentEmoji": "Emoticônes courantes",
"andSubFile": "et son <b>x</b> sous-documents",
"changeIcon": "Changer l'icône",
+ "randomIcon": "Icône aléatoire",
"includeSubFile": "\nInclure x sous-documents",
"untitled": "Sans titre",
"lockScreen": "Verrouiller Écran",
diff --git a/app/appearance/langs/zh_CHT.json b/app/appearance/langs/zh_CHT.json
index 1ac17f26af..c6ca01e369 100644
--- a/app/appearance/langs/zh_CHT.json
+++ b/app/appearance/langs/zh_CHT.json
@@ -470,6 +470,7 @@
"recentEmoji": "常用表情",
"andSubFile": "及其 <b>x</b> 個子文檔",
"changeIcon": "修改圖示",
+ "randomIcon": "隨機圖標",
"includeSubFile": "\n包含 x 個子文檔",
"untitled": "新文檔",
"lockScreen": "鎖定畫面",
diff --git a/app/appearance/langs/zh_CN.json b/app/appearance/langs/zh_CN.json
index 29a972c168..df935fb11a 100644
--- a/app/appearance/langs/zh_CN.json
+++ b/app/appearance/langs/zh_CN.json
@@ -470,6 +470,7 @@
"recentEmoji": "常用表情",
"andSubFile": "及其 <b>x</b> 个子文档",
"changeIcon": "修改图标",
+ "randomIcon": "随机图标",
"includeSubFile": "\n包含 x 个子文档",
"untitled": "新文档",
"lockScreen": "锁屏",
diff --git a/app/src/protyle/header/Background.ts b/app/src/protyle/header/Background.ts
index df78474ea4..ef7c696517 100644
--- a/app/src/protyle/header/Background.ts
+++ b/app/src/protyle/header/Background.ts
@@ -45,7 +45,7 @@ export class Background {
<div class="protyle-background__icon" data-menu="true" data-type="open-emoji"></div>
<div class="protyle-icons fn__flex-center">
<span class="protyle-icon protyle-icon--first b3-tooltips b3-tooltips__s" data-menu="true" data-type="tag" aria-label="${window.siyuan.languages.addTag}"><svg><use xlink:href="#iconTags"></use></svg></span>
- <span class="protyle-icon b3-tooltips b3-tooltips__s" data-type="icon" aria-label="${window.siyuan.languages.changeIcon}"><svg><use xlink:href="#iconEmoji"></use></svg></span>
+ <span class="protyle-icon b3-tooltips b3-tooltips__s" data-type="icon" aria-label="${window.siyuan.languages.randomIcon}"><svg><use xlink:href="#iconEmoji"></use></svg></span>
<span class="protyle-icon protyle-icon--last b3-tooltips b3-tooltips__s" data-type="random" aria-label="${window.siyuan.languages.titleBg}"><svg><use xlink:href="#iconImage"></use></svg></span>
</div>
</div>`;