Update TDEL10n module

+ Add --from-code=UTF-8 to xgettext call.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/49/head
Slávek Banko 5 years ago
parent e51ecbd591
commit f5b58cdd21
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -575,8 +575,8 @@ macro( tde_l10n_create_template )
set( _withPotHeader "--foreign-user" ) set( _withPotHeader "--foreign-user" )
endif( ) endif( )
execute_process( execute_process(
COMMAND ${XGETTEXT_EXECUTABLE} ${_withPotHeader} -C COMMAND ${XGETTEXT_EXECUTABLE} ${_withPotHeader}
-c -ki18n -o - ${_desktops} --from-code=UTF-8 -C -c -ki18n -o - ${_desktops}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
OUTPUT_VARIABLE _potDesktop OUTPUT_VARIABLE _potDesktop
) )

Loading…
Cancel
Save