From: Philip Jenvey Date: Fri, 28 Sep 2007 04:44:55 +0000 (+0000) Subject: we must mean options.locale here X-Git-Tag: 1.0~375 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddc1319d0b8545f824b0e60919fc9b4d637eea71;p=thirdparty%2Fbabel.git we must mean options.locale here --- diff --git a/babel/messages/frontend.py b/babel/messages/frontend.py index b54cd8f8..cac9b894 100755 --- a/babel/messages/frontend.py +++ b/babel/messages/frontend.py @@ -717,7 +717,7 @@ class CommandLineInterface(object): if not options.directory: parser.error('you must specify either the input file or ' 'the base directory') - mo_files.append(os.path.join(options.directory, locale, + mo_files.append(os.path.join(options.directory, options.locale, 'LC_MESSAGES', options.domain + '.mo')) if not po_files: