Translation files are now in public/
This commit is contained in:
@@ -2,8 +2,14 @@
|
||||
|
||||
set -eu
|
||||
|
||||
echo "=> Update translation files"
|
||||
npm run update-translations
|
||||
|
||||
echo "=> Create timezones.js"
|
||||
./scripts/createTimezones.js ./public/js/timezones.js
|
||||
|
||||
echo "=> Build theme.css"
|
||||
./node_modules/.bin/sass -I node_modules/bootstrap-sass/assets/stylesheets/ ./src/theme.scss ./public/theme.css
|
||||
|
||||
./node_modules/.bin/vite build
|
||||
echo "=> Build the dashboard apps"
|
||||
./node_modules/.bin/vite build
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"description": "[Cloudron](https://cloudron.io) is the best way to run apps on your server.",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"update-translations": "curl https://translate.cloudron.io/api/components/cloudron/dashboard/file/ -o lang.zip && unzip -jo lang.zip -d ./src/translation/ && rm lang.zip"
|
||||
"update-translations": "curl https://translate.cloudron.io/api/components/cloudron/dashboard/file/ -o lang.zip && unzip -jo lang.zip -d ./public/translation/ && rm lang.zip"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Reference in New Issue
Block a user