🎨 Database supports setting display field icons https://github.com/siyuan-note/siyuan/issues/15089

This commit is contained in:
Daniel 2025-06-30 14:42:23 +08:00
parent 3f6418bf49
commit 921cddd2fa
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
14 changed files with 27 additions and 14 deletions

View file

@ -11,7 +11,8 @@
"medium": "متوسط",
"small": "صغير",
"fitImage": "تعديل حجم الصورة تلقائيًا",
"showIcon": "عرض أيقونة المفتاح الأساسي",
"showIcon": "عرض الأيقونة",
"showAllFieldsIcon": "عرض أيقونات الحقول",
"wrapAllFields": "التفاف الحقول تلقائيًا",
"gallery": "معرض",
"newTag": "علامة جديدة",

View file

@ -11,7 +11,8 @@
"medium": "Mittel",
"small": "Klein",
"fitImage": "Bildgröße automatisch anpassen",
"showIcon": "Primärschlüssel-Symbol anzeigen",
"showIcon": "Symbol anzeigen",
"showAllFieldsIcon": "Feldsymbole anzeigen",
"wrapAllFields": "Felder automatisch umbrechen",
"gallery": "Galerie",
"newTag": "Neuer Tag",

View file

@ -11,7 +11,8 @@
"medium": "Medium",
"small": "Small",
"fitImage": "Auto-fit image size",
"showIcon": "Show primary key icon",
"showIcon": "Show icon",
"showAllFieldsIcon": "Show field icons",
"wrapAllFields": "Auto-wrap fields",
"gallery": "Gallery",
"newTag": "New tag",

View file

@ -11,7 +11,8 @@
"medium": "Mediano",
"small": "Pequeño",
"fitImage": "Ajustar automáticamente el tamaño de la imagen",
"showIcon": "Mostrar ícono de clave primaria",
"showIcon": "Mostrar ícono",
"showAllFieldsIcon": "Mostrar íconos de campos",
"wrapAllFields": "Ajuste automático de campos",
"gallery": "Galería",
"newTag": "Nueva etiqueta",

View file

@ -11,7 +11,8 @@
"medium": "Moyen",
"small": "Petit",
"fitImage": "Ajuster automatiquement la taille de l'image",
"showIcon": "Afficher l'icône de la clé primaire",
"showIcon": "Afficher l'icône",
"showAllFieldsIcon": "Afficher les icônes des champs",
"wrapAllFields": "Retour automatique des champs",
"gallery": "Galerie",
"newTag": "Nouvelle étiquette",

View file

@ -11,7 +11,8 @@
"medium": "בינוני",
"small": "קטן",
"fitImage": "התאמה אוטומטית לגודל התמונה",
"showIcon": "הצג את סמל המפתח הראשי",
"showIcon": "הצג סמל",
"showAllFieldsIcon": "הצג סמלי שדות",
"wrapAllFields": "עטיפת שדות אוטומטית",
"gallery": "גלריה",
"newTag": "תג חדש",

View file

@ -11,7 +11,8 @@
"medium": "Medio",
"small": "Piccolo",
"fitImage": "Adatta automaticamente la dimensione dell'immagine",
"showIcon": "Mostra l'icona della chiave primaria",
"showIcon": "Mostra icona",
"showAllFieldsIcon": "Mostra icone dei campi",
"wrapAllFields": "Avvolgi automaticamente i campi",
"gallery": "Galleria",
"newTag": "Nuova etichetta",

View file

@ -11,7 +11,8 @@
"medium": "中",
"small": "小",
"fitImage": "画像サイズを自動調整",
"showIcon": "主キーアイコンを表示",
"showIcon": "アイコンを表示",
"showAllFieldsIcon": "フィールドアイコンを表示",
"wrapAllFields": "フィールドを自動折り返し",
"gallery": "ギャラリー",
"newTag": "新しいタグ",

View file

@ -11,7 +11,8 @@
"medium": "Średni",
"small": "Mały",
"fitImage": "Automatyczne dopasowanie rozmiaru obrazu",
"showIcon": "Pokaż ikonę klucza głównego",
"showIcon": "Pokaż ikonę",
"showAllFieldsIcon": "Pokaż ikony pól",
"wrapAllFields": "Automatyczne zawijanie pól",
"gallery": "Galeria",
"newTag": "Nowy tag",

View file

@ -11,7 +11,8 @@
"medium": "Médio",
"small": "Pequeno",
"fitImage": "Ajustar automaticamente o tamanho da imagem",
"showIcon": "Mostrar ícone da chave primária",
"showIcon": "Mostrar ícone",
"showAllFieldsIcon": "Mostrar ícones de campos",
"wrapAllFields": "Quebrar automaticamente os campos",
"gallery": "Galeria",
"newTag": "Nova tag",

View file

@ -11,7 +11,8 @@
"medium": "Средний",
"small": "Маленький",
"fitImage": "Автоматическая подгонка размера изображения",
"showIcon": "Показать значок первичного ключа",
"showIcon": "Показать значок",
"showAllFieldsIcon": "Показать значки полей",
"wrapAllFields": "Автоматический перенос полей",
"gallery": "Галерея",
"newTag": "Новый тег",

View file

@ -11,8 +11,9 @@
"medium": "中",
"small": "小",
"fitImage": "自動調整圖片大小",
"showIcon": "顯示主鍵圖標",
"wrapAllFields": "欄位自動換行",
"showIcon": "顯示圖標",
"showAllFieldsIcon": "顯示字段圖標",
"wrapAllFields": "字段自動換行",
"gallery": "圖庫",
"newTag": "新建標籤",
"pleaseWait": "請稍等片刻...",

View file

@ -12,6 +12,7 @@
"small": "小",
"fitImage": "自适应图片大小",
"showIcon": "显示图标",
"showAllFieldsIcon": "显示字段图标",
"wrapAllFields": "字段自动换行",
"gallery": "画廊",
"newTag": "新建标签",

View file

@ -44,7 +44,7 @@ export const getLayoutHTML = (data: IAV) => {
<input data-type="toggle-gallery-fit" type="checkbox" class="b3-switch b3-switch--menu" ${view.fitImage ? "checked" : ""}>
</label>
<label class="b3-menu__item">
<span class="fn__flex-center">${window.siyuan.languages.showIcon}</span>
<span class="fn__flex-center">${window.siyuan.languages.showAllFieldsIcon}</span>
<span class="fn__space fn__flex-1"></span>
<input data-type="toggle-gallery-icon" type="checkbox" class="b3-switch b3-switch--menu" ${view.showIcon ? "checked" : ""}>
</label>