mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
🎨 Improve av https://github.com/siyuan-note/siyuan/issues/15532
This commit is contained in:
parent
e871f4913f
commit
1479cb6c00
16 changed files with 33 additions and 15 deletions
|
@ -1644,6 +1644,7 @@
|
|||
"263": "التالي %d أيام",
|
||||
"264": "الحقل [%s] فارغ",
|
||||
"265": "خارج النطاق",
|
||||
"266": "Tesseract OCR غير مثبت أو غير مهيأ، يرجى الرجوع إلى دليل المستخدم - قسم ملفات الموارد لإجراء الإعداد"
|
||||
"266": "Tesseract OCR غير مثبت أو غير مهيأ، يرجى الرجوع إلى دليل المستخدم - قسم ملفات الموارد لإجراء الإعداد",
|
||||
"267": "قاعدة بيانات غير مسماة"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1644,6 +1644,7 @@
|
|||
"263": "Nächste %d Tage",
|
||||
"264": "Das Feld [%s] ist leer",
|
||||
"265": "Außerhalb des Bereichs",
|
||||
"266": "Tesseract OCR ist nicht installiert oder konfiguriert, bitte lesen Sie das Benutzerhandbuch - Abschnitt Ressourcen-Dateien zur Konfiguration"
|
||||
"266": "Tesseract OCR ist nicht installiert oder konfiguriert, bitte lesen Sie das Benutzerhandbuch - Abschnitt Ressourcen-Dateien zur Konfiguration",
|
||||
"267": "Unbenannte Datenbank"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1644,6 +1644,7 @@
|
|||
"263": "Next %d days",
|
||||
"264": "Field [%s] is empty",
|
||||
"265": "Out of range",
|
||||
"266": "Tesseract OCR is not installed or configured, please refer to the User Guide - Assets section for configuration"
|
||||
"266": "Tesseract OCR is not installed or configured, please refer to the User Guide - Assets section for configuration",
|
||||
"267": "Unnamed database"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1644,6 +1644,7 @@
|
|||
"263": "Próximos %d días",
|
||||
"264": "El campo [%s] está vacío",
|
||||
"265": "Fuera de rango",
|
||||
"266": "Tesseract OCR no está instalado o configurado, consulte la Guía del Usuario - Sección de archivos de recursos para la configuración"
|
||||
"266": "Tesseract OCR no está instalado o configurado, consulte la Guía del Usuario - Sección de archivos de recursos para la configuración",
|
||||
"267": "Base de datos sin nombre"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1644,6 +1644,7 @@
|
|||
"263": "Les %d prochains jours",
|
||||
"264": "Le champ [%s] est vide",
|
||||
"265": "Hors de portée",
|
||||
"266": "Tesseract OCR n'est pas installé ou configuré, veuillez consulter le Guide de l'utilisateur - Section des fichiers de ressources pour la configuration"
|
||||
"266": "Tesseract OCR n'est pas installé ou configuré, veuillez consulter le Guide de l'utilisateur - Section des fichiers de ressources pour la configuration",
|
||||
"267": "Base de données sans nom"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1644,6 +1644,7 @@
|
|||
"263": "ה-%d ימים הבאים",
|
||||
"264": "השדה [%s] ריק",
|
||||
"265": "מחוץ לטווח",
|
||||
"266": "Tesseract OCR לא הותקן או הוגדר, אנא עיין במדריך למשתמש - פרק קבצי משאבים לצורך הגדרה"
|
||||
"266": "Tesseract OCR לא הותקן או הוגדר, אנא עיין במדריך למשתמש - פרק קבצי משאבים לצורך הגדרה",
|
||||
"267": "מסד נתונים ללא שם"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1644,6 +1644,7 @@
|
|||
"263": "Prossimi %d giorni",
|
||||
"264": "Il campo [%s] è vuoto",
|
||||
"265": "Fuori intervallo",
|
||||
"266": "Tesseract OCR non è installato o configurato, fare riferimento alla Guida utente - Sezione file di risorse per la configurazione"
|
||||
"266": "Tesseract OCR non è installato o configurato, fare riferimento alla Guida utente - Sezione file di risorse per la configurazione",
|
||||
"267": "Database senza nome"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1644,6 +1644,7 @@
|
|||
"263": "次の %d 日間",
|
||||
"264": "フィールド [%s] が空です",
|
||||
"265": "範囲外",
|
||||
"266": "Tesseract OCR がインストールされていないか、設定されていません。ユーザーガイド - リソースファイルセクションを参照して設定してください"
|
||||
"266": "Tesseract OCR がインストールされていないか、設定されていません。ユーザーガイド - リソースファイルセクションを参照して設定してください",
|
||||
"267": "未命名のデータベース"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1644,6 +1644,7 @@
|
|||
"263": "Następne %d dni",
|
||||
"264": "Pole [%s] jest puste",
|
||||
"265": "Poza zakresem",
|
||||
"266": "Tesseract OCR nie jest zainstalowany lub skonfigurowany, zapoznaj się z Podręcznikiem użytkownika - Sekcja plików zasobów, aby skonfigurować"
|
||||
"266": "Tesseract OCR nie jest zainstalowany lub skonfigurowany, zapoznaj się z Podręcznikiem użytkownika - Sekcja plików zasobów, aby skonfigurować",
|
||||
"267": "Nienazwana baza danych"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1644,6 +1644,7 @@
|
|||
"263": "Próximos %d dias",
|
||||
"264": "O campo [%s] está vazio",
|
||||
"265": "Fora do intervalo",
|
||||
"266": "Tesseract OCR não está instalado ou configurado, consulte o Guia do Usuário - Seção de Arquivos de Recursos para configuração"
|
||||
"266": "Tesseract OCR não está instalado ou configurado, consulte o Guia do Usuário - Seção de Arquivos de Recursos para configuração",
|
||||
"267": "Banco de dados sem nome"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1644,6 +1644,7 @@
|
|||
"263": "Следующие %d дней",
|
||||
"264": "Поле [%s] пусто",
|
||||
"265": "Вне диапазона",
|
||||
"266": "Tesseract OCR не установлен или не настроен, пожалуйста, обратитесь к Руководству пользователя - Раздел ресурсов для настройки"
|
||||
"266": "Tesseract OCR не установлен или не настроен, пожалуйста, обратитесь к Руководству пользователя - Раздел ресурсов для настройки",
|
||||
"267": "База данных не названа"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1644,6 +1644,7 @@
|
|||
"263": "未來 %d 天",
|
||||
"264": "字段 [%s] 為空",
|
||||
"265": "不在範圍內",
|
||||
"266": "Tesseract OCR 未安裝或未配置,請參考 用戶指南-資料文件 章節進行配置"
|
||||
"266": "Tesseract OCR 未安裝或未配置,請參考 用戶指南-資料文件 章節進行配置",
|
||||
"267": "未命名資料庫"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1644,6 +1644,7 @@
|
|||
"263": "未来 %d 天",
|
||||
"264": "字段 [%s] 为空",
|
||||
"265": "不在范围内",
|
||||
"266": "Tesseract OCR 未安装或未配置,请参考 用户指南-资源文件 章节进行配置"
|
||||
"266": "Tesseract OCR 未安装或未配置,请参考 用户指南-资源文件 章节进行配置",
|
||||
"267": "未命名数据库"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ const genSearchList = (element: Element, keyword: string, avId?: string, exclude
|
|||
html += `<div class="b3-list-item b3-list-item--narrow${index === 0 ? " b3-list-item--focus" : ""}" data-av-id="${item.avID}" data-block-id="${item.blockID}">
|
||||
<div class="b3-list-item--two fn__flex-1">
|
||||
<div class="b3-list-item__first">
|
||||
<span class="b3-list-item__text">${escapeHtml(item.avName || window.siyuan.languages.title)}</span>
|
||||
<span class="b3-list-item__text">${escapeHtml(item.avName || window.siyuan.languages._kernel[267])}</span>
|
||||
</div>
|
||||
<div class="b3-list-item__meta b3-list-item__showall">${escapeGreat(item.hPath)}</div>
|
||||
</div>
|
||||
|
|
|
@ -105,7 +105,7 @@ export const genTabHeaderHTML = (data: IAV, showSearch: boolean, editable: boole
|
|||
${data.isMirror ? ` <span data-av-id="${data.id}" data-popover-url="/api/av/getMirrorDatabaseBlocks" class="popover__block block__icon block__icon--show ariaLabel" data-position="8south" aria-label="${window.siyuan.languages.mirrorTip}">
|
||||
<svg><use xlink:href="#iconSplitLR"></use></svg></span><div class="fn__space"></div>` : ""}
|
||||
</div>
|
||||
<div contenteditable="${editable}" spellcheck="${window.siyuan.config.editor.spellcheck.toString()}" class="av__title${viewData.hideAttrViewName ? " fn__none" : ""}" data-title="${data.name || ""}" data-tip="${window.siyuan.languages.title}">${data.name || ""}</div>
|
||||
<div contenteditable="${editable}" spellcheck="${window.siyuan.config.editor.spellcheck.toString()}" class="av__title${viewData.hideAttrViewName ? " fn__none" : ""}" data-title="${data.name || ""}" data-tip="${window.siyuan.languages._kernel[267]}">${data.name || ""}</div>
|
||||
<div class="av__counter fn__none"></div>
|
||||
</div>`;
|
||||
};
|
||||
|
|
|
@ -1280,6 +1280,11 @@ func buildSearchAttributeViewResult(avSearchTempResults []*AvSearchTempResult, b
|
|||
hPath = box.Name + hPath
|
||||
}
|
||||
|
||||
name := existAv.AvName
|
||||
if "" == name {
|
||||
name = Conf.language(267)
|
||||
}
|
||||
|
||||
if !gulu.Str.Contains(avID, excludeAvIDs) {
|
||||
ret = &AvSearchResult{
|
||||
AvID: avID,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue