Jeremy Mikola
|
a6caa3d552
|
[FrameworkBundle] Replaced non-existent definition key
|
2010-09-30 07:18:10 +02:00 |
|
Fabien Potencier
|
707205410e
|
added an IdentityTranslator to make it possible to always relies on the translator service, even if none is configured
|
2010-09-27 16:53:44 +02:00 |
|
Fabien Potencier
|
d3aca1c04a
|
[FrameworkBundle] added support for the Translation component
|
2010-09-27 09:46:15 +02:00 |
|
Fabien Potencier
|
866c306dc8
|
removed the message interpolator system in the Validator component (i18n management should be done globally, not in a specific component)
|
2010-09-24 16:41:28 +02:00 |
|
Fabien Potencier
|
2862c6cce4
|
refactored configuration names
How to upgrade (have a look at the skeleton):
* the "web:config" namespace is now "app:config"
- <web:config csrf-secret="xxxxxxxxxx" charset="UTF-8" error-handler="null">
- <web:router resource="%kernel.root_dir%/config/routing.xml" />
- <web:validation enabled="true" annotations="true" />
- </web:config>
+ <app:config csrf-secret="xxxxxxxxxx" charset="UTF-8" error-handler="null">
+ <app:router resource="%kernel.root_dir%/config/routing.xml" />
+ <app:validation enabled="true" annotations="true" />
+ </app:config>
* the "web:templating" namespace is now a sub-namespace of "app:config"
- <web:templating
- escaping="htmlspecialchars"
- />
+ <app:config>
+ <app:templating escaping="htmlspecialchars" />
+ </app:config>
* the "web:user" namespace is now a sub-namespace of "app:config"
- <web:user default-locale="fr">
- <web:session name="SYMFONY" type="Native" lifetime="3600" />
- </web:user>
+ <app:config>
+ <app:user default-locale="fr">
+ <app:session name="SYMFONY" type="Native" lifetime="3600" />
+ </app:user>
+ </app:config>
* the "web:test" namespace is now a sub-namespace of "app:config"
- <web:test />
+ <app:config error_handler="false">
+ <app:test />
+ </app:config>
* the "swift:mailer" namespace is now "swiftmailer:config"
- <swift:mailer
+ <swiftmailer:config
transport="smtp"
encryption="ssl"
auth_mode="login"
* the "zend:logger" namespace is now a sub-namespace of "zend:config"
- <zend:logger
- priority="info"
- path="%kernel.logs_dir%/%kernel.environment%.log"
- />
+ <zend:config>
+ <zend:logger priority="info" path="%kernel.logs_dir%/%kernel.environment%.log" />
+ </zend:config>
|
2010-09-20 21:08:18 +02:00 |
|