diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-10-09 08:03:35 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-10-09 08:03:35 +0400 |
commit | 81ccb29b440e98ed9147e84781df0fce34ee6542 (patch) | |
tree | 378a809d208f6a2cc188489017b87a98501023f2 /core/Twig.php | |
parent | 98935b7cca73c74dac77d3661239a2055e6b8f8f (diff) |
Refs #4202 removing functions Piwik_Translate and Piwik_TranslateException
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 d0a3ddea5b..369bdf6527 100644 --- a/core/Twig.php +++ b/core/Twig.php @@ -211,7 +211,7 @@ class Twig } try { - $stringTranslated = Piwik_Translate($stringToken, $aValues); + $stringTranslated = Piwik::translate($stringToken, $aValues); } catch (Exception $e) { $stringTranslated = $stringToken; } |