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") }}