From cf1311fe904b9ddc47956e6430706e9fb40a863d Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Thu, 5 Nov 2020 13:13:17 +0100 Subject: [PATCH] add 'npm run update-translations' command --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index d38dd1b35..3099fd29c 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,8 @@ "version": "1.0.0", "description": "[Cloudron](https://cloudron.io) is the best way to run apps on your server.", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "update-translations": "curl https://translate.cloudron.io/download/cloudron/dashboard/?format=zip -o lang.zip && unzip -jo lang.zip -d ./src/translation/ && rm lang.zip" }, "repository": { "type": "git",