{% trans_default_domain 'contao_tl_files' %} {# Header #}

{{ 'tl_files.syncComplete'|trans }}

{{ 'MSC.backBT'|trans({}, 'contao_default') }}
{# Report #}
{% set modified = change_set.itemsToUpdate|filter(item => item.updatesHash) %} {% set moved = change_set.itemsToUpdate|filter(item => item.updatesPath) %}

{{ 'tl_files.syncResult'|trans([change_set.itemsToCreate|length, modified|length, '-', moved|length, change_set.itemsToDelete|length], 'contao_tl_files')|raw }}

{# Added resources #} {% for item in change_set.itemsToCreate %}

{{ 'tl_files.syncAdded'|trans([item.path]) }}

{% endfor %} {# Modified resources #} {% for item in modified %}

{{ 'tl_files.syncChanged'|trans([item.existingPath]) }}

{% endfor %} {# Moved resources #} {% for item in moved %}

{{ 'tl_files.syncMoved'|trans([item.existingPath, item.newPath]) }}

{% endfor %} {# Deleted resources #} {% for item in change_set.itemsToDelete %}

{{ 'tl_files.syncDeleted'|trans([item.path]) }}

{% endfor %}
{# Footer #}
{{ 'MSC.continue'|trans({}, 'contao_default') }}