From c597f6c0b035ff6d0f6e4b1b129691ecc01d0896 Mon Sep 17 00:00:00 2001 From: peijiankang Date: Mon, 9 Jan 2023 16:12:14 +0800 Subject: [PATCH] fix translation problem of ukui-panel --- cmake/UkuiPluginTranslationTs.cmake | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmake/UkuiPluginTranslationTs.cmake b/cmake/UkuiPluginTranslationTs.cmake index 6409d30..3faa70e 100644 --- a/cmake/UkuiPluginTranslationTs.cmake +++ b/cmake/UkuiPluginTranslationTs.cmake @@ -12,17 +12,17 @@ endif() if(EXISTS ${TS_FILES}) message(STATUS "${TS_FILES} is EXISTS") execute_process( - COMMAND lupdate -recursive ${CMAKE_CURRENT_SOURCE_DIR} -target-language zh_CN -ts ${TS_FILES} + COMMAND lupdate-qt5 -recursive ${CMAKE_CURRENT_SOURCE_DIR} -target-language zh_CN -ts ${TS_FILES} ) execute_process( - COMMAND lrelease ${TS_FILES} + COMMAND lrelease-qt5 ${TS_FILES} ) else() execute_process( - COMMAND lupdate -recursive ${CMAKE_CURRENT_SOURCE_DIR} -target-language zh_CN -ts ${TS_FILES} + COMMAND lupdate-qt5 -recursive ${CMAKE_CURRENT_SOURCE_DIR} -target-language zh_CN -ts ${TS_FILES} ) execute_process( - COMMAND lrelease ${TS_FILES} + COMMAND lrelease-qt5 ${TS_FILES} ) endif() -- 2.33.0