Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(settings): merge help text for HTML import tags
Elian Doran005674e9552f
diff --git a/src/public/app/widgets/type_widgets/options/other/html_import_tags.js b/src/public/app/widgets/type_widgets/options/other/html_import_tags.jsindex 3bf74df766..709615676b 100644--- a/src/public/app/widgets/type_widgets/options/other/html_import_tags.js+++ b/src/public/app/widgets/type_widgets/options/other/html_import_tags.js@@ -22,12 +22,8 @@ const TPL = `<p>${t("import.html_import_tags.description")}</p>- <textarea class="allowed-html-tags form-control" style="height: 150px; font-family: monospace;"- placeholder="${t("import.html_import_tags.placeholder")}"></textarea>-- <div class="form-text">- ${t("import.html_import_tags.help")}- </div>+ <textarea class="allowed-html-tags form-control" style="height: 150px; font-family: monospace;"+ placeholder="${t("import.html_import_tags.placeholder")}"></textarea><div><button class="btn btn-sm btn-secondary reset-to-default">diff --git a/src/public/translations/en/translation.json b/src/public/translations/en/translation.jsonindex 53feaa3d1d..d53061027f 100644--- a/src/public/translations/en/translation.json+++ b/src/public/translations/en/translation.json@@ -178,9 +178,8 @@"failed": "Import failed: {{message}}.","html_import_tags": {"title": "HTML Import Tags",- "description": "Configure which HTML tags should be preserved when importing notes. Tags not in this list will be removed during import.",+ "description": "Configure which HTML tags should be preserved when importing notes. Tags not in this list will be removed during import. Some tags (like 'script') are always removed for security.","placeholder": "Enter HTML tags, one per line",- "help": "Enter HTML tags to preserve during import. Some tags (like 'script') are always removed for security.","reset_button": "Reset to Default List"},"import-status": "Import status",diff --git a/src/public/translations/es/translation.json b/src/public/translations/es/translation.jsonindex cc81e99b6e..00a0be60a8 100644--- a/src/public/translations/es/translation.json+++ b/src/public/translations/es/translation.json@@ -178,9 +178,8 @@"failed": "La importación falló: {{message}}.","html_import_tags": {"title": "HTML Importar Etiquetas",- "description": "Configurar que etiquetas HTML deben ser preservadas al importar notas. Las etiquetas que no estén en esta lista serán eliminadas durante la importación.",+ "description": "Configurar que etiquetas HTML deben ser preservadas al importar notas. Las etiquetas que no estén en esta lista serán eliminadas durante la importación. Algunas etiquetas (como 'script') siempre son eliminadas por seguridad.","placeholder": "Ingrese las etiquetas HTML, una por línea",- "help": "Ingrese las etiquetas HTML a preservar durante la importación. Algunas etiquetas (como 'script') siempre son eliminadas por seguridad.","reset_button": "Restablecer a lista por defectp"},"import-status": "Estado de importación",diff --git a/src/public/translations/ro/translation.json b/src/public/translations/ro/translation.jsonindex 8efee10069..3fdb32e673 100644--- a/src/public/translations/ro/translation.json+++ b/src/public/translations/ro/translation.json@@ -697,8 +697,7 @@"in-progress": "Import în curs: {{progress}}","successful": "Import finalizat cu succes.","html_import_tags": {- "description": "Configurați ce etichete HTML să fie păstrate atunci când se importă notițe. Etichetele ce nu se află în această listă vor fi înlăturate la importul de date.",- "help": "Introduceți etichetele HTML pentru a se păstra în timpul importului. Unele etichete (precum „script”) sunt înlăturate indiferent din motive de securitate.",+ "description": "Configurați ce etichete HTML să fie păstrate atunci când se importă notițe. Etichetele ce nu se află în această listă vor fi înlăturate la importul de date. Unele etichete (precum „script”) sunt înlăturate indiferent din motive de securitate.","placeholder": "Introduceți etichetele HTML, câte unul pe linie","reset_button": "Resetează la lista implicită","title": "Etichete HTML la importare"