X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=po%2Fpostats.py;h=c8c37ec67aac3190665667a7955d6836aeef527c;hb=d9f13a9072f5cd09c0ecb49c4b1b8238eefdf0f7;hp=e4c38572facc936ef4199702337817144b6b2296;hpb=66a1e2cb3d17bf1f4ed730bf9499816d8a33af1b;p=lyx.git diff --git a/po/postats.py b/po/postats.py old mode 100644 new mode 100755 index e4c38572fa..c8c37ec67a --- a/po/postats.py +++ b/po/postats.py @@ -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]))