Update TDEL10n module

+ Fix comment replacement and flag addition for _translatorinfo.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit f6f7bfc007)
v3.5.13-sru
Slávek Banko 5 years ago
parent d9fc349162
commit 98b2d6cbdc
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -648,12 +648,12 @@ macro( tde_l10n_create_template )
# replace the references for _translatorinfo with instructions in the comment # replace the references for _translatorinfo with instructions in the comment
string( REGEX REPLACE 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" "\\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}" _pot "${_pot}"
) )
string( REGEX REPLACE 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" "\\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}" _pot "${_pot}"
) )

Loading…
Cancel
Save