Skip to content

Commit

Permalink
fix readme (#176)
Browse files Browse the repository at this point in the history
- fix spaces in readme
- fix command name
  • Loading branch information
monteiro authored Sep 1, 2016
1 parent a6ebc1d commit 26d3793
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
10 changes: 5 additions & 5 deletions Resources/doc/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Publish assets:
Install the package:
npm install bazinga-translator --save
This step is optional because the files exposed by the npm package are also part of the composer bundle.
Normally you would do this if you prefer to keep all your front-end dependencies in one place, or if you wish to include the `Translator` object as a module dependency in your JS files.

Expand Down Expand Up @@ -150,7 +150,7 @@ Then, feed the translator via `Translator.fromJSON(myRetrievedJSONString)`.

This bundle provides a command to dump the translation files:

php app/console bazinga:js-translation:dump [target] [--format=js|json] [--merge]
php app/console bazinga:js-translation:dump [target] [--format=js|json] [--merge-domains]

The optional `target` argument allows you to override the target directory to
dump JS translation files in. By default, it generates files in the `web/js/`
Expand Down Expand Up @@ -184,7 +184,7 @@ The command below is useful if you use
In the example above, all translation files from your entire project will be
loaded. Of course you can load specific domains: `js/translations/admin/*.js`.

The default translation URLs let a controller dump the translations. If you
The default translation URLs let a controller dump the translations. If you
make use of the Assetic, you need to manually dump the translations each time
a translation changes because the Assetic links will point to a static file.

Expand Down Expand Up @@ -355,7 +355,7 @@ bazinga_js_translation:
#### Active locales
By default, all locales are dumped.
By default, all locales are dumped.
You can define an array of active locales:
``` yaml
Expand All @@ -367,7 +367,7 @@ bazinga_js_translation:
#### Active Domains
By default, all domains are dumped.
By default, all domains are dumped.
You can define an array of active domains:
``` yaml
Expand Down
5 changes: 4 additions & 1 deletion Resources/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
"name": "bazinga-translator",
"version": "2.6.0",
"description": "A pretty nice way to use your translation messages generated by the BazingaJsTranslationBundle in your JavaScript.",
"keywords": [ "translation", "symfony" ],
"keywords": [
"translation",
"symfony"
],
"license": "MIT",
"author": {
"name": "William Durand",
Expand Down

0 comments on commit 26d3793

Please sign in to comment.