From 53c6a981e97e96539a95cbe13f889f1483a86879 Mon Sep 17 00:00:00 2001
From: kaizheng <18763216000@163.com>
Date: Tue, 13 Aug 2013 10:45:01 +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/projects/show.html.erb | 2 +-
app/views/users/info.html.erb | 2 +-
app/views/users/user_projects.html.erb | 2 +-
app/views/users/watch_bids.html.erb | 2 +-
config/locales/en.yml | 5 ++++-
config/locales/zh.yml | 5 ++++-
6 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb
index d7f0d7de0..7abed830d 100644
--- a/app/views/projects/show.html.erb
+++ b/app/views/projects/show.html.erb
@@ -52,7 +52,7 @@
<% else %>
-该项目暂无动态!
+<%= l(:label_project_no_activity) %>
<% end %>
diff --git a/app/views/users/info.html.erb b/app/views/users/info.html.erb
index 20d82c5f2..ef1ab4b47 100644
--- a/app/views/users/info.html.erb
+++ b/app/views/users/info.html.erb
@@ -51,6 +51,6 @@
<% else %>
-暂无任何用户对您进行反馈
+<%= l(:label_no_user_respond_you) %>
<% end %>
diff --git a/app/views/users/user_projects.html.erb b/app/views/users/user_projects.html.erb
index c515cea3d..d95fac8a0 100644
--- a/app/views/users/user_projects.html.erb
+++ b/app/views/users/user_projects.html.erb
@@ -34,7 +34,7 @@
<% else %>
<% if @user != User.current %>
<%= l(:label_project_un) %>
-<% else %><%= l(:label_project_unadd) %><%= link_to"新建",:controller=>'projects',:action=>'new'%>
+<% else %><%= l(:label_project_unadd) %><%= link_to"#{l(:label_new)}",:controller=>'projects',:action=>'new'%>
<% end %>
<% end %>
diff --git a/app/views/users/watch_bids.html.erb b/app/views/users/watch_bids.html.erb
index 927aced4c..ad888fb1b 100644
--- a/app/views/users/watch_bids.html.erb
+++ b/app/views/users/watch_bids.html.erb
@@ -47,5 +47,5 @@
<% else %>
-暂未关注任何需求
+<%= l(:label_follow_no_requirement) %>
<% end %>
diff --git a/config/locales/en.yml b/config/locales/en.yml
index f4ea64903..dbc0ed67e 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -1234,4 +1234,7 @@ en:
label_welcome_page_to: Participate %{project_count} projects!
label_repository_path_not_null: repository path can't be null
label_password_not_null: password can't be null。
- label_exist_repository_path: Define exist repository's path of URL and format must be file:///, http://, https://, svn://
\ No newline at end of file
+ label_exist_repository_path: Define exist repository's path of URL and format must be file:///, http://, https://, svn://
+ label_project_no_activity: The project has no activities now!
+ label_follow_no_requirement: You don't have followed any requirements!
+ label_no_user_respond_you: There is no respond for you!
\ No newline at end of file
diff --git a/config/locales/zh.yml b/config/locales/zh.yml
index d5a2cfede..bc4d34193 100644
--- a/config/locales/zh.yml
+++ b/config/locales/zh.yml
@@ -1246,4 +1246,7 @@ zh:
label_welcome_page_to: 参与了 %{project_count} 个项目!
label_repository_path_not_null: 库路径 不能为空字符
label_password_not_null: 密码不能设置为空。
- label_exist_repository_path: 定义已有版本库URL路径,定义格式file:///, http://, https://, svn://
\ No newline at end of file
+ label_exist_repository_path: 定义已有版本库URL路径,定义格式file:///, http://, https://, svn://
+ label_project_no_activity: 该项目暂无动态!
+ label_follow_no_requirement: 暂未关注任何需求!
+ label_no_user_respond_you: 暂无任何用户对您进行反馈!
\ No newline at end of file