]> git.lyx.org Git - lyx.git/blobdiff - po/postats.py
mainly cosmetics
[lyx.git] / po / postats.py
index 30bb958043c2375a12f1ac8c2bada0f32a4860e1..64aa0ad318506c96430ba42c829ef7e1333444c9 100644 (file)
@@ -36,6 +36,10 @@ lyx_branch=""
 import os
 import sys
 
+# Reset the locale
+import locale
+locale.setlocale(locale.LC_ALL, '') 
+
 def extract_number(line, issues, prop):
     """
     line is a string like
@@ -126,11 +130,11 @@ if __name__ == "__main__":
 
     print """<?php
 // The current version
-\$lyx_version = "%s";
+$lyx_version = "%s";
 // The branch tag
-\$branch_tag = "%s";
+$branch_tag = "%s";
 
 // The data itself
-\$podata = array (%s
+$podata = array (%s
 )?>
 """ % (lyx_version, branch_tag, ",".join([run_msgfmt(po) for po in sys.argv[1:]]))