feat: translate subtitles with an OpenAI-compatible LLM

This commit is contained in:
tri committed 2026-10-27 22:43:03 +07:00
1 parent 48cac86d60
commit 4665bf632a
21 files changed
+1877 -5

No files matched your search

+10
View File
@@ -19,12 +19,22 @@ Kirigami.ApplicationWindow {
id: player
initialUrl: root.initialUrl
onAboutRequested: root.pageStack.layers.push(aboutPage)
onSettingsRequested: root.pageStack.layers.push(settingsPage)
onFullScreenToggled: root.visibility = root.visibility === Window.FullScreen ? Window.Windowed : Window.FullScreen
}
pageStack.globalToolBar.style: Kirigami.ApplicationHeaderStyle.ToolBar
pageStack.columnView.columnResizeMode: Kirigami.ColumnView.SingleColumn
onClosing: QtPotatoSettings.save()
Component {
id: settingsPage
SettingsPage {
translator: player.translator
}
}
Component {
id: aboutPage
FormCard.AboutPage {}