Fix extraction of _LI _LW _LE _LC for translation

In order to start translating we should gradually update the messages.
To fix this issue, we need to add _LI _LW _LE _LC in setup.cfg

Change-Id: I21bc850453b7b0f046c38ad724a17d0b8bb2e851
Related-Bug: #1534164
This commit is contained in:
Jean-Emile DARTOIS 2016-01-14 14:58:17 +01:00
parent 740dcf7bc2
commit 926af3273a
3 changed files with 20 additions and 4 deletions

View File

@ -47,6 +47,6 @@ output_dir = watcherclient/locale
input_file = watcherclient/locale/watcherclient.pot
[extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext
keywords = _ gettext ngettext l_ lazy_gettext _LI _LW _LE _LC
mapping_file = babel.cfg
output_file = watcherclient/locale/watcherclient.pot

View File

@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: python-watcherclient 0.20.1.dev4\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2016-01-12 01:58+0100\n"
"POT-Creation-Date: 2016-01-14 14:57+0100\n"
"PO-Revision-Date: 2016-01-12 02:05+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: fr\n"
@ -99,6 +99,14 @@ msgstr ""
msgid "Error communicating with %(endpoint)s %(e)s"
msgstr ""
#: watcherclient/common/http.py:181
msgid "Request returned failure status."
msgstr ""
#: watcherclient/common/http.py:213 watcherclient/common/http.py:337
msgid "Could not decode response body as JSON"
msgstr ""
#: watcherclient/common/utils.py:87
#, python-format
msgid "Attributes must be a list of PATH=VALUE not \"%s\""

View File

@ -7,9 +7,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: python-watcherclient 0.20.1.dev4\n"
"Project-Id-Version: python-watcherclient 0.20.1.dev5\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2016-01-12 01:58+0100\n"
"POT-Creation-Date: 2016-01-14 14:57+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -97,6 +97,14 @@ msgstr ""
msgid "Error communicating with %(endpoint)s %(e)s"
msgstr ""
#: watcherclient/common/http.py:181
msgid "Request returned failure status."
msgstr ""
#: watcherclient/common/http.py:213 watcherclient/common/http.py:337
msgid "Could not decode response body as JSON"
msgstr ""
#: watcherclient/common/utils.py:87
#, python-format
msgid "Attributes must be a list of PATH=VALUE not \"%s\""