From f6f7bfc0071bb86244d31258893cd5c3a676546b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 11 May 2020 02:30:47 +0200 Subject: [PATCH] Update TDEL10n module + Fix comment replacement and flag addition for _translatorinfo. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- modules/TDEL10n.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/TDEL10n.cmake b/modules/TDEL10n.cmake index 5bf2279..c960bdb 100644 --- a/modules/TDEL10n.cmake +++ b/modules/TDEL10n.cmake @@ -648,12 +648,12 @@ macro( tde_l10n_create_template ) # replace the references for _translatorinfo with instructions in the comment string( REGEX REPLACE - "(^|\n)(#:[^\n]*) _translatorinfo:1($|[ \n])" + "(^|\n)(#:[^\n]*) _translatorinfo:1($|[^\n]*)" "\\1#. Instead of a literal translation, add your name to the end of the list (separated by a comma).\n\\2\\3\n#, ignore-inconsistent" _pot "${_pot}" ) string( REGEX REPLACE - "(^|\n)(#:[^\n]*) _translatorinfo:2($|[ \n])" + "(^|\n)(#:[^\n]*) _translatorinfo:2($|[^\n]*)" "\\1#. Instead of a literal translation, add your email to the end of the list (separated by a comma).\n\\2\\3\n#, ignore-inconsistent" _pot "${_pot}" )