From 1615185ebfa9945dd430aa7763adce63e75564a2 Mon Sep 17 00:00:00 2001 From: kaizheng <18763216000@163.com> Date: Sat, 10 Aug 2013 10:03:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=BB=BA=E9=9C=80=E6=B1=82=E5=9B=BD?= =?UTF-8?q?=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/bids/_new_bid.html.erb | 14 +++++++------- config/locales/en.yml | 10 ++++++++-- config/locales/zh.yml | 4 ++++ 3 files changed, 19 insertions(+), 9 deletions(-) diff --git a/app/views/bids/_new_bid.html.erb b/app/views/bids/_new_bid.html.erb index 44d8c228b..51133f04a 100644 --- a/app/views/bids/_new_bid.html.erb +++ b/app/views/bids/_new_bid.html.erb @@ -46,29 +46,29 @@ - + - + - -
<%= text_field_tag 'bid_title', "为你的需求起个名字~~", :class => 'noline', :required => true, :onfocus => "clearInfo('bid_title', '为你的需求起个名字~~')", :onblur => "showInfo('bid_title', '为你的需求起个名字~~')"%><%= text_field_tag 'bid_title', "#{l(:label_requirement_name)}", :class => 'noline', :required => true, :onfocus => "clearInfo('bid_title', '#{l(:label_requirement_name)}')", :onblur => "showInfo('bid_title', '#{l(:label_requirement_name)}')"%>
<%= text_area_tag 'bid_description', "说出你的需求>找到威客来帮你>支付担保金让威客开始工作>验收付款并评价", :class => 'noline', :required => true, :style => "resize: none;", :rows => 6, - :onfocus => "clearInfo('bid_description', '说出你的需求>找到威客来帮你>支付担保金让威客开始工作>验收付款并评价')", :onblur => "showInfo('bid_description', '说出你的需求>找到威客来帮你>支付担保金让威客开始工作>验收付款并评价')" %><%= text_area_tag 'bid_description', "#{l(:label_requirement_description)}", :class => 'noline', :required => true, :style => "resize: none;", :rows => 6, + :onfocus => "clearInfo('bid_description', '#{l(:label_requirement_description)}')", :onblur => "showInfo('bid_description', '#{l(:label_requirement_description)}')" %>
<%= text_field_tag 'bid_budget', "支付担保金额", :class => 'noline', :required => true, - :onfocus => "clearInfo('bid_budget', '支付担保金额')", :onblur => "showInfo('bid_budget', '支付担保金额')" %> + <%= text_field_tag 'bid_budget', "#{l(:label_requirement_bargain_money)}", :class => 'noline', :required => true, + :onfocus => "clearInfo('bid_budget', '#{l(:label_requirement_bargain_money)}')", :onblur => "showInfo('bid_budget', '#{l(:label_requirement_bargain_money)}')" %>
<%= text_field_tag 'bid_deadline', "投资时限 yyyy-mm-dd", :class => 'noline', :required => true, - :onfocus => "clearInfo('bid_deadline', '投资时限 yyyy-mm-dd')", :onblur => "showInfo('bid_deadline', '投资时限 yyyy-mm-dd')"%> + <%= text_field_tag 'bid_deadline', "#{l(:label_deadline)}", :class => 'noline', :required => true, + :onfocus => "clearInfo('bid_deadline', '#{l(:label_deadline)}')", :onblur => "showInfo('bid_deadline', '#{l(:label_deadline)}')"%> <%= calendar_for('bid_deadline')%>
diff --git a/config/locales/en.yml b/config/locales/en.yml index 5844b8ba4..1189c619d 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1156,7 +1156,7 @@ en: label_commit_on: commit times label_follow_people: followers label_member_since: join trustie2 - label_contribute_to: Participate in %{project_count} numbers of projects: + label_contribute_to: Participate %{project_count} projects: label_total_commit: Together %{total_commit} numbers of committing label_upload_profile: Upload avatar label_type_as: Type as @@ -1179,4 +1179,10 @@ en: 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 \ No newline at end of file + label_respond_requirement: has respond to the requirement + label_deadline: deadline yyyy-mm-dd + label_requirement_name: give your requirement a name ~~ + label_requirement_description: description:show you requirement>find Witkey to help you>pay the bargain money>check,pay and give comments + label_requirement_bargain_money: pay the bargain money + label_wrong_budget: The error format of money + label_wrong_date: wrong date format, input right date yyyy-mm-dd \ No newline at end of file diff --git a/config/locales/zh.yml b/config/locales/zh.yml index f74c6d1c2..2cfb9c63f 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -1192,3 +1192,7 @@ zh: label_investment_time_limit: 投资时限: label_my_respond: 我要反馈: label_respond_requirement: 对需求进行了反馈 + label_deadline: 投资时限yyyy-mm-dd + label_requirement_name: 为你的需求起个名字~~ + label_requirement_description: 内容:说出你的需求>找到威客来帮你>支付担保金让威客开始工作>验收付款并评价 + label_requirement_bargain_money: 支付担保金额 \ No newline at end of file