feat(translate): keep translated subtitles next to the video so they load on reopen (#14)
Co-authored-by: Tri Vo Khac <git@trivk.dev>
This commit was merged in pull request #14.
This commit is contained in:
1 parent
b34a01a92f
commit
76b12d6632
13 files changed
+716
-65
No files matched your search
+5
-3
@@ -1,5 +1,5 @@
|
||||
# Code without UI (subtitles, mpv.conf handling), kept apart from the app so autotests
|
||||
# can link it.
|
||||
# Code without UI (subtitles, mpv.conf handling, where translations are saved), kept
|
||||
# apart from the app so autotests can link it.
|
||||
add_library(qtpotato_core STATIC
|
||||
mpv/mpvuserconfig.cpp
|
||||
mpv/mpvuserconfig.h
|
||||
@@ -9,8 +9,10 @@ add_library(qtpotato_core STATIC
|
||||
subtitles/subtitleparser.h
|
||||
subtitles/subtitleextractor.cpp
|
||||
subtitles/subtitleextractor.h
|
||||
translate/translationstore.cpp
|
||||
translate/translationstore.h
|
||||
)
|
||||
target_include_directories(qtpotato_core PUBLIC mpv subtitles)
|
||||
target_include_directories(qtpotato_core PUBLIC mpv subtitles translate)
|
||||
target_link_libraries(qtpotato_core PUBLIC
|
||||
Qt6::Core
|
||||
KF6::I18n
|
||||
|
||||
Reference in new issue
Block a user