Skip to content

Commit f99abd6

Browse files
committed
Add commands to generate translation file and check they're updated
1 parent 1a690eb commit f99abd6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: package.json

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
"test": "lerna run test",
4444
"download:plugins": "theia download:plugins",
4545
"update:version": "node ./scripts/update-version.js",
46+
"i18n:generate": "theia extract -p '+(arduino-ide-extension|browser-app|electron|electron-app|plugins)/**/*.ts' -o ./i18n/en.json",
47+
"i18n:check": "yarn i18n:generate && git add -N ./i18n && git diff --exit-code ./i18n",
4648
"i18n:push": "node ./scripts/i18n/transifex-push.js ./i18n/en.json",
4749
"i18n:pull": "node ./scripts/i18n/transifex-pull.js ./i18n/"
4850
},

0 commit comments

Comments
 (0)