diff --git a/QtScrcpy/res/i18n/CMakeLists.txt b/QtScrcpy/res/i18n/CMakeLists.txt index bf3dad8..cc60a45 100644 --- a/QtScrcpy/res/i18n/CMakeLists.txt +++ b/QtScrcpy/res/i18n/CMakeLists.txt @@ -2,6 +2,7 @@ set(QC_TS_FILES ${CMAKE_CURRENT_SOURCE_DIR}/zh_CN.ts ${CMAKE_CURRENT_SOURCE_DIR}/en_US.ts + ${CMAKE_CURRENT_SOURCE_DIR}/ja_JP.ts ) # 设置qm文件生成目录 set_source_files_properties(${QC_TS_FILES} PROPERTIES OUTPUT_LOCATION "${CMAKE_CURRENT_SOURCE_DIR}") @@ -48,4 +49,4 @@ qt5_create_translation在cmake clean的时候会删除翻译好的ts文件,导 2. https://doc.qt.io/qt-5/qtlinguist-cmake-qt5-add-translation.html 3. https://doc.qt.io/qt-5/qtlinguist-cmake-qt5-create-translation.html 4. execute_process 参考:https://blog.csdn.net/u010255072/article/details/120326833 -5. add_custom_target 参考:https://www.cnblogs.com/apocelipes/p/14355460.html \ No newline at end of file +5. add_custom_target 参考:https://www.cnblogs.com/apocelipes/p/14355460.html