ajax clock
{% if import_type == 'server' %} {{ get_hidden_inputs('', '', 1) }} {% elseif import_type == 'database' %} {{ get_hidden_inputs(db, '', 1) }} {% else %} {{ get_hidden_inputs(db, table, 1) }} {% endif %}

{% 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 %}
  • {{ get_formatted_maximum_upload_size(max_upload_size) }}

    {% 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 %} {% trans 'There are no files to upload!' %} {% endif %}
{% elseif is_upload %}
{{ get_formatted_maximum_upload_size(max_upload_size) }}

{% 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 %} {% trans 'There are no files to upload!' %} {% endif %} {% else %} {{ 'File uploads are not allowed on this server.'|trans|notice }} {% endif %}
{# Charset of file #} {% if is_encoding_supported %} {% else %} {% endif %}

{% trans 'Partial import:' %}

{% if timeout_passed is defined and timeout_passed %}
{{ 'Previous import timed out, after resubmitting will continue from position %d.'|trans|format(offset) }}
{% endif %}
{% 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:' %}

{{ get_choice('Import', 'format', import_list) }}

{% trans 'Format-specific options:' %}

{% trans 'Scroll down to fill in the options for the selected format and ignore the options for other formats.' %}

{{ get_options('Import', import_list) }}
{# Japanese encoding setting #} {% if can_convert_kanji %}

{% trans 'Encoding Conversion:' %}

{% include 'encoding/kanji_encoding_form.twig' %}
{% endif %}