Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

fix translation-sync instruction and script #1067

Merged
merged 1 commit into from
Apr 24, 2017
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ New test should be added for any new features or views in the app. For more info
If you know a language other than English and would like to help translate this app, please follow the following steps:

### Install necessary node modules
```npm install -g babel-cli eslint-cli```
```npm install -g babel-cli eslint-cli babel-preset-es2015```

### Run script to populate missing translation terms
```npm run translation-sync```
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"start": "./script/server",
"test": "./script/test",
"electron-test": "ember electron:test",
"translation-sync": "babel-node script/translation/sync.js --presets es2015,stage-2; eslint --fix app/locales"
"translation-sync": "babel-node script/translation/sync.js --presets es2015 && eslint --fix app/locales"
},
"repository": {
"type": "git",
Expand Down