AdGuardHome/scripts/translations/README.md

18 lines
473 B
Markdown
Raw Normal View History

2019-07-18 18:35:23 +03:00
## Twosky intergration script
### Usage
```
npm install
2019-07-18 18:35:23 +03:00
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.
2019-12-24 11:45:02 +03:00
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
```