diff --git a/README.md b/README.md index 670d1908..8dec0a8a 100644 --- a/README.md +++ b/README.md @@ -4,9 +4,9 @@ JsTranslationBundle [![Build Status](https://secure.travis-ci.org/willdurand/BazingaJsTranslationBundle.png?branch=master)](https://travis-ci.org/willdurand/BazingaJsTranslationBundle) [![Total -Downloads](https://poser.pugx.org/willdurand/expose-translation-bundle/downloads.png)](https://packagist.org/packages/willdurand/expose-translation-bundle) +Downloads](https://poser.pugx.org/willdurand/js-translation-bundle/downloads.png)](https://packagist.org/packages/willdurand/js-translation-bundle) [![Latest Stable -Version](https://poser.pugx.org/willdurand/expose-translation-bundle/v/stable.png)](https://packagist.org/packages/willdurand/expose-translation-bundle) +Version](https://poser.pugx.org/willdurand/js-translation-bundle/v/stable.png)](https://packagist.org/packages/willdurand/js-translation-bundle) A pretty nice way to expose your Symfony2 translation messages to your client applications. diff --git a/Resources/doc/index.md b/Resources/doc/index.md index f91d85bf..e5461981 100644 --- a/Resources/doc/index.md +++ b/Resources/doc/index.md @@ -16,10 +16,10 @@ Installation Install the bundle: - composer require "willdurand/expose-translation-bundle:@stable" + composer require "willdurand/js-translation-bundle:@stable" **Protip:** you should browse the -[`willdurand/expose-translation-bundle`](https://packagist.org/packages/willdurand/expose-translation-bundle) +[`willdurand/js-translation-bundle`](https://packagist.org/packages/willdurand/js-translation-bundle) page to choose a stable version to use, avoid the `@stable` meta constraint. Register the bundle in `app/AppKernel.php`: diff --git a/UPGRADE.md b/UPGRADE.md index 05be4eaa..21d3069a 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -1,6 +1,9 @@ From 1.x to 2.0 =============== +* The package name has been rename from `willdurand/expose-translation-bundle` + to `willdurand/js-translation-bundle`. + * This bundle now requires Symfony `2.3` and above. * The bundle has been renamed from `BazingaExposeTranslationBundle` to diff --git a/composer.json b/composer.json index 1dc6ed0a..1445a986 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "willdurand/expose-translation-bundle", + "name": "willdurand/js-translation-bundle", "description": "A pretty nice way to expose your translation messages to your JavaScript.", "keywords": [ "translation", "javascript", "symfony" ], "type": "symfony-bundle", @@ -20,6 +20,9 @@ "symfony/browser-kit": "~2.3", "symfony/twig-bundle": "~2.3" }, + "replace": { + "willdurand/expose-translation-bundle": "2.0.*" + }, "autoload": { "psr-0": { "Bazinga\\Bundle\\JsTranslationBundle": "" } },