From 7a4fe599782afc0b6f3dfc5aa524ac0835d189bb Mon Sep 17 00:00:00 2001 From: wanglinchun Date: Thu, 9 Jan 2014 08:45:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=9E=E8=B7=B5=E8=AF=BE=E7=A8=8B=3D>?= =?UTF-8?q?=E8=AF=BE=E7=A8=8B=E5=AE=9E=E8=B7=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/base_courses.html.erb | 2 +- app/views/layouts/base_homework.html.erb | 2 +- config/locales/zh.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/layouts/base_courses.html.erb b/app/views/layouts/base_courses.html.erb index 00adabffc..31d89e7ff 100644 --- a/app/views/layouts/base_courses.html.erb +++ b/app/views/layouts/base_courses.html.erb @@ -42,7 +42,7 @@ <%=link_to "forge.trustie.net/course", :controller => 'projects', :action => 'course' %> -

<%=link_to "主页", home_path %> > <%=link_to "实践课程", :controller => 'projects', :action => 'course' %> > <%=link_to @project.name, nil %>

+

<%=link_to "主页", home_path %> > <%=link_to l(:label_course_practice), :controller => 'projects', :action => 'course' %> > <%=link_to @project.name, nil %>

diff --git a/app/views/layouts/base_homework.html.erb b/app/views/layouts/base_homework.html.erb index 827874d55..bc328dff5 100644 --- a/app/views/layouts/base_homework.html.erb +++ b/app/views/layouts/base_homework.html.erb @@ -32,7 +32,7 @@ <%= link_to "forge.trustie.net/courses", :controller => 'projects', :action => 'course'%> -

<%=link_to "主页", home_path %> > <%=link_to "实践课程", :controller => 'projects', :action => 'course' %> > +

<%=link_to "主页", home_path %> > <%=link_to l(:label_course_practice), :controller => 'projects', :action => 'course' %> > <%= link_to(@bid.courses.first.name, homework_project_path(@bid.courses.first)) %> > <%=link_to(@bid.name, respond_path(@bid)) %>

diff --git a/config/locales/zh.yml b/config/locales/zh.yml index 7fc52ff80..67ffce6ad 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -510,7 +510,7 @@ zh: #by young label_requirement: 需求 label_new_course: 课程列表 - label_course_practice: 实践课程 + label_course_practice: 课程实践 label_project_deposit: 项目托管 label_software_user: 软件创客 label_contest_innovate: 创新竞赛