AdGuardHome/scripts/translations
Andrey Meshkov dfe47ab33b *: update translation script readme 2019-12-24 11:45:02 +03:00
..
.gitignore + translations: add twosky integration 2019-07-31 13:51:58 +03:00
README.md *: update translation script readme 2019-12-24 11:45:02 +03:00
download.js + translations: add twosky config file 2019-08-20 17:19:49 +03:00
package-lock.json Move translations script to scripts folder 2018-11-19 09:57:45 +03:00
package.json Move translations script to scripts folder 2018-11-19 09:57:45 +03:00
upload.js + translations: add twosky config file 2019-08-20 17:19:49 +03:00

README.md

Twosky intergration script

Usage

npm install
TWOSKY_URI=<API URI> TWOSKY_CLIENT_ID=<PROJECT ID> node download.js
TWOSKY_URI=<API URI> TWOSKY_CLIENT_ID=<PROJECT ID> node upload.js

After download you'll find the output locales in the client/src/__locales/ folder.

Examples:

TWOSKY_URI=https://twosky.example/api/v1 TWOSKY_CLIENT_ID=adguardhome node download.js
TWOSKY_URI=https://twosky.example/api/v1 TWOSKY_CLIENT_ID=adguardhome node upload.js