国际化修改
This commit is contained in:
parent
9a3f362a47
commit
69119f73fe
|
@ -16,7 +16,7 @@
|
|||
<tr>
|
||||
|
||||
<td style="color: rgb(255, 0, 0);"><strong><%= l(:label_price) %><%= l(:label_RMB_sign) %><%= bid.budget%></strong></td>
|
||||
<td class="font_lighter">(<%= link_to bid.biding_projects.count, project_for_bid_path(bid)%>)<%= l(:label_competitive_bidding) %></td>
|
||||
<td class="font_lighter">(<%= link_to bid.biding_projects.count, project_for_bid_path(bid)%>)<%= l(:label_biding_project) %></td>
|
||||
<td class="font_lighter">(<%= link_to bid.commit, respond_path(bid)%>)<%= l(:label_responses) %></td>
|
||||
<td class="font_lighter">(<%= link_to bid.watcher_users.count, respond_path(bid)%>)<%= l(:label_followers) %></td>
|
||||
</tr>
|
||||
|
|
|
@ -3,11 +3,11 @@
|
|||
<div class="project-search-block">
|
||||
<table width="100%" valign="center">
|
||||
<tr>
|
||||
<td width="16%"><span style="margin-left:0px"><%= l(:label_bid_plural)%></span></td>
|
||||
<td width="16%"><span style="margin-left:0px"><%= l(:label_call_list)%></span></td>
|
||||
<td valign="center"><% if User.current.logged? %>
|
||||
|
||||
<div class='icon icon-add'>
|
||||
<%= toggle_link l(:button_new_bid), 'put-bid-form', {:focus => 'project_id'} %>
|
||||
<%= toggle_link l(:label_new_call), 'put-bid-form', {:focus => 'project_id'} %>
|
||||
</div>
|
||||
<% end %></td>
|
||||
|
||||
|
|
|
@ -119,7 +119,7 @@
|
|||
</td>
|
||||
<% if @project.identifier == 'trustie' %>
|
||||
<td align="left" width="190px" valign="left"><%=image_tag("/images/sidebar/tool_tag2.png", weight:"15px", height:"15px") %>
|
||||
<%= link_to l(:label_user_response) ,project_feedback_path(@project) %>
|
||||
<%= link_to l(:label_project_tool_response) ,project_feedback_path(@project) %>
|
||||
</td>
|
||||
<% else %>
|
||||
<% end %>
|
||||
|
|
|
@ -8,14 +8,14 @@
|
|||
<% if @flag == 1 %> <!-- 顶过 -->
|
||||
<table style="line-height: 1px">
|
||||
<tr>
|
||||
<td ><%= image_tag "/images/praise_tread/praise_true.png" ,:title => '已顶!'%></td>
|
||||
<td ><%= image_tag "/images/praise_tread/praise_true.png" ,:title => l(:label_issue_praise_over) %></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><strong class="font_small_watch"><%= get_praise_num(obj)%></strong></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td><%= image_tag "/images/praise_tread/tread_false.png",:title => "已评价!" %></td>
|
||||
<td><%= image_tag "/images/praise_tread/tread_false.png",:title => l(:label_issue_appraise_over) %></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
@ -23,14 +23,14 @@
|
|||
|
||||
<table style="line-height: 1px">
|
||||
<tr>
|
||||
<td > <%= image_tag "/images/praise_tread/praise_false.png", :title => '已评价!'%></td>
|
||||
<td > <%= image_tag "/images/praise_tread/praise_false.png", :title => l(:label_issue_appraise_over) %></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="center"><strong class="font_small_watch"><%= get_praise_num(obj)%></strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><%= image_tag "/images/praise_tread/tread_true.png",:title => '已踩!' %> </td>
|
||||
<td><%= image_tag "/images/praise_tread/tread_true.png",:title => l(:label_issue_tread_over) %> </td>
|
||||
</tr>
|
||||
</table>
|
||||
<% end %>
|
||||
|
@ -39,14 +39,14 @@
|
|||
|
||||
<table style="line-height: 1px">
|
||||
<tr>
|
||||
<td > <%= link_to image_tag("/images/praise_tread/praise_false.png",:title => '好问题,顶!'),
|
||||
<td > <%= link_to image_tag("/images/praise_tread/praise_false.png",:title => l(:label_issue_praise)),
|
||||
:controller=>"praise_tread",:action=>"praise_plus",:remote=>true,:obj_id => obj.id,:obj_type => obj.class%> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center"><strong class="font_small_watch"><%= get_praise_num(obj)%></strong></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td> <%= link_to image_tag("/images/praise_tread/tread_false.png",:title => '烂问题,踩!'),:controller=>"praise_tread",
|
||||
<td> <%= link_to image_tag("/images/praise_tread/tread_false.png",:title => l(:label_issue_tread)),:controller=>"praise_tread",
|
||||
:action=>"tread_plus",:remote=>true,:obj_id => obj.id,:obj_type => obj.class %></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<hr />
|
||||
<% users_results.each do |user| %>
|
||||
<p class="font_description2">
|
||||
<strong><%= l(:label_username) %><%= link_to ("#{user.firstname+user.lastname}"),
|
||||
<strong><%= l(:label_tags_user_name) %><%= link_to ("#{user.firstname+user.lastname}"),
|
||||
:controller => "users",:action => "show",:id => user.id%></strong>
|
||||
<br />
|
||||
<strong><%= l(:label_tags_user_mail) %></strong><%= mail_to(h(user.mail)) %>
|
||||
|
|
|
@ -13,13 +13,13 @@
|
|||
<% end %>
|
||||
<% content_for :content do %>
|
||||
<div>
|
||||
<h3><strong>Search Results</strong></h3>
|
||||
<h3><strong><%= l(:label_tags_search_result) %></strong></h3>
|
||||
<div align="right">
|
||||
<%= l(:label_tags_numbers) %>
|
||||
<%= l(:label_issue_plural) %>(<%= @issues_tags_num %>)|
|
||||
<%= l(:label_project_plural) %>(<%= @projects_tags_num %>)|
|
||||
<%= l(:label_user_plural) %>(<%= @users_tags_num %>)|
|
||||
<%= l(:label_bid_plural)%>(<%= @bids_tags_num %>)
|
||||
<%= l(:label_tags_call)%>(<%= @bids_tags_num %>)
|
||||
</div>
|
||||
<div id="show_results">
|
||||
<%= render :partial => "tag_search_results",:locals => {:issues_results => @issues_results,
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
<% when 'Bid' %>
|
||||
<tr>
|
||||
<% if e.user == User.current%>
|
||||
<td colspan="2" valign="top"><strong> <%= link_to("#{l(:label_i)}", user_path(e.user_id)) %></strong><span class="font_lighter"><%= l(:label_new_activity) %></span> <%= link_to format_activity_title("#{l(:label_bid_plural)}##{act.id}:#{act.name}"), respond_path(e.act_id) %></td>
|
||||
<td colspan="2" valign="top"><strong> <%= link_to("#{l(:label_i)}", user_path(e.user_id)) %></strong><span class="font_lighter"><%= l(:label_new_activity) %></span> <%= link_to format_activity_title("#{l(:label_active_call)}##{act.id}:#{act.name}"), respond_path(e.act_id) %></td>
|
||||
<% else %>
|
||||
<td colspan="2" valign="top"><strong> <%= link_to(h(e.user), user_path(e.user_id)) %></strong><span class="font_lighter"><%= l(:label_new_activity) %></span> <%= link_to format_activity_title("#{l(:label_bid_plural)}##{act.id}:#{act.name}"), respond_path(e.act_id) %></td>
|
||||
<td colspan="2" valign="top"><strong> <%= link_to(h(e.user), user_path(e.user_id)) %></strong><span class="font_lighter"><%= l(:label_new_activity) %></span> <%= link_to format_activity_title("#{l(:label_active_call)}##{act.id}:#{act.name}"), respond_path(e.act_id) %></td>
|
||||
<% end %>
|
||||
</tr>
|
||||
<tr>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<table border="0">
|
||||
<tr>
|
||||
<td style="color: rgb(255, 0, 0);"><strong><%= l(:label_price) %><%= l(:label_RMB_sign) %><%= bid.budget%></strong></td>
|
||||
<td class="font_lighter">(<%= bid.biding_projects.count%>)<%= l(:label_competitive_bidding) %></td>
|
||||
<td class="font_lighter">(<%= bid.biding_projects.count%>)<%= l(:label_biding_project) %></td>
|
||||
<td class="font_lighter">(<%= bid.commit %>)<%= l(:label_responses) %></td>
|
||||
<td class="font_lighter">(<%= bid.watcher_users.count%>)<%= l(:label_followers) %></td>
|
||||
</tr>
|
||||
|
|
|
@ -253,12 +253,12 @@ software development and software crowdsourcing.</td></tr>
|
|||
<table border="0" width="525px" align="center" >
|
||||
|
||||
<tr>
|
||||
<td><%= f.text_area 'project_message', :rows => 3, :cols => 65, :value => "我要反馈", :onfocus => "clearInfo('new_form_project_message','我要反馈')", :onblur => "showInfo('new_form_project_message','我要反馈')", :style => "resize: none;", :class => 'noline'%></td>
|
||||
<td><%= f.text_area 'project_message', :rows => 3, :cols => 65, :value => "#{l(:label_welcome_my_respond)}", :onfocus => "clearInfo('new_form_project_message','#{l(:label_welcome_my_respond)}')", :onblur => "showInfo('new_form_project_message','#{l(:label_welcome_my_respond)}')", :style => "resize: none;", :class => 'noline'%></td>
|
||||
</tr>
|
||||
</table>
|
||||
<table border="0" width="525px" align="center">
|
||||
<tr>
|
||||
<td align="right"> <%= submit_tag l(:label_responses), :name => nil , :class => "bid_btn" %></td>
|
||||
<td align="right"> <%= submit_tag l(:button_submit), :name => nil , :class => "bid_btn" %></td>
|
||||
</tr>
|
||||
</table>
|
||||
<% end %>
|
||||
|
|
|
@ -653,7 +653,7 @@ en:
|
|||
label_query_new: New query
|
||||
label_my_queries: My custom queries
|
||||
label_filter_add: Add filter
|
||||
label_filter_plural: Filters
|
||||
label_filter_plural: Query condition
|
||||
label_equals: is
|
||||
label_not_equals: is not
|
||||
label_in_less_than: in less than
|
||||
|
@ -913,8 +913,8 @@ en:
|
|||
button_edit_associated_wikipage: "Edit associated Wiki page: %{page_title}"
|
||||
button_add: Add
|
||||
button_change: Change
|
||||
button_apply: Apply
|
||||
button_clear: Clear
|
||||
button_apply: Query
|
||||
button_clear: Cancel query
|
||||
button_lock: Lock
|
||||
button_unlock: Unlock
|
||||
button_download: Download
|
||||
|
@ -1090,9 +1090,9 @@ en:
|
|||
|
||||
#modify by mkz
|
||||
#by young
|
||||
label_requirement: Requirement
|
||||
label_requirement: Calls
|
||||
label_requirement_focus: Requirement focus
|
||||
label_developer: User
|
||||
label_developer: Users
|
||||
label_investor: Investor:
|
||||
label_theme: Theme
|
||||
label_logged_as_new: Current user
|
||||
|
@ -1137,6 +1137,10 @@ en:
|
|||
button_follow: Follow
|
||||
label_delete_confirm: Confirm delete?
|
||||
label_more_tags: More
|
||||
label_tags_bid: call name
|
||||
label_tags_bid_description: call description
|
||||
label_tags_issue_description: issue description
|
||||
label_tags_all_objects: all objects
|
||||
|
||||
#fq
|
||||
button_leave_meassge: Submit
|
||||
|
@ -1148,7 +1152,8 @@ en:
|
|||
label_user_response: User responses
|
||||
label_bidding_project: bid projects
|
||||
button_bidding: I want to be the bid
|
||||
button_new_bid: New bid
|
||||
button_new_bid: New call
|
||||
label_new_call: New call
|
||||
label_user_information: "My information"
|
||||
|
||||
#Customer added!Added by nie
|
||||
|
@ -1170,14 +1175,14 @@ en:
|
|||
label_member_list: Member list
|
||||
label_author_name: Posted by %{author_name}
|
||||
label_comments_count: (%{count} numbers of comments)
|
||||
label_post_on: post on
|
||||
label_post_on: posts on
|
||||
label_find_all_comments: view all comments
|
||||
label_updated_time_on: " Updated on %{value} "
|
||||
label_bid_plural: Requirement list
|
||||
label_call_list: Call list
|
||||
|
||||
label_requirement_list: Requirement list
|
||||
label_competitive_bidding: biddings
|
||||
label_responses: responses
|
||||
label_biding_project: projects
|
||||
label_responses: comments
|
||||
label_followers: followers
|
||||
label_price: price:
|
||||
label_RMB_sign: ¥
|
||||
|
@ -1242,6 +1247,7 @@ en:
|
|||
label_tags_project_name: Project name:
|
||||
label_tags_project_description: Project description:
|
||||
label_tags_user_mail: User E-mail:
|
||||
label_tags_user_name: User Name:
|
||||
label_tags_numbers: Tag numbers:
|
||||
label_max_number: Must be at most 25 characters long.
|
||||
label_all_revisions: All revisions:
|
||||
|
@ -1249,5 +1255,27 @@ en:
|
|||
label_upassword_info: The password can be shared in the group
|
||||
label_how_commit_code: How to commit code:
|
||||
label_how_commit_code_chinese: Chinese
|
||||
label_welcome_leave_message: Friend,the system continues to improve,with the suggestion please
|
||||
label_welcome_leave_message: Friends!System is currently being beta,there are comments and suggestions please
|
||||
label_welcome_click_me: Click me
|
||||
label_issue_praise: Good question,praise!
|
||||
label_issue_tread: Poor question,tread!
|
||||
label_issue_praise_over: Praised over!
|
||||
label_issue_tread_over: Treaded over!
|
||||
label_issue_appraise_over: Appraised over!
|
||||
label_welcome_my_respond: My respond:
|
||||
label_no_current_fans: the user has no fans now
|
||||
label_no_current_watchers: the user hasn't watched others
|
||||
label_project_tool_response: Response
|
||||
label_tags_search_result: Search Results
|
||||
label_active_call: call
|
||||
label_tags_call: Calls
|
||||
label_user_extensions: Other information
|
||||
label_boy: Man
|
||||
label_girl: Woman
|
||||
field_gender:Gender
|
||||
field_birthday: Birthday
|
||||
field_brief_introduction: Info
|
||||
field_location: Location
|
||||
field_occupation: Occupation
|
||||
field_work_experience: Work experience(year)
|
||||
field_zip_code: Zip code
|
||||
|
|
|
@ -619,7 +619,8 @@ zh:
|
|||
label_query_plural: 自定义查询
|
||||
label_query_new: 新建查询
|
||||
label_filter_add: 增加过滤器
|
||||
label_filter_plural: 过滤器
|
||||
|
||||
label_filter_plural: 查询条件
|
||||
label_equals: 等于
|
||||
label_not_equals: 不等于
|
||||
label_in_less_than: 剩余天数小于
|
||||
|
@ -853,8 +854,9 @@ zh:
|
|||
button_edit_associated_wikipage: "编辑相关wiki页面: %{page_title}"
|
||||
button_add: 新增
|
||||
button_change: 修改
|
||||
button_apply: 应用
|
||||
button_clear: 清除
|
||||
|
||||
button_apply: 查询
|
||||
button_clear: 取消查询
|
||||
button_lock: 锁定
|
||||
button_unlock: 解锁
|
||||
button_download: 下载
|
||||
|
@ -1163,7 +1165,7 @@ zh:
|
|||
label_post_on: 发表了
|
||||
label_find_all_comments: 查看所有评论
|
||||
label_updated_time_on: " 更新于 %{value} "
|
||||
label_bid_plural: 需求
|
||||
label_call_list: 需求列表
|
||||
#added by liuping
|
||||
button_unfollow: 取消关注
|
||||
button_follow: 关注
|
||||
|
@ -1174,17 +1176,7 @@ zh:
|
|||
label_tags_issue_description: 问题描述
|
||||
label_tags_all_objects: 所有
|
||||
|
||||
label_user_extensions: 其他信息
|
||||
label_boy: 男
|
||||
label_girl: 女
|
||||
field_gender: 性别
|
||||
field_birthday: 生日
|
||||
field_brief_introduction: 个人简介
|
||||
field_location: 现住址
|
||||
field_occupation: 学校/公司
|
||||
field_work_experience: 工作经验(年)
|
||||
field_zip_code: 邮编
|
||||
|
||||
|
||||
#fq
|
||||
button_leave_meassge: 留言
|
||||
label_leave_message_to: 给用户 %{name}留言
|
||||
|
@ -1195,7 +1187,8 @@ zh:
|
|||
label_user_response: 用户反馈
|
||||
label_bidding_project: 应标项目
|
||||
button_bidding: 我要应标
|
||||
button_new_bid: 发布需求
|
||||
|
||||
label_new_call: 发布需求
|
||||
label_user_information: "与我相关"
|
||||
label_bid_succeed: "需求发布成功"
|
||||
label_wrong_budget: 错误的金额格式
|
||||
|
@ -1204,8 +1197,9 @@ zh:
|
|||
label_bidding_fail: 应标失败,该项目已经应标
|
||||
|
||||
label_requirement_list: 需求列表
|
||||
label_competitive_bidding: 应标
|
||||
label_responses: 反馈
|
||||
|
||||
label_biding_project: 项目
|
||||
label_responses: 留言
|
||||
label_followers: 关注
|
||||
label_price: 悬赏:
|
||||
label_RMB_sign: ¥
|
||||
|
@ -1278,6 +1272,30 @@ zh:
|
|||
label_upassword_info: 该密码在项目组内可共享
|
||||
label_how_commit_code: 如何提交代码:
|
||||
label_how_commit_code_chinese: 中文
|
||||
label_welcome_leave_message: 朋友,系统仍在不断完善,有意见和建议请
|
||||
|
||||
label_welcome_leave_message: 您好!系统目前正在内测,有意见和建议请
|
||||
label_welcome_click_me: 点击我
|
||||
label_mail_attention: qq邮箱可能收不到此邮件,其他邮箱如果没有收到可能在垃圾邮件中
|
||||
|
||||
label_issue_praise: 好问题,顶!
|
||||
label_issue_tread: 烂问题,踩!
|
||||
label_issue_praise_over: 已顶!
|
||||
label_issue_tread_over: 已踩!
|
||||
label_issue_appraise_over: 已评价!
|
||||
label_welcome_my_respond: 我要反馈:
|
||||
label_no_current_fans: 该用户暂无粉丝
|
||||
label_no_current_watchers: 该用户暂未关注其他用户
|
||||
label_project_tool_response: 用户反馈
|
||||
label_tags_search_result: 搜索结果
|
||||
label_active_call: 需求
|
||||
label_tags_call: 需求
|
||||
label_user_extensions: 其他信息
|
||||
label_boy: 男
|
||||
label_girl: 女
|
||||
field_gender: 性别
|
||||
field_birthday: 生日
|
||||
field_brief_introduction: 个人简介
|
||||
field_location: 现住址
|
||||
field_occupation: 学校/公司
|
||||
field_work_experience: 工作经验(年)
|
||||
field_zip_code: 邮编
|
||||
|
||||
|
|
Loading…
Reference in New Issue