稍微修改国际化相关

This commit is contained in:
kaizheng 2013-08-10 22:07:48 +08:00
parent 6eff8c5045
commit 614f3d3f9f
4 changed files with 14 additions and 5 deletions

View File

@ -9,7 +9,7 @@
<table width="580" border="0">
<tr>
<% if e.event_author == User.current%>
<td colspan="2" valign="top"><strong> <%= link_to("", user_path(e.event_author)) %></strong><span class="font_lighter"><%= l(:label_new_activity) %></span> <%= link_to format_activity_title(e.event_title), e.event_url %></td>
<td colspan="2" valign="top"><strong> <%= link_to("#{l(:label_i)}", user_path(e.event_author)) %></strong><span class="font_lighter"><%= l(:label_new_activity) %></span> <%= link_to format_activity_title(e.event_title), e.event_url %></td>
<% else %>
<td colspan="2" valign="top"><strong> <%= link_to(h(e.event_author), user_path(e.event_author)) %></strong><span class="font_lighter"><%= l(:label_new_activity) %></span> <%= link_to format_activity_title(e.event_title), e.event_url %></td>

View File

@ -238,7 +238,7 @@
<div style="padding-top: 30px">
<table width="700" border="0" align="center" >
<tr class="font_welcome" align="center" >
<td><img src="/images/welcome/discuss.png" width="30" height="26" /><span style="vertical-align: top"><%= l(:label_board) %></span></td>
<td><img src="/images/welcome/discuss.png" width="30" height="26" /><span style="vertical-align: top"><%= l(:project_module_boards) %></span></td>
<td width="50">&nbsp;</td>
<td><img src="/images/welcome/news.png" width="30" height="26" /><span style="vertical-align: top"><%= l(:label_news) %></span></td>
<td width="50">&nbsp;</td>

View File

@ -1108,7 +1108,7 @@ en:
label_file_new: Download
label_user_edit: "Edit information"
label_user_info: "User information" #huang 添加
label_user_watcher: "Follower" # huang添加的
label_user_watcher: "Followers" # huang添加的
label_user_fans: "Fans"
label_user_commits: "Code commits"
label_user_watchered: "Followed" # huang添加的
@ -1201,4 +1201,10 @@ en:
label_create_course: Create courses
label_news: News
label_milestone: Milestone
label_features: Features
label_features: Features
label_has_praisers: praisers(%{count})
label_has_watchers: watchers(%{count})
label_has_fans: fans(%{count})
label_me: me
label_my: my
label_i: I

View File

@ -1213,4 +1213,7 @@ zh:
label_features: 特性
label_has_praisers: 赞(%{count})
label_has_watchers: 关注(%{count})
label_has_fans: 粉丝(%{count})
label_has_fans: 粉丝(%{count})
label_me:
label_my:
label_i: