{% extends "base.html" %} {% block content %} ← Back to the dashboard

{% if result.aborted %}Stopped{% else %}Translated{% endif %} — {{ title }}

{% if engine == 'local' %}

Translated by {{ result.model }}. Tokens this run: {{ result.tokens.total|num }} ({{ result.tokens.prompt|num }} prompt + {{ result.tokens.completion|num }} completion).

{% else %}

Billed for this run: {{ result.total_billed|num }} characters.

{% endif %} {% if result.aborted %} {# Ohne diesen Block sieht ein auf halber Strecke abgebrochener Lauf aus wie ein fertiger — die Sprachen, die nie an die Reihe kamen, tauchen unten schlicht nicht auf. #}
!
The run was stopped
{{ result.aborted }}
Everything translated up to that point was saved. Languages that were not reached are untouched — fix the cause and run it again to continue where it stopped.
{% endif %} {% if result.total_failures and not result.aborted %} {# Ein stiller Fehlschlag waere schlimmer als ein lauter: ohne diesen Block stuende hier nur "0 keys translated" und der Nutzer haette keine Ahnung, dass DeepL nichts geliefert hat. #}
!
{{ result.total_failures }} key(s) could not be translated
DeepL did not return a translation for them. They were left unchanged — nothing in your files was overwritten. Check the API key, your quota and the source language.
{% endif %}
{% for r in result.languages %}
{{ r.lang }} {% if r.status == 'translated' %} {{ r.count }} keys translated {% elif r.status == 'nothing' %} nothing to do {% else %} not supported by DeepL {% endif %} {% if r.failures %} {{ r.failures|length }} failed {% endif %}
{% if r.failures %}

✗ {{ r.failures|length }} key(s) failed and were left unchanged:

{% if r.failures|length > 10 %}

… and {{ r.failures|length - 10 }} more.

{% endif %} {% endif %} {% if r.warnings %}

⚠ {{ r.warnings|length }} placeholder warning(s):

{% endif %} {% if r.translated %}
{% for key, src, tgt in r.translated[:50] %} {% endfor %}
KeySourceTranslation
{{ key }}{{ src }}{{ tgt }}
{% if r.translated|length > 50 %}

… and {{ r.translated|length - 50 }} more keys.

{% endif %} {% endif %}
{% endfor %}
{% if download_token %}
⬇ Download as ZIP
{% endif %} {% endblock %}