Update TDEL10n module

+ Added automatic handling of the "_translatorinfo" file.

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

@ -278,6 +278,15 @@ macro( tde_create_l10n_template )
endif( )
endforeach( )
if( _files )
# add common translator info
set( _translatorinfo
"i18n(\"NAME OF TRANSLATORS\", \"Your names\")\n"
"i18n(\"EMAIL OF TRANSLATORS\", \"Your emails\")\n"
)
file( WRITE ${CMAKE_CURRENT_SOURCE_DIR}/_translatorinfo.tde_l10n ${_translatorinfo} )
list( INSERT _files 0 "_translatorinfo.tde_l10n" )
endif( )
if( _excludes )
# filter files by excludes
foreach( _src ${_files} )

Loading…
Cancel
Save