@ -1782,18 +1782,27 @@ macro( tde_create_translated_desktop )
endforeach ( )
endforeach ( )
# s e l e c t a t o o l f o r m e r g i n g d e s k t o p f i l e t r a n s l a t i o n s
# s e l e c t a t o o l f o r m e r g i n g d e s k t o p f i l e t r a n s l a t i o n s
if ( NOT MSGFMT_EXECUTABLE OR NOT MSGFMT_VERSION )
#
tde_setup_msgfmt ( )
# B e c a u s e s o m e o f o u r d e s k t o p f i l e s c o n t a i n u n d e r s c o r e s i n v a r i a b l e
endif ( )
# names ( for example eventsrc ) , w h i c h i s n o t a n a l l o w e d c h a r a c t e r
if ( "${MSGFMT_VERSION}" VERSION_LESS "0.19" )
# f o r n a m e s o f e n t r i e s i n d e s k t o p s t y l e f i l e s , w e c a n ' t u s e m s g f m t ,
# s o w e n e e d i n t l t o o l - m e r g e .
#
# if ( NOT MSGFMT_EXECUTABLE OR NOT MSGFMT_VERSION )
# tde_setup_msgfmt ( )
# endif ( )
# if ( "${MSGFMT_VERSION}" VERSION_LESS "0.19" )
if ( TRUE )
if ( NOT INTLTOOL_MERGE_EXECUTABLE )
if ( NOT INTLTOOL_MERGE_EXECUTABLE )
find_program ( INTLTOOL_MERGE_EXECUTABLE
find_program ( INTLTOOL_MERGE_EXECUTABLE
N A M E S i n t l t o o l - m e r g e
N A M E S i n t l t o o l - m e r g e
H I N T S " $ { T D E _ P R E F I X } / b i n "
H I N T S " $ { T D E _ P R E F I X } / b i n "
)
)
if ( "${INTLTOOL_MERGE_EXECUTABLE}" STREQUAL "INTLTOOL_MERGE_EXECUTABLE-NOTFOUND" )
if ( "${INTLTOOL_MERGE_EXECUTABLE}" STREQUAL "INTLTOOL_MERGE_EXECUTABLE-NOTFOUND" )
tde_message_fatal ( "xgettext >= 0.19 or intltool-merge is required but not found" )
# tde_message_fatal ( "xgettext >= 0.19 or intltool-merge is required but not found" )
tde_message_fatal ( "intltool-merge is required but not found" )
endif ( )
endif ( )
message ( STATUS "Found intltool: ${INTLTOOL_MERGE_EXECUTABLE}" )
endif ( )
endif ( )
set ( DESKTOP_MERGE_INTLTOOL 1 )
set ( DESKTOP_MERGE_INTLTOOL 1 )
else ( )
else ( )