diff options
author | diosmosis <benakamoorthi@fastmail.fm> | 2013-10-29 02:20:21 +0400 |
---|---|---|
committer | diosmosis <benakamoorthi@fastmail.fm> | 2013-10-29 02:20:21 +0400 |
commit | 3079d0b1fef735c7486d9c952f869671b6ff808e (patch) | |
tree | c7581fb93ed57874b15a27083224f8161c7e2831 /core/Twig.php | |
parent | 37a5b8c02987279fd5758232d73a964aa917cc69 (diff) |
Fix bug in cliend side translation string loading.
Diffstat (limited to 'core/Twig.php')
-rw-r--r-- | core/Twig.php | 2 |
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); } |