Commit 28d2786a authored by Remi Rampin's avatar Remi Rampin

Fix missing _f() from POT files

parent bf7e8538
......@@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Taguette 0.6\n"
"Project-Id-Version: Taguette 0.7\n"
"Report-Msgid-Bugs-To: hi@taguette.org\n"
"POT-Creation-Date: 2019-05-15 19:12-0400\n"
"POT-Creation-Date: 2019-06-11 10:08-0400\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"
......
......@@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Taguette 0.6\n"
"Project-Id-Version: Taguette 0.7\n"
"Report-Msgid-Bugs-To: hi@taguette.org\n"
"POT-Creation-Date: 2019-05-15 19:12-0400\n"
"POT-Creation-Date: 2019-06-11 10:08-0400\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"
......@@ -432,6 +432,19 @@ msgstr ""
msgid "Invalid login or password"
msgstr ""
#: taguette/web/views.py:149 taguette/web/views.py:208
#: taguette/web/views.py:319
msgid "Passwords do not match"
msgstr ""
#: taguette/web/views.py:151
msgid "Username is taken"
msgstr ""
#: taguette/web/views.py:155
msgid "Email is already used"
msgstr ""
#: taguette/web/views.py:243
msgid "This email is not associated with any user"
msgstr ""
......@@ -462,6 +475,69 @@ msgstr ""
#: taguette/main.py:152
msgid "Port number on which to listen"
#: taguette/validate.py:21
msgid "Project name cannot be empty"
msgstr ""
#: taguette/validate.py:23
msgid "Project name is too long"
msgstr ""
#: taguette/validate.py:28
msgid "Project description is too long"
msgstr ""
#: taguette/validate.py:39
msgid "User login cannot be empty"
msgstr ""
#: taguette/validate.py:41
msgid "User login is too long"
msgstr ""
#: taguette/validate.py:45
msgid "User login contains forbidden characters"
msgstr ""
#: taguette/validate.py:51
msgid "Email cannot be empty"
msgstr ""
#: taguette/validate.py:53
msgid "Invalid email address"
msgstr ""
#: taguette/validate.py:58
msgid "Please use a longer password"
msgstr ""
#: taguette/validate.py:60
msgid "Please use a shorter password"
msgstr ""
#: taguette/validate.py:65
msgid "Document name cannot be empty"
msgstr ""
#: taguette/validate.py:67
msgid "Document name is too long"
msgstr ""
#: taguette/validate.py:72
msgid "Document description is too long"
msgstr ""
#: taguette/validate.py:77
msgid "Tag path cannot be empty"
msgstr ""
#: taguette/validate.py:79
msgid "Tag path is too long"
msgstr ""
#: taguette/validate.py:84
msgid "Tag description is too long"
msgstr ""
#: taguette/main.py:154
......
[python: taguette/**.py]
encoding = utf-8
extract_messages = _, _f
[jinja2: taguette/templates/**.html]
encoding = utf-8
[javascript: taguette/static/js/**.js]
encoding = utf-8
extract_messages = gettext
......@@ -3,5 +3,5 @@
set -eu
cd "$(dirname "$(dirname "$0")")"
pybabel extract -F scripts/babelrc -c TRANSLATORS: -s -o po/main.pot $(find taguette -name '*.py' -o -name '*.html')
pybabel extract -F scripts/babelrc -k _f -c TRANSLATORS: -s -o po/main.pot $(find taguette -name '*.py' -o -name '*.html')
pybabel extract -F scripts/babelrc -c TRANSLATORS: -s -o po/javascript.pot $(find taguette -name '*.js')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment