📝 Improve the confirmation popup text when deleting bidirectional relation fields in the database (#15720)

fix https://github.com/siyuan-note/siyuan/issues/15702
This commit is contained in:
Jeffrey Chen 2025-08-30 09:36:03 +08:00 committed by GitHub
parent ee34905f13
commit d60553983a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 110 additions and 62 deletions

View file

@ -58,8 +58,9 @@
"backlinkContainChildrenTip": "عند التمكين، سيتم تضمين الكتل الفرعية في حساب الروابط المرجعية", "backlinkContainChildrenTip": "عند التمكين، سيتم تضمين الكتل الفرعية في حساب الروابط المرجعية",
"entryNum": "عدد المدخلات", "entryNum": "عدد المدخلات",
"workspaceData": "بيانات مساحة العمل", "workspaceData": "بيانات مساحة العمل",
"confirmRemoveRelationField": "‫هل أنت متأكد من أنك تريد حذف الحقل المرتبط بـ <b>${x}</b>؟‬", "confirmRemoveRelationField": "‫هل أنت متأكد من أنك تريد حذف الحقل <b>${x}</b>؟ بعد حذف هذا الحقل، سيتم حذف حقل العلاقة ثنائية الاتجاه <b>${z}</b> في قاعدة البيانات <b>${y}</b> أيضًا بشكل متزامن.",
"removeButKeepRelationField": "احذف، لكن حفظ الحقل المرتبط", "removeBothRelationField": "حذف كلا الحقلين",
"removeButKeepRelationField": "احذف هذا الحقل فقط، احتفظ بحقل العلاقة ثنائية الاتجاه",
"exportPDFLowMemory": "‫الذاكرة المتاحة غير كافية لتصدير هذا PDF، يرجى تقليل المحتوى أو زيادة الذاكرة المتاحة ومحاولة التصدير مرة أخرى‬", "exportPDFLowMemory": "‫الذاكرة المتاحة غير كافية لتصدير هذا PDF، يرجى تقليل المحتوى أو زيادة الذاكرة المتاحة ومحاولة التصدير مرة أخرى‬",
"exportConf": "إعدادات التصدير", "exportConf": "إعدادات التصدير",
"exportConfTip": "‫لن يتم تصدير الحساب، رمز الإذن بالوصول، المزامنة، رمز API ومفتاح مستودع البيانات‬", "exportConfTip": "‫لن يتم تصدير الحساب، رمز الإذن بالوصول، المزامنة، رمز API ومفتاح مستودع البيانات‬",
@ -129,6 +130,7 @@
"updateLayout": "تحديث التصميم", "updateLayout": "تحديث التصميم",
"dndFolderTip": "‫يرجى ملاحظة أن ${x} يقوم فقط بإدراج رابط file:// ولا يقوم بنسخ الملف‬", "dndFolderTip": "‫يرجى ملاحظة أن ${x} يقوم فقط بإدراج رابط file:// ولا يقوم بنسخ الملف‬",
"removeCol": "‫هل أنت متأكد من أنك تريد حذف حقل <b>${x}</b> في قاعدة البيانات؟‬", "removeCol": "‫هل أنت متأكد من أنك تريد حذف حقل <b>${x}</b> في قاعدة البيانات؟‬",
"removeColConfirm": "⚠️ حذف الحقل",
"video": "الفيديو", "video": "الفيديو",
"audio": "الصوت", "audio": "الصوت",
"updateAll": "تحديث الكل", "updateAll": "تحديث الكل",
@ -1656,6 +1658,7 @@
"268": "يرجى ملاحظة أن الملف [%s] قد تجاوز بالفعل [%d MB]‎، وقد يؤدي ذلك إلى انخفاض الأداء", "268": "يرجى ملاحظة أن الملف [%s] قد تجاوز بالفعل [%d MB]‎، وقد يؤدي ذلك إلى انخفاض الأداء",
"269": "تمت إضافة هذا المقطع بالفعل إلى قاعدة البيانات [%s]", "269": "تمت إضافة هذا المقطع بالفعل إلى قاعدة البيانات [%s]",
"270": "يتم تحسين فهرس البيانات، يرجى الانتظار...", "270": "يتم تحسين فهرس البيانات، يرجى الانتظار...",
"271": "اكتملت عملية تحسين فهرس البيانات، تم تحرير [%s] من مساحة القرص" "271": "اكتملت عملية تحسين فهرس البيانات، تم تحرير [%s] من مساحة القرص",
"272": "حقل غير مسمى"
} }
} }

View file

@ -58,8 +58,9 @@
"backlinkContainChildrenTip": "Wenn aktiviert, werden untergeordnete Blöcke in die Berechnung der Rückverweise einbezogen", "backlinkContainChildrenTip": "Wenn aktiviert, werden untergeordnete Blöcke in die Berechnung der Rückverweise einbezogen",
"entryNum": "Anzahl der Einträge", "entryNum": "Anzahl der Einträge",
"workspaceData": "Arbeitsbereichsdaten", "workspaceData": "Arbeitsbereichsdaten",
"confirmRemoveRelationField": "Sind Sie sicher, dass Sie das Feld, das mit <b>${x}</b> verknüpft ist, löschen möchten?", "confirmRemoveRelationField": "Sind Sie sicher, dass Sie das <b>${x}</b> Feld löschen möchten? Nach dem Löschen dieses Feldes wird das bidirektionale Beziehungsfeld <b>${z}</b> in der <b>${y}</b> Datenbank ebenfalls synchron gelöscht.",
"removeButKeepRelationField": "Entfernen, aber verknüpftes Feld behalten", "removeBothRelationField": "Beide Felder entfernen",
"removeButKeepRelationField": "Nur dieses Feld entfernen, bidirektionales Beziehungsfeld behalten",
"exportPDFLowMemory": "Nicht genügend verfügbarer Speicher, um dieses PDF zu exportieren, bitte reduzieren Sie den Inhalt oder erhöhen Sie den verfügbaren Speicher und versuchen Sie es erneut", "exportPDFLowMemory": "Nicht genügend verfügbarer Speicher, um dieses PDF zu exportieren, bitte reduzieren Sie den Inhalt oder erhöhen Sie den verfügbaren Speicher und versuchen Sie es erneut",
"exportConf": "Export-Einstellungen", "exportConf": "Export-Einstellungen",
"exportConfTip": "Konto, Zugriffscode, Synchronisation, API-Token und Daten-Repo-Schlüssel werden nicht exportiert", "exportConfTip": "Konto, Zugriffscode, Synchronisation, API-Token und Daten-Repo-Schlüssel werden nicht exportiert",
@ -129,6 +130,7 @@
"updateLayout": "Layout aktualisieren", "updateLayout": "Layout aktualisieren",
"dndFolderTip": "Bitte beachten Sie, dass ${x} nur den file:// Hyperlink einfügt und die Datei nicht kopiert.", "dndFolderTip": "Bitte beachten Sie, dass ${x} nur den file:// Hyperlink einfügt und die Datei nicht kopiert.",
"removeCol": "Sind Sie sicher, dass Sie die <b>${x}</b> Spalte in der Datenbank löschen möchten?", "removeCol": "Sind Sie sicher, dass Sie die <b>${x}</b> Spalte in der Datenbank löschen möchten?",
"removeColConfirm": "⚠️ Spalte löschen",
"video": "Video", "video": "Video",
"audio": "Audio", "audio": "Audio",
"updateAll": "Alle aktualisieren", "updateAll": "Alle aktualisieren",
@ -1656,6 +1658,7 @@
"268": "Bitte beachten Sie, dass die Datei [%s] bereits [%d MB] überschritten hat, was die Leistung beeinträchtigen kann", "268": "Bitte beachten Sie, dass die Datei [%s] bereits [%d MB] überschritten hat, was die Leistung beeinträchtigen kann",
"269": "Dieser Block wurde bereits zur Datenbank [%s] hinzugefügt", "269": "Dieser Block wurde bereits zur Datenbank [%s] hinzugefügt",
"270": "Datenindex wird optimiert, bitte warten...", "270": "Datenindex wird optimiert, bitte warten...",
"271": "Datenindex-Optimierung abgeschlossen, [%s] Speicherplatz freigegeben" "271": "Datenindex-Optimierung abgeschlossen, [%s] Speicherplatz freigegeben",
"272": "Unbenanntes Feld"
} }
} }

