稍微修改国际化相关
This commit is contained in:
parent
6eff8c5045
commit
614f3d3f9f
|
@ -9,7 +9,7 @@
|
||||||
<table width="580" border="0">
|
<table width="580" border="0">
|
||||||
<tr>
|
<tr>
|
||||||
<% if e.event_author == User.current%>
|
<% 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 %>
|
<% 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>
|
<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>
|
||||||
|
|
|
@ -238,7 +238,7 @@
|
||||||
<div style="padding-top: 30px">
|
<div style="padding-top: 30px">
|
||||||
<table width="700" border="0" align="center" >
|
<table width="700" border="0" align="center" >
|
||||||
<tr class="font_welcome" 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"> </td>
|
<td width="50"> </td>
|
||||||
<td><img src="/images/welcome/news.png" width="30" height="26" /><span style="vertical-align: top"><%= l(:label_news) %></span></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"> </td>
|
<td width="50"> </td>
|
||||||
|
|
|
@ -1108,7 +1108,7 @@ en:
|
||||||
label_file_new: Download
|
label_file_new: Download
|
||||||
label_user_edit: "Edit information"
|
label_user_edit: "Edit information"
|
||||||
label_user_info: "User information" #huang 添加
|
label_user_info: "User information" #huang 添加
|
||||||
label_user_watcher: "Follower" # huang添加的
|
label_user_watcher: "Followers" # huang添加的
|
||||||
label_user_fans: "Fans"
|
label_user_fans: "Fans"
|
||||||
label_user_commits: "Code commits"
|
label_user_commits: "Code commits"
|
||||||
label_user_watchered: "Followed" # huang添加的
|
label_user_watchered: "Followed" # huang添加的
|
||||||
|
@ -1202,3 +1202,9 @@ en:
|
||||||
label_news: News
|
label_news: News
|
||||||
label_milestone: Milestone
|
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
|
|
@ -1214,3 +1214,6 @@ zh:
|
||||||
label_has_praisers: 赞(%{count})
|
label_has_praisers: 赞(%{count})
|
||||||
label_has_watchers: 关注(%{count})
|
label_has_watchers: 关注(%{count})
|
||||||
label_has_fans: 粉丝(%{count})
|
label_has_fans: 粉丝(%{count})
|
||||||
|
label_me: 我
|
||||||
|
label_my: 我
|
||||||
|
label_i: 我
|
Loading…
Reference in New Issue