summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Morega <alex@grep.ro>2014-01-06 09:12:22 -0800
committerAlex Morega <alex@grep.ro>2014-01-06 09:12:22 -0800
commita97aeab79400887b52fb32f06b50512e5635f58a (patch)
treeb4318a7e4e7bbe56c643be45a22ef583504af635
parent5eaf9ec200e5eba278dbf39347f44dc1a41d96b1 (diff)
parente5a4738b5ad6b6497383c562dc102a08631d532f (diff)
downloadbabel-a97aeab79400887b52fb32f06b50512e5635f58a.tar.gz
Merge pull request #48 from yoloseem/patch-1
Fixed typos on cli errors.
-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',