View file

@ -58,8 +58,9 @@
"backlinkContainChildrenTip": "When enabled, child blocks will be included in the backlink calculation", "backlinkContainChildrenTip": "When enabled, child blocks will be included in the backlink calculation",
"entryNum": "Number of entries", "entryNum": "Number of entries",
"workspaceData": "Workspace data", "workspaceData": "Workspace data",
"confirmRemoveRelationField": "Are you sure you want to delete the field associated with <b>${x}</b>?", "confirmRemoveRelationField": "Are you sure you want to delete the <b>${x}</b> field? After deleting this field, the bidirectional relation field <b>${z}</b> in the <b>${y}</b> database will also be deleted synchronously.",
"removeButKeepRelationField": "Remove, but keep related field", "removeBothRelationField": "Remove both fields",
"removeButKeepRelationField": "Remove only this field, keep bidirectional relation field",
"exportPDFLowMemory": "Insufficient available memory to export this PDF, please reduce the content or increase available memory and try exporting again", "exportPDFLowMemory": "Insufficient available memory to export this PDF, please reduce the content or increase available memory and try exporting again",
"exportConf": "Export settings", "exportConf": "Export settings",
"exportConfTip": "Account, access authorization code, synchronization, API token and data repo key will not be exported", "exportConfTip": "Account, access authorization code, synchronization, API token and data repo key will not be exported",
@ -129,6 +130,7 @@
"updateLayout": "Update layout", "updateLayout": "Update layout",
"dndFolderTip": "Please note that ${x} only inserts the file:// hyperlink and does not copy the file", "dndFolderTip": "Please note that ${x} only inserts the file:// hyperlink and does not copy the file",
"removeCol": "Are you sure you want to delete the <b>${x}</b> field in the database?", "removeCol": "Are you sure you want to delete the <b>${x}</b> field in the database?",
"removeColConfirm": "⚠️ Delete field",
"video": "Video", "video": "Video",
"audio": "Audio", "audio": "Audio",
"updateAll": "Update all", "updateAll": "Update all",
@ -1656,6 +1658,7 @@
"268": "Please note that the file [%s] has already exceeded [%d MB], which may cause performance degradation", "268": "Please note that the file [%s] has already exceeded [%d MB], which may cause performance degradation",
"269": "This block has already been added to the database [%s]", "269": "This block has already been added to the database [%s]",
"270": "Optimizing data index, please wait...", "270": "Optimizing data index, please wait...",
"271": "Data index optimization completed, [%s] disk space freed" "271": "Data index optimization completed, [%s] disk space freed",
"272": "Unnamed field"
} }
} }

View file

@ -58,8 +58,9 @@
"backlinkContainChildrenTip": "Una vez habilitado, los bloques secundarios se incluirán en el cálculo de los enlaces inversos", "backlinkContainChildrenTip": "Una vez habilitado, los bloques secundarios se incluirán en el cálculo de los enlaces inversos",
"entryNum": "Número de entradas", "entryNum": "Número de entradas",
"workspaceData": "Datos del espacio de trabajo", "workspaceData": "Datos del espacio de trabajo",
"confirmRemoveRelationField": "¿Está seguro de que desea eliminar el campo asociado a <b>${x}</b>?", "confirmRemoveRelationField": "¿Está seguro de que desea eliminar el campo <b>${x}</b>? Después de eliminar este campo, el campo de relación bidireccional <b>${z}</b> en la base de datos <b>${y}</b> también se eliminará de forma sincrónica.",
"removeButKeepRelationField": "Eliminar, pero mantener el campo relacionado", "removeBothRelationField": "Eliminar ambos campos",
"removeButKeepRelationField": "Eliminar solo este campo, mantener el campo de relación bidireccional",
"exportPDFLowMemory": "Memoria disponible insuficiente para exportar este PDF, por favor reduzca el contenido o aumente la memoria disponible y vuelva a intentar exportar", "exportPDFLowMemory": "Memoria disponible insuficiente para exportar este PDF, por favor reduzca el contenido o aumente la memoria disponible y vuelva a intentar exportar",
"exportConf": "Configuración de exportación", "exportConf": "Configuración de exportación",
"exportConfTip": "Las cuentas, los códigos de acceso, la sincronización, los tokens API y las claves del almacén de datos no se exportarán", "exportConfTip": "Las cuentas, los códigos de acceso, la sincronización, los tokens API y las claves del almacén de datos no se exportarán",
@ -129,6 +130,7 @@
"updateLayout": "Actualizar diseño", "updateLayout": "Actualizar diseño",
"dndFolderTip": "Tenga en cuenta que ${x} solo inserta el hipervínculo file:// y no copia el archivo", "dndFolderTip": "Tenga en cuenta que ${x} solo inserta el hipervínculo file:// y no copia el archivo",
"removeCol": "¿Está seguro de que desea eliminar la columna <b>${x}</b> en la base de datos?", "removeCol": "¿Está seguro de que desea eliminar la columna <b>${x}</b> en la base de datos?",
"removeColConfirm": "⚠️ Eliminar columna",
"vídeo": "Vídeo", "vídeo": "Vídeo",
"audio": "Audio", "audio": "Audio",
"updateAll": "Actualizar todo", "updateAll": "Actualizar todo",
@ -1656,6 +1658,7 @@
"268": "Atención: el archivo [%s] ya ha superado los [%d MB], lo que puede causar una disminución del rendimiento", "268": "Atención: el archivo [%s] ya ha superado los [%d MB], lo que puede causar una disminución del rendimiento",
"269": "Este bloque ya ha sido añadido a la base de datos [%s]", "269": "Este bloque ya ha sido añadido a la base de datos [%s]",
"270": "Optimizando el índice de datos, por favor espere...", "270": "Optimizando el índice de datos, por favor espere...",
"271": "Optimización del índice de datos completada, se liberaron [%s] de espacio en disco" "271": "Optimización del índice de datos completada, se liberaron [%s] de espacio en disco",
"272": "Campo sin nombre"
} }
} }

