Reset textdomain if popping app (Bug #9124).
authorJan Schneider <jan@horde.org>
Wed, 18 Aug 2010 17:52:01 +0000 (19:52 +0200)
committerJan Schneider <jan@horde.org>
Wed, 18 Aug 2010 17:52:01 +0000 (19:52 +0200)
framework/Core/lib/Horde/Registry.php

index f277d30..dba3cf9 100644 (file)
@@ -1234,6 +1234,10 @@ class Horde_Registry
         if ($app) {
             $this->_onAppSwitch($app);
         }
+        $this->setTextdomain(
+            $app,
+            $this->get('fileroot', $app) . '/locale'
+        );
 
         return $previous;
     }