diff --git a/app/views/welcome/index.html.erb b/app/views/welcome/index.html.erb index f61eb01f5..c6d1f5036 100644 --- a/app/views/welcome/index.html.erb +++ b/app/views/welcome/index.html.erb @@ -198,7 +198,7 @@ software development and software crowdsourcing. <% unless User.current.memberships.empty? %> - <%= l(:label_contribute_to, :project_count => "#{User.current.memberships.count}") %> <% end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index bd2d04b8e..f57de1742 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1227,4 +1227,5 @@ en: label_repository_new: link to existing SVN repository label_repository_path: path of repository label_repository_new_repos: create a new repository - label_repository_no: have no repository? \ No newline at end of file + label_repository_no: have no repository? + label_welcome_page_to: Participate %{project_count} projects! \ No newline at end of file diff --git a/config/locales/zh.yml b/config/locales/zh.yml index 05156173b..91b9f5165 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -1242,4 +1242,5 @@ zh: label_welcome: 欢迎 label_join: 加入Trustie! label_board_description: 七嘴八舌,汇聚众人智慧,为您排忧解难! - label_create_course_description: 课程小社区,创建新课程,让我们共同分享多到想不到的公共资源! \ No newline at end of file + label_create_course_description: 课程小社区,创建新课程,让我们共同分享多到想不到的公共资源! + label_welcome_page_to: 参与了 %{project_count} 个项目!