# HG changeset patch # User Thomas De Schampheleire # Date 2019-03-12 21:25:19 # Node ID e27789c0a8078845232a434fb7a7efeba20fd008 # Parent 5b841d56bf742c41768c9d52e6dfb33fc8275b73 i18n: pt_BR: fix empty 'Language' entry This causes 'python2 setup.py update_catalog' to fail with: File "/usr/lib64/python2.7/site-packages/babel/core.py", line 1094, in parse_locale raise ValueError('expected only letters, got %r' % lang) ValueError: expected only letters, got u'' diff --git a/kallithea/i18n/pt_BR/LC_MESSAGES/kallithea.po b/kallithea/i18n/pt_BR/LC_MESSAGES/kallithea.po --- a/kallithea/i18n/pt_BR/LC_MESSAGES/kallithea.po +++ b/kallithea/i18n/pt_BR/LC_MESSAGES/kallithea.po @@ -12,7 +12,7 @@ msgstr "" "PO-Revision-Date: 2014-02-13 14:34+0000\n" "Last-Translator: marcinkuzminski \n" "Language-Team: Portuguese (Brazil) \n" -"Language: \n" +"Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n"