summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-06-05 03:04:47 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-06-07 15:29:56 +0200
commit0af47d34410252e0011ff36a45a82dc1f1ceb3b5 (patch)
treece701eca1256deb1d42a688ffaac957074226a12 /modules
parent242e41b0dd74868e8a8810541788887dc59081a6 (diff)
downloadtde-cmake-0af47d34410252e0011ff36a45a82dc1f1ceb3b5.tar.gz
tde-cmake-0af47d34410252e0011ff36a45a82dc1f1ceb3b5.zip
Update TDEL10n module
+ Add --from-code=UTF-8 to xgettext call. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit f5b58cdd21909fd24356e843f629ccb725a4c70c)
Diffstat (limited to 'modules')
-rw-r--r--modules/TDEL10n.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/TDEL10n.cmake b/modules/TDEL10n.cmake
index c960bdb..f45cc53 100644
--- a/modules/TDEL10n.cmake
+++ b/modules/TDEL10n.cmake
@@ -575,8 +575,8 @@ macro( tde_l10n_create_template )
set( _withPotHeader "--foreign-user" )
endif( )
execute_process(
- COMMAND ${XGETTEXT_EXECUTABLE} ${_withPotHeader} -C
- -c -ki18n -o - ${_desktops}
+ COMMAND ${XGETTEXT_EXECUTABLE} ${_withPotHeader}
+ --from-code=UTF-8 -C -c -ki18n -o - ${_desktops}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
OUTPUT_VARIABLE _potDesktop
)