summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDavid Cantrell <dcantrell@redhat.com>2009-08-28 15:55:17 -1000
committerDavid Cantrell <dcantrell@redhat.com>2009-09-02 09:18:47 -1000
commitd3545b4c3057651bb5bf4e61f6dc248f6638df96 (patch)
tree03a660643857c301c8eec406411cc4e2d604124c /scripts
parent328236b01f16abdc7893f2be93cea2c93b7b13d8 (diff)
Include ui, liveinst, and lang-table strings in po updates (#515411)
We were losing strings from liveinst/liveinst.desktop.in, ui/*.glade, and lang-table whenever update-po would run. Expand the po/ Makefiles with Rules-lang-table, Rules-glade, and Rules-liveinst. These files add targets that generate the source files that the main po Makefile targets will read. Use intltool-extract to generate these source files from the glade files and the liveinst files. For lang-table, construct a source file manually. Modify scripts/getlangnames.py to open *.gmo files instead of *.mo files. In the ui/ and liveinst/ subdirs, add the *.h files to CLEANFILES so a 'make clean' operation will clear them out.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/getlangnames.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/getlangnames.py b/scripts/getlangnames.py
index b81d26d28..b25db83a0 100644
--- a/scripts/getlangnames.py
+++ b/scripts/getlangnames.py
@@ -29,7 +29,7 @@ for k in langs.localeInfo.keys():
found = False
for l in language.expandLangs(k):
try:
- f = open("po/%s.mo" %(l,))
+ f = open("po/%s.gmo" %(l,))
except (OSError, IOError):
continue
cat = gettext.GNUTranslations(f)