{% extends '@WebProfiler/Profiler/layout.html.twig' %} {% import _self as translator %} {% block toolbar %} {% if collector.messages|length %} {% set icon %} {% if collector.countMissings %} {% set status_color = "red" %} {% elseif collector.countFallbacks %} {% set status_color = "yellow" %} {% endif %} {% set error_count = collector.countMissings + collector.countFallbacks %} {% endset %} {% set text %} {% if collector.countMissings %}
{% endif %} {% if collector.countFallbacks %} {% endif %} {% if collector.countdefines %} {% endif %} {% endset %} {% include '@WebProfiler/Profiler/toolbar_item.html.twig' with { 'link': profiler_url } %} {% endif %} {% endblock %} {% block menu %} Translation {% endblock %} {% block panel %} {% if collector.messages is empty %}No translations have been called.
{% else %} {{ block('panelContent') }} {% endif %} {% endblock %} {% block panelContent %}| Defined messages | {{ collector.countdefines }} |
|---|---|
| Fallback messages | {{ collector.countFallbacks }} |
| Missing messages | {{ collector.countMissings }} |
| State | Locale | Domain | Id | Message Preview |
|---|---|---|---|---|
{{ translator.state(message) }} |
{{ message.locale }} |
{{ message.domain }} |
{{ message.id }}
{% if message.count > 1 %}(used {{ message.count }} times){% endif %} |
{{ message.translation }} |