コード例 #1
0
ファイル: Translation.php プロジェクト: jubinpatel/horde
 /**
  * Returns the translation of a message.
  *
  * @var string $message  The string to translate.
  *
  * @return string  The string translation, or the original string if no
  *                 translation exists.
  */
 public static function t($message)
 {
     self::$_domain = 'Horde_Service_Facebook';
     self::$_directory = '@data_dir@' == '@' . 'data_dir' . '@' ? __DIR__ . '/../../../../locale' : '@data_dir@/Horde_Service_Facebook/locale';
     return parent::t($message);
 }
コード例 #2
0
ファイル: Translation.php プロジェクト: jubinpatel/horde
 /**
  * Returns the translation of a message.
  *
  * @var string $message  The string to translate.
  *
  * @return string  The string translation, or the original string if no
  *                 translation exists.
  */
 public static function t($message)
 {
     self::$_domain = 'Horde_LoginTasks';
     self::$_directory = '@data_dir@' == '@' . 'data_dir' . '@' ? __DIR__ . '/../../../locale' : '@data_dir@/Horde_LoginTasks/locale';
     return parent::t($message);
 }
コード例 #3
0
ファイル: Translation.php プロジェクト: netcon-source/apps
 /**
  * Returns the translation of a message.
  *
  * @var string $message  The string to translate.
  *
  * @return string  The string translation, or the original string if no
  *                 translation exists.
  */
 public static function t($message)
 {
     self::$_domain = 'Horde_Imap_Client';
     self::$_directory = '/usr/share/php/data' == '@' . 'data_dir' . '@' ? __DIR__ . '/../../../../locale' : '/usr/share/php/data/Horde_Imap_Client/locale';
     return parent::t($message);
 }
コード例 #4
0
ファイル: Translation.php プロジェクト: jubinpatel/horde
 /**
  * Returns the translation of a message.
  *
  * @var string $message  The string to translate.
  *
  * @return string  The string translation, or the original string if no
  *                 translation exists.
  */
 public static function t($message)
 {
     self::$_domain = 'Horde_ActiveSync';
     self::$_directory = '@data_dir@' == '@' . 'data_dir' . '@' ? dirname(__FILE__) . '/../../../locale' : '@data_dir@/Horde_ActiveSync/locale';
     return parent::t($message);
 }
コード例 #5
0
ファイル: Translation.php プロジェクト: andi98/antragsgruen
 /**
  * Returns the translation of a message.
  *
  * @var string $message  The string to translate.
  *
  * @return string  The string translation, or the original string if no
  *                 translation exists.
  */
 public static function t($message)
 {
     self::$_domain = 'Horde_Exception';
     self::$_directory = '/usr/share/php/data' == '@' . 'data_dir' . '@' ? dirname(__FILE__) . '/../../../locale' : '/usr/share/php/data/Horde_Exception/locale';
     return parent::t($message);
 }
コード例 #6
0
ファイル: WrapperTest.php プロジェクト: jubinpatel/horde
 public static function t($message)
 {
     self::$_domain = 'Horde_Other';
     self::$_directory = __DIR__ . '/locale';
     return parent::t($message);
 }