mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 08:34:40 +01:00
ui: added translations to the installation steps
This commit is contained in:
parent
3dc80809af
commit
4c855eff91
2 changed files with 9 additions and 1 deletions
|
@ -1,2 +1,3 @@
|
|||
recursive-include opensnitch/res *
|
||||
recursive-include opensnitch/i18n *
|
||||
include LICENSE
|
||||
|
|
|
@ -3,9 +3,16 @@ all: opensnitch/resources_rc.py
|
|||
install:
|
||||
@pip3 install --upgrade .
|
||||
|
||||
opensnitch/resources_rc.py: deps
|
||||
opensnitch/resources_rc.py: translations deps
|
||||
@pyrcc5 -o opensnitch/resources_rc.py opensnitch/res/resources.qrc
|
||||
|
||||
translations:
|
||||
@cd i18n ; make
|
||||
for lang in $$(ls i18n/locales/); do \
|
||||
if [ ! -d opensnitch/i18n/$$lang ]; then mkdir -p opensnitch/i18n/$$lang ; fi ; \
|
||||
cp i18n/locales/$$lang/opensnitch-$$lang.qm opensnitch/i18n/$$lang/ ; \
|
||||
done
|
||||
|
||||
deps:
|
||||
@pip3 install -r requirements.txt
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue