|
|
@ -1916,6 +1916,8 @@ macro( tde_create_translated_desktop )
|
|
|
|
file( RELATIVE_PATH _target "${CMAKE_SOURCE_DIR}" "${_target}" )
|
|
|
|
file( RELATIVE_PATH _target "${CMAKE_SOURCE_DIR}" "${_target}" )
|
|
|
|
string( REPLACE "/" "+" _target "${_target}-translated" )
|
|
|
|
string( REPLACE "/" "+" _target "${_target}-translated" )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if( NOT TARGET ${_target} )
|
|
|
|
|
|
|
|
|
|
|
|
if( DESKTOP_MERGE_MSGFMT )
|
|
|
|
if( DESKTOP_MERGE_MSGFMT )
|
|
|
|
|
|
|
|
|
|
|
|
# Decide which translations to build; the ones selected in the
|
|
|
|
# Decide which translations to build; the ones selected in the
|
|
|
@ -1960,6 +1962,8 @@ macro( tde_create_translated_desktop )
|
|
|
|
# merge translations target
|
|
|
|
# merge translations target
|
|
|
|
add_custom_target( "${_target}" ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${_basename} )
|
|
|
|
add_custom_target( "${_target}" ALL DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/${_basename} )
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
else( )
|
|
|
|
else( )
|
|
|
|
|
|
|
|
|
|
|
|
# just write the original file without translations
|
|
|
|
# just write the original file without translations
|
|
|
|