From a1df6797fe435861b1d6e7e1b0fb5a033a8ac5ed Mon Sep 17 00:00:00 2001 From: Seb Date: Wed, 13 Sep 2017 15:00:53 +0200 Subject: [PATCH] update documentation --- README.md | 2 +- Resources/doc/index.md | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 07bf618c..b91d80ac 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ Overview ======== -This Symfony2 bundle allows you to: +This Symfony bundle allows you to: * import translation files content into the database and provide a GUI to edit translations. * export translations from the database into files. diff --git a/Resources/doc/index.md b/Resources/doc/index.md index 99eccb6a..d9b8322d 100644 --- a/Resources/doc/index.md +++ b/Resources/doc/index.md @@ -41,7 +41,7 @@ $bundles = array( Then install the required assets: - ./app/console assets:install + ./bin/console assets:install ___________________ @@ -147,7 +147,7 @@ lexik_translation: If you use Doctrine ORM, you have to update your database: - ./app/console doctrine:schema:update --force + ./bin/console doctrine:schema:update --force #### Routing @@ -176,7 +176,7 @@ Import translations To import translations files content into your database just run the following command: - ./app/console lexik:translations:import [bundleName] [--cache-clear] [--force] [--globals] + ./bin/console lexik:translations:import [bundleName] [--cache-clear] [--force] [--globals] This command will import all application and bundles translations files according to the `managed_locales` defined in configuration (it will also load tanslations from SF conponents). @@ -199,7 +199,7 @@ Export translations To export translations from the database into files, run the following command: - ./app/console lexik:translations:export [--locales=en,de] [--domains=messages,validators] [--format=yml] [--case-insensitive] + ./bin/console lexik:translations:export [--locales=en,de] [--domains=messages,validators] [--format=yml] [--case-insensitive] This command will export all translations from the database into files. A translation is exported in the same file (and format) it was imported in, except for vendors files which are exported in `app/Resources/translations/` and in this case the command will only export translations that have changed.