Vote #67643
完了Chinese translation to redmine-1.0.0
0%
説明
This diff file is Chinese translation to redmine-1.0.0.
Additional, I find the following field isn't used in views.
field_principal: Principal
Anyone can tell me where it is used in views.
journals
Please correct the following field:
<pre>
- setting_cache_formatted_text: 缓存已格式化文字
+ setting_cache_formatted_text: 缓存格式化文本
</pre>
Thanks a lot.
--------------------------------------------------------------------------------
Patch commited.
field_principal is used on popup message when you try add user to project, but not specified his name. Go to Settings of project, then Members and check some roles but no users. If you try press Add, you will get message: "Principal can't be blank." You got it :).
--------------------------------------------------------------------------------
Thanks for your reminding! :-)
The following is the Chinese translation of field_principal
<pre>
field_principal: 用户
</pre>
BTW, I found a field needed to I18n.
Special app/models/member.rb
<pre>
def validate
errors.add_to_base "Role can't be blank" if member_roles.empty? && roles.empty?
end
</pre>
Chinese translation for this is
<pre>
xxx: 角色不能为空
</pre>
--------------------------------------------------------------------------------
Commited to svn, thank you.
--------------------------------------------------------------------------------
Hi, Azamat:
I found r3893 override r3863.
Additional, fields that my above journal involved seems to doesn't commited.
--------------------------------------------------------------------------------
OK, please give me whole file zh.yml, I totally confused.
--------------------------------------------------------------------------------
I'm sorry for confusing you. This is whole zh.yml file.
--------------------------------------------------------------------------------
Commited in r3898. Sorry for mistake.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------