mirror of
https://github.com/akuker/RASCSI.git
synced 2024-12-30 05:29:47 +00:00
Run pybabel extract against the src subdir to pull in only piscsi strings (#1032)
This commit is contained in:
parent
66a905f1d6
commit
e78869644c
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user