Revert "Füge Unterstützung für Datenquellen-Synonyme hinzu."

This commit is contained in:
Marcel Diegelmann 2025-09-26 12:24:30 +02:00
parent dc4461d0e9
commit 3d3d655b54
27 changed files with 37 additions and 277 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 %}