diff options
author | bunnei <bunneidev@gmail.com> | 2021-08-24 01:40:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-24 01:40:31 +0200 |
commit | 7eb4542c1d326af77d39f87d76dfc900224a9c3e (patch) | |
tree | 51287fc201a7b82462bd2d1e5a3187a81f072faa | |
parent | Merge pull request #6869 from yzct12345/shiny-logs-in-the-fireplace (diff) | |
parent | CMakeLists: Ensure proper numerusform tags are generated for pluralized translations (diff) | |
download | yuzu-7eb4542c1d326af77d39f87d76dfc900224a9c3e.tar yuzu-7eb4542c1d326af77d39f87d76dfc900224a9c3e.tar.gz yuzu-7eb4542c1d326af77d39f87d76dfc900224a9c3e.tar.bz2 yuzu-7eb4542c1d326af77d39f87d76dfc900224a9c3e.tar.lz yuzu-7eb4542c1d326af77d39f87d76dfc900224a9c3e.tar.xz yuzu-7eb4542c1d326af77d39f87d76dfc900224a9c3e.tar.zst yuzu-7eb4542c1d326af77d39f87d76dfc900224a9c3e.zip |
-rw-r--r-- | src/yuzu/CMakeLists.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt index cf68a95b5..19ba0dbba 100644 --- a/src/yuzu/CMakeLists.txt +++ b/src/yuzu/CMakeLists.txt @@ -182,7 +182,14 @@ if (ENABLE_QT_TRANSLATION) # Update source TS file if enabled if (GENERATE_QT_TRANSLATION) get_target_property(SRCS yuzu SOURCES) - qt5_create_translation(QM_FILES ${SRCS} ${UIS} ${YUZU_QT_LANGUAGES}/en.ts) + qt5_create_translation(QM_FILES + ${SRCS} + ${UIS} + ${YUZU_QT_LANGUAGES}/en.ts + OPTIONS + -source-language en_US + -target-language en_US + ) add_custom_target(translation ALL DEPENDS ${YUZU_QT_LANGUAGES}/en.ts) endif() |