View file

@ -1,8 +1,8 @@
{ {
"vacuumDataIndex": "Optimiser lindex", "vacuumDataIndex": "Optimiser l'index",
"vacuumDataIndexTip": "Vérifiez lindex des données, libérez de lespace et améliorez les performances de lindex", "vacuumDataIndexTip": "Vérifiez l'index des données, libérez de l'espace et améliorez les performances de l'index",
"rebuildDataIndex": "Reconstruire lindex", "rebuildDataIndex": "Reconstruire l'index",
"rebuildDataIndexTip": "Reconstruction complète de lindex des données, cela peut prendre du temps, veuillez patienter", "rebuildDataIndexTip": "Reconstruction complète de l'index des données, cela peut prendre du temps, veuillez patienter",
"displayFieldName": "Afficher le nom du champ", "displayFieldName": "Afficher le nom du champ",
"sortBySelectOption": "Trier par option", "sortBySelectOption": "Trier par option",
"groupStep": "Intervalle de regroupement", "groupStep": "Intervalle de regroupement",
@ -58,8 +58,9 @@
"backlinkContainChildrenTip": "Une fois activé, les sous-blocs seront inclus dans le calcul des liens retour", "backlinkContainChildrenTip": "Une fois activé, les sous-blocs seront inclus dans le calcul des liens retour",
"entryNum": "Nombre d'entrées", "entryNum": "Nombre d'entrées",
"workspaceData": "Données de l'espace de travail", "workspaceData": "Données de l'espace de travail",
"confirmRemoveRelationField": "Êtes-vous sûr de vouloir supprimer le champ associé à <b>${x}</b>?", "confirmRemoveRelationField": "Êtes-vous sûr de vouloir supprimer le champ <b>${x}</b> ? Après la suppression de ce champ, le champ de relation bidirectionnelle <b>${z}</b> dans la base de données <b>${y}</b> sera également supprimé de manière synchrone.",
"removeButKeepRelationField": "Supprimer, mais conserver le champ associé", "removeBothRelationField": "Supprimer les deux champs",
"removeButKeepRelationField": "Supprimer seulement ce champ, conserver le champ de relation bidirectionnelle",
"exportPDFLowMemory": "Mémoire disponible insuffisante pour exporter ce PDF, veuillez réduire le contenu ou augmenter la mémoire disponible et réessayer d'exporter", "exportPDFLowMemory": "Mémoire disponible insuffisante pour exporter ce PDF, veuillez réduire le contenu ou augmenter la mémoire disponible et réessayer d'exporter",
"exportConf": "Exporter les paramètres", "exportConf": "Exporter les paramètres",
"exportConfTip": "Les comptes, codes d'accès, synchronisation, tokens API et clés d'entrepôt de données ne seront pas exportés", "exportConfTip": "Les comptes, codes d'accès, synchronisation, tokens API et clés d'entrepôt de données ne seront pas exportés",
@ -129,6 +130,7 @@
"updateLayout": "Mettre à jour la mise en page", "updateLayout": "Mettre à jour la mise en page",
"dndFolderTip": "Veuillez noter que ${x} insère uniquement le lien hypertexte file:// et ne copie pas le fichier", "dndFolderTip": "Veuillez noter que ${x} insère uniquement le lien hypertexte file:// et ne copie pas le fichier",
"removeCol": "Êtes-vous sûr de vouloir supprimer la colonne <b>${x}</b> de la base de données ?", "removeCol": "Êtes-vous sûr de vouloir supprimer la colonne <b>${x}</b> de la base de données ?",
"removeColConfirm": "⚠️ Supprimer la colonne",
"video": "Vidéo", "video": "Vidéo",
"audio": "Audio", "audio": "Audio",
"updateAll": "Tout mettre à jour", "updateAll": "Tout mettre à jour",
@ -495,7 +497,7 @@
"workspaceList": "Espaces de travail", "workspaceList": "Espaces de travail",
"removeWorkspaceTip": "Supprimer des espaces de travail", "removeWorkspaceTip": "Supprimer des espaces de travail",
"new": "Nouveau", "new": "Nouveau",
"share2LiandiConfirmTip": "Êtes-vous sûr de vouloir <b>publier</b> ce document dans la <a href=\"${accountServer}\" target=\"_blank\">communauté</a> ?<br>Après la publication, tout le monde pourra voir ce document, assurez-vous qu'il ne contient pas d'informations sensibles", "share2LiandiConfirmTip": "Êtes-vous sûr de vouloir <b>publier</b> ce document dans la <a href=\"${accountServer}\" target=\"_blank\">communauté</a> ?<br>Après la publication, tout le monde pourra voir ce document, assurez-vous qu'il ne contient pas d'informations sensibles",
"share2Liandi": "Partager avec communauté", "share2Liandi": "Partager avec communauté",
"noDueCard": "Excellent travail ! Il n'y a plus de tâches de révision pour le moment, revenez plus tard !", "noDueCard": "Excellent travail ! Il n'y a plus de tâches de révision pour le moment, revenez plus tard !",
"createDeck": "Créer un deck", "createDeck": "Créer un deck",
@ -757,7 +759,7 @@
"findHighlight": "Tout surligner", "findHighlight": "Tout surligner",
"findEntireWord": "Mots entiers", "findEntireWord": "Mots entiers",
"presentationMode": "Basculer en mode présentation", "presentationMode": "Basculer en mode présentation",
"focusOutline": "Trouver lélément de plan actuel", "focusOutline": "Trouver l'élément de plan actuel",
"previousLabel": "Précédent", "previousLabel": "Précédent",
"nextLabel": "Suivant", "nextLabel": "Suivant",
"pageScaleWidth": "Pleine largeur", "pageScaleWidth": "Pleine largeur",
@ -768,12 +770,12 @@
"loading": "Chargement…", "loading": "Chargement…",
"toggleSidebarNotification2Title": "Afficher/Masquer le panneau latéral (le document contient des signets/pièces jointes/calques)", "toggleSidebarNotification2Title": "Afficher/Masquer le panneau latéral (le document contient des signets/pièces jointes/calques)",
"toggleSidebarTitle": "Afficher/Masquer le panneau latéral", "toggleSidebarTitle": "Afficher/Masquer le panneau latéral",
"loadingError": "Une erreur sest produite lors du chargement du fichier PDF.", "loadingError": "Une erreur s'est produite lors du chargement du fichier PDF.",
"invalidFileError": "Fichier PDF invalide ou corrompu.", "invalidFileError": "Fichier PDF invalide ou corrompu.",
"missingFileError": "Fichier PDF manquant.", "missingFileError": "Fichier PDF manquant.",
"unexpectedResponseError": "Réponse inattendue du serveur.", "unexpectedResponseError": "Réponse inattendue du serveur.",
"printingNotSupported": "Attention : limpression nest pas totalement prise en charge par ce navigateur.", "printingNotSupported": "Attention : l'impression n'est pas totalement prise en charge par ce navigateur.",
"printingNotReady": "Attention : le PDF nest pas entièrement chargé pour pouvoir limprimer.", "printingNotReady": "Attention : le PDF n'est pas entièrement chargé pour pouvoir l'imprimer.",
"unitInches": "in", "unitInches": "in",
"unitMillimeters": "mm", "unitMillimeters": "mm",
"additionalLayers": "Calques additionnels", "additionalLayers": "Calques additionnels",
@ -1655,7 +1657,8 @@
"267": "Base de données sans nom", "267": "Base de données sans nom",
"268": "Attention : le fichier [%s] a déjà dépassé [%d MB], ce qui peut entraîner une baisse des performances", "268": "Attention : le fichier [%s] a déjà dépassé [%d MB], ce qui peut entraîner une baisse des performances",
"269": "Ce bloc a déjà été ajouté à la base de données [%s]", "269": "Ce bloc a déjà été ajouté à la base de données [%s]",
"270": "Optimisation de lindex des données en cours, veuillez patienter...", "270": "Optimisation de l'index des données en cours, veuillez patienter...",
"271": "Optimisation de lindex des données terminée, [%s] despace disque libéré" "271": "Optimisation de l'index des données terminée, [%s] d'espace disque libéré",
"272": "Champ sans nom"
} }
} }

