File tree Expand file tree Collapse file tree 4 files changed +8
-1
lines changed
Expand file tree Collapse file tree 4 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -8,4 +8,5 @@ node_modules
88schemas.opengis.net
99.pot
1010theme /static /themes-gcweb
11- locale /messages.pot
11+ locale /messages.pot
12+ * .mo
Original file line number Diff line number Diff line change @@ -40,6 +40,9 @@ unzip -o ./themes-gcweb.zip "*/wet-boew/*" -d theme/static
4040mv ./theme/static/themes-dist-14.6.0-gcweb ./theme/static/themes-gcweb
4141rm -f ./themes-gcweb.zip
4242
43+ # compile translation files (generate locale/*/LC_MESSAGES/message.mo)
44+ pybabel compile -d locale -l fr
45+
4346# install codebase
4447python setup.py build
4548python setup.py install
Original file line number Diff line number Diff line change @@ -38,6 +38,9 @@ override_dh_auto_configure:
3838 mv ./theme/static/themes-dist-14.6.0-gcweb ./theme/static/themes-gcweb
3939 rm -f ./themes-gcweb.zip
4040
41+ # Generate the binary file with the translations
42+ pybabel compile -d locale -l fr
43+
4144override_dh_auto_test :
4245 @echo " nocheck set, not running tests"
4346
You can’t perform that action at this time.
0 commit comments