From: Michael M Slusarz Date: Thu, 14 Oct 2010 22:46:26 +0000 (-0600) Subject: Fix incorrect translation call X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=0ae9d3e07090e825c24f590f17dc69632fcc8191;p=horde.git Fix incorrect translation call --- diff --git a/framework/Core/lib/Horde/Core/Factory/Prefs.php b/framework/Core/lib/Horde/Core/Factory/Prefs.php index 6f181f386..16c7a1a96 100644 --- a/framework/Core/lib/Horde/Core/Factory/Prefs.php +++ b/framework/Core/lib/Horde/Core/Factory/Prefs.php @@ -122,7 +122,7 @@ class Horde_Core_Factory_Prefs if (!$GLOBALS['session']['horde:no_prefs']) { $GLOBALS['session']['horde:no_prefs'] = true; if (isset($GLOBALS['notification'])) { - $GLOBALS['notification']->push($this->_coreDict("The preferences backend is currently unavailable and your preferences have not been loaded. You may continue to use the system with default preferences.")); + $GLOBALS['notification']->push($this->_coreDict->t("The preferences backend is currently unavailable and your preferences have not been loaded. You may continue to use the system with default preferences.")); } } $this->_instances[$sig] = Horde_Prefs::factory('Horde_Core_Prefs_Session', $scope); @@ -154,7 +154,7 @@ class Horde_Core_Factory_Prefs return false; } - $GLOBALS['notification']->push(sprintf($this->_coreDict("The preference \"%s\" could not be saved because its data exceeds the maximum allowable size"), $pref), 'horde.error'); + $GLOBALS['notification']->push(sprintf($this->_coreDict->t("The preference \"%s\" could not be saved because its data exceeds the maximum allowable size"), $pref), 'horde.error'); return true; }