mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-09 19:40:19 +00:00
remove line numbers from locale files
This commit is contained in:
@ -38,10 +38,20 @@ l'éditer et enfin le compiler au format binaire pour qu'il soit lu par le serve
|
||||
|
||||
```bash
|
||||
# Pour le backend
|
||||
./manage.py makemessages --locale=fr -e py,jinja --ignore=node_modules
|
||||
./manage.py makemessages \
|
||||
--locale=fr \
|
||||
-e py,jinja \
|
||||
--ignore=node_modules \
|
||||
--add-location=file
|
||||
|
||||
# Pour le frontend
|
||||
./manage.py makemessages --locale=fr -d djangojs -e js,ts --ignore=node_modules --ignore=staticfiles/generated
|
||||
./manage.py makemessages \
|
||||
--locale=fr \
|
||||
-d djangojs \
|
||||
-e js,ts \
|
||||
--ignore=node_modules \
|
||||
--ignore=staticfiles/generated \
|
||||
--add-location=file
|
||||
```
|
||||
|
||||
## Éditer le fichier django.po
|
||||
|
Reference in New Issue
Block a user