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