{% extends "base.html" %} {% load crispy_forms_tags humanize i18n icons permissions translations %} {% block breadcrumbs %} {% if project %}
  • {{ project }}
  • {% translate "Translation memory" %}
  • {% elif from_file %}
  • {% translate "Manage" %}
  • {% translate "Translation memory" %}
  • {% else %}
  • {{ user.profile.get_user_name }}
  • {% translate "Translation memory" %}
  • {% endif %} {% endblock breadcrumbs %} {% block content %}

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

    {% for item in entries_origin %} {% endfor %} {% for item in entries_languages %} {% endfor %} {% if project %} {% endif %} {% if shared_entries %} {% endif %}
    {% if project %} {% blocktranslate %}Number of entries for {{ project }}{% endblocktranslate %} {% elif from_file %} {% translate "Number of uploaded shared entries" %} {% else %} {% translate "Number of your entries" %} {% endif %} {{ num_entries|intcomma }} {% translate "Download as JSON" %} {% translate "Download as TMX" %} {% if delete_url %} {% translate "Delete" %}
    {% csrf_token %}
    {% endif %} {% if rebuild_url %} {% translate "Rebuild" %}
    {% csrf_token %}
    {% endif %}
    {% if item.url %} {{ item.origin }} {% else %} {{ item.origin }} {% endif %} {{ item.id__count|intcomma }} {% translate "Download as JSON" %} {% translate "Download as TMX" %} {% if delete_url %} {% translate "Delete" %}
    {% csrf_token %}
    {% endif %} {% if rebuild_url and item.can_rebuild %} {% translate "Rebuild" %}
    {% csrf_token %}
    {% endif %}
    {% blocktranslate with source_language=item.source_language target_language=item.target_language %}Entries for {{ source_language }} to {{ target_language }}{% endblocktranslate %} {{ item.id__count|intcomma }} {% translate "Download as JSON" %} {% translate "Download as TMX" %}
    {% translate "Shared translation memory" %} {% if project.use_shared_tm %} {% comment %}Translators: Shared translation memory is enabled{% endcomment %} {% translate "on" %} {% else %} {% comment %}Translators: Shared translation memory is disabled{% endcomment %} {% translate "off" %} {% endif %} {% perm 'project.edit' project as user_can_edit_project %} {% if user_can_edit_project %} {% translate "Configure" %} {% endif %}
    {% translate "Number of shared entries in this Weblate instance" %} {{ shared_entries|intcomma }} {% if from_file %} {% translate "Download as JSON" %} {% translate "Download as TMX" %} {% endif %}
    {% translate "Total number of entries in this Weblate instance" %} {{ total_entries|intcomma }} {% if from_file %} {% translate "Download as JSON" %} {% translate "Download as TMX" %} {% endif %}
    {% if upload_form %}
    {% csrf_token %}

    {% translate "Import translation memory" %}

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