]> git.lyx.org Git - lyx.git/blobdiff - po/postats.py
Polishing diff_po.pl
[lyx.git] / po / postats.py
index c8c37ec67aac3190665667a7955d6836aeef527c..29a243eccc5581d0f98f01f141542bd54326c78e 100755 (executable)
@@ -127,9 +127,9 @@ array ( 'langcode' => '%(langcode)s', "date" => "%(date)s",
 
 if __name__ == "__main__":
     if lyx_branch:
-        branch_tag = "branches/%s" % lyx_branch
+        branch_tag = lyx_branch
     else:
-        branch_tag = "trunk"
+        branch_tag = "master"
 
 
     print """<?php
@@ -140,5 +140,4 @@ $branch_tag = "%s";
 
 // The data itself
 $podata = array (%s
-)?>
-""" % (sys.argv[1], branch_tag, ",".join([run_msgfmt(po) for po in sys.argv[2:] if po not in ommitted]))
+)?>""" % (sys.argv[1], branch_tag, ",".join([run_msgfmt(po) for po in sys.argv[2:] if po not in ommitted]))