|
|
@ -2025,6 +2025,9 @@ macro( tde_create_translated_desktop )
|
|
|
|
|
|
|
|
|
|
|
|
# are there any translations available, and required?
|
|
|
|
# are there any translations available, and required?
|
|
|
|
unset( _translations )
|
|
|
|
unset( _translations )
|
|
|
|
|
|
|
|
if(NOT DEFINED BUILD_TRANSLATIONS)
|
|
|
|
|
|
|
|
set(BUILD_TRANSLATIONS "$ENV{LINGUAS}")
|
|
|
|
|
|
|
|
endif()
|
|
|
|
if( EXISTS "${_po_dir}" AND IS_DIRECTORY "${_po_dir}" AND BUILD_TRANSLATIONS )
|
|
|
|
if( EXISTS "${_po_dir}" AND IS_DIRECTORY "${_po_dir}" AND BUILD_TRANSLATIONS )
|
|
|
|
file( GLOB _translations RELATIVE "${_po_dir}" "${_po_dir}/*.po" )
|
|
|
|
file( GLOB _translations RELATIVE "${_po_dir}" "${_po_dir}/*.po" )
|
|
|
|
endif( )
|
|
|
|
endif( )
|
|
|
|