{{ get_image('b_import', 'Import'|trans) }} {% block title %}{% endblock %}

{{ page_settings_error_html|raw }} {{ page_settings_html|raw }}
ajax clock
{{ get_hidden_inputs(hidden_inputs) }}
{% trans 'File to import:' %}
{# We don't have show anything about compression, when no supported #} {% if compressions is not empty %}

{{ 'File may be compressed (%s) or uncompressed.'|trans|format(compressions|join(', ')) }}
{% trans 'A compressed file\'s name must end in .[format].[compression]. Example: .sql.zip' %}

{% endif %} {% if is_upload and upload_dir is not empty %} {% set use_local_file_import = timeout_passed_global is not empty and local_import_file is not empty %}

{% trans 'You may also drag and drop a file on any page.' %}

{% if local_files is same as(false) %} {{ 'The directory you set for upload work cannot be reached.'|trans|error }} {% elseif local_files is not empty %} {% else %} {% endif %}
{% elseif is_upload %}

{% trans 'You may also drag and drop a file on any page.' %}

{% elseif upload_dir is not empty %} {% if local_files is same as(false) %} {{ 'The directory you set for upload work cannot be reached.'|trans|error }} {% elseif local_files is not empty %}
{% else %} {% endif %} {% else %} {{ 'File uploads are not allowed on this server.'|trans|notice }} {% endif %} {% if is_encoding_supported %} {% else %} {% endif %}
{% trans 'Partial import:' %}
{% if timeout_passed is defined and timeout_passed %} {% endif %}
{% trans 'This might be a good way to import large files, however it can break transactions.' %}
{% if not (timeout_passed is defined and timeout_passed) %} {% else %} {# If timeout has passed, do not show the Skip dialog to avoid the risk of someone entering a value here that would interfere with "skip" #} {% endif %}
{% trans 'Other options' %}
{% trans 'Format' %}
{% for option in plugins_choice %} {% endfor %}
{% trans 'Format-specific options:' %}
{{ options|raw }}
{# Japanese encoding setting #} {% if can_convert_kanji %}
{% trans 'Encoding Conversion:' %}
{% include 'encoding/kanji_encoding_form.twig' %}
{% endif %}