]> git.ipfire.org Git - thirdparty/babel.git/commit
Skip empty message when writing mo file
authorCédric Krier <ced@b2ck.com>
Wed, 7 Mar 2018 23:16:47 +0000 (00:16 +0100)
committerCédric Krier <ced@b2ck.com>
Wed, 7 Mar 2018 23:16:47 +0000 (00:16 +0100)
commit41e8169c63ac6b6ec673c74a9e1f7ebaa8c6be87
tree83f150ff35423438223b445fe702ec8fa61f3548
parent1378a3d5e7f7f111ea7828ff7429f0abbb513700
Skip empty message when writing mo file

Instead of using the msgid, this allows to have gettext fallback to
retrieve the translation. Otherwise gettext will anyway return msgid.
babel/messages/mofile.py