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:
Diffstat (limited to 'core/AssetManager.php')
-rw-r--r--core/AssetManager.php2
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();