/** * 初始化语言文件 * * @access private */ private static function init() { /** GetText支持 */ if (false === self::$_loaded && self::$_lang && file_exists(self::$_lang)) { self::$_loaded = new Typecho_I18n_GetTextMulti(self::$_lang); } }
/** * 初始化语言文件 * * @access private * @return boolean */ private static function init() { /** GetText支持 */ require_once 'Typecho/I18n/GetTextMulti.php'; self::$_loaded = new Typecho_I18n_GetTextMulti(self::$_lang); return true; }