From 446484cf0f491c26e1c13ab07cf15af1879afec1 Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Fri, 22 Apr 2022 19:56:18 +0200 Subject: [PATCH] [i18n] Enable ru_RU and uk_UA translations --- tox.ini | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index e1283a1..ab0b339 100644 --- a/tox.ini +++ b/tox.ini @@ -9,7 +9,7 @@ whitelist_externals = poetry skip_install = true envdir = {toxworkdir}/globalenv commands_pre = - poetry install + poetry install -E ldap poetry run aleksis-admin yarn install poetry run aleksis-admin collectstatic --no-input commands = @@ -35,6 +35,8 @@ commands = [testenv:build] commands_pre = + poetry install + poetry run sh -c "cd aleksis; aleksis-admin compilemessages" commands = poetry build [testenv:docs] @@ -45,6 +47,11 @@ commands = poetry run isort aleksis/ poetry run black aleksis/ +[testenv:makemessages] +commands = + poetry run aleksis-admin makemessages --no-wrap -e html,txt,py,email -i static -l ar -l de_DE -l fr -l nb_NO -l tr_TR -l la -l ru_RU -l uk_UA + poetry run aleksis-admin makemessages --no-wrap -d djangojs -i **/node_modules -l ar -l de_DE -l fr -l nb_NO -l tr_TR -l la -l ru_RU -l uk_UA + [flake8] max_line_length = 100 exclude = migrations,tests -- GitLab