translations fixed to be safe

This commit is contained in:
Priec
2026-08-15 12:44:36 +02:00
parent 6ef2694fef
commit 794efac594
26 changed files with 746 additions and 418 deletions

View File

@@ -264,7 +264,7 @@
{% endif %}
</ul>
<p class="hint">{{ nav.tr("builder-rename-generated-hint")|safe }}</p>
<p class="hint">{{ nav.tr_args("builder-reserved-hint", [("type", page.draft.columns.pending_compound_name())])|safe }}</p>
<p class="hint">{{ nav.tr_args_html("builder-reserved-hint", [("type", page.draft.columns.pending_compound_name())])|safe }}</p>
</div>
{% endif %}
<button type="button" class="secondary" hx-post="/admin/tables/builder" hx-include="#table-form"

View File

@@ -19,7 +19,7 @@
<input type="hidden" name="profile" value="{{ page.selection.profile }}">
<input type="hidden" name="table" value="{{ page.selection.table }}">
<div class="form-grid">
<label class="wide">{{ nav.tr("td-type-to-confirm") }} <code>{{ page.selection.table }}</code>
<label class="wide">{{ nav.tr_args_html("td-type-to-confirm", [("table", page.selection.table.clone())])|safe }}
<input name="confirm_table_name" value="" autocomplete="off" placeholder="{{ page.selection.table }}">
</label>
</div>

View File

@@ -55,9 +55,9 @@
</form>
<p class="hint">
{% if !page.selected_parent.is_empty() %}
{{ nav.tr_args("grants-inherits-parent", [("role", page.selected_role.clone()), ("parent", page.selected_parent.clone())])|safe }}
{{ nav.tr_args_html("grants-inherits-parent", [("role", page.selected_role.clone()), ("parent", page.selected_parent.clone())])|safe }}
{% else %}
{{ nav.tr_args("grants-inherits-none", [("role", page.selected_role.clone())])|safe }}
{{ nav.tr_args_html("grants-inherits-none", [("role", page.selected_role.clone())])|safe }}
{% endif %}
{% if page.selected_is_structural %}
{{ nav.tr("grants-structural-hint") }}

View File

@@ -31,7 +31,7 @@
<path fill-rule="evenodd" d="M10 18a8 8 0 1 0 0-16 8 8 0 0 0 0 16ZM8.28 7.22a.75.75 0 0 0-1.06 1.06L8.94 10l-1.72 1.72a.75.75 0 1 0 1.06 1.06L10 11.06l1.72 1.72a.75.75 0 1 0 1.06-1.06L11.06 10l1.72-1.72a.75.75 0 0 0-1.06-1.06L10 8.94 8.28 7.22Z" clip-rule="evenodd" />
</svg>
</div>
<button x-on:click="dangerModalIsOpen = false" aria-label="close modal">
<button x-on:click="dangerModalIsOpen = false" aria-label="{{ locale.lookup("ui-close-dialog") }}">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" aria-hidden="true" stroke="currentColor" fill="none" stroke-width="1.4" class="w-5 h-5">
<path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12"/>
</svg>