From ebe1ddc721494cdfe14a93f38f49eec7d048c048 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 9 Dec 2018 02:55:00 +0100 Subject: [PATCH] Update TDEL10n module + Allow missed keyword CATALOG, if the catalog name is the first argument. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- modules/TDEL10n.cmake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/TDEL10n.cmake b/modules/TDEL10n.cmake index 7af4a1b..d0b3b89 100644 --- a/modules/TDEL10n.cmake +++ b/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} )