qycard
发表于 2012-5-31 09:40:12
只有migration_lang.php不翻译而已了
李明_
发表于 2012-8-7 08:35:12
不错。。支持啦
xgdd1987
发表于 2012-8-7 10:35:39
支持。。。。。。。。。。。。。。
onenature
发表于 2012-8-7 16:41:48
HHO, 太棒了!
hong8292
发表于 2012-8-17 00:24:02
顶顶顶~~~
大道达人
发表于 2012-9-25 23:12:51
估计CIer【迁移】功能很少有哥使用
就补充一下 迁移的中文吧
$lang['migration_none_found'] = "没有发现任何 Migrations";
$lang['migration_not_found'] = "此 Migration 不存在";
$lang['migration_multiple_version'] = "多重 migrations 拥有相同的版本号码: %d";
$lang['migration_class_doesnt_exist'] = "Migration 类别 \"%s\" 不存在";
$lang['migration_missing_up_method'] = "Migration 类别 \"%s\" i缺少 'up' 方法";
$lang['migration_missing_down_method'] = "Migration 类别 \"%s\" 缺少 'down' 方法";
$lang['migration_invalid_filename'] = "Migration \"%s\" 包含无效的栏位名称";
btwCI语言包可以加个hook
/**
* 定义 Cier小站针对cier_lang 的 i18n 函数
* @example
* $author = __('ci_author');
* $ci_timestamp = __('ci_timestamp',array(':now' => date(config_item('log_date_format'))));
*/
if ( ! function_exists('__'))
{
function __($string, array $values = NULL, $lang = NULL)
{
$LANG =& load_class('Lang', 'core');
$LANG->load('cier');
$string = $LANG->line($string);
return empty($values) ? $string : strtr($string, $values);
}
}
/* End of file Common.php */
/* Location: ./system/core/Common.php */
//cier_lang.php
$lang['cier_author'] = 'billzhao';
$lang['cier_timestamp'] = '当前时间 :now';
大道达人
发表于 2012-9-25 23:13:31
估计CIer【迁移】功能很少有哥使用
就补充一下 迁移的中文吧
$lang['migration_none_found'] = "没有发现任何 Migrations";
$lang['migration_not_found'] = "此 Migration 不存在";
$lang['migration_multiple_version'] = "多重 migrations 拥有相同的版本号码: %d";
$lang['migration_class_doesnt_exist'] = "Migration 类别 \"%s\" 不存在";
$lang['migration_missing_up_method'] = "Migration 类别 \"%s\" i缺少 'up' 方法";
$lang['migration_missing_down_method'] = "Migration 类别 \"%s\" 缺少 'down' 方法";
$lang['migration_invalid_filename'] = "Migration \"%s\" 包含无效的栏位名称";
btwCI语言包可以加个hook
/**
* 定义 Cier小站针对cier_lang 的 i18n 函数
* @example
* $author = __('ci_author');
* $ci_timestamp = __('ci_timestamp',array(':now' => date(config_item('log_date_format'))));
*/
if ( ! function_exists('__'))
{
function __($string, array $values = NULL, $lang = NULL)
{
$LANG =& load_class('Lang', 'core');
$LANG->load('cier');
$string = $LANG->line($string);
return empty($values) ? $string : strtr($string, $values);
}
}
/* End of file Common.php */
/* Location: ./system/core/Common.php */
//cier_lang.php
$lang['cier_author'] = 'billzhao';
$lang['cier_timestamp'] = '当前时间 :now';
zyf2570499
发表于 2013-6-1 15:08:10
相当给力!!!!{:1_1:}{:1_1:}
xxxrhong
发表于 2013-11-29 10:45:49
顶起,感谢楼主!
一叶扁舟
发表于 2014-2-18 16:13:45
:lol这个是好东西正在找这个