diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-05-11 02:30:47 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-05-11 02:31:31 +0200 |
commit | 635129843469b1539c9a07271217349d6516f835 (patch) | |
tree | d48d17a93505aa1be203b3dd6ef7e04ad6f6f181 | |
parent | 083913c406d3aa3fc28bce2897f0231eb4e678dc (diff) | |
download | tde-cmake-635129843469b1539c9a07271217349d6516f835.tar.gz tde-cmake-635129843469b1539c9a07271217349d6516f835.zip |
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 f6f7bfc0071bb86244d31258893cd5c3a676546b)
-rw-r--r-- | modules/TDEL10n.cmake | 4 |
1 files 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}" ) |