On Thu, Jul 07, 2011 at 06:44:21PM -0400, Chris Lumens wrote: > (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 Ack -- Brian C. Lane | Anaconda Team | IRC: bcl #anaconda | Port Orchard, WA (PST8PDT)
Attachment:
pgpjMkrTbSeju.pgp
Description: PGP signature
_______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list