diff --git a/app/views/layouts/base_projects.html.erb b/app/views/layouts/base_projects.html.erb index 308d471fa..9c999aa05 100644 --- a/app/views/layouts/base_projects.html.erb +++ b/app/views/layouts/base_projects.html.erb @@ -93,7 +93,7 @@ <%= image_tag(url_to_avatar(@project), :style => 'width:61px; height:61px;') %>
- 项目ID:<%= @project.id %> + <%= l(:label_project_id)%><%= @project.id %>
diff --git a/config/locales/projects/en.yml b/config/locales/projects/en.yml index 221ad7969..5aca81426 100644 --- a/config/locales/projects/en.yml +++ b/config/locales/projects/en.yml @@ -31,7 +31,7 @@ en: # # 左边栏 # - label_id: "ID:" + label_project_id: "Projcet ID:" label_apply_project: Apply to Join label_exit_project: Exit @@ -51,6 +51,7 @@ en: project_module_boards: Forums project_module_boards_post: New Post project_module_files: Resources + label_upload_files: New File project_module_repository: Repository project_module_create_repository: New Repository @@ -102,9 +103,6 @@ en: # lable_file_sharingarea: Resources - label_upload_files: New file - - # 资源库(附件)公用 label_relation_files: Select an existing resource label_search_by_keyword: "Search by keywords" diff --git a/config/locales/projects/zh.yml b/config/locales/projects/zh.yml index 26aee543c..2442f8e4f 100644 --- a/config/locales/projects/zh.yml +++ b/config/locales/projects/zh.yml @@ -34,7 +34,7 @@ zh: # # 左边栏 # - label_id: "ID:" + label_project_id: "项目ID:" label_apply_project: 申请加入 label_exit_project: 退出项目