From 76649cdded05117889aa918c1582db9048a54986 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 16 Jun 2020 21:06:16 +0200 Subject: [PATCH] add langauge --- Theme/Backend/Lang/de.lang.php | 1 + Theme/Backend/Lang/en.lang.php | 1 + Theme/Backend/profile-single.tpl.php | 13 +++++++++++-- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/Theme/Backend/Lang/de.lang.php b/Theme/Backend/Lang/de.lang.php index edec504..1124851 100755 --- a/Theme/Backend/Lang/de.lang.php +++ b/Theme/Backend/Lang/de.lang.php @@ -20,6 +20,7 @@ return ['Profile' => [ 'Amount' => '{Anzal}', 'Area' => 'Fläche', 'Birthday' => 'Geburtstag', + 'Change' => 'Ändern', 'City' => 'Stadt', 'Community' => 'Community', 'Contact' => 'Kontakt', diff --git a/Theme/Backend/Lang/en.lang.php b/Theme/Backend/Lang/en.lang.php index a067e0f..ecc5837 100755 --- a/Theme/Backend/Lang/en.lang.php +++ b/Theme/Backend/Lang/en.lang.php @@ -20,6 +20,7 @@ return ['Profile' => [ 'Amount' => '{Amount}', 'Area' => 'Area', 'Birthday' => 'Birthday', + 'Change' => 'Birthday', 'City' => 'City', 'Community' => 'Community', 'Contact' => 'Contact', diff --git a/Theme/Backend/profile-single.tpl.php b/Theme/Backend/profile-single.tpl.php index e200bf8..473f00a 100755 --- a/Theme/Backend/profile-single.tpl.php +++ b/Theme/Backend/profile-single.tpl.php @@ -75,8 +75,17 @@ echo $this->getData('nav')->render(); UriFactory::build('{/prefix}' . $profile->getImage()->getPath()); ?>" width="100px"> request->getHeader()->getAccount() === $account->getId()) : ?> -
Change -
+
getHtml('Change') ?> +