{% load i18n %} {% if matches_deleted %} {% for match in matches_deleted %} {% endfor %} {% endif %} {% if matches_created %} {% for match in matches_created %} {% endfor %} {% endif %} {% if matches_matched %} {% for match in matches_matched %} {% endfor %} {% endif %} {% if matches_skipped %} {% for match in matches_skipped %} {% endfor %} {% endif %} {% if not matches_deleted and not matches_created and not matches_matched and not matches_skipped %} {% endif %}
{% translate "Component" %} {% translate "Matched files" %}
{% translate "The following components would be deleted" %}
{{ match.1 }}
{% translate "The following components would be created" %}
{{ match.0.name }} ({{ match.0.slug }}) {% if match.0.base_file %} {% translate "Monolingual base language file" %}: {{ match.0.base_file }}
{% endif %} {% translate "File mask" %}: {{ match.0.mask }}
{% for file, lang in match.0.files_langs %} {{ file }} ({{ lang }})
{% endfor %}
{% translate "The following components matched existing ones" %}
{{ match.1 }} {% if match.0.base_file %} {% translate "Monolingual base language file" %}: {{ match.0.base_file }}
{% endif %} {% translate "File mask" %}: {{ match.0.mask }}
{% for file, lang in match.0.files_langs %} {{ file }} ({{ lang }})
{% endfor %}
{% translate "The following components could not be created" %}
{{ match.0.name }} ({{ match.0.slug }}) {{ match.1 }} {% if match.0.base_file %} {% translate "Monolingual base language file" %}: {{ match.0.base_file }}
{% endif %} {% translate "File mask" %}: {{ match.0.mask }}
{% for file, lang in match.0.files_langs %} {{ file }} ({{ lang }})
{% endfor %}
{% translate "No matching components were found!" %}
{% for match in matches %}{{ match }}{% endfor %}