]> git.lyx.org Git - features.git/commitdiff
* postats.py: skip en.po, which falls off the stats.
authorJürgen Spitzmüller <spitz@lyx.org>
Sun, 7 Dec 2008 10:55:03 +0000 (10:55 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Sun, 7 Dec 2008 10:55:03 +0000 (10:55 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27788 a592a061-630c-0410-9148-cb99ea01b6c8

po/postats.py

index e4c38572facc936ef4199702337817144b6b2296..c8c37ec67aac3190665667a7955d6836aeef527c 100755 (executable)
@@ -31,6 +31,8 @@ Invocation:
 # Note that an empty lyx_branch variable (ie svn trunk)
 # will "do the right thing".
 lyx_branch=""
+# these po-files will be skipped:
+ommitted = ('en.po')
 
 import os
 import sys
@@ -139,4 +141,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:]]))
+""" % (sys.argv[1], branch_tag, ",".join([run_msgfmt(po) for po in sys.argv[2:] if po not in ommitted]))