mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 01:05:53 -04:00
Update i18n scripts
This commit is contained in:
parent
80c7a0c813
commit
8c8a978de7
@ -14,6 +14,7 @@
|
|||||||
"lint": "npm run-script lint:app && npm run-script lint:web",
|
"lint": "npm run-script lint:app && npm run-script lint:web",
|
||||||
"lint:app": "tslint --project ./tsconfig-app.json -t stylish",
|
"lint:app": "tslint --project ./tsconfig-app.json -t stylish",
|
||||||
"lint:web": "tslint --project ./tsconfig.json -t stylish",
|
"lint:web": "tslint --project ./tsconfig.json -t stylish",
|
||||||
|
"i18n": "npm run-script i18n:init && npm run-script i18n:extract",
|
||||||
"i18n:init": "ngx-translate-extract --input ./web --output ./web/public/assets/i18n/template.json --key-as-default-value --replace --format json",
|
"i18n:init": "ngx-translate-extract --input ./web --output ./web/public/assets/i18n/template.json --key-as-default-value --replace --format json",
|
||||||
"i18n:extract": "ngx-translate-extract --input ./web --output ./web/public/assets/i18n/en.json --clean --format json"
|
"i18n:extract": "ngx-translate-extract --input ./web --output ./web/public/assets/i18n/en.json --clean --format json"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user