{% extends "admin/base_site.html" %} {% load i18n admin_urls %} {% block extrastyle %}{{ block.super }} {% endblock %} {% block breadcrumbs %}{% if not is_popup %}
{% endif %}{% endblock %} {% block content %}{% blocktranslate count n=fetched.delivered %}{{ n }} new translation was fetched.{% plural %}{{ n }} new translations were fetched.{% endblocktranslate %}
{% endif %} {% if cloud_error %}{{ cloud_error }}
{% endif %} {% if all_done %}| {{ lang.name }} {{ lang.code|upper }} | {% if lang.excluded %}{% translate "Not translated (excluded)" %} {% elif lang.done %}✓ {% translate "Up to date" %} {% else %} {% if lang.waiting %}{% blocktranslate count n=lang.waiting %}{{ n }} translation to apply{% plural %}{{ n }} translations to apply{% endblocktranslate %}{% if lang.waiting_errors %} · {% blocktranslate count n=lang.waiting_errors %}{{ n }} with a QA error{% plural %}{{ n }} with QA errors{% endblocktranslate %}{% endif %}{% endif %} {% if lang.untranslated %}{% if lang.translating %}{% translate "Being translated…" %}{% else %}{% blocktranslate count n=lang.untranslated %}{{ n }} text missing or outdated{% plural %}{{ n }} texts missing or outdated{% endblocktranslate %}{% endif %}{% endif %} {% if lang.held %}{% if lang.attention_url %}{% endif %}{% blocktranslate count n=lang.held %}{{ n }} text held by a quality check{% plural %}{{ n }} texts held by a quality check{% endblocktranslate %}{% if lang.attention_url %} ↗{% endif %}{% endif %} {% if counts is None and not lang.waiting %}{% translate "Status unknown" %}{% endif %} {% endif %} | {% if not lang.excluded %} {% if lang.waiting %} {% translate "Review" %} {% if can_apply %}{% endif %} {% endif %} {% if lang.untranslated and not lang.translating %} {% endif %} {% endif %} |
|---|
{% translate "“Apply” writes the translations into your content right away (texts with QA errors excepted: review them first)." %}
{% endif %} {% if scope.kind == "site" %}{% if last_run %}{% blocktranslate with when=last_run.finished_at|timesince %}Last sync: {{ when }} ago.{% endblocktranslate %}{% else %}{% translate "No sync has run yet." %}{% endif %} {% if sync_overdue %}{% translate "No sync ran lately. “Sync now” sends changes and fetches finished translations." %}{% endif %} {% if held_total %}{% blocktranslate count n=held_total %}{{ n }} translation is held by a quality check in Ponyglot.{% plural %}{{ n }} translations are held by a quality check in Ponyglot.{% endblocktranslate %}{% endif %}
{% translate "Which documents need attention" %} → {% translate "Every document with a gap, per language: open it, or translate and apply in bulk." %}
{% if models %}| {% if model.url %}{{ model.name|capfirst }}{% else %}{{ model.name|capfirst }}{% endif %} {{ model.adapter }} | {% if model.waiting %}{% blocktranslate count n=model.waiting %}{{ n }} translation to apply{% plural %}{{ n }} translations to apply{% endblocktranslate %}{% endif %} | {% translate "Documents" %} |
| {% translate "Job" %} | {% translate "Status" %} | {% translate "Languages" %} | {% translate "Progress" %} |
|---|---|---|---|
| #{{ job.id }} {{ job.type }} | {{ job.status }} | {{ job.languages|join:", "|upper }} | {{ job.done_segments }} / {{ job.estimated_segments }}{% if job.failed_segments %} · {{ job.failed_segments }} {% translate "failed" %}{% endif %} |
{% translate "No recent jobs." %}
{% endif %} {% if runs %}| {% translate "Sync" %} | {% translate "Result" %} |
|---|---|
| {{ run.started_at|date:"SHORT_DATETIME_FORMAT" }} | {% if run.ok %}{% blocktranslate with pushed=run.report.pushed|default:0 delivered=run.report.delivered|default:0 %}{{ pushed }} sent, {{ delivered }} received{% endblocktranslate %}{% else %}{{ run.error|default:_("failed")|truncatechars:120 }}{% endif %} |
| {% translate "Job" %} | {% translate "Status" %} | {% translate "Languages" %} | {% translate "Progress" %} |
|---|---|---|---|
| #{{ job.id }} {{ job.type }} | {{ job.status }} | {{ job.languages|join:", "|upper }} | {{ job.done_segments }} / {{ job.estimated_segments }}{% if job.failed_segments %} · {{ job.failed_segments }} {% translate "failed" %}{% endif %} |