Add a setting to select the language in the options dialog

All translations have been updated, and translations of the actions in the library have been fixed.
This commit is contained in:
luisangelsm
2026-03-11 18:21:35 +01:00
parent 82ac83ee7a
commit 3fede5dabf
51 changed files with 100804 additions and 17460 deletions

View File

@ -223,6 +223,10 @@ endif()
# Translations
qt_add_translations(YACReaderLibrary
SOURCE_TARGETS
YACReaderLibrary
# Keep full C++ extraction via SOURCE_TARGETS and add qml.qrc as extra input
# so qsTr() strings in QML are collected too.
TS_FILES
yacreaderlibrary_es.ts
yacreaderlibrary_ru.ts
@ -235,7 +239,10 @@ qt_add_translations(YACReaderLibrary
yacreaderlibrary_zh_TW.ts
yacreaderlibrary_zh_HK.ts
yacreaderlibrary_it.ts
yacreaderlibrary_source.ts
yacreaderlibrary_en.ts
SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/qml.qrc
)
target_link_libraries(YACReaderLibrary PRIVATE