mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
scramble email addresses
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21145 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
72801c16e2
commit
4fa8163a2d
@ -105,6 +105,8 @@ def run_msgfmt(pofile):
|
||||
prop["langcode"] = os.path.basename(pofile)[:-3]
|
||||
prop["date"] = header['PO-Revision-Date'].split()[0]
|
||||
prop["email"] = header['Last-Translator'].split('<')[1][:-1]
|
||||
prop["email"] = prop["email"].replace("@", " () ")
|
||||
prop["email"] = prop["email"].replace(".", " ! ")
|
||||
translator = header['Last-Translator'].split('<')[0].strip()
|
||||
try:
|
||||
prop["translator"] = translator.decode(charset).encode('ascii','xmlcharrefreplace')
|
||||
|
Loading…
Reference in New Issue
Block a user