{% extends "tp_base_extended.html" %} {% load i18n baseurl store_tags translation_project_tags cache %} {% get_current_language as LANGUAGE_CODE %} {% get_current_language_bidi as LANGUAGE_BIDI %} {% block title %} {{ block.super }} » {% trans "Translate" %} » {{ store }} {% endblock %} {% block body.id %}translatepage{% endblock body.id %} {% block bodyclass %}{% if checks %}tpreview{% else %}tptranslate{% endif %}{% endblock %} {% block css %} {{ block.super }} {% endblock css %} {% block extra_head %} {% endblock extra_head %} {% block search %} {% render_search search_form "?" %} {% endblock %} {% block breadcrumbs_content %} {% cache settings.CACHE_TIMEOUT store_bread store.id LANGUAGE_CODE %} {{ block.super }} {% if not directory.trail.count %} » {% endif %} {{ store.name }} {% endcache %} {% endblock %} {% block innernav %} {% endblock innernav %} {% block precontent %} {{ block.super }} {% if checks %}
{% for check in checks %}

{{ check|safe }}

{% endfor %}
{% endif %} {% endblock precontent %} {% block content %}
{% cache settings.CACHE_TIMEOUT translate_table edit_unit.id store.get_mtime cantranslate cansuggest canreview alt_src_codes unit_rows profile.id LANGUAGE_CODE %} {% translate_table %} {% endcache %}
{% endblock %} {% block scripts_extra %} {{ block.super }} {% if cansuggest or cantranslate %} {% for backend, apikey in MT_BACKENDS %} {% ifequal backend 'GOOGLE_TRANSLATE' %} {% endifequal %} {% ifequal backend 'APERTIUM' %} {% endifequal %} {% endfor %} {% endif %} {% endblock scripts_extra %}