diff --git a/app/views/courses/_set_course_time.html.erb b/app/views/courses/_set_course_time.html.erb index 384b07df2..f1eec891f 100644 --- a/app/views/courses/_set_course_time.html.erb +++ b/app/views/courses/_set_course_time.html.erb @@ -7,7 +7,7 @@ <% linkPath = course_endTime_timeout?(course) ? restartcourse_course_path(course) : finishcourse_course_path(course, format: :js) %> <% desc = course_endTime_timeout?(course) ? '重启' : '关闭' %> - <%= link_to "#{desc}课程", linkPath, :remote => true, :method => :post, :id => id, :confirm => ("确定要#{desc}课程?") %> + <%= link_to "#{desc}", linkPath, :remote => true, :method => :post, :id => id, :confirm => ("确定要#{desc}课程?") %> <% else %> <% end %> diff --git a/config/locales/zh.yml b/config/locales/zh.yml index ddde5ccb7..1053e0be1 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -463,7 +463,7 @@ zh: permission_view_courses: 查看课程 permission_new_course: 新建课程 permission_configure_course: 配置课程 - permission_close_course: 关闭/重开课程 + permission_close_course: 关闭/重开 permission_new_assignment: 新建任务 permission_edit_assignment: 编辑任务 permission_delete_assignment: 删除任务