增加srt翻译支持

This commit is contained in:
xunbu
2025-08-08 19:13:59 +08:00
parent a7d1a17166
commit 8e192e63e4
12 changed files with 363 additions and 9 deletions

View File

@@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<title>{{ tittle }}</title>
</head>
<body>
{% for sub in subtitles %}
<p>
<b>{{ sub.index }}</b><br>
{{ sub.start }} --> {{ sub.end }}<br>
{{ sub.content | safe }}
</p>
{% else %}
<p>没有字幕内容可显示。</p>
{% endfor %}
</body>
</html>