From: Michael M Slusarz Date: Tue, 25 Jan 2011 21:51:45 +0000 (-0700) Subject: Revert "Bug #9539: Correct translations for application names" X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=9df4a0c5d1bc3b191ad477211eeec5c395e1ef61;p=horde.git Revert "Bug #9539: Correct translations for application names" This reverts commit 9514d8c72c0ccda884094e3bdecfa2a6911d0264. --- diff --git a/framework/Core/lib/Horde/Registry.php b/framework/Core/lib/Horde/Registry.php index f0ae1e129..fb18ef80c 100644 --- a/framework/Core/lib/Horde/Registry.php +++ b/framework/Core/lib/Horde/Registry.php @@ -1458,17 +1458,9 @@ class Horde_Registry : (isset($this->applications['horde'][$parameter]) ? $this->applications['horde'][$parameter] : null); } - if ($parameter != 'name') { - return $pval; - } - - $pushed = $this->pushApp('horde'); - $pval = _($pval); - if ($pushed) { - $this->popApp(); - } - - return $pval; + return ($parameter == 'name') + ? _($pval) + : $pval; } /**