This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Bundle/FrameworkBundle
Fabien Potencier 786c956a11 feature #10368 [FrameworkBundle] Added a translation:debug command (fabpot)
This PR was merged into the 2.5-dev branch.

Discussion
----------

[FrameworkBundle] Added a translation:debug command

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | yes
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

This PR is based on #10076 but fixes a bunch of issues for edge cases. It also uses the new Table helper.

Original description:

This pull request adds a `translation:debug` command that can be used to inspect unused / missing messages and compare them with the fallback ones (for example to detect copy pasted strings). This is inspired by this ruby project https://github.com/glebm/i18n-tasks

Example of output:

![image](https://f.cloud.github.com/assets/47313/2311673/84ae301c-a2f3-11e3-8bf6-96034369e46c.png)

Commits
-------

f039bde [FrameworkBundle] fixed edge cases for translation:debug and tweaked the output
597a310 Added a translation:debug command
2014-03-03 18:25:58 +01:00
..
CacheWarmer Nsdocblocks 2012-10-20 09:10:30 +02:00
Command feature #10368 [FrameworkBundle] Added a translation:debug command (fabpot) 2014-03-03 18:25:58 +01:00
Console [FrameworkBundle][Console] Load command from DIC after command from bundles. 2014-02-13 15:09:55 +01:00
Controller removed as many usage of the request service as possible without breaking BC 2014-02-28 16:35:07 +01:00
DataCollector moved the request data collector to HttpKernel 2012-07-18 10:39:53 +02:00
DependencyInjection feature #9862 [FrameworkBundle] Added configuration for additionnal request formats (gquemener) 2014-02-20 22:18:33 +01:00
EventListener fixed visibility 2013-11-04 10:03:40 +01:00
Fragment [HttpKernel] added escaping for hx:include tag attributes 2013-03-29 05:29:22 +01:00
HttpCache Fix typo change String to string 2012-07-06 19:52:14 +03:00
Resources feature #9862 [FrameworkBundle] Added configuration for additionnal request formats (gquemener) 2014-02-20 22:18:33 +01:00
Routing minor #9487 unify constructor initialization style throughout symfony (Tobion) 2013-11-22 18:42:00 +01:00
Templating Merge branch '2.4' 2014-01-01 10:16:05 +01:00
Test feature #9590 WebTestCase: Assume relative KERNEL_DIR is relative to phpunit.xml[.dist]? (mpdude) 2013-12-29 20:01:37 +01:00
Tests Merge branch '2.4' 2014-03-03 13:53:01 +01:00
Translation removed as many usage of the request service as possible without breaking BC 2014-02-28 16:35:07 +01:00
Validator [validator] throw an exception if isn't an instance of ConstraintValidatorInterface. 2013-12-07 09:07:04 +01:00
.gitignore Added missing files .gitignore 2013-07-21 14:12:18 +02:00
CHANGELOG.md Added a translation:debug command 2014-03-03 17:12:20 +01:00
Client.php Merge branch '2.2' into 2.3 2013-09-29 21:41:41 +02:00
composer.json [FrameworkBundle] Update composer.json to account for #9792 2014-01-05 21:14:31 +01:00
FrameworkBundle.php [EventDispatcher][HttpKernel] Move RegisterListenersPass from HttpKernel to EventDispatcher. 2013-12-18 18:16:40 +01:00
phpunit.xml.dist [FrameworkBundle] Added missing files for phpunit 2013-05-20 11:44:05 +02:00