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年前
コミット 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}"
)

読み込み中…
キャンセル
保存