From e97487ae73944c4b7045d7cd063ec62124ca3af5 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 27 Jul 2016 13:17:50 +0200 Subject: [PATCH] Translation fixes (0 still missing) --- Theme/Backend/mid-side.tpl.php | 4 ++-- Theme/Backend/mid.tpl.php | 2 +- Theme/Backend/side.tpl.php | 4 ++-- Theme/Backend/top.tpl.php | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Theme/Backend/mid-side.tpl.php b/Theme/Backend/mid-side.tpl.php index db967b0..ae38715 100644 --- a/Theme/Backend/mid-side.tpl.php +++ b/Theme/Backend/mid-side.tpl.php @@ -20,7 +20,7 @@ /* Looping through all links */ if (isset($this->nav[\Modules\Navigation\Models\NavigationType::CONTENT_SIDE])) { echo '
' - . '

' . $this->l11n->getText(0, 'Backend', 'Navigation') + . '

' . $this->getText('Navigation') . '' . '

' . '
' @@ -31,7 +31,7 @@ if (isset($this->nav[\Modules\Navigation\Models\NavigationType::CONTENT_SIDE])) /** @var array $data */ if ($link['nav_parent'] == $data[1]) { echo '
  • ' - . $this->l11n->getText(5, 'Backend', $link['nav_name']) . ''; + . $this->getText(5, 'Backend', $link['nav_name']) . ''; } } } diff --git a/Theme/Backend/mid.tpl.php b/Theme/Backend/mid.tpl.php index 6eb8df0..1efeb46 100644 --- a/Theme/Backend/mid.tpl.php +++ b/Theme/Backend/mid.tpl.php @@ -23,7 +23,7 @@ if (isset($this->nav[\Modules\Navigation\Models\NavigationType::CONTENT])) { foreach ($parent as $link) { if ($link['nav_parent'] == $this->parent) { echo '
  • ' - . $this->l11n->getText('Navigation', 'Backend', $link['nav_name']) . ''; + . $this->getText($link['nav_name']) . ''; } } } diff --git a/Theme/Backend/side.tpl.php b/Theme/Backend/side.tpl.php index 798e776..9dc5652 100644 --- a/Theme/Backend/side.tpl.php +++ b/Theme/Backend/side.tpl.php @@ -25,12 +25,12 @@ if (isset($this->nav[\Modules\Navigation\Models\NavigationType::SIDE])) : ?> - l11n->getText('Navigation', 'Backend', $parent['nav_name']); ?>
  • - l11n->getText('Navigation', 'Backend', $link['nav_name']); ?> + getText($link['nav_name']); ?> diff --git a/Theme/Backend/top.tpl.php b/Theme/Backend/top.tpl.php index e038848..130141f 100644 --- a/Theme/Backend/top.tpl.php +++ b/Theme/Backend/top.tpl.php @@ -27,7 +27,7 @@ if (isset($this->nav[\Modules\Navigation\Models\NavigationType::TOP])): ?> - l11n->getText('Navigation', 'Backend', $link['nav_name']); ?> + getText($link['nav_name']); ?>