Lauout留言国际化

This commit is contained in:
kaizheng 2013-08-27 16:36:09 +08:00
parent 2210378bc7
commit bb0ebf06d8
3 changed files with 5 additions and 3 deletions

View File

@ -5,7 +5,7 @@
<div id="account">
<%= render_menu :account_menu -%>
</div>
<%= content_tag('div', "#{link_to('留言(' + User.current.count_new_jour.to_s + ')', feedback_path(User.current))}".html_safe, :id => 'loggedas') if User.current.logged? %>
<%= content_tag('div', "#{link_to(l(:label_layouts_feedback)+'(' + User.current.count_new_jour.to_s + ')', feedback_path(User.current))}".html_safe, :id => 'loggedas') if User.current.logged? %>
<%= content_tag('div', "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}".html_safe, :id => 'loggedas') if User.current.logged? %>
<!-- <div style="float: right; margin-top: 13px;">

View File

@ -1326,4 +1326,5 @@ en:
label_newfeedback_delete: Delete
label_user_all_activity: All activities
label_user_activity_myself: About me
label_user_all_respond: All respondes
label_user_all_respond: All respondes
label_layouts_feedback: Messages

View File

@ -1344,4 +1344,5 @@ zh:
label_newfeedback_delete: 删除
label_user_all_activity: 所有动态
label_user_activity_myself: 只看自己
label_user_all_respond: 所有反馈
label_user_all_respond: 所有反馈
label_layouts_feedback: 留言