Update TDEL10n module

+ Fix comment replacement and flag addition for _translatorinfo.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/44/head
Slávek Banko 4 年前
父节点 e72aabadf5
当前提交 f6f7bfc007
找不到此签名对应的密钥
GPG 密钥 ID: 608F5293A04BE668

@ -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}"
)

正在加载...
取消
保存