Adding the registry name (most likely Horde) is both wordy and potentially confusing...
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 19 May 2010 05:48:08 +0000 (23:48 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 19 May 2010 17:06:43 +0000 (11:06 -0600)
horde/login.php

index a2f807b..7ce0093 100644 (file)
@@ -42,13 +42,13 @@ function _getLogoutReasonString($code)
 {
     switch ($code) {
     case Horde_Auth::REASON_SESSION:
-        return sprintf(_("Your %s session has expired. Please login again."), $GLOBALS['registry']->get('name'));
+        return _("Your session has expired. Please login again.");
 
     case Horde_Auth::REASON_SESSIONIP:
-        return sprintf(_("Your Internet Address has changed since the beginning of your %s session. To protect your security, you must login again."), $GLOBALS['registry']->get('name'));
+        return _("Your Internet Address has changed since the beginning of your session. To protect your security, you must login again.");
 
     case Horde_Auth::REASON_BROWSER:
-        return sprintf(_("Your browser appears to have changed since the beginning of your %s session. To protect your security, you must login again."), $GLOBALS['registry']->get('name'));
+        return _("Your browser appears to have changed since the beginning of your session. To protect your security, you must login again.");
 
     case Horde_Auth::REASON_LOGOUT:
         return _("You have been logged out.");