{% load i18n %}
3

{% translate "Validation Results" %}

{{ valid_count }} {% translate "valid" %}
{% if errors %}
{{ errors|length }}{% if has_more_errors %}+{% endif %} {% translate "error" %}{{ errors|length|pluralize }}
{% endif %} {{ total_rows }} {% translate "total rows" %}
{% if errors %}
{% for err in errors %}
{% translate "Row" %} {{ err.row }}
{% for e in err.errors %} {{ e }}{% if not forloop.last %}; {% endif %} {% endfor %}
{% endfor %}
{% if has_more_errors %}

{% translate "Showing first 50 errors. Fix and re-upload for the full list." %}

{% endif %} {% endif %} {% if valid_count > 0 %}
{% csrf_token %}

{% translate "Ready to import" %} {{ valid_count }} {% translate "post" %}{{ valid_count|pluralize }}

{% if errors %}

{{ errors|length }} {% translate "invalid row" %}{{ errors|length|pluralize }} {% translate "will be skipped." %}

{% endif %}
{% else %}

{% translate "No valid rows to import." %}

{% translate "Fix the errors in your CSV and re-upload." %}

{% endif %}