Korrekturen vornehmen

This commit is contained in:
Marcel Diegelmann 2025-10-01 08:26:46 +02:00
parent f7ec130010
commit 0814d1caf0
14 changed files with 14 additions and 139 deletions

View file

@ -3,9 +3,7 @@
{# @var entity App\Entity\ProjectSystem\Project #}
{% block card_title %}
{% set dataSourceName = get_data_source_name('project', 'project.caption') %}
{% set translatedSource = 'project.caption'|trans %}
<i class="fas fa-archive fa-fw"></i> {% if dataSourceName != translatedSource %}{{ 'datasource.synonym'|trans({'%name%': translatedSource, '%synonym%': dataSourceName}) }}{% else %}{{ translatedSource }}{% endif %}
<i class="fas fa-archive fa-fw"></i> {% trans %}project.caption{% endtrans %}
{% endblock %}
{% block edit_title %}
@ -61,4 +59,4 @@
</a>
{% endif %}
</div>
{% endblock %}
{% endblock %}