Mercurial > babel > mirror
changeset 290:4f48bc780538 trunk
we must mean options.locale here
author | pjenvey |
---|---|
date | Fri, 28 Sep 2007 04:44:55 +0000 |
parents | b6efe6a8e2ec |
children | 2f6b2b06a428 |
files | babel/messages/frontend.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/babel/messages/frontend.py +++ b/babel/messages/frontend.py @@ -717,7 +717,7 @@ 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: