/** * 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); }
/** * 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); }
/** * 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); }
/** * 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); }
/** * 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); }
public static function t($message) { self::$_domain = 'Horde_Other'; self::$_directory = __DIR__ . '/locale'; return parent::t($message); }