diff --git a/app/views/contestnotifications/_form.html.erb b/app/views/contestnotifications/_form.html.erb index 7e7b10a23..afcb60657 100644 --- a/app/views/contestnotifications/_form.html.erb +++ b/app/views/contestnotifications/_form.html.erb @@ -3,7 +3,7 @@ <%= l(:bale_news_notice) %>
-

<%= f.text_field :title, :required => true, :size => 60, :style => "width:488px;" %>

+

<%= f.text_field :title, :required => true, :size => 60,:maxlength => 60, :style => "width:488px;" %>

<%= f.text_area :description, :required => true, :cols => 60, :rows => 11, :class => 'wiki-edit', :style => "width:490px;" %>

diff --git a/config/locales/zh.yml b/config/locales/zh.yml index b60184665..d106ed3d2 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -1977,7 +1977,7 @@ zh: label_upload_softapplication_packets: 上传应用软件包 label_upload_softapplication_photo: 上传产品截图 label_upload_softapplication_packets_mustpacketed: 作品相关代码及相关说明文件必须打包后以压缩包的形式上传,便于上传和下载 ; - label_upload_softapplication_photo_condition: 作品截图最好0~4张(多余图片不会再展示页面上显示);格式为gif/jpg/png, 每张小于5M + label_upload_softapplication_photo_condition: 作品截图最好0~4张(多余图片不会在展示页面上显示);格式为gif/jpg/png/bmp等, 每张小于5M label_updated_caution: 注意:若编辑参赛作品,则之前上传的软件包和截图都将被删除,请重新上传! label_softapplication_name: 应用名称 label_work_name: 作品名称 @@ -2104,4 +2104,8 @@ zh: lable_school_no_course: 该学校未开设任何课程,您可以查看其他学校课程 lable_school_less_course: 该学校开设课程较少,您可以查看其他学校课程 + + lable_file_not_found: 对不起,该文件现在不能下载! + lable_goto_homepage: 返回主页 + lable_trustie_team: Trustie开发团队 \ No newline at end of file diff --git a/public/file_not_found.html b/public/file_not_found.html index c927e13c0..74b2013e7 100644 --- a/public/file_not_found.html +++ b/public/file_not_found.html @@ -1,6 +1,7 @@ + File not found + + +
+ +

<%= l(:lable_file_not_found) %>

+

<%= l(:lable_goto_homepage) %>

+ +
+
+

<%= l(:lable_trustie_team) %>

+
+
+ +
+ +