{% extends 'Admin/admin.html.twig' %} {% block title %}Gestion des traductions{% endblock %} {% block body %}
Traductions – {{ currentLang|upper }} {% if missingByType is defined and missingByType %} — Traductions manquantes : {% for t in types %} {% set c = missingByType[t] ?? 0 %} {{ c }} {{ t }}{% if not loop.last %}, {% endif %} {% endfor %} {% endif %}
{% for lang in langs %} {{ lang|upper }} {% endfor %}
{% if types is defined and types|length > 1 %}
{% for type in types %} {{ type|capitalize }} {% endfor %}
{% endif %}
{% for label, messages in app.flashes %} {% for message in messages %}
{{ message }}
{% endfor %} {% endfor %} {% if not onlyMissing %} {{ knp_pagination_render(translations) }} {% endif %}
{% for row in translations %} {% set isFalse = (row.flag_false ?? 0) == 1 %} {% set isMissing = row.original is not null and row.translation is not null and row.translation == row.original and (not isFalse) %} {% endfor %}
GUID Champ Texte EN Faux positif Traduction {{ currentLang|upper }}
{{ row.Guid }} {{ row.Field }} {{ row.original }}

{% if not onlyMissing %} {{ knp_pagination_render(translations) }} {% endif %}
{% endblock %}