]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
fix typos in messages frontend
authorSébastien Diemer <sebastien.diemer@polyconseil.fr>
Fri, 8 Apr 2016 14:46:48 +0000 (16:46 +0200)
committerAarni Koskela <akx@iki.fi>
Tue, 12 Apr 2016 07:33:04 +0000 (10:33 +0300)
The 'no-wrap', 'ignore-obsolete', 'no-fuzzy-matching', 'previous' and
'update-header-comment' were not correctly parsed in the update_catalog
command.

babel/messages/frontend.py

index ddddc02e7b9c8c696598da54fc974932c6c1c94c..62e7c03e9682eeff95daee23352226edab34bc7c 100644 (file)
@@ -597,7 +597,7 @@ class update_catalog(Command):
         ('previous', None,
          'keep previous msgids of translated messages')
     ]
-    boolean_options = ['ignore_obsolete', 'no_fuzzy_matching', 'previous', 'update_header_comment']
+    boolean_options = ['no-wrap', 'ignore-obsolete', 'no-fuzzy-matching', 'previous', 'update-header-comment']
 
     def initialize_options(self):
         self.domain = 'messages'