webext-tx-fix
v0.3.3
Published
Fix locales missing placeholders pulled from transifex
Downloads
9
Readme
webext-tx-fix
A CLI tool which re-adds placeholders to webextension locales pulled from Transifex. Note that Transifex has fixed this problem for newly uploaded message files, see #4.
Installation
npm install -d webext-tx-fix
Use it as npm script:
"scripts": {
"build-locales": "tx pull -a --mode=developer && webext-tx-fix",
}
Usage
webext-tx-fix
Usage:
webext-tx-fix [--source SOURCE_DIR]
Options:
-s --source SOURCE_DIR Source folder containing manifest.json. [default: .]
-h --help Show this.
-v --version Show version.
Changelog
0.3.3 (Jan 22, 2020)
- Fix: strip unknown keys.
0.3.2 (Jun 5, 2019)
- Update to [email protected].
0.3.1 (May 13, 2018)
- Exclude test files from the dist.
0.3.0 (May 13, 2018)
- Update neodoc.
- Add: files are processed in parallel.
- Add: detect the indent style of the source language and fix the indent if translation.
0.2.1 (Dec 26, 2017)
- Add: use ordered-json.
0.2.0 (Dec 14, 2017)
- Add: messages which is not translated are removed.
- Add: re-order the messages to match source language.
0.1.0 (Dec 12, 2017)
- First release.