View file

@ -58,8 +58,9 @@
"backlinkContainChildrenTip": "לאחר ההפעלה, בלוקים משניים ייכללו בחישוב הקישורים החוזרים", "backlinkContainChildrenTip": "לאחר ההפעלה, בלוקים משניים ייכללו בחישוב הקישורים החוזרים",
"entryNum": "מספר ערכים", "entryNum": "מספר ערכים",
"workspaceData": "נתוני סביבת עבודה", "workspaceData": "נתוני סביבת עבודה",
"confirmRemoveRelationField": "האם אתה בטוח שברצונך למחוק את השדה המשויך ל-<b>${x}</b>?", "confirmRemoveRelationField": "האם אתה בטוח שברצונך למחוק את השדה <b>${x}</b>? לאחר מחיקת שדה זה, שדה הקשר הדו-כיווני <b>${z}</b> במסד הנתונים <b>${y}</b> יימחק גם הוא באופן סינכרוני.",
"removeButKeepRelationField": "מחק, אך שמור על שדה הקשר", "removeBothRelationField": "מחק את שני השדות",
"removeButKeepRelationField": "מחק רק שדה זה, שמור על שדה הקשר הדו-כיווני",
"exportPDFLowMemory": "אין מספיק זיכרון זמין במערכת כדי לייצא את ה-PDF הזה, נא לצמצם את התוכן או להגדיל את הזיכרון הזמין ולנסות שוב לייצא", "exportPDFLowMemory": "אין מספיק זיכרון זמין במערכת כדי לייצא את ה-PDF הזה, נא לצמצם את התוכן או להגדיל את הזיכרון הזמין ולנסות שוב לייצא",
"exportConf": "הגדרות ייצוא", "exportConf": "הגדרות ייצוא",
"exportConfTip": "פרטי חשבון, קוד אישור גישה, סנכרון, אסימון API ומפתח מאגר נתונים לא ייוצאו", "exportConfTip": "פרטי חשבון, קוד אישור גישה, סנכרון, אסימון API ומפתח מאגר נתונים לא ייוצאו",
@ -129,6 +130,7 @@
"updateLayout": "עדכן עימוד", "updateLayout": "עדכן עימוד",
"dndFolderTip": "שים לב כי ${x} ניחש את ה-hyperlink file:// ואינו מעתיק את הקובץ", "dndFolderTip": "שים לב כי ${x} ניחש את ה-hyperlink file:// ואינו מעתיק את הקובץ",
"removeCol": "האם אתה בטוח שברצונך למחוק את העמודה <b>${x}</b> במסד הנתונים?", "removeCol": "האם אתה בטוח שברצונך למחוק את העמודה <b>${x}</b> במסד הנתונים?",
"removeColConfirm": "⚠️ מחק עמודה",
"video": "וידאו", "video": "וידאו",
"audio": "אודיו", "audio": "אודיו",
"updateAll": "עדכן הכל", "updateAll": "עדכן הכל",
@ -1656,6 +1658,7 @@
"268": "שים לב שהקובץ [%s] כבר חרג מ-[%d MB], דבר שעלול לגרום לירידה בביצועים", "268": "שים לב שהקובץ [%s] כבר חרג מ-[%d MB], דבר שעלול לגרום לירידה בביצועים",
"269": "הבלוק נוסף כבר למסד הנתונים [%s]", "269": "הבלוק נוסף כבר למסד הנתונים [%s]",
"270": "מתבצעת אופטימיזציה של אינדקס הנתונים, נא להמתין...", "270": "מתבצעת אופטימיזציה של אינדקס הנתונים, נא להמתין...",
"271": "אופטימיזציית אינדקס הנתונים הושלמה, שוחררו [%s] שטח דיסק" "271": "אופטימיזציית אינדקס הנתונים הושלמה, שוחררו [%s] שטח דיסק",
"272": "שדה ללא שם"
} }
} }

View file

@ -58,8 +58,9 @@
"backlinkContainChildrenTip": "Dopo l'attivazione, i blocchi figli saranno inclusi nel calcolo dei backlink", "backlinkContainChildrenTip": "Dopo l'attivazione, i blocchi figli saranno inclusi nel calcolo dei backlink",
"entryNum": "Numero di voci", "entryNum": "Numero di voci",
"workspaceData": "Dati dello spazio di lavoro", "workspaceData": "Dati dello spazio di lavoro",
"confirmRemoveRelationField": "Sei sicuro di voler eliminare il campo associato a <b>${x}</b>?", "confirmRemoveRelationField": "Sei sicuro di voler eliminare il campo <b>${x}</b>? Dopo aver eliminato questo campo, il campo di relazione bidirezionale <b>${z}</b> nel database <b>${y}</b> verrà eliminato anche in modo sincrono.",
"removeButKeepRelationField": "Rimuovi, ma mantieni il campo correlato", "removeBothRelationField": "Rimuovi entrambi i campi",
"removeButKeepRelationField": "Rimuovi solo questo campo, mantieni il campo di relazione bidirezionale",
"exportPDFLowMemory": "Memoria disponibile insufficiente per esportare questo PDF, riduci il contenuto o aumenta la memoria disponibile e riprova a esportare", "exportPDFLowMemory": "Memoria disponibile insufficiente per esportare questo PDF, riduci il contenuto o aumenta la memoria disponibile e riprova a esportare",
"exportConf": "Impostazioni di esportazione", "exportConf": "Impostazioni di esportazione",
"exportConfTip": "Account, codici di accesso, sincronizzazione, token API e chiavi di data warehouse non verranno esportati", "exportConfTip": "Account, codici di accesso, sincronizzazione, token API e chiavi di data warehouse non verranno esportati",
@ -129,6 +130,7 @@
"updateLayout": "Aggiorna layout", "updateLayout": "Aggiorna layout",
"dndFolderTip": "Nota che ${x} inserisce solo il collegamento file:// e non copia il file", "dndFolderTip": "Nota che ${x} inserisce solo il collegamento file:// e non copia il file",
"removeCol": "Sei sicuro di voler eliminare la colonna <b>${x}</b> nel database?", "removeCol": "Sei sicuro di voler eliminare la colonna <b>${x}</b> nel database?",
"removeColConfirm": "⚠️ Elimina colonna",
"video": "Video", "video": "Video",
"audio": "Audio", "audio": "Audio",
"updateAll": "Aggiorna tutto", "updateAll": "Aggiorna tutto",
@ -1656,6 +1658,7 @@
"268": "Attenzione: il file [%s] ha già superato [%d MB], il che potrebbe causare un calo delle prestazioni", "268": "Attenzione: il file [%s] ha già superato [%d MB], il che potrebbe causare un calo delle prestazioni",
"269": "Questo blocco è già stato aggiunto al database [%s]", "269": "Questo blocco è già stato aggiunto al database [%s]",
"270": "Ottimizzazione dell'indice dei dati in corso, attendere prego...", "270": "Ottimizzazione dell'indice dei dati in corso, attendere prego...",
"271": "Ottimizzazione dell'indice dei dati completata, liberati [%s] di spazio su disco" "271": "Ottimizzazione dell'indice dei dati completata, liberati [%s] di spazio su disco",
"272": "Campo senza nome"
} }
} }

