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 6 years ago
parent 3779b941ef
commit ebe1ddc721
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

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

Loading…
Cancel
Save