diff options
Diffstat (limited to 'core/AssetManager.php')
-rw-r--r-- | core/AssetManager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/AssetManager.php b/core/AssetManager.php index 3581822a41..4e4628db39 100644 --- a/core/AssetManager.php +++ b/core/AssetManager.php @@ -139,7 +139,7 @@ class AssetManager extends Singleton */ public function getJsInclusionDirective() { - $result = "<script type=\"text/javascript\">\n" . Translate::getJavascriptTranslations() . "\n</script>"; + $result = "<script type=\"text/javascript\">\n" . StaticContainer::get('Piwik\Translation\Translator')->getJavascriptTranslations() . "\n</script>"; if ($this->isMergedAssetsDisabled()) { $this->getMergedCoreJSAsset()->delete(); |