From 7c634dc5f3605fb52287ae953c3b420dced99fb7 Mon Sep 17 00:00:00 2001 From: kaizheng <18763216000@163.com> Date: Sat, 17 Aug 2013 10:45:14 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A8=8D=E8=AF=A5=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/repositories/show.html.erb | 2 +- app/views/welcome/index.html.erb | 2 +- config/locales/en.yml | 5 ++++- config/locales/zh.yml | 6 +++++- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/app/views/repositories/show.html.erb b/app/views/repositories/show.html.erb index 46713e9c6..55206a83c 100644 --- a/app/views/repositories/show.html.erb +++ b/app/views/repositories/show.html.erb @@ -76,7 +76,7 @@ <% end %> <% end %> -如何提交代码 <%= link_to('中文', ch_usage_path)%> <%= link_to('English', en_usage_path)%> +<%= l(:label_how_commit_code) %> <%= link_to(l(:label_how_commit_code_chinese), ch_usage_path)%> <%= link_to('English', en_usage_path)%> diff --git a/app/views/welcome/index.html.erb b/app/views/welcome/index.html.erb index b91b638f1..bcca40ffd 100644 --- a/app/views/welcome/index.html.erb +++ b/app/views/welcome/index.html.erb @@ -243,7 +243,7 @@ software development and software crowdsourcing.
朋友,系统仍在不断完善,有意见和建议请 <%= toggle_link '点击我', 'put-bid-form', {:focus => 'new_form_project_message'} %> | ||||
<%= l(:label_welcome_leave_message) %> <%= toggle_link l(:label_welcome_click_me), 'put-bid-form', {:focus => 'new_form_project_message'} %> | ||||