View file

@ -58,8 +58,9 @@
"backlinkContainChildrenTip": "有効にすると、子ブロックがバックリンク計算に含まれます", "backlinkContainChildrenTip": "有効にすると、子ブロックがバックリンク計算に含まれます",
"entryNum": "エントリ数", "entryNum": "エントリ数",
"workspaceData": "ワークスペースデータ", "workspaceData": "ワークスペースデータ",
"confirmRemoveRelationField": "<b>${x}</b> に関連するフィールドを同時に削除してもよろしいですか?", "confirmRemoveRelationField": "<b>${x}</b> フィールドを削除してもよろしいですか?このフィールドを削除すると、<b>${y}</b> データベースの双方向関連フィールド <b>${z}</b> も同時に削除されます。",
"removeButKeepRelationField": "削除して関連フィールドを保持", "removeBothRelationField": "両方のフィールドを削除",
"removeButKeepRelationField": "このフィールドのみ削除し、双方向関連フィールドを保持",
"exportPDFLowMemory": "システムの利用可能なメモリが不足しているため、この PDF をエクスポートできません。内容を減らすか、利用可能なメモリを増やしてから再試行してください", "exportPDFLowMemory": "システムの利用可能なメモリが不足しているため、この PDF をエクスポートできません。内容を減らすか、利用可能なメモリを増やしてから再試行してください",
"exportConf": "設定のエクスポート", "exportConf": "設定のエクスポート",
"exportConfTip": "アカウント、アクセスコード、同期、API トークン、データウェアハウスキーはエクスポートされません", "exportConfTip": "アカウント、アクセスコード、同期、API トークン、データウェアハウスキーはエクスポートされません",
@ -129,6 +130,7 @@
"updateLayout": "レイアウトを更新", "updateLayout": "レイアウトを更新",
"dndFolderTip": "${x} は file:// 形式のハイパーリンクを挿入するだけでファイルはコピーされないので注意してください", "dndFolderTip": "${x} は file:// 形式のハイパーリンクを挿入するだけでファイルはコピーされないので注意してください",
"removeCol": "データベースの <b>${x}</b> 列を削除してもよろしいですか?", "removeCol": "データベースの <b>${x}</b> 列を削除してもよろしいですか?",
"removeColConfirm": "⚠️ 列を削除",
"video": "ビデオ", "video": "ビデオ",
"audio": "音声", "audio": "音声",
"updateAll": "すべて更新", "updateAll": "すべて更新",
@ -1656,6 +1658,7 @@
"268": "ファイル [%s] はすでに [%d MB] を超えており、パフォーマンスが低下する可能性があります", "268": "ファイル [%s] はすでに [%d MB] を超えており、パフォーマンスが低下する可能性があります",
"269": "このブロックはすでにデータベース [%s] に追加されています", "269": "このブロックはすでにデータベース [%s] に追加されています",
"270": "データインデックスを最適化しています。しばらくお待ちください...", "270": "データインデックスを最適化しています。しばらくお待ちください...",
"271": "データインデックスの最適化が完了しました。合計 [%s] のディスク容量が解放されました" "271": "データインデックスの最適化が完了しました。合計 [%s] のディスク容量が解放されました",
"272": "未命名フィールド"
} }
} }

View file

@ -58,8 +58,9 @@
"backlinkContainChildrenTip": "Po włączeniu bloki podrzędne zostaną uwzględnione w obliczeniach linków zwrotnych", "backlinkContainChildrenTip": "Po włączeniu bloki podrzędne zostaną uwzględnione w obliczeniach linków zwrotnych",
"entryNum": "Количество записей", "entryNum": "Количество записей",
"workspaceData": "Dane przestrzeni roboczej", "workspaceData": "Dane przestrzeni roboczej",
"confirmRemoveRelationField": "Czy na pewno chcesz usunąć pole powiązane z <b>${x}</b>?", "confirmRemoveRelationField": "Czy na pewno chcesz usunąć pole <b>${x}</b>? Po usunięciu tego pola, dwukierunkowe pole relacji <b>${z}</b> w bazie danych <b>${y}</b> również zostanie usunięte synchronicznie.",
"removeButKeepRelationField": "Usuń, ale zachowaj powiązane pole", "removeBothRelationField": "Usuń oba pola",
"removeButKeepRelationField": "Usuń tylko to pole, zachowaj dwukierunkowe pole relacji",
"exportPDFLowMemory": "Za mało dostępnej pamięci, aby wyeksportować ten PDF, proszę zmniejszyć zawartość lub zwiększyć dostępną pamięć i spróbować ponownie", "exportPDFLowMemory": "Za mało dostępnej pamięci, aby wyeksportować ten PDF, proszę zmniejszyć zawartość lub zwiększyć dostępną pamięć i spróbować ponownie",
"exportConf": "Ustawienia eksportu", "exportConf": "Ustawienia eksportu",
"exportConfTip": "Konto, kod autoryzacji dostępu, synchronizacja, token API i klucz repozytorium danych nie będą eksportowane", "exportConfTip": "Konto, kod autoryzacji dostępu, synchronizacja, token API i klucz repozytorium danych nie będą eksportowane",
@ -129,6 +130,7 @@
"updateLayout": "Zaktualizuj układ", "updateLayout": "Zaktualizuj układ",
"dndFolderTip": "Proszę pamiętać, że ${x} tylko wstawia link file:// i nie kopiuje pliku", "dndFolderTip": "Proszę pamiętać, że ${x} tylko wstawia link file:// i nie kopiuje pliku",
"removeCol": "Czy na pewno chcesz usunąć <b>${x}</b> kolumnę w bazie danych?", "removeCol": "Czy na pewno chcesz usunąć <b>${x}</b> kolumnę w bazie danych?",
"removeColConfirm": "⚠️ Usuń kolumnę",
"video": "Wideo", "video": "Wideo",
"audio": "Audio", "audio": "Audio",
"updateAll": "Zaktualizuj wszystko", "updateAll": "Zaktualizuj wszystko",
@ -1656,6 +1658,7 @@
"268": "Uwaga: plik [%s] przekroczył już [%d MB], co może spowodować spadek wydajności", "268": "Uwaga: plik [%s] przekroczył już [%d MB], co może spowodować spadek wydajności",
"269": "Ten blok został już dodany do bazy danych [%s]", "269": "Ten blok został już dodany do bazy danych [%s]",
"270": "Optymalizacja indeksu danych, proszę czekać...", "270": "Optymalizacja indeksu danych, proszę czekać...",
"271": "Optymalizacja indeksu danych zakończona, zwolniono [%s] miejsca na dysku" "271": "Optymalizacja indeksu danych zakończona, zwolniono [%s] miejsca na dysku",
"272": "Nienazwane pole"
} }
} }

