Replace update-translations.sh script with makemessages --all.
This commit is contained in:
@@ -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/")
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user