修改首页英文显示

This commit is contained in:
wanglinchun 2014-06-04 10:08:57 +08:00
parent b5be2d58ce
commit ebcdd2cc9e
3 changed files with 9 additions and 5 deletions

View File

@ -124,7 +124,7 @@
<!--搜索框--> <!--搜索框-->
<div id="J_Slide" class="d-p-index-box d-p-index-hotproject" style="float: right;"> <div id="J_Slide" class="d-p-index-box d-p-index-hotproject" style="float: right;">
<%= form_tag({controller: 'contests', action: 'index'}, method: :get) do %> <%= form_tag({controller: 'contests', action: 'index'}, method: :get) do %>
<%= text_field_tag 'name', params[:name], placeholder:<%=l(:label_searching_intimation)%>, name: "name", :class => 'blueinputbar', :style => 'width:240px; padding-right:50px;'%> <%= text_field_tag 'name', params[:name], placeholder:'请输入要搜索的关键字', name: "name", :class => 'blueinputbar', :style => 'width:240px; padding-right:50px;'%>
&nbsp; &nbsp;
<%= hidden_field_tag 'project_type', params[:project_type] %> <%= hidden_field_tag 'project_type', params[:project_type] %>
<%= submit_tag l(:label_search), :class => "enterprise" , :name => nil%> <%= submit_tag l(:label_search), :class => "enterprise" , :name => nil%>

View File

@ -1631,7 +1631,8 @@ en:
label_question_sponsor: Sponsor label_question_sponsor: Sponsor
label_final_reply: Final-reply label_final_reply: Final-reply
label_reply: Reply label_reply: Reply
label_weixin: WeiXin
label_searching_intimation: please input the keywords
#end #end
# ajax异步验证 # ajax异步验证

View File

@ -1962,7 +1962,8 @@ zh:
label_attendingcontestwork_sorting_intimation: 您可以重新打分,打分结果以最后一次打分为主! label_attendingcontestwork_sorting_intimation: 您可以重新打分,打分结果以最后一次打分为主!
label_contest_notification: 竞赛通知 label_contest_notification: 竞赛通知
#english site translation
label_current_hot_contest: 最新热门竞赛 label_current_hot_contest: 最新热门竞赛
label_current_attendingcontest_work: 最新参赛作品 label_current_attendingcontest_work: 最新参赛作品
label_issue_feedback_activities: 问题和反馈动态 label_issue_feedback_activities: 问题和反馈动态
@ -1973,8 +1974,10 @@ zh:
label_question_sponsor: 楼主 label_question_sponsor: 楼主
label_final_reply: 最后回复 label_final_reply: 最后回复
label_reply: 回复 label_reply: 回复
label_weixin: 微信扫码 label_weixin: 微信扫码
label_searching_intimation: 请输入要搜索的关键字 label_search_intimation: 请输入要搜索的关键字
#end
#end #end
# ajax异步验证 # ajax异步验证