{% 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 from_file %}
  • {% trans "Manage" %}
  • {% trans "Translation memory" %}
  • {% 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" %}

    {% for item in entries_origin %} {% endfor %} {% if project %} {% endif %} {% if shared_entries %} {% endif %}
    {% if project %} {% blocktrans %}Number of entries for {{ project }}{% endblocktrans %} {% elif from_file %} {% trans "Number of uploaded shared entries" %} {% else %} {% trans "Number of your entries" %} {% endif %} {{ num_entries|intcomma }} {% trans "Download as JSON" %} {% trans "Download as TMX" %} {% if delete_url %} {% trans "Delete" %}
    {% csrf_token %}
    {% endif %} {% if rebuild_url %} {% trans "Rebuild" %}
    {% csrf_token %}
    {% endif %}
    {{ item.origin }} {{ item.id__count|intcomma }} {% trans "Download as JSON" %} {% trans "Download as TMX" %} {% if delete_url %} {% trans "Delete" %}
    {% csrf_token %}
    {% endif %} {% if rebuild_url and item.can_rebuild %} {% trans "Rebuild" %}
    {% csrf_token %}
    {% 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 %} {% trans "Configure" %} {% endif %}
    {% trans "Number of shared entries" %} {{ shared_entries|intcomma }} {% if from_file %} {% trans "Download as JSON" %} {% trans "Download as TMX" %} {% endif %}
    {% trans "Total number of entries" %} {{ total_entries|intcomma }} {% if from_file %} {% trans "Download as JSON" %} {% trans "Download as TMX" %} {% endif %}
    {% if upload_form %}
    {% csrf_token %}

    {% trans "Import translation memory" %}

    {{ upload_form|crispy }}
    {% endif %} {% endblock %}