diff options
| author | 2021-08-23 16:40:31 -0700 | |
|---|---|---|
| committer | 2021-08-23 16:40:31 -0700 | |
| 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 trans... (diff) | |
| download | yuzu-7eb4542c1d326af77d39f87d76dfc900224a9c3e.tar.gz yuzu-7eb4542c1d326af77d39f87d76dfc900224a9c3e.tar.xz yuzu-7eb4542c1d326af77d39f87d76dfc900224a9c3e.zip | |
Merge pull request #6912 from lioncash/plural
CMakeLists: Ensure proper numerusform tags are generated for pluralized translations
| -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) | |||
| 182 | # Update source TS file if enabled | 182 | # Update source TS file if enabled |
| 183 | if (GENERATE_QT_TRANSLATION) | 183 | if (GENERATE_QT_TRANSLATION) |
| 184 | get_target_property(SRCS yuzu SOURCES) | 184 | get_target_property(SRCS yuzu SOURCES) |
| 185 | qt5_create_translation(QM_FILES ${SRCS} ${UIS} ${YUZU_QT_LANGUAGES}/en.ts) | 185 | qt5_create_translation(QM_FILES |
| 186 | ${SRCS} | ||
| 187 | ${UIS} | ||
| 188 | ${YUZU_QT_LANGUAGES}/en.ts | ||
| 189 | OPTIONS | ||
| 190 | -source-language en_US | ||
| 191 | -target-language en_US | ||
| 192 | ) | ||
| 186 | add_custom_target(translation ALL DEPENDS ${YUZU_QT_LANGUAGES}/en.ts) | 193 | add_custom_target(translation ALL DEPENDS ${YUZU_QT_LANGUAGES}/en.ts) |
| 187 | endif() | 194 | endif() |
| 188 | 195 | ||