{% extends 'base.html' %}{% from 'components.html' import heading, panel %}{% block content %} {{ heading('AI Subtitles', 'Translate SRT and VTT dialogue while preserving timings, cue IDs, and formatting.') }} {% if error %}

{{ error }}

{% endif %} {% call panel('Subtitle files', 'Originals are never overwritten. Configure your library root, languages, model, and backend in plugin settings.') %}
{% for path in files %}{% else %}{% endfor %}
FileAction
{{ path }}{% if can('content.write') %}
{% endif %}
No original SRT/VTT files found.
{% endcall %} {% call panel('Translated subtitles') %}{% endcall %} {% endblock %}