单个需求页面国际化

This commit is contained in:
kaizheng 2013-08-09 16:30:20 +08:00
parent e3294bf809
commit ff67826a79
4 changed files with 35 additions and 14 deletions

View File

@ -40,7 +40,7 @@
<td colspan="2" valign="top" width="50" ><%= link_to image_tag(url_to_avatar(journal.user), :class => "avatar"), user_path(journal.user), :class => "avatar" %></td>
<td><table width="580px" border="0">
<tr>
<td colspan="2" valign="top"><strong> <%=link_to journal.user, user_path(journal.user)%></strong> <a class="font_lighter">对需求进行了反馈</a><%= link_to "##{journal.indice}", {}, :class => "journal-link" %> </td>
<td colspan="2" valign="top"><strong> <%=link_to journal.user, user_path(journal.user)%></strong> <a class="font_lighter"><%= l(:label_respond_requirement) %></a><%= link_to "##{journal.indice}", {}, :class => "journal-link" %> </td>
</tr>
<tr>
<td colspan="2" width="580px" ><p class="font_description"><%= textilizable journal.notes%></p></td>

View File

@ -45,23 +45,23 @@
</table>
<table>
<tr>
<td>投资人:<%= link_to(@user, user_path(@user))%></td>
<td><%= l(:label_investor) %><%= link_to(@user, user_path(@user))%></td>
</tr>
<tr>
<td>投资预算:<%= @bid.budget %></td>
<td><%= l(:label_investment_budget) %><%= @bid.budget %></td>
</tr>
<tr>
<td>投资时限:<%= @bid.deadline%></td>
<td><%= l(:label_investment_time_limit) %><%= @bid.deadline%></td>
</tr>
</table>
<div>
关注 (<%= link_to @bid.watcher_users.count, home_path %>) &nbsp;应标项目 (<%= link_to @bid.biding_projects.count, project_for_bid_path(@bid) %>)&nbsp;反馈(<%= link_to @bid.commit, respond_path(@bid)%>)
<%= l(:label_followers) %> (<%= link_to @bid.watcher_users.count, home_path %>) &nbsp;<%= l(:label_bidding_project) %>(<%= link_to @bid.biding_projects.count, project_for_bid_path(@bid) %>)&nbsp;<%=l(:label_responses)%>(<%= link_to @bid.commit, respond_path(@bid)%>)
</div>
</div>
<div class="user_fans">
<div class="font_title_left">
<strong>标签</strong>
<strong><%= l(:label_tag) %></strong>
</div><div class="user_underline"></div>
<table style="font-family:微软雅黑">
<tr>
@ -74,7 +74,7 @@
</div>
<div class="user_fans">
<div class="font_title_left">
<strong>关注</strong>
<strong><%= l(:label_followers) %></strong>
</div>
<div class="user_underline"></div>
<div class="left_wf">
@ -92,7 +92,7 @@
<!--粉丝-->
<div class="user_fans">
<div class="font_title_left">
<strong>应标项目</strong>
<strong><%= l(:label_bidding_project) %></strong>
</div>
<div class="user_underline"></div>
<div class="left_wf">

View File

@ -1088,7 +1088,7 @@ en:
label_requirement: Requirement
label_requirement_focus: Requirement focus
label_developer: Developer
label_investor: Investor
label_investor: Investor
label_theme: Theme
label_logged_as_new: Current user
button_register: Register
@ -1134,14 +1134,14 @@ en:
label_more_tags: More
#fq
button_leave_meassge: Leave message
button_leave_meassge: Submit
label_leave_message_to: leave %{name} a message
label_leave_message: Message content
label_message: message board
field_add: Add before %{time}
button_more: More
label_user_response: User response
label_bidding_project: Bidding project
label_user_response: User responses
label_bidding_project: bid projects
button_bidding: I want to be the bid
button_new_bid: New bid
label_user_information: "My information"
@ -1168,4 +1168,15 @@ en:
label_post_on: Post on
label_find_all_comments: view all comments
label_updated_time_on: " Updated on %{value} "
label_bid_plural: Requirement
label_bid_plural: Requirement
label_requirement_list: Requirement list
label_competitive_bidding: biddings
label_responses: responses
label_followers: followers
label_price: price
label_RMB_sign:
label_investment_budget: Investment budget
label_investment_time_limit: Investment time limit
label_my_respond: My respond
label_respond_requirement: has respond to the requirement

View File

@ -177,7 +177,7 @@ zh:
notice_unable_delete_version: 无法删除版本
notice_unable_delete_time_entry: 无法删除工时
notice_issue_done_ratios_updated: 问题完成度已更新。
notice_gantt_chart_truncated: "The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})"
notice_gantt_chart_truncated: "这个表是截断的因为它超过了可以显示的最大数量(%{max})"
error_can_t_load_default_data: "无法载入默认设置:%{value}"
error_scm_not_found: "版本库中不存在该条目和(或)其修订版本。"
@ -1182,3 +1182,13 @@ zh:
label_bidding_succeed: 应标成功
label_bidding_fail: 应标失败,该项目已经应标
label_requirement_list: 需求列表
label_competitive_bidding: 应标
label_responses: 反馈
label_followers: 关注
label_price: 悬赏:
label_RMB_sign:
label_investment_budget: 投资预算:
label_investment_time_limit: 投资时限:
label_my_respond: 我要反馈:
label_respond_requirement: 对需求进行了反馈