Replace `update-translations.sh` script with `makemessages --all`.
parent
f4617ac126
commit
ead930d3b4
|
|
@ -114,6 +114,8 @@ LANGUAGES = (
|
|||
)
|
||||
LANGUAGE_CODE = "en"
|
||||
|
||||
LOCALE_PATHS = (os.path.join(BASE_DIR, "admin_interface/locale/"),)
|
||||
|
||||
ROOT_URLCONF = "tests.urls"
|
||||
|
||||
MEDIA_ROOT = os.path.join(BASE_DIR, "admin_interface/public/media/")
|
||||
|
|
|
|||
4
tox.ini
4
tox.ini
|
|
@ -61,7 +61,7 @@ deps =
|
|||
-r requirements.txt
|
||||
whitelist_externals = git
|
||||
commands =
|
||||
./update-translations.sh
|
||||
python -m django compilemessages
|
||||
python -m django makemessages --all
|
||||
python -m django compilemessages --ignore ".tox" --ignore ".venv" --ignore "venv"
|
||||
git diff
|
||||
git diff-index --quiet HEAD
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/bash
|
||||
for lang in es fa fr it pl pt_BR tr; {
|
||||
python -m django makemessages -l $lang;
|
||||
}
|
||||
Loading…
Reference in New Issue