Fix small typing errors in the tde_create_translation macro.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 30ce93d11a)
v3.5.13-sru
Slávek Banko 6 years ago
parent e79fbb87de
commit 074d739874
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -1211,9 +1211,9 @@ macro( tde_create_translation )
set( _directive 1 )
endif( )
# found directive "DESTINATION"
# found directive "OUTPUT_NAME"
if( "+${_arg}" STREQUAL "+OUTPUT_NAME" )
unset( _proj )
unset( _out_name )
set( _var _out_name )
set( _directive 1 )
endif( )
@ -1266,7 +1266,7 @@ macro( tde_create_translation )
get_filename_component( _src ${_src} ABSOLUTE )
if( _out_name )
set( _out ${_out_name} )
set( _out ${_out_name} )
if( _lang STREQUAL "auto" )
get_filename_component( _real_lang ${_src} NAME_WE )
set( _dest "${LOCALE_INSTALL_DIR}/${_real_lang}/LC_MESSAGES" )

Loading…
Cancel
Save