From: José Matox Date: Tue, 23 Oct 2007 08:23:39 +0000 (+0000) Subject: scramble email addresses X-Git-Tag: 1.6.10~7706 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=4fa8163a2d9586047ddc1a859afe3efa21c194fb;p=features.git scramble email addresses git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21145 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/po/postats.py b/po/postats.py index 64aa0ad318..75925f6a92 100644 --- a/po/postats.py +++ b/po/postats.py @@ -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')