~kiddo/specto/fix-email-encoding

« back to all changes in this revision

Viewing changes to po/generate_template.py

  • Committer: Jean-François Fortin Tam
  • Date: 2010-11-13 14:42:21 UTC
  • mfrom: (147.2.8 gtkbuilder-specto)
  • Revision ID: nekohayo@gmail.com-20101113144221-njln21ppfncnlw45
Merge the GTKBuilder branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
import glob
10
10
from string import replace
11
11
paths = ["../spectlib", "../spectlib/tools",
12
 
         "../spectlib/plugins", "../data/glade"]
 
12
         "../spectlib/plugins", "../data/uis"]
13
13
extensions = [".py", ".h"]
14
14
arguments = ""
15
15
 
17
17
#before passing them to pygettext
18
18
#intltool-extract --type=gettext/glade pywine.glade
19
19
print "Parsing glade files..."
20
 
for x in glob.glob("../data/glade/*.glade"):
 
20
for x in glob.glob("../data/uis/*.ui"):
21
21
    glade_file_to_parse = "intltool-extract --type=gettext/glade " + x
22
22
    os.system(glade_file_to_parse)
23
23
print "\tDone.\n"