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:
authordiosmosis <benakamoorthi@fastmail.fm>2013-10-29 02:20:21 +0400
committerdiosmosis <benakamoorthi@fastmail.fm>2013-10-29 02:20:21 +0400
commit3079d0b1fef735c7486d9c952f869671b6ff808e (patch)
treec7581fb93ed57874b15a27083224f8161c7e2831 /core/Twig.php
parent37a5b8c02987279fd5758232d73a964aa917cc69 (diff)
Fix bug in cliend side translation string loading.
Diffstat (limited to 'core/Twig.php')
-rw-r--r--core/Twig.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Twig.php b/core/Twig.php
index edb037623f..9bc2447561 100644
--- a/core/Twig.php
+++ b/core/Twig.php
@@ -79,7 +79,7 @@ class Twig
{
$getJavascriptTranslations = new Twig_SimpleFunction(
'getJavascriptTranslations',
- array('Translate', 'getJavascriptTranslations')
+ array('Piwik\\Translate', 'getJavascriptTranslations')
);
$this->twig->addFunction($getJavascriptTranslations);
}