fix(settings): merge help text for HTML import tags

This commit is contained in:
Elian Doran 2024-11-30 02:32:37 +02:00
parent f5c8dac5f0
commit 005674e955
No known key found for this signature in database
4 changed files with 5 additions and 12 deletions

View File

@ -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">

View File

@ -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",

View File

@ -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",

View File

@ -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"