(1) We need translations built before running getlangnames.py. (2) getlangnames.py is looking in the wrong place for .gmo files. --- Makefile.am | 4 ++-- scripts/getlangnames.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index a1a13cb..34c3c20 100644 --- a/Makefile.am +++ b/Makefile.am @@ -19,8 +19,8 @@ ACLOCAL_AMFLAGS = -I m4 -SUBDIRS = pyanaconda loader gptsync data \ - tests utils scripts docs po +SUBDIRS = pyanaconda loader gptsync po data \ + tests utils scripts docs EXTRA_DIST = config.rpath COPYING \ anaconda.spec.in diff --git a/scripts/getlangnames.py b/scripts/getlangnames.py index 877ee72..bc3cced 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.gmo" %(l,)) + f = open("../po/%s.gmo" %(l,)) except (OSError, IOError): continue cat = gettext.GNUTranslations(f) -- 1.7.4.1 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list