{% extends "base.html" %} {% block title %}{{ translations.sync_preview_tool if translations else 'Sync Preview' }}{% endblock %} {% block content %}

{{ translations.sync_preview_tool if translations else 'Sync Preview' }}

{{ translations.sync_preview_page_desc if translations else 'The video plays below with your subtitle text overlaid. Adjust the offset and drift until the subtitles match the audio, then apply to export a fixed SRT. The preview uses exactly the same math as the export, so what you see is what you get.' }}

{{ translations.back_to_home if translations else 'Back to Home' }} {% if error %}

{{ error }}

{% endif %}
{% if not session_id and auto_video and auto_srt %}
{% elif not session_id %}
{{ translations.no_file_chosen if translations else 'No file chosen' }}
{{ translations.no_file_chosen if translations else 'No file chosen' }}
{% else %}

{{ translations.preview_transcript_title if translations else 'Subtitle text' }}

{{ translations.preview_preparing if translations else 'Preparing preview…' }}
{% endif %}
{% endblock %}