\ No newline at end of file
diff --git a/app/views/web_footer_companies/new.html.erb b/app/views/web_footer_companies/new.html.erb
index 0afd3009c..86af4ffe3 100644
--- a/app/views/web_footer_companies/new.html.erb
+++ b/app/views/web_footer_companies/new.html.erb
@@ -6,7 +6,7 @@
<%= f.text_field :name, :required => true %>
<%= f.text_field :url, :required => true %>
-
+
<%= l(:label_url_prompt) %>
<%= submit_tag l(:button_create) %>
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 1f8224485..0f1e03ee0 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -532,6 +532,11 @@ en:
label_web_footer_cooperation_compnay: Site footer cooperation unit
label_new_company: Add the cooperation unit
label_upload_logo: Upload logo
+ label_url_prompt: Web site needs to http or https at the beginning, for example 'http://forge.trustie.net'
+ web_footer_company_create_fail: The cooperation unit creation failed
+ web_footer_company_update_fail: The cooperation unit update failed
+ is_not_url_error: Is not a valid URL
+
label_x_projects:
zero: no projects
one: 1 project
diff --git a/config/locales/zh.yml b/config/locales/zh.yml
index 5d40bfc34..c0cb5f3d8 100644
--- a/config/locales/zh.yml
+++ b/config/locales/zh.yml
@@ -534,6 +534,10 @@ zh:
label_new_company: 添加合作单位
label_edit_company: 编辑合作单位
label_upload_logo: 上传logo
+ label_url_prompt: 网址需以"http://"或"https://"开头,例:http://forge.trustie.net
+ web_footer_company_create_fail: 合作单位创建失败
+ web_footer_company_update_fail: 合作单位更新失败
+ is_not_url_error: 不是正确的url
label_x_projects:
zero: 无项目
one: 1 个项目