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:39 +0200 |
commit | 98b2d6cbdcceffad983b22ea10e85c7f113e8ce5 (patch) | |
tree | fe76deff93f981e324571a02207d56f377d8ddbb /modules | |
parent | d9fc349162c317df055cd4ba3b67f2c710a7b0c1 (diff) | |
download | tde-cmake-98b2d6cbdcceffad983b22ea10e85c7f113e8ce5.tar.gz tde-cmake-98b2d6cbdcceffad983b22ea10e85c7f113e8ce5.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)
Diffstat (limited to 'modules')
-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}" ) |