{% extends "admin/base_app.html" %} {% load core i18n assets %} {% block breadcrumbs %} {{ block.super }}
  • {% trans "Projects" %}
  • {% endblock %} {% block app_init %} {% assets 'js_fs_app' %} {% endassets %} {% endblock %} {% block title %}{% trans "Projects" %} | {{ block.super }}{% endblock %} {% block content %} {% block section_body %}

    {% blocktrans with project_code=project.code %}Filesystem configuration: {{ project_code }}{% endblocktrans %}

    {% trans "Backend configuration" %}

    {% csrf_token %} {{ form.as_p }}
    {% for fs_preset in fs_choices %}
    {{ fs_preset.0 }}
    {{ fs_preset.2 }}
    {% endfor %}

    {% trans "Translation mapping should be of the format:" %}

    `/path/to/translation/files/<language_code>/<dir_path>/<filename>.<ext>`

    {% blocktrans trimmed %} Only `<language_code>` is required, although it must end with `.<ext>` {% endblocktrans %}

    {% blocktrans trimmed %} If you are using the localfs backend the translation mapping will be combined with the path specified in backend URL {% endblocktrans %}

    {% blocktrans trimmed %} For other backends the translation mapping will be relative to the root of the repository. {% endblocktrans %}

    {% trans "Language mapping configuration" %}

    {% csrf_token %} {{ lang_mapping_formset.management_form }} {% for error in lang_mapping_formset.non_form_errors %}
    {{ error }}
    {% endfor %} {% for form in lang_mapping_formset %} {% endfor %}
    {% trans "Remove" %} {% trans "Pootle code" %} {% trans "Filesystem code" %}
    {% if form.initial %}{{ form.remove }}{% else %}Add{% endif %} {{ form.pootle_code }} {{ form.pootle_code.errors }} {{ form.fs_code }}
    {% endblock %} {% endblock %}