Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update makemessages & transfercontext scripts to use kolibri-tools CLI #4065

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"lint-frontend:format": "yarn run lint-frontend --write",
"lint-frontend:watch": "yarn run lint-frontend --monitor",
"lint-frontend:watch:format": "yarn run lint-frontend --monitor --write",
"makemessages": "node ./node_modules/kolibri-tools/lib/i18n/ExtractMessages.js --project=studio",
"makemessages": "kolibri-tools i18n-extract-messages --namespace studio --searchPath contentcuration/contentcuration/frontend",
"combineprofiles": "node ./node_modules/kolibri-tools/lib/combineStringProfiles.js ./contentcuration/locale/en/LC_MESSAGES/profiles/",
"transfercontext": "APP_NAME=contentcuration node ./node_modules/kolibri-tools/lib/i18n/SyncContext.js run && yarn lint-all:fix",
"transfercontext": "kolibri-tools i18n-transfer-context --namespace studio --searchPath contentcuration/contentcuration/frontend; yarn lint-all:fix",
"build": "webpack --env prod --config webpack.config.js",
"postgres": "pg_ctl -D /usr/local/var/[email protected] start || true",
"redis": "redis-server /usr/local/etc/redis.conf || true",
Expand Down