📝 Improve text (#15613)

This commit is contained in:
Jeffrey Chen 2025-08-23 09:57:54 +08:00 committed by GitHub
parent aa9e6fdf4c
commit 9993c2db4c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 18 additions and 18 deletions

View file

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

View file

@ -29,7 +29,7 @@
"small": "Klein", "small": "Klein",
"fitImage": "Bildgröße automatisch anpassen", "fitImage": "Bildgröße automatisch anpassen",
"showIcon": "Symbol anzeigen", "showIcon": "Symbol anzeigen",
"showAllFieldsIcon": "Feldsymbole anzeigen", "showAllEntriesIcons": "Eintragssymbole anzeigen",
"wrapAllFields": "Felder automatisch umbrechen", "wrapAllFields": "Felder automatisch umbrechen",
"gallery": "Karte", "gallery": "Karte",
"newTag": "Neuer Tag", "newTag": "Neuer Tag",

View file

@ -29,7 +29,7 @@
"small": "Small", "small": "Small",
"fitImage": "Auto-fit image size", "fitImage": "Auto-fit image size",
"showIcon": "Show icon", "showIcon": "Show icon",
"showAllFieldsIcon": "Show field icons", "showAllEntriesIcons": "Show entry icons",
"wrapAllFields": "Auto-wrap fields", "wrapAllFields": "Auto-wrap fields",
"gallery": "Card", "gallery": "Card",
"newTag": "New tag", "newTag": "New tag",

View file

@ -29,7 +29,7 @@
"small": "Pequeño", "small": "Pequeño",
"fitImage": "Ajustar automáticamente el tamaño de la imagen", "fitImage": "Ajustar automáticamente el tamaño de la imagen",
"showIcon": "Mostrar ícono", "showIcon": "Mostrar ícono",
"showAllFieldsIcon": "Mostrar íconos de campos", "showAllEntriesIcons": "Mostrar íconos de entradas",
"wrapAllFields": "Ajuste automático de campos", "wrapAllFields": "Ajuste automático de campos",
"gallery": "Tarjeta", "gallery": "Tarjeta",
"newTag": "Nueva etiqueta", "newTag": "Nueva etiqueta",

View file

@ -29,7 +29,7 @@
"small": "Petit", "small": "Petit",
"fitImage": "Ajuster automatiquement la taille de l'image", "fitImage": "Ajuster automatiquement la taille de l'image",
"showIcon": "Afficher l'icône", "showIcon": "Afficher l'icône",
"showAllFieldsIcon": "Afficher les icônes des champs", "showAllEntriesIcons": "Afficher les icônes des entrées",
"wrapAllFields": "Retour automatique des champs", "wrapAllFields": "Retour automatique des champs",
"gallery": "Carte", "gallery": "Carte",
"newTag": "Nouvelle étiquette", "newTag": "Nouvelle étiquette",

View file

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

View file

@ -29,7 +29,7 @@
"small": "Piccolo", "small": "Piccolo",
"fitImage": "Adatta automaticamente la dimensione dell'immagine", "fitImage": "Adatta automaticamente la dimensione dell'immagine",
"showIcon": "Mostra icona", "showIcon": "Mostra icona",
"showAllFieldsIcon": "Mostra icone dei campi", "showAllEntriesIcons": "Mostra icone delle voci",
"wrapAllFields": "Avvolgi automaticamente i campi", "wrapAllFields": "Avvolgi automaticamente i campi",
"gallery": "Scheda", "gallery": "Scheda",
"newTag": "Nuova etichetta", "newTag": "Nuova etichetta",

View file

@ -29,7 +29,7 @@
"small": "小", "small": "小",
"fitImage": "画像サイズを自動調整", "fitImage": "画像サイズを自動調整",
"showIcon": "アイコンを表示", "showIcon": "アイコンを表示",
"showAllFieldsIcon": "フィールドアイコンを表示", "showAllEntriesIcons": "エントリアイコンを表示",
"wrapAllFields": "フィールドを自動折り返し", "wrapAllFields": "フィールドを自動折り返し",
"gallery": "カード", "gallery": "カード",
"newTag": "新しいタグ", "newTag": "新しいタグ",

View file

@ -29,7 +29,7 @@
"small": "Mały", "small": "Mały",
"fitImage": "Automatyczne dopasowanie rozmiaru obrazu", "fitImage": "Automatyczne dopasowanie rozmiaru obrazu",
"showIcon": "Pokaż ikonę", "showIcon": "Pokaż ikonę",
"showAllFieldsIcon": "Pokaż ikony pól", "showAllEntriesIcons": "Pokaż ikony wpisów",
"wrapAllFields": "Automatyczne zawijanie pól", "wrapAllFields": "Automatyczne zawijanie pól",
"gallery": "Karta", "gallery": "Karta",
"newTag": "Nowy tag", "newTag": "Nowy tag",

View file

@ -29,7 +29,7 @@
"small": "Pequeno", "small": "Pequeno",
"fitImage": "Ajustar automaticamente o tamanho da imagem", "fitImage": "Ajustar automaticamente o tamanho da imagem",
"showIcon": "Mostrar ícone", "showIcon": "Mostrar ícone",
"showAllFieldsIcon": "Mostrar ícones de campos", "showAllEntriesIcons": "Mostrar ícones de entradas",
"wrapAllFields": "Quebrar automaticamente os campos", "wrapAllFields": "Quebrar automaticamente os campos",
"gallery": "Cartão", "gallery": "Cartão",
"newTag": "Nova tag", "newTag": "Nova tag",

View file

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

View file

@ -29,7 +29,7 @@
"small": "小", "small": "小",
"fitImage": "自動調整圖片大小", "fitImage": "自動調整圖片大小",
"showIcon": "顯示圖標", "showIcon": "顯示圖標",
"showAllFieldsIcon": "顯示字段圖標", "showAllEntriesIcons": "顯示條目圖標",
"wrapAllFields": "字段自動換行", "wrapAllFields": "字段自動換行",
"gallery": "卡片", "gallery": "卡片",
"newTag": "新建標籤", "newTag": "新建標籤",

View file

@ -29,7 +29,7 @@
"small": "小", "small": "小",
"fitImage": "自适应图片大小", "fitImage": "自适应图片大小",
"showIcon": "显示图标", "showIcon": "显示图标",
"showAllFieldsIcon": "显示字段图标", "showAllEntriesIcons": "显示条目图标",
"wrapAllFields": "字段自动换行", "wrapAllFields": "字段自动换行",
"gallery": "卡片", "gallery": "卡片",
"newTag": "新建标签", "newTag": "新建标签",

View file

@ -82,14 +82,14 @@ export const getLayoutHTML = (data: IAV) => {
</label> </label>
${html} ${html}
<label class="b3-menu__item"> <label class="b3-menu__item">
<span class="fn__flex-center">${window.siyuan.languages.showAllFieldsIcon}</span> <span class="fn__flex-center">${window.siyuan.languages.showAllEntriesIcons}</span>
<span class="fn__space fn__flex-1"></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" : ""}> <input data-type="toggle-entries-icons" type="checkbox" class="b3-switch b3-switch--menu" ${view.showIcon ? "checked" : ""}>
</label> </label>
<label class="b3-menu__item"> <label class="b3-menu__item">
<span class="fn__flex-center">${window.siyuan.languages.wrapAllFields}</span> <span class="fn__flex-center">${window.siyuan.languages.wrapAllFields}</span>
<span class="fn__space fn__flex-1"></span> <span class="fn__space fn__flex-1"></span>
<input data-type="toggle-gallery-wrap" type="checkbox" class="b3-switch b3-switch--menu" ${view.wrapField ? "checked" : ""}> <input data-type="toggle-entries-wrap" type="checkbox" class="b3-switch b3-switch--menu" ${view.wrapField ? "checked" : ""}>
</label> </label>
<button class="b3-menu__item" data-type="set-page-size" data-size="${view.pageSize}"> <button class="b3-menu__item" data-type="set-page-size" data-size="${view.pageSize}">
<span class="fn__flex-center">${window.siyuan.languages.entryNum}</span> <span class="fn__flex-center">${window.siyuan.languages.entryNum}</span>
@ -124,7 +124,7 @@ export const bindLayoutEvent = (options: {
}]); }]);
options.data.view.hideAttrViewName = !checked; options.data.view.hideAttrViewName = !checked;
}); });
const toggleIconElement = options.menuElement.querySelector('.b3-switch[data-type="toggle-gallery-icon"]') as HTMLInputElement; const toggleIconElement = options.menuElement.querySelector('.b3-switch[data-type="toggle-entries-icons"]') as HTMLInputElement;
toggleIconElement.addEventListener("change", () => { toggleIconElement.addEventListener("change", () => {
const avID = options.blockElement.getAttribute("data-av-id"); const avID = options.blockElement.getAttribute("data-av-id");
const blockID = options.blockElement.getAttribute("data-node-id"); const blockID = options.blockElement.getAttribute("data-node-id");
@ -142,7 +142,7 @@ export const bindLayoutEvent = (options: {
}]); }]);
options.data.view.showIcon = checked; options.data.view.showIcon = checked;
}); });
const toggleWrapElement = options.menuElement.querySelector('.b3-switch[data-type="toggle-gallery-wrap"]') as HTMLInputElement; const toggleWrapElement = options.menuElement.querySelector('.b3-switch[data-type="toggle-entries-wrap"]') as HTMLInputElement;
toggleWrapElement.addEventListener("change", () => { toggleWrapElement.addEventListener("change", () => {
const avID = options.blockElement.getAttribute("data-av-id"); const avID = options.blockElement.getAttribute("data-av-id");
const blockID = options.blockElement.getAttribute("data-node-id"); const blockID = options.blockElement.getAttribute("data-node-id");