From: Sébastien Diemer Date: Fri, 8 Apr 2016 14:46:48 +0000 (+0200) Subject: fix typos in messages frontend X-Git-Tag: 2.3.4~1^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d02af113f7d03e535d61a43519f15f751c4e0b8a;p=thirdparty%2Fbabel.git fix typos in messages frontend The 'no-wrap', 'ignore-obsolete', 'no-fuzzy-matching', 'previous' and 'update-header-comment' were not correctly parsed in the update_catalog command. --- diff --git a/babel/messages/frontend.py b/babel/messages/frontend.py index ddddc02e..62e7c03e 100644 --- a/babel/messages/frontend.py +++ b/babel/messages/frontend.py @@ -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'