summaryrefslogtreecommitdiff
path: root/babel
diff options
context:
space:
mode:
Diffstat (limited to 'babel')
-rwxr-xr-xbabel/messages/frontend.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/babel/messages/frontend.py b/babel/messages/frontend.py
index 86274e0..cead694 100755
--- a/babel/messages/frontend.py
+++ b/babel/messages/frontend.py
@@ -65,7 +65,7 @@ class compile_catalog(Command):
'name of the input file'),
('output-file=', 'o',
"name of the output file (default "
- "'<output_dir>/<locale>/LC_MESSAGES/<domain>.po')"),
+ "'<output_dir>/<locale>/LC_MESSAGES/<domain>.mo')"),
('locale=', 'l',
'locale of the catalog to compile'),
('use-fuzzy', 'f',
@@ -89,7 +89,7 @@ class compile_catalog(Command):
raise DistutilsOptionError('you must specify either the input file '
'or the base directory')
if not self.output_file and not self.directory:
- raise DistutilsOptionError('you must specify either the input file '
+ raise DistutilsOptionError('you must specify either the output file '
'or the base directory')
def run(self):
@@ -750,7 +750,7 @@ class CommandLineInterface(object):
mo_files.append(options.output_file)
else:
if not options.directory:
- parser.error('you must specify either the input file or '
+ parser.error('you must specify either the output file or '
'the base directory')
mo_files.append(os.path.join(options.directory, options.locale,
'LC_MESSAGES',