<% next if member.new_record? %>
<% unless member.created_on.nil? %>
- <%= content_tag "p", (User.current.language == ""|| User.current.language == "zh")?("#{format_date(member.created_on)}"+" "+"#{l(:label_member_since)}"):("#{l(:label_member_since)}+" "+#{format_date(member.created_on)}"), :class => "float_right member_since" %>
+ <%= content_tag "p", (User.current.language == ""|| User.current.language == "zh")?("#{format_date(member.created_on)}"+" "+"#{l(:label_member_since)}"):("#{l(:label_member_since)}"+" "+"#{format_date(member.created_on)}"), :class => "float_right member_since" %>
<% end %>
<%= member.user.nil? ? '' : (image_tag(url_to_avatar(member.user), :class => 'avatar')) %>
<%= content_tag "div", link_to(member.user.name, user_path(member.user)), :class => "nomargin avatar_name" %>
diff --git a/app/views/projects/_tools_expand.html.erb b/app/views/projects/_tools_expand.html.erb
index b6e5f8c0d..f62b0822a 100644
--- a/app/views/projects/_tools_expand.html.erb
+++ b/app/views/projects/_tools_expand.html.erb
@@ -42,7 +42,7 @@
diff --git a/app/views/projects/watcherlist.html.erb b/app/views/projects/watcherlist.html.erb
index 126f6c265..0a7a222d4 100644
--- a/app/views/projects/watcherlist.html.erb
+++ b/app/views/projects/watcherlist.html.erb
@@ -17,7 +17,7 @@
<% unless user.memberships.empty? %>
- <%= l(:label_contribute_to, :project_count => "#{user.memberships.count}") %>
+ <%= l(:label_contribute_to, :count => user.memberships.count) %>
<% for member in user.memberships %>
<%= link_to_project(member.project) %><%= (user.memberships.last == member) ? '' : ',' %>
<% end %>
diff --git a/app/views/welcome/_hot_projects_list.html.erb b/app/views/welcome/_hot_projects_list.html.erb
index d14a6901b..ff41fa532 100644
--- a/app/views/welcome/_hot_projects_list.html.erb
+++ b/app/views/welcome/_hot_projects_list.html.erb
@@ -10,7 +10,7 @@
<% end %>
<%= link_to( project.name, project_path(project.id), :class => "d-g-blue d-p-project-name",:title => "#{project.name}" )%>
- (<%= link_to l(:label_project_member_amount, :count=>projectCount(project)), project_member_path(project) ,:course =>'0' %>)
+ (<%= link_to l(:label_project_member_amount, :count => projectCount(project)), project_member_path(project) ,:course =>'0' %>)
<%=project.description.truncate(90, omission: '...')%>
diff --git a/app/views/welcome/index.html.erb b/app/views/welcome/index.html.erb
index 51139ac89..ba0002eff 100644
--- a/app/views/welcome/index.html.erb
+++ b/app/views/welcome/index.html.erb
@@ -115,7 +115,7 @@
<%= l(:lable_bar_active)%> <%= link_to l(:label_my_question) , newbie_send_path, {:class => 'orangeButton idea_btn', :style => "color: #EEEEEE" }%>
<%= link_to l(:label_my_feedback) , suggestion_send_path, {:class => 'orangeButton idea_btn', :style => "color: #EEEEEE" }%>
- <%= link_to l(:label_more), forums_path %>
+ <%= link_to l(:button_more), forums_path %>
<% topics = find_new_forum_topics(12) %>
diff --git a/config/locales/commons/en.yml b/config/locales/commons/en.yml
index b9a6e89c4..296e8bc30 100644
--- a/config/locales/commons/en.yml
+++ b/config/locales/commons/en.yml
@@ -163,7 +163,6 @@ en:
label_requirement: Calls
label_forum: Forum
label_contest: Contest
- label_attachment_plural: Files
@@ -203,12 +202,12 @@ en:
button_cancel: Cancel
label_submit: Submit
button_project_tags_add: Add
- label_more: "More>>"
button_download: Download
+ button_more: "More»"
button_delete: Delete
button_unfollow: Unfollow
button_follow: Follow
-
+ button_browse: Browse
#
diff --git a/config/locales/commons/zh.yml b/config/locales/commons/zh.yml
index a238e1234..efb08ec6e 100644
--- a/config/locales/commons/zh.yml
+++ b/config/locales/commons/zh.yml
@@ -173,7 +173,7 @@ zh:
label_requirement: 需求
label_forum: 公共贴吧
label_contest: 竞赛
- label_attachment_plural: 文件
+
field_description: 描述
@@ -207,14 +207,16 @@ zh:
button_cancel: 取消
label_submit: 提交
button_project_tags_add: 增加
- label_more: "更多>>"
button_download: 下载
- button_more: 更多
+ button_more: "更多»"
button_delete: 删除
button_unfollow: 取消关注
button_follow: 关注
button_watch: 跟踪
button_unwatch: 取消跟踪
+ button_browse: 浏览
+
+
#
# Trustie上传头像模块
#
diff --git a/config/locales/en.yml b/config/locales/en.yml
index e84a26815..3566dcd24 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -107,7 +107,6 @@ en:
field_last_login_on: Last connection
field_effective_date: Date
- field_version: Version
field_type: Type
field_host: Host
field_port: Port
@@ -479,7 +478,6 @@ en:
label_change_status: Change status
label_history: History
label_attachment: Files
- label_attachment_new: New file
label_attachment_delete: Delete file
label_file_added: File added
@@ -611,12 +609,10 @@ en:
label_latest_revision_plural: Latest revisions
label_view_revisions: View revisions
label_view_all_revisions: View all revisions
- label_max_size: Maximum size
label_sort_highest: Move to top
label_sort_higher: Move up
label_sort_lower: Move down
label_sort_lowest: Move to bottom
- label_roadmap: Roadmap
label_roadmap_due_in: "Due in %{value}"
label_roadmap_overdue: "%{value} late"
label_roadmap_no_issues: No issues for this version
@@ -721,7 +717,6 @@ en:
label_plugins: Plugins
label_ldap_authentication: LDAP authentication
label_downloads_abbr: D/L
- label_optional_description: Optional description
label_add_another_file: Add another file
label_preferences: Preferences
label_chronological_order: In chronological order
@@ -1028,7 +1023,7 @@ en:
label_leave_message: Message content
label_message: message board
field_add: Add before %{time}
- button_more: More
+
label_bidding_project: projects
button_bidding: I will participate in it
diff --git a/config/locales/projects/en.yml b/config/locales/projects/en.yml
index ba6b81a5c..221ad7969 100644
--- a/config/locales/projects/en.yml
+++ b/config/locales/projects/en.yml
@@ -19,7 +19,9 @@ en:
#
lable_hot_projects: Hot Projects
label_private: private
- label_project_member_amount: "%{count} members"
+ label_project_member_amount:
+ one: "%{count} member"
+ other: "%{count} members"
label_project_score_tips: "Considering all activities of the project, project's score reflects the activity level of project"
label_project_score: Score
@@ -37,7 +39,7 @@ en:
label_unapply_project: Cancel the application
label_member: Members
- project_module_attachments: Files
+ project_module_attachments: Resources
label_invite: Invitation
label_invite_new_user: "Send e-mail to invite new user"
@@ -48,19 +50,20 @@ en:
project_module_boards: Forums
project_module_boards_post: New Post
- # 与课程公用资源库
+ project_module_files: Resources
project_module_repository: Repository
project_module_create_repository: New Repository
-
+ label_project_more: More
project_module_news: News
project_module_wiki: Wiki
project_module_code_review: Code Review
project_module_calendar: Calendar
project_module_gantt: Gantt
project_module_documents: Documents
- label_project_tool_response: Response
- label_module_share: DTS Test Tool
+ label_roadmap: Roadmap
+ label_project_tool_response: Feedback
+ project_module_dts: DTS Test Tool
label_project_overview: "Profile:"
label_expend_information: More Information
@@ -87,7 +90,9 @@ en:
# 关注者列表
#
label_followers: Followers
- label_contribute_to: "Participates %{project_count} projects—"
+ label_contribute_to:
+ one: "Participates %{count} project—"
+ other: "Participates %{count} projects—"
#
@@ -95,9 +100,9 @@ en:
#
# 资源库
#
- lable_file_sharingarea: Files
+ lable_file_sharingarea: Resources
- label_upload_files: Upload
+ label_upload_files: New file
# 资源库(附件)公用
@@ -108,18 +113,26 @@ en:
attachment_all: "All"
attachment_browse: "Attachment Content Browse"
attachment_sufix_browse: "Attachment Type Browse"
- attachment_type: "Attachment Type"
- label_unknow_type: Unknow type
+ label_unknow_type: Unknow type
field_filename: File
field_filesize: Size
- field_filecontenttype: Content Typ
+ field_filecontenttype: Content
field_filetype: File Typ
field_downloads: Downloads
field_file_dense: Dense
-
-
+
+ # 资源库(附件)公用 > 上传文件
+ label_attachment_new: New file
+ field_version: Version
+ attachment_type: "Attachment Type"
+
+ label_attachment_plural: Files
+ label_no_file_uploaded: No file uploaded
+ label_max_size: Maximum size
+ label_optional_description: Description
+ label_file_count: "%{count} files were uploaded successfully"
#
# 项目托管平台
@@ -164,7 +177,6 @@ en:
project_module_issue_tracking: Issue tracking
project_module_time_tracking: Time tracking
project_module_course: 课程
- project_module_files: Files
project_module_boards: Forums
#
diff --git a/config/locales/projects/zh.yml b/config/locales/projects/zh.yml
index a58536e10..26aee543c 100644
--- a/config/locales/projects/zh.yml
+++ b/config/locales/projects/zh.yml
@@ -22,7 +22,9 @@ zh:
#
lable_hot_projects: 热门项目
label_private: 私有
- label_project_member_amount: "%{count}人"
+ label_project_member_amount:
+ one: "%{count}人"
+ other: "%{count}人"
label_project_score_tips: 项目得分,综合考虑了项目的各项活动,反映了该项目的活跃程度
label_project_score: 项目评分
@@ -50,18 +52,20 @@ zh:
project_module_boards: 讨论区
project_module_boards_post: 发帖
- # 与课程公用资源库
+ project_module_files: 资源库
project_module_repository: 版本库
project_module_create_repository: 创建版本库
+ label_project_more: 更多
project_module_news: 新闻
project_module_wiki: Wiki
project_module_code_review: 代码审查
project_module_calendar: 日历
project_module_gantt: 甘特图
project_module_documents: 文档
+ label_roadmap: 里程碑 #版本路线图
+ project_module_dts: DTS测试工具
label_project_tool_response: 用户反馈
- label_module_share: DTS测试工具
label_project_overview: "项目简介:"
label_expend_information: 展开更多信息
@@ -88,7 +92,9 @@ zh:
# 关注者列表
#
label_followers: 关注
- label_contribute_to: 参与了 %{project_count} 个项目:
+ label_contribute_to:
+ one: "参与了 %{count}个项目:"
+ other: "参与了 %{count}个项目:"
#
@@ -101,7 +107,7 @@ zh:
label_upload_files: 上传文件
- # 资源库(附件)公用
+ # 资源库(附件)公用 > 关联资源
label_relation_files: 关联已有资源
label_search_by_keyword: "按关键字搜索:"
label_files_filter: "资源过滤:"
@@ -116,8 +122,19 @@ zh:
attachment_sufix_browse: "文件类型"
attachment_browse: "内容类型"
attachment_all: "全部"
- attachment_type: "分类"
label_unknow_type: 未知类型
+
+ # 资源库(附件)公用 > 上传文件
+ label_attachment_new: 新建文件
+ field_version: 版本
+ attachment_type: "分类"
+
+ label_attachment_plural: 文件
+ label_no_file_uploaded: 未上传文件
+ label_max_size: 最大文件大小
+
+ label_optional_description: 可选的描述
+
#
# 项目托管平台
@@ -166,7 +183,6 @@ zh:
project_moule_boards_show: 项目论坛
project_module_time_tracking: 时间跟踪
project_module_course: 课程
- project_module_files: 资源库
#
diff --git a/config/locales/users/en.yml b/config/locales/users/en.yml
index fbfe1444e..ed10c69ee 100644
--- a/config/locales/users/en.yml
+++ b/config/locales/users/en.yml
@@ -77,8 +77,6 @@ en:
label_technical_title: Title
label_bidding_user_studentcode: Student ID
- label_account_developer: Developer
- label_account_student: Student
#
@@ -112,7 +110,7 @@ en:
label_layouts_feedback: "a message "
label_of_feedback: from
- label_goto: Go to>>
+ label_goto: "Go to»"
label_activity_project: "Project:"
label_active_call: call
@@ -180,12 +178,12 @@ en:
#
label_responses: Messages
label_user_response: Feedback
- label_leave_a_message: Leave him/her a message
+ label_leave_a_message: "Leave him/her a message"
button_leave_meassge: Submit
button_clear_meassge: Reset
label_user_login_new: Login
- label_user_login_tips: You haven't logged in, please login first to leave a message!
+ label_user_login_tips: "You haven't logged in, please login first to leave a message!"
label_bid_respond_delete: Delete
label_bid_respond_quote: Respond
diff --git a/config/locales/users/zh.yml b/config/locales/users/zh.yml
index 1362380a0..c6f7e4142 100644
--- a/config/locales/users/zh.yml
+++ b/config/locales/users/zh.yml
@@ -36,6 +36,7 @@ zh:
label_user_edit: "修改资料"
label_user_score: 个人综合得分
+ # 用户身份在/my的修改资料下
label_user_score_of_collaboration: 协同得分
label_user_score_of_influence: 影响力得分
label_user_score_of_skill: 技术得分
@@ -87,10 +88,9 @@ zh:
label_technicl_title_associate_professor: 副教授
label_technicl_title_lecturer: 讲师
label_technicl_title_teaching_assistant: 助教
-
+
+ # 用户身份(学生、开发者)标签在/my的修改资料下
label_bidding_user_studentcode: 学号
- label_account_developer: 开发者
- label_account_student: 学生
label_no_current_fans: 该用户暂无粉丝
label_no_current_watchers: 该用户暂未关注其他用户
@@ -115,7 +115,7 @@ zh:
label_of_feedback: 的
label_layouts_feedback: 留言
- label_goto: 前往>>
+ label_goto: "前往»"
label_activity_project: "项目:"
label_active_call: 需求
diff --git a/config/locales/zh.yml b/config/locales/zh.yml
index dc1937926..3552fde66 100644
--- a/config/locales/zh.yml
+++ b/config/locales/zh.yml
@@ -135,7 +135,6 @@ zh:
field_time: 课时
field_class_period: 学时
field_code: 学分
- field_is_public: 公开
field_open_student: 学生列表公开
field_parent: 上级项目
field_is_in_roadmap: 在路线图中显示
@@ -144,7 +143,6 @@ zh:
field_last_login_on: 最后登录
field_language: 语言
field_effective_date: 日期
- field_version: 版本
field_type: 类型
field_host: 主机
field_port: 端口
@@ -465,8 +463,6 @@ zh:
label_new_contest: 竞赛
label_requirement_focus: 关注需求
label_developer: 用户
- label_account_developer: 开发者
- label_account_student: 学生
label_enterprise_into: 进入企业
label_college_into: 进入高校
label_investor: 投资人:
@@ -561,7 +557,7 @@ zh:
label_change_status: 变更状态
label_history: 历史记录
label_attachment: 文件
- label_attachment_new: 新建文件
+
label_file_upload: 上传资料
label_course_file_upload: 上传了课件
label_attachment_delete: 删除文件
@@ -691,13 +687,11 @@ zh:
label_latest_revision_plural: 最近的修订版本
label_view_revisions: 查看修订
label_view_all_revisions: 查看所有修订
- label_no_file_uploaded: 未上传文件
- label_max_size: 最大文件大小
+
label_sort_highest: 置顶
label_sort_higher: 上移
label_sort_lower: 下移
label_sort_lowest: 置底
- label_roadmap: 里程碑 #版本路线图
label_roadmap_due_in: "截止日期到 %{value}"
label_roadmap_overdue: "%{value} 延期"
label_roadmap_no_issues: 该版本没有问题
@@ -846,7 +840,7 @@ zh:
label_plugins: 插件
label_ldap_authentication: LDAP 认证
label_downloads_abbr: D/L
- label_optional_description: 可选的描述
+
label_add_another_file: 添加其它文件
label_preferences: 首选项
label_chronological_order: 按时间顺序
@@ -1093,7 +1087,7 @@ zh:
description_all_columns: 所有列
button_export: 导出
label_export_options: "%{export_format} 导出选项"
- error_attachment_too_big: 该文件无法上传。超过文件大小限制 (%{max_size})
+
error_pic_type: "仅支持如下图片格式:"
notice_failed_to_save_time_entries: "无法保存下列所选取的 %{total} 个项目中的 %{count} 工时: %{ids}。"
label_x_issues:
|