summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-08-22 17:52:34 +0200
committerLioncash <mathew1800@gmail.com>2021-08-22 17:52:37 +0200
commit6fef91ce4c0464607350434251812ca5f0d86470 (patch)
treed3d0f7152715aaf8f4cae25fa45d3082ed0bc511 /src
parentMerge pull request #6748 from lioncash/engine-init (diff)
downloadyuzu-6fef91ce4c0464607350434251812ca5f0d86470.tar
yuzu-6fef91ce4c0464607350434251812ca5f0d86470.tar.gz
yuzu-6fef91ce4c0464607350434251812ca5f0d86470.tar.bz2
yuzu-6fef91ce4c0464607350434251812ca5f0d86470.tar.lz
yuzu-6fef91ce4c0464607350434251812ca5f0d86470.tar.xz
yuzu-6fef91ce4c0464607350434251812ca5f0d86470.tar.zst
yuzu-6fef91ce4c0464607350434251812ca5f0d86470.zip
Diffstat (limited to 'src')
-rw-r--r--src/yuzu/CMakeLists.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/yuzu/CMakeLists.txt b/src/yuzu/CMakeLists.txt
index cb4bdcc7e..7a5fcff20 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()