View file

@ -58,8 +58,9 @@
"backlinkContainChildrenTip": "Quando ativado, os blocos filhos serão incluídos no cálculo do backlink", "backlinkContainChildrenTip": "Quando ativado, os blocos filhos serão incluídos no cálculo do backlink",
"entryNum": "Número de entradas", "entryNum": "Número de entradas",
"workspaceData": "Dados do espaço de trabalho", "workspaceData": "Dados do espaço de trabalho",
"confirmRemoveRelationField": "Tem certeza que deseja excluir o campo associado a <b>${x}</b>?", "confirmRemoveRelationField": "Tem certeza que deseja excluir o campo <b>${x}</b>? Após excluir este campo, o campo de relação bidirecional <b>${z}</b> no banco de dados <b>${y}</b> também será excluído de forma síncrona.",
"removeButKeepRelationField": "Remover, mas manter campo relacionado", "removeBothRelationField": "Remover ambos os campos",
"removeButKeepRelationField": "Remover apenas este campo, manter campo de relação bidirecional",
"exportPDFLowMemory": "Memória disponível insuficiente para exportar este PDF, reduza o conteúdo ou aumente a memória disponível e tente exportar novamente", "exportPDFLowMemory": "Memória disponível insuficiente para exportar este PDF, reduza o conteúdo ou aumente a memória disponível e tente exportar novamente",
"exportConf": "Configurações de exportação", "exportConf": "Configurações de exportação",
"exportConfTip": "Conta, código de autorização de acesso, sincronização, token de API e chave do repositório de dados não serão exportados", "exportConfTip": "Conta, código de autorização de acesso, sincronização, token de API e chave do repositório de dados não serão exportados",
@ -129,6 +130,7 @@
"updateLayout": "Atualizar layout", "updateLayout": "Atualizar layout",
"dndFolderTip": "Observe que ${x} apenas insere o hiperlink file:// e não copia o arquivo", "dndFolderTip": "Observe que ${x} apenas insere o hiperlink file:// e não copia o arquivo",
"removeCol": "Tem certeza que deseja excluir o campo <b>${x}</b> no banco de dados?", "removeCol": "Tem certeza que deseja excluir o campo <b>${x}</b> no banco de dados?",
"removeColConfirm": "⚠️ Excluir campo",
"video": "Vídeo", "video": "Vídeo",
"audio": "Áudio", "audio": "Áudio",
"updateAll": "Atualizar tudo", "updateAll": "Atualizar tudo",
@ -1656,6 +1658,7 @@
"268": "Atenção: o arquivo [%s] já excedeu [%d MB], o que pode causar queda de desempenho", "268": "Atenção: o arquivo [%s] já excedeu [%d MB], o que pode causar queda de desempenho",
"269": "Este bloco já foi adicionado ao banco de dados [%s]", "269": "Este bloco já foi adicionado ao banco de dados [%s]",
"270": "Otimizando o índice de dados, por favor aguarde...", "270": "Otimizando o índice de dados, por favor aguarde...",
"271": "Otimização do índice de dados concluída, [%s] de espaço liberado" "271": "Otimização do índice de dados concluída, [%s] de espaço liberado",
"272": "Campo sem nome"
} }
} }

View file

@ -58,8 +58,9 @@
"backlinkContainChildrenTip": "После включения дочерние блоки будут включены в расчет обратных ссылок", "backlinkContainChildrenTip": "После включения дочерние блоки будут включены в расчет обратных ссылок",
"entryNum": "Количество записей", "entryNum": "Количество записей",
"workspaceData": "Данные рабочей области", "workspaceData": "Данные рабочей области",
"confirmRemoveRelationField": "Вы уверены, что хотите удалить поле, связанное с <b>${x}</b>?", "confirmRemoveRelationField": "Вы уверены, что хотите удалить поле <b>${x}</b>? После удаления этого поля двунаправленное поле связи <b>${z}</b> в базе данных <b>${y}</b> также будет синхронно удалено.",
"removeButKeepRelationField": "Удалить, но сохранить связанное поле", "removeBothRelationField": "Удалить оба поля",
"removeButKeepRelationField": "Удалить только это поле, сохранить двунаправленное поле связи",
"exportPDFLowMemory": "Недостаточно доступной памяти для экспорта этого PDF, пожалуйста, уменьшите содержимое или увеличьте доступную память и повторите попытку экспорта", "exportPDFLowMemory": "Недостаточно доступной памяти для экспорта этого PDF, пожалуйста, уменьшите содержимое или увеличьте доступную память и повторите попытку экспорта",
"exportConf": "Экспорт настроек", "exportConf": "Экспорт настроек",
"exportConfTip": "Учетная запись, код авторизации доступа, синхронизация, API токен и ключ репозитория данных не будут экспортированы", "exportConfTip": "Учетная запись, код авторизации доступа, синхронизация, API токен и ключ репозитория данных не будут экспортированы",
@ -129,6 +130,7 @@
"updateLayout": "Обновить макет", "updateLayout": "Обновить макет",
"dndFolderTip": "Пожалуйста, обратите внимание, что ${x} только вставляет файл:// гиперссылку и не копирует файл", "dndFolderTip": "Пожалуйста, обратите внимание, что ${x} только вставляет файл:// гиперссылку и не копирует файл",
"removeCol": "Вы уверены, что хотите удалить колонку <b>${x}</b> в базе данных?", "removeCol": "Вы уверены, что хотите удалить колонку <b>${x}</b> в базе данных?",
"removeColConfirm": "⚠️ Удалить колонку",
"video": "Видео", "video": "Видео",
"audio": "Аудио", "audio": "Аудио",
"updateAll": "Обновить все", "updateAll": "Обновить все",
@ -1656,6 +1658,7 @@
"268": "Обратите внимание, что файл [%s] уже превышает [%d МБ], это может привести к снижению производительности", "268": "Обратите внимание, что файл [%s] уже превышает [%d МБ], это может привести к снижению производительности",
"269": "Этот блок уже добавлен в базу данных [%s]", "269": "Этот блок уже добавлен в базу данных [%s]",
"270": "Оптимизация индекса данных, пожалуйста, подождите...", "270": "Оптимизация индекса данных, пожалуйста, подождите...",
"271": "Оптимизация индекса данных завершена, освобождено [%s] дискового пространства" "271": "Оптимизация индекса данных завершена, освобождено [%s] дискового пространства",
"272": "Неименованное поле"
} }
} }

