Run pybabel extract against the src subdir to pull in only piscsi strings (#1032)

This commit is contained in:
Daniel Markstedt 2022-12-11 14:17:14 -08:00 committed by GitHub
parent 66a905f1d6
commit e78869644c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -62,7 +62,7 @@ Once this is done, it is time to localize the Python code. The below steps are d
First, generate the raw messages.pot file containing extracted strings.
```
$ pybabel extract -F babel.cfg -o messages.pot .
$ pybabel extract -F babel.cfg -o messages.pot src
```
### Initialize a new localization

View File

@ -10,7 +10,7 @@ fi
source venv/bin/activate
pybabel extract -F babel.cfg -o messages.pot .
pybabel extract -F babel.cfg -o messages.pot src
pybabel update -i messages.pot -d src/translations
echo