Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Napoli <matthieu@mnapoli.fr>2015-02-09 05:09:51 +0300
committerMatthieu Napoli <matthieu@mnapoli.fr>2015-02-10 00:23:22 +0300
commit3bf35892dd9c42d7765c3e79906abc06cc6f350b (patch)
tree53bccdc99d95f08ee3c2ff577176e0e8092a8e2d /config/environment
parente084b065d0b8abd8684fb74be4d1e0e66db33f74 (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.php6
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')),
);