View file

@ -22,8 +22,8 @@
"insertItemAfter": "在後方插入${x}條", "insertItemAfter": "在後方插入${x}條",
"allViews": "所有視圖", "allViews": "所有視圖",
"copyAVID": "複製資料庫 ID", "copyAVID": "複製資料庫 ID",
"hideEmptyFields": "隱藏空字段", "hideEmptyFields": "隱藏空欄位",
"displayEmptyFields": "顯示空字段", "displayEmptyFields": "顯示空欄位",
"cardAspectRatio": "預覽區寬高比", "cardAspectRatio": "預覽區寬高比",
"cardPreview1": "卡片預覽", "cardPreview1": "卡片預覽",
"contentImage": "內容圖片", "contentImage": "內容圖片",
@ -34,7 +34,7 @@
"fitImage": "自動調整圖片大小", "fitImage": "自動調整圖片大小",
"showIcon": "顯示圖標", "showIcon": "顯示圖標",
"showAllEntriesIcons": "顯示條目圖標", "showAllEntriesIcons": "顯示條目圖標",
"wrapAllFields": "字段自動換行", "wrapAllFields": "欄位自動換行",
"gallery": "卡片", "gallery": "卡片",
"newTag": "新建標籤", "newTag": "新建標籤",
"pleaseWait": "請稍等片刻...", "pleaseWait": "請稍等片刻...",
@ -58,8 +58,9 @@
"backlinkContainChildrenTip": "啟用後子塊將被納入到反向鏈接計算中", "backlinkContainChildrenTip": "啟用後子塊將被納入到反向鏈接計算中",
"entryNum": "條目數", "entryNum": "條目數",
"workspaceData": "工作空間數據", "workspaceData": "工作空間數據",
"confirmRemoveRelationField": "確定同時刪除關聯至 <b>${x}</b> 中的字段嗎?", "confirmRemoveRelationField": "確定要刪除 <b>${x}</b> 欄位嗎?刪除本欄位後,<b>${y}</b> 數據庫中的雙向關聯欄位 <b>${z}</b> 也會同步刪除。",
"removeButKeepRelationField": "刪除,但保留關聯字段", "removeBothRelationField": "同時刪除兩個欄位",
"removeButKeepRelationField": "僅刪除本欄位,保留雙向關聯欄位",
"exportPDFLowMemory": "系統可用記憶體不足,無法導出該 PDF請減少內容或者增加可用記憶體後再嘗試導出", "exportPDFLowMemory": "系統可用記憶體不足,無法導出該 PDF請減少內容或者增加可用記憶體後再嘗試導出",
"exportConf": "匯出設定", "exportConf": "匯出設定",
"exportConfTip": "帳號、存取授權碼、同步、API token 和資料倉儲金鑰不會被匯出", "exportConfTip": "帳號、存取授權碼、同步、API token 和資料倉儲金鑰不會被匯出",
@ -129,6 +130,7 @@
"updateLayout": "更新版面配置", "updateLayout": "更新版面配置",
"dndFolderTip": "請注意 ${x} 僅插入 file:// 超鏈接,不複製檔案", "dndFolderTip": "請注意 ${x} 僅插入 file:// 超鏈接,不複製檔案",
"removeCol": "確定刪除資料庫中的 <b>${x}</b> 欄位?", "removeCol": "確定刪除資料庫中的 <b>${x}</b> 欄位?",
"removeColConfirm": "⚠️ 刪除欄位",
"video": "影片", "video": "影片",
"audio": "音訊", "audio": "音訊",
"updateAll": "全部更新", "updateAll": "全部更新",
@ -1649,13 +1651,14 @@
"261": "今天", "261": "今天",
"262": "明天", "262": "明天",
"263": "未來 %d 天", "263": "未來 %d 天",
"264": "字段 [%s] 為空", "264": "欄位 [%s] 為空",
"265": "不在範圍內", "265": "不在範圍內",
"266": "Tesseract OCR 未安裝或未配置,請參考 用戶指南-資料文件 章節進行配置", "266": "Tesseract OCR 未安裝或未配置,請參考 用戶指南-資料文件 章節進行配置",
"267": "未命名資料庫", "267": "未命名資料庫",
"268": "請注意該檔案 [%s] 已經超過 [%d MB],可能會導致效能下降", "268": "請注意該檔案 [%s] 已經超過 [%d MB],可能會導致效能下降",
"269": "該塊已經添加到資料庫 [%s] 中", "269": "該塊已經添加到資料庫 [%s] 中",
"270": "正在優化資料索引,請稍等...", "270": "正在優化資料索引,請稍等...",
"271": "資料索引優化完畢,共釋放 [%s] 磁碟空間" "271": "資料索引優化完畢,共釋放 [%s] 磁碟空間",
"272": "未命名欄位"
} }
} }

View file

@ -58,8 +58,9 @@
"backlinkContainChildrenTip": "启用后子块将被纳入到反向链接计算中", "backlinkContainChildrenTip": "启用后子块将被纳入到反向链接计算中",
"entryNum": "条目数", "entryNum": "条目数",
"workspaceData": "工作空间数据", "workspaceData": "工作空间数据",
"confirmRemoveRelationField": "确定同时删除关联至 <b>${x}</b> 中的字段吗?", "confirmRemoveRelationField": "确定要删除 <b>${x}</b> 字段吗?删除本字段后,<b>${y}</b> 数据库中的双向关联字段 <b>${z}</b> 也会同步删除。",
"removeButKeepRelationField": "删除,但保留关联字段", "removeBothRelationField": "同时删除两个字段",
"removeButKeepRelationField": "仅删除本字段,保留双向关联字段",
"exportPDFLowMemory": "系统可用内存不足,无法导出该 PDF请减少内容或者增加可用内存后再尝试导出", "exportPDFLowMemory": "系统可用内存不足,无法导出该 PDF请减少内容或者增加可用内存后再尝试导出",
"exportConf": "导出设置", "exportConf": "导出设置",
"exportConfTip": "账号、访问授权码、同步、API token 和数据仓库密钥不会被导出", "exportConfTip": "账号、访问授权码、同步、API token 和数据仓库密钥不会被导出",
@ -129,6 +130,7 @@
"updateLayout": "更新布局", "updateLayout": "更新布局",
"dndFolderTip": "请注意 ${x} 仅插入 file:// 超链接,不复制文件", "dndFolderTip": "请注意 ${x} 仅插入 file:// 超链接,不复制文件",
"removeCol": "确定删除数据库中的 <b>${x}</b> 字段?", "removeCol": "确定删除数据库中的 <b>${x}</b> 字段?",
"removeColConfirm": "⚠️ 删除字段",
"video": "视频", "video": "视频",
"audio": "音频", "audio": "音频",
"updateAll": "全部更新", "updateAll": "全部更新",
@ -1656,6 +1658,7 @@
"268": "请注意该文件 [%s] 已经超过 [%d MB],可能会导致性能下降", "268": "请注意该文件 [%s] 已经超过 [%d MB],可能会导致性能下降",
"269": "该块已经添加到数据库 [%s] 中", "269": "该块已经添加到数据库 [%s] 中",
"270": "正在优化数据索引,请稍等...", "270": "正在优化数据索引,请稍等...",
"271": "数据索引优化完毕,共释放 [%s] 磁盘空间" "271": "数据索引优化完毕,共释放 [%s] 磁盘空间",
"272": "未命名字段"
} }
} }

