diff options
author | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-02-09 05:09:51 +0300 |
---|---|---|
committer | Matthieu Napoli <matthieu@mnapoli.fr> | 2015-02-10 00:23:22 +0300 |
commit | 3bf35892dd9c42d7765c3e79906abc06cc6f350b (patch) | |
tree | 53bccdc99d95f08ee3c2ff577176e0e8092a8e2d /config/environment | |
parent | e084b065d0b8abd8684fb74be4d1e0e66db33f74 (diff) |
#7094 Added a new "Development" language that shows the raw translation id
This language is shown when development mode is enabled.
Diffstat (limited to 'config/environment')
-rw-r--r-- | config/environment/dev.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/config/environment/dev.php b/config/environment/dev.php index c695c23890..ab095a7aa5 100644 --- a/config/environment/dev.php +++ b/config/environment/dev.php @@ -2,7 +2,9 @@ return array( - // Disable translation cache - 'Piwik\Translation\Loader\LoaderInterface' => DI\object('Piwik\Translation\Loader\JsonFileLoader'), + 'Piwik\Translation\Loader\LoaderInterface' => DI\object('Piwik\Translation\Loader\LoaderCache') + ->constructor(DI\link('Piwik\Translation\Loader\DevelopmentLoader')), + 'Piwik\Translation\Loader\DevelopmentLoader' => DI\object() + ->constructor(DI\link('Piwik\Translation\Loader\JsonFileLoader')), ); |