Update TDEL10n module

+ Allow missed keyword CATALOG, if the catalog name is the first argument.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/7/head
Slávek Banko 4 years ago
parent 3779b941ef
commit ebe1ddc721
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668
  1. 6
      modules/TDEL10n.cmake

@ -127,7 +127,7 @@ endfunction( )
#####
##### Syntax:
##### tde_l10n_create_template(
##### CATALOG file_name
##### [CATALOG] file_name
##### [SOURCES source_spec [source_spec]]
##### [EXCLUDES regex [regex]]
##### [KEYWORDS keyword [keyword]]
@ -176,9 +176,9 @@ macro( tde_l10n_create_template )
unset( _dest )
unset( _keywords )
unset( _attributes )
unset( _directive )
unset( _var )
unset( _pot )
unset( _directive )
set( _var _catalog )
foreach( _arg ${ARGN} )

Loading…
Cancel
Save