badguardhome/scripts/translations
Ainar Garipov bdff46ec1d Pull request: all: add $dnsrewrite handling
Merge in DNS/adguard-home from 2102-dnsrewrite to master

Updates #2102.

Squashed commit of the following:

commit 8490fc18179d38c4b162ff9b257fea1f8535afbd
Merge: d9448ddca e7f7799b3
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Mon Dec 21 16:44:00 2020 +0300

    Merge branch 'master' into 2102-dnsrewrite

commit d9448ddca6d4ef3635d767e3e496e44c35d3fc6e
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Mon Dec 21 15:44:54 2020 +0300

    querylog: support dnsrewrite rules

commit 40aa5d30acddf29fb90d249d8806941c6e1915a4
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Fri Dec 18 19:27:40 2020 +0300

    all: improve documentation

commit f776a0cd63b1640ba1e5210d9301e2a2801fd824
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Fri Dec 18 19:09:08 2020 +0300

    dnsfilter: prevent panics, improve docs

commit e14073b7500d9ed827a151c5b8fb863c980c10e8
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date:   Fri Dec 4 15:51:02 2020 +0300

    all: add $dnsrewrite handling
2020-12-21 17:48:07 +03:00
..
.gitignore + translations: add twosky integration 2019-07-31 13:51:58 +03:00
count.js Added unused translations counter 2020-09-16 17:42:57 +03:00
download.js + translations: add twosky config file 2019-08-20 17:19:49 +03:00
package-lock.json Update locales, add locales scripts, update locales readme 2020-04-07 16:17:57 +03:00
package.json Added unused translations counter 2020-09-16 17:42:57 +03:00
README.md Pull request: all: add $dnsrewrite handling 2020-12-21 17:48:07 +03:00
unused.js Added unused translations counter 2020-09-16 17:42:57 +03:00
upload.js + translations: add twosky config file 2019-08-20 17:19:49 +03:00

Twosky integration script

Usage

  • npm install Install the dependencies in the local node_modules folder
  • npm run locales:download - Download and save all translations
  • npm run locales:upload - Upload base en locale
  • npm run locales:summary - Shows the current locales summary
  • npm run locales:unused - Shows a list of unused strings

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