Fix paths.
authorJan Schneider <jan@horde.org>
Tue, 12 Oct 2010 22:16:35 +0000 (00:16 +0200)
committerJan Schneider <jan@horde.org>
Wed, 13 Oct 2010 00:34:41 +0000 (02:34 +0200)
framework/Form/Form.php
framework/Form/Form/Renderer.php
framework/Form/Form/Type.php
framework/Form/Form/Variable.php

index c8afb27..51f2b0a 100644 (file)
@@ -59,7 +59,7 @@ class Horde_Form {
         if (isset($params['translation'])) {
             $this->_dict = $params['translation'];
         } else {
-            $this->_dict = new Horde_Translation_Gettext('Horde_Form', dirname(__FILE__) . '/../locale');
+            $this->_dict = new Horde_Translation_Gettext('Horde_Form', dirname(__FILE__) . '/locale');
         }
 
     }
index c2cb7a4..bff228e 100644 (file)
@@ -63,7 +63,7 @@ class Horde_Form_Renderer {
         if (isset($params['translation'])) {
             $this->_dict = $params['translation'];
         } else {
-            $this->_dict = new Horde_Translation_Gettext('Horde_Form', dirname(__FILE__) . '/../../locale');
+            $this->_dict = new Horde_Translation_Gettext('Horde_Form', dirname(__FILE__) . '/../locale');
         }
 
         global $registry;
index f20748f..a92f83d 100644 (file)
@@ -26,7 +26,7 @@ class Horde_Form_Type
         if (isset($params['translation'])) {
             $this->_dict = $params['translation'];
         } else {
-            $this->_dict = new Horde_Translation_Gettext('Horde_Form', dirname(__FILE__) . '/../../locale');
+            $this->_dict = new Horde_Translation_Gettext('Horde_Form', dirname(__FILE__) . '/../locale');
         }
     }
 
index 79dc5f6..9872f8d 100644 (file)
@@ -150,7 +150,7 @@ class Horde_Form_Variable {
         if (isset($params['translation'])) {
             $this->_dict = $params['translation'];
         } else {
-            $this->_dict = new Horde_Translation_Gettext('Horde_Form', dirname(__FILE__) . '/../../locale');
+            $this->_dict = new Horde_Translation_Gettext('Horde_Form', dirname(__FILE__) . '/../locale');
         }
     }