diff --git a/administrator/components/com_templates/src/View/Styles/HtmlView.php b/administrator/components/com_templates/src/View/Styles/HtmlView.php index c824e8231f32b..9f2d45f159fca 100644 --- a/administrator/components/com_templates/src/View/Styles/HtmlView.php +++ b/administrator/components/com_templates/src/View/Styles/HtmlView.php @@ -118,7 +118,7 @@ protected function addToolbar() $clientId = (int) $this->get('State')->get('client_id'); // Add a shortcut to the templates list view. - ToolbarHelper::link('index.php?option=com_templates&view=templates&client_id=' . $clientId, Text::_('COM_TEMPLATES_MANAGER_TEMPLATES'), 'icon-code thememanager'); + ToolbarHelper::link('index.php?option=com_templates&view=templates&client_id=' . $clientId, 'COM_TEMPLATES_MANAGER_TEMPLATES', 'icon-code thememanager'); // Set the title. if ($clientId === 1) diff --git a/administrator/components/com_templates/src/View/Templates/HtmlView.php b/administrator/components/com_templates/src/View/Templates/HtmlView.php index 5fd17d957cb39..c0a565611db43 100644 --- a/administrator/components/com_templates/src/View/Templates/HtmlView.php +++ b/administrator/components/com_templates/src/View/Templates/HtmlView.php @@ -134,7 +134,7 @@ protected function addToolbar() $clientId = (int) $this->get('State')->get('client_id'); // Add a shortcut to the styles list view. - ToolbarHelper::link('index.php?option=com_templates&view=styles&client_id=' . $clientId, Text::_('COM_TEMPLATES_MANAGER_STYLES_BUTTON'), 'brush thememanager'); + ToolbarHelper::link('index.php?option=com_templates&view=styles&client_id=' . $clientId, 'COM_TEMPLATES_MANAGER_STYLES_BUTTON', 'brush thememanager'); // Set the title. if ($clientId === 1)