diff options
| author | Chris Lumens <clumens@redhat.com> | 2011-07-07 18:39:02 -0400 |
|---|---|---|
| committer | Chris Lumens <clumens@redhat.com> | 2011-07-07 18:39:02 -0400 |
| commit | 5a872183aa009bb823bc51dd19dc088a8d7af681 (patch) | |
| tree | 41c6e08f4fffc654426f547379e3cc3d6e6bcdfa /scripts | |
| parent | 9dadab684485d74c51de70f4b930e552a4e46e2f (diff) | |
| download | anaconda-5a872183aa009bb823bc51dd19dc088a8d7af681.tar.gz anaconda-5a872183aa009bb823bc51dd19dc088a8d7af681.tar.xz anaconda-5a872183aa009bb823bc51dd19dc088a8d7af681.zip | |
Fix a bug where language names aren't translated to native.
(1) We need translations built before running getlangnames.py.
(2) getlangnames.py is looking in the wrong place for .gmo files.
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/getlangnames.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/getlangnames.py b/scripts/getlangnames.py index 877ee7221..bc3cced98 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) |
