]> git.lyx.org Git - lyx.git/blobdiff - po/postats.py
Fix typo
[lyx.git] / po / postats.py
index 64aa0ad318506c96430ba42c829ef7e1333444c9..75925f6a920c386e6e94cae64c068054782d36ea 100644 (file)
@@ -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')