diff options
author | Slávek Banko <[email protected]> | 2020-05-11 02:30:47 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2020-05-11 02:30:47 +0200 |
commit | f6f7bfc0071bb86244d31258893cd5c3a676546b (patch) | |
tree | 9648d7da6e0703fa15b40d017d4b6eb27085e4c7 | |
parent | e72aabadf5ddef845a432542176e969fad8a7ef3 (diff) | |
download | tde-cmake-f6f7bfc0071bb86244d31258893cd5c3a676546b.tar.gz tde-cmake-f6f7bfc0071bb86244d31258893cd5c3a676546b.zip |
Update TDEL10n module
+ Fix comment replacement and flag addition for _translatorinfo.
Signed-off-by: Slávek Banko <[email protected]>
-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}" ) |