From 0f2530788492e4082fcdd40e48d52abf22024368 Mon Sep 17 00:00:00 2001 From: pe7er Date: Thu, 27 Feb 2025 10:54:48 +0100 Subject: [PATCH] [5.2] fix for untranslated string --- libraries/src/Component/Router/RouterView.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/src/Component/Router/RouterView.php b/libraries/src/Component/Router/RouterView.php index 471224f74564a..efacaec242b00 100644 --- a/libraries/src/Component/Router/RouterView.php +++ b/libraries/src/Component/Router/RouterView.php @@ -266,7 +266,7 @@ public function getName() $r = null; if (!preg_match('/(.*)Router/i', \get_class($this), $r)) { - throw new \Exception('JLIB_APPLICATION_ERROR_ROUTER_GET_NAME', 500); + throw new \Exception(\sprintf($this->getLanguage()->_('JLIB_APPLICATION_ERROR_GET_NAME'), __METHOD__), 500); } $this->name = str_replace('com_', '', ComponentHelper::getComponentName($this, strtolower($r[1])));