提取zii里的多语言信息

我提取了zii里的多语言信息,部分已翻译,请大家完善一下,放在protected/messages/zh_cn/zii.php里即可。




<?php

return array(

    'Displaying {start}-{end} of {count} result(s).'=>'显示 {start}-{end}, 共 {count} 条记录.',

    'Total {count} result(s).'=>'共 {count} 条记录.',

    'No results found.'=>'没有结果.',

    'The "dataProvider" property cannot be empty.'=>'"dataProvider" 属性不允许为空.',

    'Please specify the "model" property.'=>'请定义 "model" 属性.',

    'Please specify the "attributes" property.'=>'请定义 "attributes" 属性.',

    'Not set'=>'没有配置',

    'The attribute must be specified in the format of "Name:Type:Label", where "Type" and "Label" are optional.'=>'The attribute must be specified in the format of "Name:Type:Label", where "Type" and "Label" are optional.',

    'The property "itemView" cannot be empty.'=>'属性"itemView"不允许为空',

    'Sort by: '=>'排序:',

    'View'=>'浏览',

    'Update'=>'更新',

    'Delete'=>'删除',

    'Are you sure to delete this item?'=>'您确定要删除这条记录?',

    'Either "name" or "value" must be specified for CDataColumn.'=>'CDataColumn组件里,"name" 或者 "value" 必须定义.',

    '{class} must specify "model" and "attribute" or "name" property values.'=>'{class} 必须定义 "model" 和 "attribute" 或者 "name" 属性.',

);



当然,前提是需要的配置文件中protected/config/main.php里加上




'language' => 'zh_cn',



多谢分享~

我把

view=>‘查看’,

update=>‘修改’, ‘更新‘在中文语言习惯中更接近submit的感觉;

nice

感谢分享。刚看了一下,现在yiidoc还不能更新zii的语言包。