View file

@ -468,11 +468,11 @@ export const bindEditEvent = (options: {
}); });
if (oldValue.avID) { if (oldValue.avID) {
fetchPost("/api/av/getAttributeView", {id: oldValue.avID}, (response) => { fetchPost("/api/av/getAttributeView", {id: oldValue.avID}, (response) => {
goSearchElement.querySelector(".b3-menu__accelerator").textContent = oldValue.avID === avID ? window.siyuan.languages.thisDatabase : (response.data.av.name || window.siyuan.languages.title); goSearchElement.querySelector(".b3-menu__accelerator").textContent = oldValue.avID === avID ? window.siyuan.languages.thisDatabase : (response.data.av.name || window.siyuan.languages._kernel[267]);
response.data.av.keyValues.find((item: { key: { id: string, name: string } }) => { response.data.av.keyValues.find((item: { key: { id: string, name: string } }) => {
if (item.key.id === oldValue.backKeyID) { if (item.key.id === oldValue.backKeyID) {
inputElement.setAttribute("data-old-value", item.key.name || window.siyuan.languages.title); inputElement.setAttribute("data-old-value", item.key.name || window.siyuan.languages._kernel[272]);
inputElement.value = item.key.name || window.siyuan.languages.title; inputElement.value = item.key.name || window.siyuan.languages._kernel[272];
return true; return true;
} }
}); });
@ -1003,16 +1003,20 @@ export const showColMenu = (protyle: IProtyle, blockElement: Element, cellElemen
if (colData.key.relation?.isTwoWay) { if (colData.key.relation?.isTwoWay) {
const relResponse = await fetchSyncPost("/api/av/getAttributeView", {id: colData.key.relation.avID}); const relResponse = await fetchSyncPost("/api/av/getAttributeView", {id: colData.key.relation.avID});
const dialog = new Dialog({ const dialog = new Dialog({
title: window.siyuan.languages.removeCol.replace("${x}", colData.key.name), title: window.siyuan.languages.removeColConfirm,
content: `<div class="b3-dialog__content"> content: `<div class="b3-dialog__content">
${window.siyuan.languages.confirmRemoveRelationField.replace("${x}", relResponse.data.av.name)} ${window.siyuan.languages.confirmRemoveRelationField
.replace("${x}", colData.key.name || window.siyuan.languages._kernel[272])
.replace("${y}", relResponse.data.av.name || window.siyuan.languages._kernel[267])
.replace("${z}", relResponse.data.av.keyValues.find((item: {key: {id: string}}) => item.key.id === colData.key.relation.backKeyID).key.name || window.siyuan.languages._kernel[272])}
<div class="fn__hr--b"></div> <div class="fn__hr--b"></div>
<button class="fn__block b3-button b3-button--remove" data-action="delete">${window.siyuan.languages.delete}</button> <button class="fn__block b3-button b3-button--remove" data-action="delete">${window.siyuan.languages.removeBothRelationField}</button>
<div class="fn__hr"></div> <div class="fn__hr"></div>
<button class="fn__block b3-button b3-button--remove" data-action="keep-relation">${window.siyuan.languages.removeButKeepRelationField}</button> <button class="fn__block b3-button b3-button--remove" data-action="keep-relation">${window.siyuan.languages.removeButKeepRelationField}</button>
<div class="fn__hr"></div> <div class="fn__hr"></div>
<button class="fn__block b3-button b3-button--cancel">${window.siyuan.languages.cancel}</button> <button class="fn__block b3-button b3-button--cancel">${window.siyuan.languages.cancel}</button>
</div>`, </div>`,
width: "520px",
}); });
dialog.element.addEventListener("click", (event) => { dialog.element.addEventListener("click", (event) => {
let target = event.target as HTMLElement; let target = event.target as HTMLElement;

View file

@ -1198,16 +1198,21 @@ export const openMenuPanel = (options: {
const isTwoWay = colData.type === "relation" && colData.relation?.isTwoWay; const isTwoWay = colData.type === "relation" && colData.relation?.isTwoWay;
if (isCustomAttr || isTwoWay) { if (isCustomAttr || isTwoWay) {
const dialog = new Dialog({ const dialog = new Dialog({
title: isTwoWay ? window.siyuan.languages.removeCol.replace("${x}", menuElement.querySelector("input").value) : window.siyuan.languages.deleteOpConfirm, title: isTwoWay ? window.siyuan.languages.removeColConfirm : window.siyuan.languages.deleteOpConfirm,
content: `<div class="b3-dialog__content"> content: `<div class="b3-dialog__content">
${isTwoWay ? window.siyuan.languages.confirmRemoveRelationField.replace("${x}", menuElement.querySelector('.b3-menu__item[data-type="goSearchAV"] .b3-menu__accelerator').textContent) : window.siyuan.languages.removeCol.replace("${x}", menuElement.querySelector("input").value)} ${isTwoWay ? window.siyuan.languages.confirmRemoveRelationField
.replace("${x}", menuElement.querySelector("input").value || window.siyuan.languages._kernel[272])
.replace("${y}", menuElement.querySelector('.b3-menu__item[data-type="goSearchAV"] .b3-menu__accelerator').textContent)
.replace("${z}", (menuElement.querySelector('input[data-type="colName"]') as HTMLInputElement).value || window.siyuan.languages._kernel[272])
: window.siyuan.languages.removeCol.replace("${x}", menuElement.querySelector("input").value || window.siyuan.languages._kernel[272])}
<div class="fn__hr--b"></div> <div class="fn__hr--b"></div>
<button class="fn__block b3-button b3-button--remove" data-action="delete">${window.siyuan.languages.delete}</button> <button class="fn__block b3-button b3-button--remove" data-action="delete">${isTwoWay ? window.siyuan.languages.removeBothRelationField : window.siyuan.languages.delete}</button>
<div class="fn__hr"></div> <div class="fn__hr"></div>
<button class="fn__block b3-button b3-button--remove${isTwoWay ? "" : " fn__none"}" data-action="keep-relation">${window.siyuan.languages.removeButKeepRelationField}</button> <button class="fn__block b3-button b3-button--remove${isTwoWay ? "" : " fn__none"}" data-action="keep-relation">${window.siyuan.languages.removeButKeepRelationField}</button>
<div class="fn__hr"></div> <div class="fn__hr"></div>
<button class="fn__block b3-button b3-button--cancel">${window.siyuan.languages.cancel}</button> <button class="fn__block b3-button b3-button--cancel">${window.siyuan.languages.cancel}</button>
</div>`, </div>`,
width: "520px",
}); });
dialog.element.addEventListener("click", (dialogEvent) => { dialog.element.addEventListener("click", (dialogEvent) => {
let target = dialogEvent.target as HTMLElement; let target = dialogEvent.target as HTMLElement;