Skip to content

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

:art: Add a placeholder to the Add to Database search input https://github.com/siyuan-note/siyuan/issues/19519

Danielb5389a391d06
diff --git a/app/src/protyle/render/av/relation.ts b/app/src/protyle/render/av/relation.ts
index 2960336f54..08159d9629 100644
--- a/app/src/protyle/render/av/relation.ts
+++ b/app/src/protyle/render/av/relation.ts
@@ -120,7 +120,7 @@ export const openSearchAV = (options: IOpenSearchAVOptions) => {
iconHTML: "",
type: "empty",
label: `<div class="fn__flex-column b3-menu__filter"${isMobile() ? "" : ' style="width: 50vw"'} >
- <input class="b3-text-field fn__flex-shrink"/>
+ <input class="b3-text-field fn__flex-shrink" placeholder="${window.siyuan.languages.searchPlaceholder}"/>
<div class="fn__hr"></div>
<div class="b3-list fn__flex-1 b3-list--background">
${SEARCH_AV_LOADING_HTML}