{% extends "base.html" %} {% load i18n %} {% load translations %} {% load permissions %} {% load crispy_forms_tags %} {% load humanize %} {% load icons %} {% block breadcrumbs %} {% if project %}
  • {{ project }}
  • {% trans "Translation memory" %}
  • {% elif use_file %}
  • {% trans "Manage" %}
  • {% trans "Translation memory for the whole platform" %}
  • {% else %}
  • {{ user.profile.get_user_name }}
  • {% trans "Translation memory" %}
  • {% endif %} {% endblock %} {% block content %}

    {% documentation_icon 'admin/memory' 'memory-user' right=True %} {% trans "Translation memory status" %}

    {% if project %} {% endif %} {% if shared_entries %} {% endif %}
    {% trans "Shared translation memory" %} {% if project.use_shared_tm %} {% comment %}Translators: Shared translation memory is enabled{% endcomment %} {% trans "on" %} {% else %} {% comment %}Translators: Shared translation memory is disabled{% endcomment %} {% trans "off" %} {% endif %} {% perm 'project.edit' project as user_can_edit_project %} {% if user_can_edit_project %}{% icon "pencil.svg" %}{% endif %}
    {% if project %} {% blocktrans %}Number of entries for {{ project }}{% endblocktrans %} {% elif use_file %} {% trans "Number of entries on the whole platform" %} {% else %} {% trans "Number of your entries" %} {% endif %} {{ num_entries|intcomma }}
    {% trans "Number of shared entries" %} {{ shared_entries|intcomma }}
    {% trans "Total number of entries" %} {{ total_entries|intcomma }}
    {% if upload_form %}
    {% csrf_token %}

    {% trans "Import translation memory" %}

    {{ upload_form|crispy }}
    {% endif %} {% if import_form %}
    {% csrf_token %}

    {% trans "Import existing translations" %}

    {% trans "Schedules import of all existing translations within this project into translation memory. This can be useful after wiping memory or after initial setup." %}

    {{ import_form|crispy }}
    {% endif %} {% if delete_form %}
    {% csrf_token %}

    {% trans "Wipe translation memory" %}

    {{ delete_form|crispy }}
    {% endif %} {% endblock %}