{% if result is defined and result %} {# Import results #}
{% trans %}Import Results{% endtrans %}
{% if fail_count == 0 and (skip_count is not defined or skip_count == 0) %}
{% trans %}Success:{% endtrans %} {% trans %}Import completed successfully.{% endtrans %} {{ success_count }} {% trans %}records imported.{% endtrans %}
{% elseif fail_count == 0 %}
{% trans %}Success:{% endtrans %} {{ success_count }} {% trans %}records imported,{% endtrans %} {{ skip_count }} {% trans %}records skipped (duplicates).{% endtrans %}
{% else %}
{% trans %}Warning:{% endtrans %} {{ success_count }} {% trans %}records imported,{% endtrans %} {% if skip_count is defined and skip_count > 0 %} {{ skip_count }} {% trans %}records skipped (duplicates),{% endtrans %} {% endif %} {{ fail_count }} {% trans %}records failed.{% endtrans %}
{% endif %} {% trans %}Edit zone{% endtrans %} {% trans %}Import another zone{% endtrans %}
{% elseif preview is defined and preview %} {# Preview step #}
{% trans %}Import Preview{% endtrans %} {{ record_count }} {% trans %}records{% endtrans %}
{% if warnings is defined and warnings|length > 0 %}
{% trans %}Warnings:{% endtrans %}
    {% for warning in warnings %}
  • {{ warning }}
  • {% endfor %}
{% endif %}
{% trans %}File:{% endtrans %} {{ filename }} {% if origin %}
{% trans %}Zone:{% endtrans %} {{ origin }}{% endif %}
{% for record in records %} {% endfor %}
{% trans %}Name{% endtrans %} {% trans %}Type{% endtrans %} {% trans %}Content{% endtrans %} {% trans %}TTL{% endtrans %} {% trans %}Priority{% endtrans %}
{{ record.name }} {{ record.type }} {{ record.content }} {{ record.ttl }} {{ record.priority }}
{% if import_mode == 'existing' %}
{{ existing_zone_name is defined ? existing_zone_name : '' }}
{% else %}
{% if group_owner_allowed is defined and group_owner_allowed and available_groups is defined and available_groups is not empty %}
{% for group in available_groups %}
{% endfor %}
{% if user_owner_allowed is defined and not user_owner_allowed %} {% trans %}Required: select at least one group.{% endtrans %} {% else %} {% trans %}Optional: select one or more groups.{% endtrans %} {% endif %} {% if user_owner_allowed is defined and user_owner_allowed %}
{% endif %}
{% endif %} {% endif %} {% trans %}Cancel{% endtrans %}
{% else %} {# Upload form #}
{% trans %}Import Zone File{% endtrans %}
{% trans %}Standard BIND zone file format. Max size:{% endtrans %} {{ max_file_size_human }}
{% if target_zone_id > 0 %}
{{ target_zone_name }}
{% endif %}
{% trans %}Supported formats{% endtrans %}
  • {% trans %}Standard BIND zone files{% endtrans %}
  • {% trans %}Cloudflare zone exports{% endtrans %}
  • {% trans %}$ORIGIN and $TTL directives{% endtrans %}
  • {% trans %}Multi-line records{% endtrans %}
  • {% trans %}IDN domain names{% endtrans %}
{% endif %}