diff --git a/app/views/courses/index.html.erb b/app/views/courses/index.html.erb
index e7a4a29db..e8a917a2b 100644
--- a/app/views/courses/index.html.erb
+++ b/app/views/courses/index.html.erb
@@ -12,7 +12,7 @@
<% end %>
- <% unless @user.user_extensions.location.empty?%>
+ <% unless @user.user_extensions.nil?&&@user.user_extensions.location.empty?%>
diff --git a/app/views/members/autocomplete.js.erb b/app/views/members/autocomplete.js.erb
index 16809de48..f7f9de151 100644
--- a/app/views/members/autocomplete.js.erb
+++ b/app/views/members/autocomplete.js.erb
@@ -1,12 +1,16 @@
<% if @project%>
-$('#principals_for_new_member').html('<%= escape_javascript(render_principals_for_new_members(@project)) %>');
+ <% if @flag == "true"%>
+ $('#principals_for_new_member').html('<%= escape_javascript(render_project_members(@project)) %>');
+ <% else%>
+ $('#principals_for_new_member').html('<%= escape_javascript(render_principals_for_new_members(@project)) %>');
+ <% end%>
<% elsif @course%>
- var checked = $("#principals input:checked").size();
- if(checked > 0)
- {
- alert('翻页或搜索后将丢失当前选择的用户数据!');
- }
- $('#principals_for_new_member').html('<%= escape_javascript(render_principals_for_new_course_members(@course)) %>');
+ var checked = $("#principals input:checked").size();
+ if(checked > 0)
+ {
+ alert('翻页或搜索后将丢失当前选择的用户数据!');
+ }
+ $('#principals_for_new_member').html('<%= escape_javascript(render_principals_for_new_course_members(@course)) %>');
<%end%>
var collection=$("#principals_for_new_member").children("#principals").children("label");
collection.css("text-overflow","ellipsis");
diff --git a/app/views/memos/new.html.erb b/app/views/memos/new.html.erb
index 8bcb77a57..7f5667663 100644
--- a/app/views/memos/new.html.erb
+++ b/app/views/memos/new.html.erb
@@ -8,7 +8,7 @@
- 软件项目托管社区 |
+ <%= l(:label_projects_community)%> |
<%= l(:label_user_location) %> : |
@@ -17,7 +17,7 @@
|
<%= link_to request.host()+"/forums", forums_path %> |
- <%=link_to l(:label_home),home_path %> > <%=link_to '公共贴吧', :controller => 'forums', :action => 'index' %> > <%=link_to @forum.name %> |
+ <%=link_to l(:label_home),home_path %> > <%=link_to l(:label_forum), :controller => 'forums', :action => 'index' %> > <%=link_to @forum.name %> |
diff --git a/app/views/my/account.html.erb b/app/views/my/account.html.erb
index 554f50633..241bfacd8 100644
--- a/app/views/my/account.html.erb
+++ b/app/views/my/account.html.erb
@@ -64,7 +64,7 @@
$("#my_account_form").submit();
}
else {
- parent.alert("姓氏和名字不能为空");
+ parent.alert("<%= l(:label_firstname_lastname_empty)%>");
}
}
function get_options(value) {
@@ -320,7 +320,7 @@
-<%= error_messages_for 'member' %>
+<%#= render_flash_messages %>
<%
roles = Role.givable.all
if @project.project_type == Project::ProjectType_course
@@ -14,36 +15,46 @@
-
+
邀请Trustie注册用户
<% if roles.any? %>
- <%= form_for(@member, {:as => :membership, :url => project_memberships_path(@project), :remote => true, :method => :post}) do |f| %>
+ <%= form_for(@member, {:as => :membership, :url => project_memberships_path(@project), :method => :post}) do |f| %>
+
+
+
+ <%= javascript_tag "observeSearchfield('principal_search', null, '#{ escape_javascript autocomplete_project_memberships_path(@project, :format => 'js',:flag => true) }')" %>
+
-
- <%= label_tag "principal_search", l(:label_principal_search) %>
- <%= text_field_tag 'principal_search', nil %>
- <%= javascript_tag "observeSearchfield('principal_search', null, '#{ escape_javascript autocomplete_project_memberships_path(@project, :format => 'js') }')" %>
+
+ <%= render_project_members(@project) %>
+
+
-
- <%= render_principals_for_new_members(@project) %>
-
-
- <%= l(:label_role_plural) %>:
- <% roles.each do |role| %>
-
+
+ -
+ <%= l(:label_role_plural) %>:
+
+ <% roles.each do |role| %>
+ -
+ <%= check_box_tag 'membership[role_ids][]', role.id %>
+ <%= h role %>
+
+ <% end %>
+
+
+
+ <%= l(:label_invite_members)%>
+
+
+
+
+
<% end %>
-
-
- <%= submit_tag l(:label_invite_members), :id => 'member-add-submit', :style => 'display:block; width:80px; text-align:center; color:#fff; height:26px; padding-top:3px; margin-bottom:10px;' %>
-
- <% end %>
<% end %>
-
diff --git a/app/views/projects/invite_members_by_mail.html.erb b/app/views/projects/invite_members_by_mail.html.erb
index 70628094b..e0ba05f18 100644
--- a/app/views/projects/invite_members_by_mail.html.erb
+++ b/app/views/projects/invite_members_by_mail.html.erb
@@ -1,3 +1,12 @@
+
邀请加入
@@ -9,7 +18,7 @@
发送邮件邀请新用户
- 输入好友邮箱地址,Trustie帮您免费发送!
+ 输入好友邮箱地址,Trustie会自动为该邮箱注册用户!
<%= render :partial => 'regested', locals: { :isregisted => false} %>
diff --git a/app/views/projects/new.html.erb b/app/views/projects/new.html.erb
index 455f4ad1b..98612b733 100644
--- a/app/views/projects/new.html.erb
+++ b/app/views/projects/new.html.erb
@@ -2,18 +2,22 @@
@nav_dispaly_forum_label = 1 %>
<%= labelled_form_for @project do |f| %>
- <%=l(:label_project_new)%> <%=raw l(:label_project_new_description)%>
+
+ <%=l(:label_project_new)%>
+
+
<%=raw l(:label_project_new_description)%>
<%= render :partial => 'form', :locals => { :f => f } %>
- <%= submit_tag l(:button_create), :class => "enterprise"%>
+ <%= submit_tag l(:button_create), :class => "enterprise"%>
<%#= submit_tag l(:button_create_and_continue), :name => 'continue' %>
<%= javascript_tag "$('#project_name').focus();" %>
+
<% end %>
<% html_title(l(:label_project_new)) -%>
\ No newline at end of file
diff --git a/app/views/projects/show.html.erb b/app/views/projects/show.html.erb
index fc64d3af8..cd6ac2af2 100644
--- a/app/views/projects/show.html.erb
+++ b/app/views/projects/show.html.erb
@@ -21,7 +21,37 @@
-<%= paginate @events_pages, :window => 3%>
\ No newline at end of file
+<%= paginate @events_pages, :left => 3, :right => 3%>
\ No newline at end of file
diff --git a/app/views/stores/_search_bar.html.erb b/app/views/stores/_search_bar.html.erb
index 884f8b263..e4dea7a02 100644
--- a/app/views/stores/_search_bar.html.erb
+++ b/app/views/stores/_search_bar.html.erb
@@ -1,8 +1,8 @@
<%= form_tag( search_stores_path, method: 'post') do %>
- <%= text_field_tag 'name', params[:name], placeholder:'请输入要搜索的关键字', name: "name", :class => 'blueinputbar', :style => 'width:450px;'%>
+ <%= text_field_tag 'name', params[:name], placeholder: l('welcome.search.information'), name: "name", :class => 'blueinputbar', :style => 'width:450px;'%>
<%= submit_tag l(:label_search), :class => "enterprise"%>
<% end %>
- 全站文件搜索。不会搜索私有项目中的内容。
+ <%= l(:label_resources_search_all)%>
\ No newline at end of file
diff --git a/app/views/tags/_project_tag.html.erb b/app/views/tags/_project_tag.html.erb
index 1f91c984e..8694d69ca 100644
--- a/app/views/tags/_project_tag.html.erb
+++ b/app/views/tags/_project_tag.html.erb
@@ -2,19 +2,31 @@
<%= render :partial => "tags/tag_name",:locals => {:obj => obj,:non_list_all => false ,:object_flag => object_flag} %>
<% if User.current.logged? %>
- <%= toggle_link ("+ 添加标签"), 'put-tag-form', {:focus => 'tags_name'} %>
+ <%= toggle_link (l(:label_add_tag)), 'put-tag-form', {:focus => 'tags_name'} %>
<% end %>
diff --git a/app/views/tags/_show_attachments.html.erb b/app/views/tags/_show_attachments.html.erb
index 509acc0ba..a76211fc6 100644
--- a/app/views/tags/_show_attachments.html.erb
+++ b/app/views/tags/_show_attachments.html.erb
@@ -9,18 +9,35 @@
- <%= l(:label_attachment) %>: <%= file.filename %>
+
+ <%= l(:label_attachment) %>:
+
+ <%= file.filename %>
+
- <%= link_to_attachment file, {:download => true, :text => image_tag("/images/button/dl.png", width: "70px", alt: l(:button_download), :class => 'download_icon')}%>
+ <%= link_to_attachment file, {:download => true, :text => image_tag("/images/button/dl.png", width: "70px", alt: l(:button_download), :class => 'download_icon')}%>
- <%= l(:field_description) %>: <%= file.description %>
- <%= l('attachment.category')%><%=result_come_from file%>
+
+ <%= l(:field_description) %>
+ :
+
+ <%= file.description %>
+
+ <%= l('label_attachment_category')%>
+ <%=result_come_from file%>
+
- <%= l('attachment.download_num')%><%= file.downloads%>|
- <%= l('attachment.size')%><%= number_to_human_size(file.filesize) %>|
- <%= l('attachment.sharer')%><%= link_to file.author, user_path(file.author), target: "_blank" unless file.author.blank? %>|
- <%= l('attachment.upload_time')%><%= format_time(file.created_on) %>
+ <%= l('label_attachment_download_num')%>
+ <%= file.downloads%>|
+ <%= l('label_attachment_size')%>
+ <%= number_to_human_size(file.filesize) %>|
+ <%= l('label_attachment_sharer')%>
+
+ <%= link_to file.author, user_path(file.author), target: "_blank" unless file.author.blank? %>
+ |
+ <%= l('label_attachment_upload_time')%>
+ <%= format_time(file.created_on) %>
|
diff --git a/app/views/users/_activity_new_score_index.html.erb b/app/views/users/_activity_new_score_index.html.erb
index b592b508d..8140fd756 100644
--- a/app/views/users/_activity_new_score_index.html.erb
+++ b/app/views/users/_activity_new_score_index.html.erb
@@ -1,9 +1,9 @@
- 踩别人的帖子数量 * (-2) = <%= option_num.tread %> * (-2) = <%= option_num.tread * (-2) %>
- 帖子被一级会员顶的次数 * 4 = <%= option_num.praise_by_one %> * 4 = <%= option_num.praise_by_one * 4 %>
- 帖子被二级会员顶的次数 * 6 = <%= option_num.praise_by_two %> * 6 = <%= option_num.praise_by_two * 6 %>
- 帖子被三级会员顶的次数 * 8 = <%= option_num.praise_by_three %> * 8 = <%= option_num.praise_by_three * 8 %>
- 帖子被一级会员踩的次数 * (-2) = <%= option_num.tread_by_one %> * (-2) = <%= option_num.tread_by_one * (-2) %>
- 帖子被二级会员踩的次数 * (-4) = <%= option_num.tread_by_two %> * (-4) = <%= option_num.tread_by_two * (-4) %>
- 帖子被三级会员踩的次数 * (-6) = <%= option_num.tread_by_three %> * (-6) = <%= option_num.tread_by_three * (-6) %>
- 技术得分 = <%= option_num.tread * (-2) %> + <%= option_num.praise_by_one * 4 %> + <%= option_num.praise_by_two * 6 %> + <%= option_num.praise_by_three * 8 %> + (<%= option_num.tread_by_one * (-2) %>) + ( <%= option_num.tread_by_two * (-4) %>) + (<%= option_num.tread_by_three * (-6) %>) = <%= skill(option_num) %>
\ No newline at end of file
+ <%= l('userscore.skill.tramples')%> * (-2) = <%= option_num.tread %> * (-2) = <%= option_num.tread * (-2) %>
+ <%= l('userscore.skill.like.level1')%> * 4 = <%= option_num.praise_by_one %> * 4 = <%= option_num.praise_by_one * 4 %>
+ <%= l('userscore.skill.like.level2')%> * 6 = <%= option_num.praise_by_two %> * 6 = <%= option_num.praise_by_two * 6 %>
+ <%= l('userscore.skill.like.level3')%> * 8 = <%= option_num.praise_by_three %> * 8 = <%= option_num.praise_by_three * 8 %>
+ <%= l('userscore.skill.dislike.level1')%> * (-2) = <%= option_num.tread_by_one %> * (-2) = <%= option_num.tread_by_one * (-2) %>
+ <%= l('userscore.skill.dislike.level2')%> * (-4) = <%= option_num.tread_by_two %> * (-4) = <%= option_num.tread_by_two * (-4) %>
+ <%= l('userscore.skill.dislike.level3')%> * (-6) = <%= option_num.tread_by_three %> * (-6) = <%= option_num.tread_by_three * (-6) %>
+ <%= l(:label_user_score_of_skill)%> = <%= option_num.tread * (-2) %> + <%= option_num.praise_by_one * 4 %> + <%= option_num.praise_by_two * 6 %> + <%= option_num.praise_by_three * 8 %> + (<%= option_num.tread_by_one * (-2) %>) + ( <%= option_num.tread_by_two * (-4) %>) + (<%= option_num.tread_by_three * (-6) %>) = <%= skill(option_num) %>
\ No newline at end of file
diff --git a/app/views/users/_course_form.html.erb b/app/views/users/_course_form.html.erb
index 02ba782ec..c63daf574 100644
--- a/app/views/users/_course_form.html.erb
+++ b/app/views/users/_course_form.html.erb
@@ -57,7 +57,7 @@
<%= l(:label_course_term) %>
- : <%= @course.time %><%= @course.term %>
+ : <%= @course.time %><%= get_course_term_locales @course %>
<% end %>
diff --git a/app/views/users/_course_list_have_entity.html.erb b/app/views/users/_course_list_have_entity.html.erb
index a0e721df5..5d2682dbc 100644
--- a/app/views/users/_course_list_have_entity.html.erb
+++ b/app/views/users/_course_list_have_entity.html.erb
@@ -2,8 +2,8 @@
diff --git a/app/views/users/_course_list_have_entity_ex.html.erb b/app/views/users/_course_list_have_entity_ex.html.erb
index 2307f3a2b..fc2b5af77 100644
--- a/app/views/users/_course_list_have_entity_ex.html.erb
+++ b/app/views/users/_course_list_have_entity_ex.html.erb
@@ -2,8 +2,8 @@
diff --git a/app/views/users/_influence_new_score_index.html.erb b/app/views/users/_influence_new_score_index.html.erb
index 9977494b9..c0a89536a 100644
--- a/app/views/users/_influence_new_score_index.html.erb
+++ b/app/views/users/_influence_new_score_index.html.erb
@@ -1,7 +1,7 @@
- 提交代码次数 * 4 = <%= option_num.changeset %> * 4 = <%= option_num.changeset * 4 %>
- 提交文档次数 * 4 = <%= option_num.document %> * 4 = <%= option_num.document * 4 %>
- 提交附件次数 * 4 = <%= option_num.attachment %> * 4 = <%= option_num.attachment * 4 %>
- 更新缺陷完成度次数 * 2 = <%= option_num.issue_done_ratio %> * 2 = <%= option_num.issue_done_ratio * 2 %>
- 发布缺陷数量 * 4 = <%= option_num.post_issue %> * 4 = <%= option_num.post_issue * 4 %>
- 项目贡献得分 = <%= option_num.changeset * 4 %> + <%= option_num.document * 4 %> + <%= option_num.attachment * 4 %> + <%= option_num.issue_done_ratio * 2 %> + <%= option_num.post_issue * 4 %> = <%= active(option_num) %>
\ No newline at end of file
+ <%= l('userscore.active.commit.codes')%> * 4 = <%= option_num.changeset %> * 4 = <%= option_num.changeset * 4 %>
+ <%= l('userscore.active.commit.documents')%> * 4 = <%= option_num.document %> * 4 = <%= option_num.document * 4 %>
+ <%= l('userscore.active.commit.attachments')%> * 4 = <%= option_num.attachment %> * 4 = <%= option_num.attachment * 4 %>
+ <%= l('userscore.active.update_issues')%> * 2 = <%= option_num.issue_done_ratio %> * 2 = <%= option_num.issue_done_ratio * 2 %>
+ <%= l('userscore.active.release_issues')%> * 4 = <%= option_num.post_issue %> * 4 = <%= option_num.post_issue * 4 %>
+ <%= l(:label_user_score_of_active)%> = <%= option_num.changeset * 4 %> + <%= option_num.document * 4 %> + <%= option_num.attachment * 4 %> + <%= option_num.issue_done_ratio * 2 %> + <%= option_num.post_issue * 4 %> = <%= active(option_num) %>
\ No newline at end of file
diff --git a/app/views/users/_my_joinedcourse.html.erb b/app/views/users/_my_joinedcourse.html.erb
index 373ed9234..e616004e6 100644
--- a/app/views/users/_my_joinedcourse.html.erb
+++ b/app/views/users/_my_joinedcourse.html.erb
@@ -16,8 +16,8 @@
diff --git a/app/views/users/_project_new_score_index.html.erb b/app/views/users/_project_new_score_index.html.erb
index d627fba91..14dd0fef2 100644
--- a/app/views/users/_project_new_score_index.html.erb
+++ b/app/views/users/_project_new_score_index.html.erb
@@ -1,3 +1,3 @@
- 被关注人数 * 2 = <%= option_num.follow %> * 2 = <%= option_num.follow * 2 %>
- 影响力得分 = <%= option_num.follow * 2 %>
+ <%= l('userscore.influence.followers')%> * 2 = <%= option_num.follow %> * 2 = <%= option_num.follow * 2 %>
+ <%= l(:label_user_score_of_influence)%> = <%= option_num.follow * 2 %>
diff --git a/app/views/users/_topic_new_score_index.html.erb b/app/views/users/_topic_new_score_index.html.erb
index 02bc1de4f..af2ff0da3 100644
--- a/app/views/users/_topic_new_score_index.html.erb
+++ b/app/views/users/_topic_new_score_index.html.erb
@@ -1,7 +1,7 @@
- 发帖数量 * 2 = <%= option_num.memo %> * 2 = <%= option_num.memo * 2 %>
- 对缺陷留言数量 * 1 = <%= option_num.messages_for_issues %> * 1 = <%= option_num.messages_for_issues * 1 %>
- 更改缺陷状态次数 * 1 = <%= option_num.issues_status %> * 1= <%= option_num.issues_status * 1 %>
- 对留言的回复数量 * 1 = <%= option_num.replay_for_message %> * 1 = <%= option_num.replay_for_message * 1 %>
- 对帖子的回复数量 * 1 = <%= option_num.replay_for_memo %> * 1 = <%= option_num.replay_for_memo * 1 %>
- 协同得分 = <%= option_num.memo * 2 %> + <%= option_num.messages_for_issues * 1 %> + <%= option_num.issues_status * 1 %> + <%= option_num.replay_for_message * 1 %> + <%= option_num.replay_for_memo * 1 %> = <%= collaboration(option_num) %>
+ <%= l('userscore.collaboration.memos')%> * 2 = <%= option_num.memo %> * 2 = <%= option_num.memo * 2 %>
+ <%= l('userscore.collaboration.message_for_issues')%> * 1 = <%= option_num.messages_for_issues %> * 1 = <%= option_num.messages_for_issues * 1 %>
+ <%= l('userscore.collaboration.issue_status')%> * 1 = <%= option_num.issues_status %> * 1= <%= option_num.issues_status * 1 %>
+ <%= l('userscore.collaboration.reply_for_messages')%> * 1 = <%= option_num.replay_for_message %> * 1 = <%= option_num.replay_for_message * 1 %>
+ <%= l('userscore.collaboration.reply_for_memos')%> * 1 = <%= option_num.replay_for_memo %> * 1 = <%= option_num.replay_for_memo * 1 %>
+ <%= l(:label_user_score_of_collaboration)%> = <%= option_num.memo * 2 %> + <%= option_num.messages_for_issues * 1 %> + <%= option_num.issues_status * 1 %> + <%= option_num.replay_for_message * 1 %> + <%= option_num.replay_for_memo * 1 %> = <%= collaboration(option_num) %>
diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb
index 23f57dc37..b16c017a7 100644
--- a/app/views/users/show.html.erb
+++ b/app/views/users/show.html.erb
@@ -2,7 +2,7 @@
@@ -91,7 +112,7 @@
- <%= (l(:label_update_time).to_s << ':' << format_time(e.act.created_on)).to_s %>
+ <%= (l(:label_update_time).to_s << ': ' << format_time(e.act.created_on)).to_s %>
@@ -155,7 +176,7 @@
|
- <%= (l(:label_update_time).to_s << ':' << format_time(e.act.created_on)).to_s %>
+ <%= (l(:label_update_time).to_s << ': ' << format_time(e.act.created_on)).to_s %>
@@ -216,7 +237,7 @@
|
- <%= (l(:label_update_time).to_s << ':' << format_time(e.act.created_on)).to_s %>
+ <%= (l(:label_update_time).to_s << ': ' << format_time(e.act.created_on)).to_s %>
@@ -333,7 +354,7 @@
|
- <%= (l(:label_update_time).to_s << ':' << format_time(e.act.created_on)).to_s %>
+ <%= (l(:label_update_time).to_s << ': ' << format_time(e.act.created_on)).to_s %>
@@ -372,7 +393,7 @@
|
- <%= (l(:label_update_time).to_s << ':' << format_time(e.act.created_on)).to_s %>
+ <%= (l(:label_update_time).to_s << ': ' << format_time(e.act.created_on)).to_s %>
@@ -417,7 +438,7 @@
|
- <%= (l(:label_update_time).to_s << ':' << format_time(e.act.created_on)).to_s %>
+ <%= (l(:label_update_time).to_s << ': ' << format_time(e.act.created_on)).to_s %>
@@ -457,7 +478,7 @@
- <%= (l(:label_update_time).to_s << ':' << format_time(e.act.created_on)).to_s %>
+ <%= (l(:label_update_time).to_s << ': ' << format_time(e.act.created_on)).to_s %>
@@ -493,7 +514,7 @@
- <%= (l(:label_update_time).to_s << ':' << format_time(e.act.created_on)).to_s %>
+ <%= (l(:label_update_time).to_s << ': ' << format_time(e.act.created_on)).to_s %>
@@ -548,7 +569,7 @@
- <%= (l(:label_update_time).to_s << ':' << format_time(e.act.created_on)).to_s %>
+ <%= (l(:label_update_time).to_s << ': ' << format_time(e.act.created_on)).to_s %>
| | | |
@@ -569,7 +590,7 @@
<% else %>
<% if @user == User.current %>
- <%= l(:label_user_activities) %>
+ <%= l(:label_user_activities_no) %>
<% else %>
<%= l(:label_user_activities_other) %>
@@ -596,7 +617,7 @@
<% elsif e.jour_type == 'User' %>
<%= l(:label_in_users) %><%= link_to(e.jour.firstname, feedback_path(e.jour)) %> <%= l(:label_quote_my_words) %>
<% elsif e.jour_type == 'Project' %>
- <%= '在'<<%= link_to(e.jour.name, feedback_path(e.jour)) %> <%= l(:label_reply_plural) %>
+ <%= l(:label_in_projects) %><%= link_to(e.jour.name, feedback_path(e.jour)) %> <%= l(:label_reply_plural) %>
<% end %>
<% else %>
<%= l(:label_about_requirement) %><%= link_to(e.jour.name, respond_path(e.jour_id)) %> <%= l(:label_have_respond) %>
diff --git a/app/views/users/user_projects.html.erb b/app/views/users/user_projects.html.erb
index ff580cf71..31b66727f 100644
--- a/app/views/users/user_projects.html.erb
+++ b/app/views/users/user_projects.html.erb
@@ -25,7 +25,7 @@
<%= link_to_user(membership.user) if membership.respond_to?(:user) %>
- <%= l(:label_peoject_take_in) %> <%= link_to_project(membership.project) %> |
+ <%= l(:label_project_take_in) %> <%= link_to_project(membership.project) %>
diff --git a/app/views/versions/index.html.erb b/app/views/versions/index.html.erb
index 184eb0f18..82a7a66e6 100644
--- a/app/views/versions/index.html.erb
+++ b/app/views/versions/index.html.erb
@@ -1,4 +1,7 @@
+
+ <%= l(:label_roadmap) %>
+
<%= link_to l(:label_version_new), new_project_version_path(@project), :class => 'icon icon-add' if User.current.allowed_to?(:manage_versions, @project) %>
diff --git a/app/views/versions/show.html.erb b/app/views/versions/show.html.erb
index bce5bc771..eb463300b 100644
--- a/app/views/versions/show.html.erb
+++ b/app/views/versions/show.html.erb
@@ -1,4 +1,7 @@
+
+ <%= l(:label_roadmap) %>
+
<%= link_to(l(:button_edit), edit_version_path(@version), :class => 'icon icon-edit') if User.current.allowed_to?(:manage_versions, @version.project) %>
<%= link_to_if_authorized(l(:button_edit_associated_wikipage,
diff --git a/app/views/welcome/_search_bar.html.erb b/app/views/welcome/_search_bar.html.erb
index 302aa3c26..58f969a20 100644
--- a/app/views/welcome/_search_bar.html.erb
+++ b/app/views/welcome/_search_bar.html.erb
@@ -1,8 +1,8 @@
<%= form_tag( search_stores_path, method: 'post') do %>
- <%= text_field_tag 'name', params[:name], placeholder:'请输入要搜索的关键字', name: "name", :class => 'blueinputbar', :style => 'width:300px;'%>
+ <%= text_field_tag 'name', params[:name], placeholder: l('welcome.search.information'), name: "name", :class => 'blueinputbar', :style => 'width:300px;'%>
<%= submit_tag l(:label_search), :class => "enterprise"%>
<% end %>
- 全站文件搜索。不会搜索私有项目中的内容。
+ <%= l(:label_resources_search_all)%>
\ No newline at end of file
diff --git a/app/views/welcome/contest.html.erb b/app/views/welcome/contest.html.erb
index 13fceb50f..9bf0d3b9d 100644
--- a/app/views/welcome/contest.html.erb
+++ b/app/views/welcome/contest.html.erb
@@ -133,7 +133,24 @@
<% unless @contest_page.nil? %>
- <%= @contest_page.title %> , <%= @contest_page.description %>
+
+
+ <%= l(:label_welcome_trustie_contest) %>
+
+ ,
+
+ <%= l(:label_welcome_trustie_contest_description) %>
+
<% end %>
diff --git a/app/views/welcome/course.html.erb b/app/views/welcome/course.html.erb
index 95837cb6d..dc4679b14 100644
--- a/app/views/welcome/course.html.erb
+++ b/app/views/welcome/course.html.erb
@@ -56,12 +56,24 @@
<% unless @course_page.nil? %>
- <%= @course_page.title %>
+
+ <%= l(:label_welcome_trustie_course) %>
<% if @school_id.nil? and (User.current.user_extensions.nil? || User.current.user_extensions.school.nil?) %>
,
- <%= @course_page.description %>
+
+ <%= l(:label_welcome_trustie_course_description) %>
<% else %>
<% if @school_id == "0" %>
diff --git a/app/views/wiki/diff.html.erb b/app/views/wiki/diff.html.erb
index adeaa7cab..6af69db68 100644
--- a/app/views/wiki/diff.html.erb
+++ b/app/views/wiki/diff.html.erb
@@ -29,5 +29,5 @@
- <%= simple_format_without_paragraph @diff.to_html %>
+ <%= wiki_simple_format_without_paragraph @diff.to_html %>
diff --git a/app/views/words/_feedback.html.erb b/app/views/words/_feedback.html.erb
index 8478566bb..a64159a88 100644
--- a/app/views/words/_feedback.html.erb
+++ b/app/views/words/_feedback.html.erb
@@ -11,7 +11,7 @@
<% id = 'project_respond_form_'+journal.id.to_s%>
<% if reply_allow %>
- <%= link_to l(:label_projects_feedback_respond),'#',
+ <%= link_to l(:button_reply),'#',
{:focus => 'project_respond',
:onclick => "toggleAndSettingWordsVal($('##{id}'),
$('##{id} textarea'),
diff --git a/app/views/words/_journal_reply_items.html.erb b/app/views/words/_journal_reply_items.html.erb
index 24577c2ee..bd76bc52d 100644
--- a/app/views/words/_journal_reply_items.html.erb
+++ b/app/views/words/_journal_reply_items.html.erb
@@ -14,7 +14,7 @@
<% id = 'project_respond_form_'+ reply.id.to_s %>
<%= link_to reply.user.name, user_path(reply.user) %>
- 回复
+ <%= l(:label_reply_to)%>
<% if show_name %>
<%= link_to parent_jour.user.name, user_path(parent_jour.user) %>
<% else %>
@@ -36,7 +36,7 @@
:remote => true, :confirm => l(:text_are_you_sure), :method => 'delete', :class => "delete", :title => l(:button_delete)) %>
<% end %>
<% if reply_allow %>
- <%= link_to l(:label_projects_feedback_respond),'',
+ <%= link_to l(:button_reply),'',
{:focus => 'project_respond', :onclick => "toggleAndSettingWordsVal($('##{id}'), $('##{id} textarea'), ''); return false;"} %>
<% end %>
diff --git a/app/views/words/_message.html.erb b/app/views/words/_message.html.erb
index ea14be1a6..cbdb9f6f6 100644
--- a/app/views/words/_message.html.erb
+++ b/app/views/words/_message.html.erb
@@ -51,7 +51,7 @@ function checkMaxLength() {
<% ids = 'project_respond_form_'+ journal.id.to_s%>
<% if reply_allow %>
- <%= link_to l(:label_projects_feedback_respond),'',
+ <%= link_to l(:button_reply),'',
{:focus => 'project_respond', :onclick => "toggleAndSettingWordsVal($('##{ids}'), $('##{ids} textarea'), '#{l(:label_reply_plural)} #{journal.user.name}: '); $('##{ids} textarea') ;return false;"}
%>
<% end %>
diff --git a/app/views/words/_new.html.erb b/app/views/words/_new.html.erb
index 4a76856f2..561c6a953 100644
--- a/app/views/words/_new.html.erb
+++ b/app/views/words/_new.html.erb
@@ -47,15 +47,15 @@
<% if User.current.logged? %>
- <% if @user.safe_attribute? 'user_message' %>
+ <%# if @user.safe_attribute? 'user_message' %>
<%= f.text_area 'user_message', :rows => 3, :cols => 65,
:placeholder => "#{l(:label_leave_a_message)}",
:style => "resize: none; width: 98%",
:class => 'noline'%>
- <% end %>
+ <%# end %>
<%= f.text_field :reference_user_id, :style=>"display:none"%>
<%= submit_tag l(:button_leave_meassge), :name => nil , :class => "enterprise" , :style => "display: block; float: right; margin-right: 1%; margin-top: 1px;"%>
- <% else %>
+ <%else %>
<%= l(:label_user_login_tips) %>
<%= link_to l(:label_user_login_new), signin_path %>
diff --git a/app/views/words/_new_respond.html.erb b/app/views/words/_new_respond.html.erb
index edb313bb5..34e7c1ccf 100644
--- a/app/views/words/_new_respond.html.erb
+++ b/app/views/words/_new_respond.html.erb
@@ -1,14 +1,14 @@
<%= form_tag(words_create_reply_path, :remote => true) do %>
<%= text_area_tag 'user_notes', "", :class => 'noline',
:style => "resize: none;", :rows => 4,
- :placeholder => l(:label_projects_feedback_respond_content),
+ :placeholder => l(:label_feedback_respond_content),
:maxlength => 250 %>
<%= hidden_field_tag 'reference_id', params[:reference_id], :value => journal.id %>
<%= hidden_field_tag 'reference_user_id', params[:reference_user_id], :value => m_reply_id.user.id %>
<%= hidden_field_tag 'reference_message_id', params[:reference_message_id], :value => m_reply_id.id %>
<%= hidden_field_tag 'show_name',params[:show_name],:value => show_name.nil? ? true : show_name %>
- <%= submit_tag l(:button_projects_feedback_respond), :name => nil ,
+ <%= submit_tag l(:button_feedback_respond), :name => nil ,
:class => "enterprise",
:style => "float: right; margin-top: 1px; margin-right: 4px;"%>
diff --git a/config/initializers/kaminari_config.rb b/config/initializers/kaminari_config.rb
index 5505662f3..1f07c0af5 100644
--- a/config/initializers/kaminari_config.rb
+++ b/config/initializers/kaminari_config.rb
@@ -23,7 +23,7 @@
Kaminari.configure do |config|
# config.default_per_page = 25
# config.max_per_page = nil
- config.window = 2
+ config.window = 0
# config.outer_window = 3
# config.left = 2
# config.right = 2
diff --git a/config/locales/account/en.yml b/config/locales/account/en.yml
index ece7958b4..965272cd6 100644
--- a/config/locales/account/en.yml
+++ b/config/locales/account/en.yml
@@ -31,13 +31,13 @@ en:
#
lable_user_name: Username
label_login_prompt: Email/Trustie account
- label_stay_logged_in: "Keep me signed in"
+ label_stay_logged_in: "Remember me"
label_password_lost: "Forget password?"
button_login: Login
# account_controller中判断用户名或密码输入有误的提示信息
notice_account_invalid_creditentials: "Invalid user or password."
# account_controller中判断未激活的提示信息
- notice_account_invalid_creditentials_new: "Please check your email to activate your account."
+ notice_account_invalid_creditentials_new: "Please check your email to activate your account. Email verification helps our support team verify ownership if you lose account access and allows you to receive all the notifications you ask for. "
#
@@ -81,10 +81,10 @@ en:
#
# 激活
#
- label_regiter_account: Registering for an account
- label_email_valid: E-mail activation
- notice_email_register_time: "Please click on the link in the email to continue to complete the registration within 24 hours"
+ label_regiter_account: Sign up for Trustie
+ label_email_valid: Email verification
+ notice_email_register_time: "Please click the link in verification email to complete the registration within 24 hours."
notice_email_arrival: "An activation email has been sent to the email address you register."
label_check_email: "Now check your email"
- label_mail_resend: "Resend the activation email"
+ label_mail_resend: "Resend verification email"
notice_account_activated: "Your Trustie account has been activated. You can now sign in."
\ No newline at end of file
diff --git a/config/locales/account/zh.yml b/config/locales/account/zh.yml
index 243c95a29..97e6ae444 100644
--- a/config/locales/account/zh.yml
+++ b/config/locales/account/zh.yml
@@ -39,7 +39,7 @@ zh:
# account_controller中判断用户名或密码输入有误的提示信息
notice_account_invalid_creditentials: "无效的用户名或密码"
# account_controller中判断未激活的提示信息
- notice_account_invalid_creditentials_new: "您还未到邮箱激活"
+ notice_account_invalid_creditentials_new: "您还未到邮箱激活。如果您丢失帐户,电子邮件验证帮助我们的支持团队验证帐户的所有权,并允许您接收所有您要求的通知。"
#
@@ -84,7 +84,7 @@ zh:
#
label_regiter_account: 注册帐号
label_email_valid: 邮箱激活
- notice_email_register_time: 请在24小时内点击邮件中的链接继续完成注册
+ notice_email_register_time: 请在24小时内点击邮件中的链接完成注册
notice_email_arrival: 邮件已发送到邮箱
label_check_email: 立即查收邮件
label_mail_resend: 重新发送激活邮件
diff --git a/config/locales/commons/en.yml b/config/locales/commons/en.yml
index 7c003c67b..5998ee875 100644
--- a/config/locales/commons/en.yml
+++ b/config/locales/commons/en.yml
@@ -155,12 +155,20 @@ en:
actionview_instancetag_blank_option: Please select
-
+ #
+ # Trustie公共标签
+ #
+ #
+ #
label_user: User
label_project: Project
label_issue: Issue
label_requirement: Calls
label_forum: Forum
+ label_contest: Contest
+
+
+
label_issue_plural: Issues Tracking
label_project_plural: Projects
@@ -172,7 +180,21 @@ en:
label_loading: Loading...
-
+ label_create_time: Created time
+ label_update_time: Update time
+
+ label_reply: Reply
+
+ label_anonymous: Anonymous #作业和留言 模块
+
+ text_are_you_sure: Are you sure? #js 提示
+
+
+ # 项目、课程、用户公用
+ label_settings: Settings
+ label_information_plural: Information
+ label_member_plural: Members
+
#
# Trustie按钮类
#
@@ -184,9 +206,13 @@ en:
button_cancel: Cancel
label_submit: Submit
button_project_tags_add: Add
- label_more: More
+ label_more: "More>>"
button_download: Download
-
+ button_delete: Delete
+
+
+
+
#
# Trustie上传头像模块
#
@@ -194,7 +220,6 @@ en:
#
button_upload_photo: Upload photo
button_delete_file: delete
- text_are_you_sure: Are you sure?
error_attachment_too_big: "This file cannot be uploaded because it exceeds the maximum allowed file size (%{max_size})"
error_pic_type: "Only supports the following image formats:"
@@ -207,7 +232,7 @@ en:
label_tag: Tag
label_tags_no: no tags now!
label_more_tags: More
- label_add_tag: '+ Add tags'
+ label_add_tag: "+ Add tags"
label_tags_count: "The total number of tags:"
@@ -251,14 +276,98 @@ en:
sharer: "Sharer:"
upload_time: "Upload time:"
+
+ #
+ # 项目托管平台主页
+ #
+ # 用户动态栏
+ #
+ lable_user_active: Recent Activities
+ user:
+ active:
+ published: released
+ uploaded: uploaded
+ updated: updated
+ unknow: unknown content
+
+ field_user_active_news: ' news'
+ field_user_active_issue: ' issue'
+ field_user_active_attachment: ' attachment'
+ field_user_active_message: ' message'
+ field_user_active_reply: ' reply'
+ field_user_active_bid: ' work'
+ field_user_active_memo: ' memo'
+ field_user_active_document: ' document'
+ field_user_active_changeset: ' repository'
+ field_user_active_issue_note: ' issue-note'
+ field_updated_on: Updated on
+ field_time_ago: ago
+ field_active_reply: "Reply("
+ # 用户动态中event.title和event.description
+ # 通过act_as_event方法的option配置
+ # "#{o.tracker.name} ##{o.id} (#{o.status}): #{o.subject}"
+ # "缺陷 #1869 (已解决):subject"
+ # tracker.name和status在数据库中以中文字段形式存储
+ # 项目托管平台主页 > 贴吧动态栏
+ lable_bar_active: Question&Feedback
+ label_my_question: My-question
+ label_my_feedback: My-feedback
+ label_updated_time: "Updated %{value} ago"
+ label_question_sponsor: Sponsor
+ label_final_reply: Last-reply
+
+
+ #
+ # 项目托管平台
+ #
+ # 意见反馈
+ #
+ label_feedback: Feedback
+ label_feedback_tips: "Anything you want to say, roar it here ~~"
+ label_technical_support: "Support: "
+ label_feedback_success: "Your comments have been posted back to the bar of discussion by newbie(in the Public Post Bar), we will be the first time to solve your problem, thanks for your support!"
+ label_feedback_value: "The posts comes from user feedback!"
+
+
+ #
+ # Trustie
+ #
+ # 新闻
+ #
+ label_news: 新闻
+
#
# Trustie
#
- #
- #
-
+ # 日志
+ #
+ label_log_detail: "日志详情"
+ label_log_delete_log: "删除日志"
+ label_log_access_analysis: "访问统计"
+ label_log_time_analysis: "耗时分析"
+ label_log_refresh: "刷新"
+ label_log_key: "关键字:"
+ label_log_time: "时间:"
+ label_log_delete_confirm: "确认清除该天日志内容?"
+ label_log_access_count: "访问次数"
+ label_log_url: "URL路径"
+ label_log_ip: "访问IP"
+ label_log_access_time: "访问时间"
+ label_log_access_controller_action: "模块路径"
+ label_log_response_time: "响应时间"
+ label_log_views_time: "页面渲染时间"
+ label_log_views_time_percent: "页面渲染时间百分比"
+ label_log_active_record_time: "AR响应时间"
+ label_log_active_record_time_percent: "AR响应时间百分比"
+ views:
+ pagination:
+ first: "« 首页"
+ last: "末页 »"
+ previous: "« 上一页"
+ next: "下一页 »"
+ truncate: "..."
\ No newline at end of file
diff --git a/config/locales/commons/zh.yml b/config/locales/commons/zh.yml
index cd2c126fd..b06ec3a71 100644
--- a/config/locales/commons/zh.yml
+++ b/config/locales/commons/zh.yml
@@ -6,178 +6,39 @@ zh:
direction: ltr
jquery:
locale: "zh-CN"
- date:
- formats:
- # Use the strftime parameters for formats.
- # When no format has been given, it uses default.
- # You can provide other formats here if you like!
- default: "%Y-%m-%d"
- short: "%b%d日"
- long: "%Y年%b%d日"
- zh_date:
- formats:
- default: "%Y年%m月%d日"
-
- day_names: [星期天, 星期一, 星期二, 星期三, 星期四, 星期五, 星期六]
- abbr_day_names: [日, 一, 二, 三, 四, 五, 六]
-
- # Don't forget the nil at the beginning; there's no such thing as a 0th month
- month_names: [~, 一月, 二月, 三月, 四月, 五月, 六月, 七月, 八月, 九月, 十月, 十一月, 十二月]
- abbr_month_names: [~, 1月, 2月, 3月, 4月, 5月, 6月, 7月, 8月, 9月, 10月, 11月, 12月]
- # Used in date_select and datime_select.
- order:
- - :year
- - :month
- - :day
-
-
- errors:
- messages:
- email_verifier:
- email_not_real: 必须指定一个真实的邮箱地址
- out_of_mail_server: 指向了一个已停用的邮箱服务器
- no_mail_server: 域名地址没有邮件功能
- failure: 邮箱地址不能被验证
- exception: 邮箱不能发送成功
-
-
- time:
- formats:
- default: "%Y年%b%d日 %A %H:%M:%S"
- time: "%H:%M"
- short: "%b%d日 %H:%M"
- long: "%Y年%b%d日 %H:%M"
- am: "上午"
- pm: "下午"
-
- datetime:
- distance_in_words:
- half_a_minute: "半分钟"
- less_than_x_seconds:
- one: "1秒内"
- other: "少于 %{count} 秒"
- x_seconds:
- one: "1秒"
- other: "%{count} 秒"
- less_than_x_minutes:
- one: "1分钟内"
- other: "少于 %{count} 分钟"
- x_minutes:
- one: "1分钟"
- other: "%{count} 分钟"
- about_x_hours:
- one: "大约1小时"
- other: "大约 %{count} 小时"
- x_hours:
- one: "1 小时"
- other: "%{count} 小时"
- x_days:
- one: "1天"
- other: "%{count} 天"
- about_x_months:
- one: "大约1个月"
- other: "大约 %{count} 个月"
- x_months:
- one: "1个月"
- other: "%{count} 个月"
- about_x_years:
- one: "大约1年"
- other: "大约 %{count} 年"
- over_x_years:
- one: "超过1年"
- other: "超过 %{count} 年"
- almost_x_years:
- one: "将近 1 年"
- other: "将近 %{count} 年"
-
- number:
- # Default format for numbers
- format:
- separator: "."
- delimiter: ""
- precision: 3
- human:
- format:
- delimiter: ""
- precision: 3
- storage_units:
- format: "%n %u"
- units:
- byte:
- one: "Byte"
- other: "Bytes"
- kb: "KB"
- mb: "MB"
- gb: "GB"
- tb: "TB"
-
-# Used in array.to_sentence.
- support:
- array:
- sentence_connector: "和"
- skip_last_comma: false
-
- activerecord:
- errors:
- template:
- header:
- one: "由于发生了一个错误 %{model} 无法保存"
- other: "%{count} 个错误使得 %{model} 无法保存"
- messages:
- inclusion: "不包含于列表中"
- exclusion: "是保留关键字"
- invalid: "是无效的"
- confirmation: "与确认值不匹配"
- accepted: "必须是可被接受的"
- empty: "不能留空"
- blank: "不能为空字符"
- too_long: "过长(最长为 %{count} 个字符)"
- too_short: "过短(最短为 %{count} 个字符)"
- wrong_length: "长度非法(必须为 %{count} 个字符)"
- taken: "已经被使用"
- not_a_number: "不是数字"
- not_a_date: "不是合法日期"
- greater_than: "必须大于 %{count}"
- greater_than_or_equal_to: "必须大于或等于 %{count}"
- equal_to: "必须等于 %{count}"
- less_than: "必须小于 %{count}"
- less_than_or_equal_to: "必须小于或等于 %{count}"
- odd: "必须为单数"
- even: "必须为双数"
- greater_than_start_date: "必须在起始日期之后"
- not_same_project: "不属于同一个项目"
- circular_dependency: "此关联将导致循环依赖"
- cant_link_an_issue_with_a_descendant: "问题不能关联到它的子任务"
- groupname_repeat: "该班名已存在"
-
- attachment_all: "全部"
- attachment_sufix_browse: "文件类型"
- attachment_browse: "内容类型"
- attachment_type: '分类'
- general_text_No: '否'
- general_text_Yes: '是'
- general_text_no: '否'
- general_text_yes: '是'
- general_lang_name: 'Simplified Chinese (简体中文)'
- general_csv_separator: ','
- general_csv_decimal_separator: '.'
- general_csv_encoding: gb18030
- general_pdf_encoding: gb18030
- general_first_day_of_week: '7'
- actionview_instancetag_blank_option: 请选择
+ #
+ # Trustie公共标签
+ #
+ #
+ #
label_user: 用户
label_project: 项目
label_issue: 问题
label_requirement: 需求
label_forum: 公共贴吧
-
+ label_contest: 竞赛
+
field_description: 描述
label_loading: 载入中...
+ label_create_time: 创建时间
+ label_update_time: 更新时间
+ label_reply: 回复
+
+ label_anonymous: 匿名 #作业和留言 模块
+
+
+ text_are_you_sure: 您确定要删除吗? #js 提示
+
+ # 项目、课程、用户公用
+ label_settings: 配置
+ label_information_plural: 信息
+ label_member_plural: 成员
+
#
# Trustie按钮类
#
@@ -189,9 +50,12 @@ zh:
button_cancel: 取消
label_submit: 提交
button_project_tags_add: 增加
- label_more: 更多>>
+ label_more: "更多>>"
button_download: 下载
-
+ button_more: 更多
+ button_delete: 删除
+
+
#
# Trustie上传头像模块
#
@@ -199,7 +63,6 @@ zh:
#
button_upload_photo: 上传图片
button_delete_file: 删除
- text_are_you_sure: 您确定要删除吗?
error_attachment_too_big: 该文件无法上传。超过文件大小限制 (%{max_size})
error_pic_type: "仅支持如下图片格式:"
@@ -263,5 +126,105 @@ zh:
sharer: "共享者:"
upload_time: "上传时间:"
-
+ #
+ # 项目托管平台主页
+ #
+ # 用户动态栏
+ #
+ lable_user_active: 用户动态
+ user:
+ active:
+ published: 发表了
+ uploaded: 上传了
+ updated: 更新了
+ unknow: 未知内容
+
+ field_user_active_news: 新闻
+ field_user_active_issue: 问题
+ field_user_active_attachment: 附件
+ field_user_active_message: 主题
+ field_user_active_reply: 回复
+ field_user_active_bid: 作业
+ field_user_active_memo: 主题
+ field_user_active_document: 文件
+ field_user_active_changeset: 版本库
+ field_user_active_issue_note: 问题说明
+ field_updated_on: 更新于
+ field_time_ago: 前
+ field_active_reply: "回复("
+
+ #
+ # 项目托管平台主页
+ #
+ # 贴吧动态栏
+ #
+ lable_bar_active: 问题和反馈动态
+ label_my_question: 我要提问
+ label_my_feedback: 我要反馈
+
+ label_updated_time: " 更新于 %{value} 之前"
+ label_question_sponsor: 楼主
+ label_final_reply: 最后回复
+
+
+ #
+ # 项目托管平台
+ #
+ # 意见反馈
+ #
+ label_feedback: 意见反馈
+ label_feedback_tips: "有什么想说的,尽管来咆哮吧~~"
+ label_technical_support: "技术支持:"
+ label_feedback_success: "您的意见已经反馈到公共贴吧的新手讨论吧,我们会第一时间解决您的问题,谢谢支持!"
+ label_feedback_value: "该贴来自用户反馈!"
+
+
+
+
+ #
+ #
+ #
+ # 评论
+ #
+ label_find_all_comments: 查看所有评论
+ label_comments_count: (%{count}条评论)
+
+ #
+ #
+ #
+ # 新闻
+ #
+ label_news: 新闻
+
+
+ #
+ #
+ #
+ # 日志
+ #
+ label_log_detail: "日志详情"
+ label_log_delete_log: "删除日志"
+ label_log_access_analysis: "访问统计"
+ label_log_time_analysis: "耗时分析"
+ label_log_refresh: "刷新"
+ label_log_key: "关键字:"
+ label_log_time: "时间:"
+ label_log_delete_confirm: "确认清除该天日志内容?"
+ label_log_access_count: "访问次数"
+ label_log_url: "URL路径"
+ label_log_ip: "访问IP"
+ label_log_access_time: "访问时间"
+ label_log_access_controller_action: "模块路径"
+ label_log_response_time: "响应时间"
+ label_log_views_time: "页面渲染时间"
+ label_log_views_time_percent: "页面渲染时间百分比"
+ label_log_active_record_time: "AR响应时间"
+ label_log_active_record_time_percent: "AR响应时间百分比"
+ views:
+ pagination:
+ first: "« 首页"
+ last: "末页 »"
+ previous: "« 上一页"
+ next: "下一页 »"
+ truncate: "..."
\ No newline at end of file
diff --git a/config/locales/contacts/en.yml b/config/locales/contacts/en.yml
index d28104260..e72f9f46a 100644
--- a/config/locales/contacts/en.yml
+++ b/config/locales/contacts/en.yml
@@ -1,3 +1,18 @@
en:
# Text direction: Left-to-Right (ltr) or Right-to-Left (rtl)
direction: ltr
+
+
+ # 托管平台主页 > 底部承办单位
+ label_hosted_by: Organizer
+ label_hosted_by: National Key Laboratory for Parallel and Distributed Processing, NUDT
+ label_sponsor: Department of Computer Science and Technology, NUDT
+ label_co_organizer_NUDT: College of Computer, NUDT
+ label_co_organizer_EECS: Institute of Software, EECS
+ label_co_organizer_BHU: Beihang University School of Computer Science & Engineering
+ label_co_organizer_CAS: Institute of Software, CAS
+ label_co_organizer_InforS: InforSuite
+ label_rights_reserved: ©2007~2014
+ label_contact_us: Contact
+ # 英文版不需要显示国内许可证 ,需要页面做判断
+ # label_license: 湘ICP备09019772
\ No newline at end of file
diff --git a/config/locales/courses/en.yml b/config/locales/courses/en.yml
index e124e3f1a..f21029944 100644
--- a/config/locales/courses/en.yml
+++ b/config/locales/courses/en.yml
@@ -1,4 +1,62 @@
en:
# Text direction: Left-to-Right (ltr) or Right-to-Left (rtl)
direction: ltr
+ #
+ # 课程托管平台
+ #
+ # 课程公共标签
+ #
+ label_course_join_student: 加入课程
+ label_course_new: 新建课程
+ label_homework: 课程作业
+ label_course_news: 课程通知
+ label_main_teacher: 主讲教师
+ label_course_term: 开课学期
+
+ label_join_course: 加入
+ label_exit_course: exit course
+ # 资源库 (课程、项目按类型分)
+ label_course_file: File
+ label_upload_files: Upload
+
+ #
+ # 课程托管平台主页
+ #
+ # 热门课程栏
+ #
+ label_school_no_course: The school did not offer any courses, you can view other school curriculum
+ label_school_less_course: The school offers courses in less, you can view other school curriculum
+
+
+ #
+ # 课程托管平台
+ #
+ # 新建课程
+ #
+ lable_input_class: Type in class period here
+
+
+ # 教师权限课程关闭和重启
+ label_course_closed: Close
+ label_course_reload: Reopen
+ label_course_closed_tips: "Are you sure you want to reopen the course?"
+ # end
+
+
+ # 课程排序
+ label_sort_by_time: sorted by time
+ label_sort_by_active: sorted by active
+ label_sort_by_influence: sorted by influence
+ label_sort_by_activity: Sort by activities
+ # end
+
+
+ #
+ # 课程托管平台
+ #
+ # 课程资源上传
+ #
+ label_file_upload: Resource files
+ label_file_upload_error_messages: "Upload error, please check your network environment, and refresh the page to upload."
+ button_confirm: Confirm
\ No newline at end of file
diff --git a/config/locales/courses/zh.yml b/config/locales/courses/zh.yml
index 0832cde38..3e9e1e9f6 100644
--- a/config/locales/courses/zh.yml
+++ b/config/locales/courses/zh.yml
@@ -5,6 +5,64 @@ zh:
# Text direction: Left-to-Right (ltr) or Right-to-Left (rtl)
direction: ltr
+ #
+ # 课程托管平台
+ #
+ # 课程公共标签
+ #
+ label_course_join_student: 加入课程
+ label_course_new: 新建课程
+
+ label_homework: 课程作业
+ label_course_news: 课程通知
+ label_main_teacher: 主讲教师
+ label_course_term: 开课学期
+
+ label_join_course: 加入
+ label_exit_course: 退出
+ # 资源库 (课程、项目按类型分)
+ label_course_file: 资源库
+ label_upload_files: 上传资源
+
+ #
+ # 课程托管平台主页
+ #
+ # 热门课程栏
+ #
+
+
+
+
+
+
+ label_school_no_course: 该学校本学期未开设任何课程,您可以查看其他学校课程
+ label_school_less_course: 该学校本学期开设课程较少,您也可以查看其他学校课程
+
+
+
+ #
+ # 课程托管平台
+ #
+ # 新建课程
+ #
+ lable_input_class: 在此输入课时
+
+
+ # 教师权限课程关闭和重启
+ label_course_closed: 关闭
+ label_course_reload: 重开
+ label_course_closed_tips: "确定要%{desc}课程?"
+ # end
+
+
+ # 课程排序
+ label_sort_by_time: 按时间排序
+ label_sort_by_active: 按活跃度排序
+ label_sort_by_influence: 按影响力排序
+ label_sort_by_activity: 按动态数排序
+ # end
+
+
#
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 857259392..cf37867b5 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -27,7 +27,7 @@ en:
notice_account_deleted: "Your account has been permanently deleted."
notice_user_successful_create: "User %{id} created."
- error_attachment_empty: "error in add file"
+ error_attachment_empty: "error in add file"
error_class_period_only_num: "class period can only digital"
error_can_t_load_default_data: "Default configuration could not be loaded: %{value}"
error_scm_not_found: "The entry or revision was not found in the repository."
@@ -102,7 +102,6 @@ en:
field_user: User
field_principal: Principal
field_role: Role
- field_homepage: Homepage
field_parent: Subproject of
field_is_in_roadmap: Issues displayed in roadmap
field_admin: Administrator
@@ -332,15 +331,8 @@ en:
project_module_issue_tracking: Issue tracking
project_module_time_tracking: Time tracking
- project_module_news: News
- project_module_documents: Documents
project_module_files: Files
- project_module_wiki: Wiki
- project_module_repository: Repository
- project_module_boards: Forums
- project_module_calendar: Calendar
- project_module_gantt: Gantt
-
+ project_module_boards: Forums
# edit by meng
lable_hot_course: Hot Courses
label_course_join_student: Join a course
@@ -354,7 +346,7 @@ en:
label_user_for_project_grade: Score
label_relation_files: Select an existing resource
# Personal signature tips
- label_my_brief_introduction: How are feeling today? Leave your footprints ~
+
# create course and course info
@@ -378,27 +370,21 @@ en:
label_student_score: Student's score
label_without_score: No evaluated
label_homework_description: Description
- label_responses: Messages
+
lable_has_commit_homework: You have submitted your work
label_user_create_project_homework: created the task
label_commit_limit: Expired but can submit your work
# steam the student
label_current_group: Current group
- # DTS Test tool
- project_module_dts: DTS Test tool
- label_module_share: DTS Test tool
- field_dts_test: DTS Test tool
- # Feedback module
- label_technical_support: Support :
- label_feedback: Feedback
- #end
+
+
+
label_user_plural: Users
label_user_new: New user
label_user_anonymous: Anonymous
- label_activity_project: 'Project: ' #added by bai
+ label_user_activity: "%{value}'s activities"
label_project_plural: Projects
- label_project_deposit: Projects
label_first_page_made: Homepage customization
label_project_first_page: Project hosting platform page
label_course_first_page: Practice teaching platform of home page
@@ -445,7 +431,6 @@ en:
label_role_non_member: Non member
label_member: Members
label_member_new: New member
- label_member_plural: Members
label_tracker: Tracker
label_tracker_plural: Trackers
label_tracker_new: New tracker
@@ -454,34 +439,29 @@ en:
label_issue_status_plural: Issue statuses
label_issue_status_new: New status
label_issue_category: Issue category
- label_issue_category_plural: Issue categories
label_issue_category_new: New category
label_custom_field: Custom field
label_custom_field_plural: Custom fields
label_custom_field_new: New custom field
label_enumerations: Enumerations
label_enumeration_new: New value
- label_information: Information
- label_information_plural: Information
label_please_login: Please log in
label_home: Home
label_my_page: My page
- label_my_message: Msgs
- label_my_projects: My projects
+
label_my_page_block: My page block
label_administration: Administration
- label_login: Login
+
# end
label_help: Help
label_last_login: Last connection
label_registered_on: Registered on
- label_activity: Activities
label_overall_activity: Overall activity
- label_user_activity: "%{value}'s activity"
+
label_new: New
- label_new_user: registered a new account
+
label_logged_as: Logged in as
label_environment: Environment
label_authentication: Authentication
@@ -522,7 +502,6 @@ en:
label_overview: Activities
label_version: Version
label_version_new: New version
- label_version_plural: Versions
label_close_versions: Close completed versions
label_confirmation: Confirmation
label_export_to: 'Also available in:'
@@ -622,7 +601,7 @@ en:
label_repository_no: Have no repository?
label_repository_new_repos: New repository
#end
- label_repository_plural: Repositories
+
label_browse: Browse
label_branch: Branch
label_revision: Revision
@@ -647,7 +626,6 @@ en:
label_roadmap_due_in: "Due in %{value}"
label_roadmap_overdue: "%{value} late"
label_roadmap_no_issues: No issues for this version
- label_search: Search
label_result_plural: Results
label_all_words: All words
label_wiki: Wiki
@@ -714,7 +692,7 @@ en:
label_message_last: Last message
label_message_new: New message
label_message_posted: Message added
- label_reply_plural: Replies
+
label_send_information: Send account information to the user
label_year: Year
label_month: Month
@@ -727,7 +705,6 @@ en:
label_feeds_access_key: RSS access key
label_missing_feeds_access_key: Missing a RSS access key
label_feeds_access_key_created_on: "RSS access key created %{value} ago"
- label_module_plural: Modules
label_added_time_by: "Added by %{author} %{age} ago"
label_updated_time_by: "Updated by %{author} %{age} ago"
label_jump_to_a_project: Jump to a project...
@@ -826,7 +803,7 @@ en:
button_uncheck_all: Uncheck all
button_collapse_all: Collapse all
button_expand_all: Expand all
- button_delete: Delete
+
button_create_and_continue: Create and continue
button_test: Test
button_edit: Edit
@@ -983,7 +960,6 @@ en:
enumeration_issue_priorities: Issue priorities
enumeration_doc_categories: Document categories
- enumeration_activities: Activities
enumeration_system_activity: System Activity
description_filter: Filter
description_search: Searchfield
@@ -1030,27 +1006,13 @@ en:
#huang
label_file_new: Download
- label_user_edit: "Edit information"
- label_my_course: "My Course"
- label_user_info: "User information" #huang 添加
- label_user_watcher: "Followers" # huang添加的 # modified by bai
- label_user_fans: "Followed by" # modified by bai
- # modify by men
- label_x_user_fans:
- zero: fan
- one: fan
- other: fans
- #end
label_user_commits: "Code commits"
- label_user_watchered: "Followed by" # huang添加的
- label_user_newfeedback: "Messages" ## huang添加的 # modified by bai
- label_user_login: "Last login:"
+
+
label_user_mail: "E-mail:"
- label_user_joinin: "Join date:"
- label_user_activities: "You have no activities,come and join us!"
- label_user_activities_other: The user has no activities now!
- label_project_overview: "Overview"
+
+ label_overview: "Overview"
label_project_tool: "Tool"
label_project_issues: "Issues"
label_project_newother: "See other comments"
@@ -1069,21 +1031,21 @@ en:
label_unapply_project: Unsubscribe
#fq
- button_leave_meassge: Submit
+
button_clear_meassge: Reset
label_leave_message_to: leave %{name} a message
label_leave_message: Message content
label_message: message board
field_add: Add before %{time}
button_more: More
- label_user_response: Feedback # modified by bai
+
label_bidding_project: projects
button_bidding: I will participate in it
label_new_call: New call
label_user_information: My informations
#Customer added!Added by nie
- label_create_time: Created time
+
label_current_contributors: current contributors
#modify by men
label_x_current_contributors:
@@ -1112,10 +1074,7 @@ en:
label_member_since: joined
label_contribute_to: Participates %{project_count} projects:
#modify by men
- label_x_contribute_to:
- zero: Participates %{count} project:
- one: Participates %{count} project:
- other: Participates %{count} projects:
+
#end
label_total_commit: Totally %{total_commit} commits # modified by bai
#modify by men
@@ -1170,11 +1129,11 @@ en:
label_leave_me_message: left a message to me
label_leave_others_message: leave message to him/her
- label_leave_a_message: Leave him/her a message:
+
label_leave_your_message: Leave a message to you
label_new_activities: ' has a new activity in' # modified by bai
- label_new_activity: ' has a new activity in'
- label_i_new_activity: ' have a new activity in'
+
+
label_create_project: had participated in
label_praise: praise
label_cancel_praise: cancel praise
@@ -1199,19 +1158,19 @@ en:
#end
label_me: me
label_my: my
- label_i: I
+
label_join_bidding: joined the bidding
label_bidding_user: Bidding user:
label_bidding_reason: Bidding reason:
label_username: username:
label_password: password:
- label_about_requirement: about requirement:
- label_about_issue: about issue:
- label_quote_my_words: ' quoted my words'
- label_have_respond: had a respond
+
+
+
+
label_welcome: Welcome
- label_goto: Go to>>
+
label_join: join Trustie!
label_repository_new: link to existing SVN repository
label_repository_path: path of repository
@@ -1223,7 +1182,7 @@ en:
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!
+
label_all_revisions: All revisions:
label_repository_name: Repository name
@@ -1240,9 +1199,7 @@ en:
label_welcome_my_respond: Please leave your comments and suggestions here!
label_no_current_fans: The user has no fans now
label_no_current_watchers: The user hasn't watched others
- label_project_tool_response: Response
label_course_feedback: Feedback
- label_active_call: call
label_boy: Man
@@ -1280,16 +1237,13 @@ en:
label_bids_new_money: input the award money,such as 500,2.5 etc.
label_bids_new_credit: input the work corresponding course credits,such as 3,2.5 etc.
label_bids_new_content: input the award content,such as certificate,things etc.
- label_user_login_tips: You havn't logged in,for leaving message please login first
+
label_user_login_new: login
label_project_sort: the way of sorting
#modified by bai
- label_sort_by_time: sorted by time
- label_sort_by_active: sorted by active
- label_sort_by_influence: sorted by influence
+
#end
- label_bids_published: published
- label_bids_published_ago: ago
+
# label_welcome_trustie: Trustie
# label_welcome_trustie_project: Online projects hosting platform
# label_welcome_trustie_course: Online Courses practice platform
@@ -1298,15 +1252,12 @@ en:
# label_welcome_trustie_course_description: Teachers and Students for Chinese universities to provide social-oriented curriculum management, resource sharing, cooperation achieved, collaborative research.
# label_welcome_trustie_contest_description: Software for Chinese college students and practitioners to provide social-oriented contest management, code hosting, resource sharing, cooperation and exchange.
# label_welcome_trustie_description: a socialized collaboration platform for project management, collaborative research, software development and software crowdsourcing for creative university students and entrepreneurs.
- label_bid_respond_quote: Respond
+
label_bid_if_agreement: If you like me, please press me #bai
- label_bid_respond_delete: Delete
- label_newfeedback_message: messages
- label_newfeedback_quote: Respond
- label_newfeedback_delete: Delete
- label_layouts_feedback: Messages
- label_have_feedback: Have
- label_of_feedback: Of
+
+
+
+
label_welcome_participate: participates
#modify by men
label_x_welcome_participate:
@@ -1316,25 +1267,20 @@ en:
#end
label_welcome_participate_project: projects
label_projects_feedback: responded to the project
- label_projects_feedback_respond: Respond
label_projects_feedback_respond_success: Respond success
- button_projects_feedback_respond: Respond
- label_projects_feedback_respond_content: Please input your words
- label_in_issues: in the issue:
- label_in_bids: in the call:
- label_in_users: in the user:
+
+
+
label_user_create_project: has created
#added by bai
- label_identity: Identity
label_teacher: Teacher
label_student: Student
- label_school_all: Schools
label_school_not_fount: Not found by your input query condition.
label_other: Other
- label_location: Location
+
#end
label_course: Course
label_course_new: New course
@@ -1360,18 +1306,15 @@ en:
one: teachers
other: teachers
#add by men
- label_brief_introduction: Personality words
- label_technical_title: Title
- label_technicl_title_professor: Professor
- label_technicl_title_associate_professor: Associate professor
- label_technicl_title_lecturer: Lecturer
- label_technicl_title_teaching_assistant: Teaching assistant
+
+
+
label_enter_college: College Entrance
lable_enter_enterprise: Enterprise Entrance
label_homework_info: Status
label_question_student: Feedback
label_student_response: Feedback
- label_my_question: Please raise your questions here!
+# label_my_question: Please raise your questions here!
label_teacher_homework: "Teacher's name"
label_course_homework: Corresponding courses
@@ -1395,7 +1338,7 @@ en:
text_command: The password is required when applying a course, and it will be released by the teacher of.
label_enterprise_into: Enterprise Entrance
label_college_into: College Entrance
- label_user_course: Courses
+
label_new_course: Courses
field_tea_name: Teacher
label_course_college: College
@@ -1435,8 +1378,8 @@ en:
label_main_term: Term
label_teacher_work_unit: Position
label_course_overview: Status
- label_course_file: File
- label_stores_index: Resource search
+
+
label_course_news: News
#wang
label_contest_userresponse: Userresponse
@@ -1450,10 +1393,10 @@ en:
label_bids_task_list: Tasks list
label_join_course: join course
- label_exit_course: exit course
+
label_new_join: Join
label_new_join_order: Please input the course order.
- label_homeworks_form_new_description: Release a task,the submit form of the task may be accessory or project,setting in the task form.
+ label_homeworks_form_new_description: Release a task, the submit form of the task may be accessory or project, setting in the task form.
label_course_settings: Setting
field_homework_type: Submit form
label_task_submit_form_accessory: Submitted as accessory
@@ -1468,14 +1411,11 @@ en:
label_assign_homework: assigned homewok
label_noawards: No awards
- label_requirement_enterprise: Requirements
label_requirement_enterprise_list: Requirements List
- label_contest_innovate: Competition community
- label_software_user: Users
- label_course_practice: Courses
+
+
label_course_all: Teacher
label_teacher_all: Student
- label_user_home: User Space
field_hidden_repo: code protected
label_newbie_faq: newbie FAQ
@@ -1501,8 +1441,8 @@ en:
label_activity_time: publish date
label_your_course: your course
- label_have_message : have a new message
- :lable_not_receive_mail: Click here don't receive email form site!
+ label_have_message: have a new message
+ lable_not_receive_mail: Click here don't receive email form site!
#added by linchun as competition#
label_current_hot_contest: Latest Hot Competition
@@ -1510,211 +1450,9 @@ en:
label_issue_feedback_activities: Question&Feedback
label_more_information: More...
label_release_time: Release-time
- label_question_sponsor: Sponsor
- label_final_reply: Final-reply
- label_reply: Reply
+
label_weixin: WeiXin
-
-
-
-
-
-
-
- #
- # Trustie个人主页
- #
- # Trustie个人主页>
- # 动态栏
- label_user_activity: "%{name} Activities"
- label_user_all_activity: All activities
- label_user_activity_myself: About me
- label_user_all_respond: All replies
- # 项目栏
- label_project_unadd: "No project, go to creat it!"
- label_project_un: "You haven't joined any project yet!"
-
-
- label_has_watched_project: The projects of attention
- label_project_take: The projects of participation
-
-
-
-
- # 托管平台主页
- # edit by meng
- # 托管平台主页> 顶部菜单
- field_homepage: Homepage
- label_project_deposit: Projects
- label_course_practice: Courses
- label_forum_all: Forums
-# label_school_all: Schools
- label_contest_innovate: Competition community
- label_software_user: Users
- label_requirement_enterprise: Requirements
- label_stores_index: Resource search
-
- # 托管平台主页 > 搜索提示信息
- welcome:
- search:
- information: "Please input the keywords!" # 搜索提示信息
- select: # 下拉列表
- project: project
- course: course
- user: user
- userinfo:
- nickname: nickname
- showname: name
- email: email
-
- # 托管平台主页 > 下方托管平台链接
- label_projects_management_platform: Projects-platform
- label_courses_management_platform: Courses-platform
- label_contests_management_platform: Competitions-platform
-
- # 托管平台主页 > 底部承办单位
- label_hosted_by: Organizer
- label_hosted_by: National Key Laboratory for Parallel and Distributed Processing, NUDT
- label_sponsor: Department of Computer Science and Technology, NUDT
- label_co_organizer_NUDT: College of Computer, NUDT
- label_co_organizer_EECS: Institute of Software, EECS
- label_co_organizer_BHU: Beihang University School of Computer Science & Engineering
- label_co_organizer_CAS: Institute of Software, CAS
- label_co_organizer_InforS: InforSuite
- label_rights_reserved: ©2007~2014
- label_contact_us: Contact
- # 英文版不需要显示国内许可证 ,需要页面做判断
- # label_license: 湘ICP备09019772
-
-
-
-
-
- # 项目托管平台
- # 项目托管平台主页 > 主旨
- label_welcome_trustie_project: Trustie online projects hosting platform
- label_welcome_trustie_project_description: "Software for Chinese college students and practitioners to provide social-oriented project management, code hosting, resource sharing, cooperation and exchange."
-
- # 项目托管平台主页 > 热门项目栏
- lable_hot_projects: Hot Projects
- label_project_new: New project
- label_join_project: Join a project
- label_private: private
- label_project_member_amount: "%{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
-
- # 项目托管平台主页 > 用户动态栏
- lable_user_active: Recent Activities
- user:
- active:
- published: released
- uploaded: uploaded
- updated: updated
- unknow: Unknown content
-
-
- field_user_active_news: ' news'
- field_user_active_issue: ' issue'
- field_user_active_attachment: ' attachment'
- field_user_active_message: ' message'
- field_user_active_reply: ' reply'
- field_user_active_bid: ' work'
- field_user_active_memo: ' memo'
- field_user_active_document: ' document'
- field_user_active_changeset: ' repository'
- field_user_active_issue_note: ' issue-note'
-
- field_updated_on: Updated on
- field_time_ago: ago
- field_active_reply: "Reply("
- # 用户动态中event.title和event.description
- # 通过act_as_event方法的option配置
- # "#{o.tracker.name} ##{o.id} (#{o.status}): #{o.subject}"
- # "缺陷 #1869 (已解决):subject"
- # tracker.name和status在数据库中以中文字段形式存储
-
- # 项目托管平台主页 > 贴吧动态栏
- lable_bar_active: Recent Posts
- label_my_question: My-question
- label_my_feedback: My-feedback
- label_updated_time: "Updated %{value} ago"
- label_question_sponsor: Sponsor
- label_final_reply: Last-reply
-
-
- # 项目托管平台 > 新建项目
- label_project_new_description: "A project can be used to do anything that requires distributed collaboration."
- field_name: Name
- field_description: Description
- field_identifier: Identifier
- text_length_between: "Length between %{min} and %{max} characters."
- text_project_identifier_info: "Only lower case letters (a-z), numbers, dashes and underscores are allowed, must start with a lower case letter. Once saved, the identifier cannot be changed."
- field_is_public: Public
- field_hidden_repo: code protected
- button_create: Create
-
-
- # 项目托管平台 > 加入项目
-
- project:
- join:
- title: 快速进入项目通道
- description: "只要持有项目的ID,就可快速申请加入所在项目。项目页面搜索不到的私有项目只能从此通道进入哦!"
- id:
- label: "Project ID:"
- tips: "Project ID is the number within the project's url"
-
- # 公共
- label_apply_project: Apply Project
-
-
-
-
-
-
- # 课程托管平台主页
- # 课程托管平台主页 > 主旨
- label_welcome_trustie_course: Trustie online courses practice platform
- label_welcome_trustie_course_description: Teachers and Students for Chinese universities to provide social-oriented curriculum management, resource sharing, cooperation achieved, collaborative research.
- # 课程托管平台主页 >
-
-
- # 竞赛托管平台主页
- # 竞赛托管平台主页 > 主旨
- label_welcome_trustie_contest: Trustie online contests practice platform
- label_welcome_trustie_contest_description: Software for Chinese college students and practitioners to provide social-oriented contest management, code hosting, resource sharing, cooperation and exchange.
- # 竞赛托管平台主页 >
-
-
- # edit by meng
- # emailer translation
- mail_issue_greetings: "Dear user , Greetings from Trustie"
- mail_issue_footer: "Unsubscribe this message?"
- mail_issue_title_userin: "in"
- mail_issue_title_active: "has a new activity which relevants to you , please pay more attention to this!"
- mail_issue_subject: "Title:"
- mail_issue_content: "Content:"
- mail_issue_sent_from: "From:"
- mail_issue_from_project: "project issue"
- mail_issue_attachments: "Attachments:"
- mail_issue_reply: "Want reply"
- #end
- # modified by meng
- # file_upload translation
- label_file_upload: Resource files
- label_file_upload_error_messages: "Upload error, please check your network environment, and refresh the page to upload."
- button_confirm: Confirm
- # shut down and restart course
- label_course_closed: Close
- label_course_reopen: Reopen
- label_course_closed_tips: "Are you sure you want to reopen the course?"
- # end
-
-
-
-
label_work_quantity: work
label_contest_work: Competition work
@@ -1730,7 +1468,6 @@ en:
label_attendingcontestwork_deposit_project: Deposit project
label_attendingcontestwork_sorting_intimation: You can re-scoring, but just record the last scoring result!
- label_upload_files: Files-upload
label_upload_softwarepackage: Softwarepackage-upload
label_upload_cuttingphoto: Photo-upload
label_system_platform: Platform
@@ -1806,7 +1543,7 @@ en:
label_contest_notification: Notice
lable_contest_user: Release person
- label_contest_innovate_community: Competition community
+
label_user_login_score_and_comment: You are not logged in, please log in and then score and comment the work!
label_user_login_notificationcomment: You are not logged in, please log in and then comment the notification!
@@ -1815,7 +1552,7 @@ en:
label_borad_project: Project-borad
- label_update_time: Update time
+
label_project_notice: release the notice
label_no_file_uploaded: No file uploaded
label_forum_new: New forum
@@ -1823,47 +1560,36 @@ en:
bale_edit_notice: Edit
label_user_grade: Individual score
- label_active_homework: homework
+
label_course_term: Semester
label_comment_time: Comment time
- label_bidding_user_studentcode: Student ID
+
label_bidding_user_studentname: name
-# label_organizers: Organizer
-# label_organizers_information: National Key Laboratory of Parallel and Distributed Processing, NUDT
-# label_organizers_information_institute: Department of Computer Sciencer and Technology
-# label_copyright: Copyright
-# label_contact_us: Contact us
-# label_record: 湘ICP备09019772
-
-
-
label_check_comment: Check comment
label_notification: Notification
label_must_answer: Will answer
label_poll_title: The questionnaire survey _ questionnaire page
label_question_number: 'question %{question_number}:'
label_complete_question: The answer has been completed
-#end
+ #end
# ajax异步验证
modal_valid_passing: can be used.
- label_school_no_course: The school did not offer any courses, you can view other school curriculum
- label_school_less_course: The school offers courses in less, you can view other school curriculum
+
label_file_not_found: Sorry, the file can't be downloaded now!
label_goto_homepage: Return to the home page
label_trustie_team: The Trustie development team
label_memos_max_length: The content of the post up to 65535 characters in length
label_forums_max_length: Post Bar describing the maximum length of 65535 characters
label_unknow_type: Unknow type
- label_score_less_than_zero: Score less than 0, revised to 0
+
review_assignments: Review assignments
label_my_school: My school
label_all_schol: All school
label_select_province: Please select the provinces
- label_search_conditions_not_null: The search conditions cannot be blank
label_attachment: attachment
label_max_length: A maximum of 250 characters
@@ -1876,3 +1602,10 @@ en:
label_submit_comments: Submit_comments
label_course_empty_select: You have not selected course!
label_enterprise_page_made: enterprise_page
+
+ #api
+ label_recently_updated_notification: Recently updated notification
+ label_recently_updated_homework: Recently updated the homework
+ label_recently_updated_message: Recently updated the message
+ label_recently_updated_courseware: Recently updated the courseware
+ label_no_courses: You do not participate in any course, please search the curriculum, course, or create a course!
diff --git a/config/locales/forums/en.yml b/config/locales/forums/en.yml
new file mode 100644
index 000000000..6b158de89
--- /dev/null
+++ b/config/locales/forums/en.yml
@@ -0,0 +1,3 @@
+en:
+ # Text direction: Left-to-Right (ltr) or Right-to-Left (rtl)
+ direction: ltr
\ No newline at end of file
diff --git a/config/locales/forums/zh.yml b/config/locales/forums/zh.yml
new file mode 100644
index 000000000..07343faf6
--- /dev/null
+++ b/config/locales/forums/zh.yml
@@ -0,0 +1,6 @@
+
+# Chinese (China) translations for Ruby on Rails
+#
+zh:
+ # Text direction: Left-to-Right (ltr) or Right-to-Left (rtl)
+ direction: ltr
\ No newline at end of file
diff --git a/config/locales/mailers/en.yml b/config/locales/mailers/en.yml
index e124e3f1a..4bcbfead1 100644
--- a/config/locales/mailers/en.yml
+++ b/config/locales/mailers/en.yml
@@ -2,3 +2,18 @@ en:
# Text direction: Left-to-Right (ltr) or Right-to-Left (rtl)
direction: ltr
+ #
+ # 邮件模块
+ #
+ # 项目问题跟踪邮件
+ #
+ mail_issue_greetings: "Dear user , Greetings from Trustie"
+ mail_issue_footer: "Unsubscribe this message?"
+ mail_issue_title_userin: "in"
+ mail_issue_title_active: "has a new activity which relevants to you , please pay more attention to this!"
+ mail_issue_subject: "Title:"
+ mail_issue_content: "Content:"
+ mail_issue_sent_from: "From:"
+ mail_issue_from_project: "project issue"
+ mail_issue_attachments: "Attachments:"
+ mail_issue_reply: "Want reply"
\ No newline at end of file
diff --git a/config/locales/my/en.yml b/config/locales/my/en.yml
index 22886de6d..6e17c3e62 100644
--- a/config/locales/my/en.yml
+++ b/config/locales/my/en.yml
@@ -1,6 +1,23 @@
en:
# Text direction: Left-to-Right (ltr) or Right-to-Left (rtl)
direction: ltr
+
+ #
+ # Trustie个人账户模块
+ #
+ # 公共类
+ #
+
+ field_occupation: Position
+ label_company_name: Company Name
+ label_location: Location
+ label_identity: Identity
+ # top_menu 个人相关
+ label_my_course: My Course
+ label_my_message: Msgs
+ label_my_projects: My projects
+
+
#
# Trustie个人模块
#
@@ -9,8 +26,6 @@ en:
label_my_account: My account
label_my_photo: My photo
-
- label_information_plural: Information
label_account_identity_teacher: Teacher
label_account_identity_student: Student
@@ -22,28 +37,26 @@ en:
field_is_required: Required
field_firstname: Name
firstname_empty: "Name cannot be blank"
- field_firstname_eg: "(eg:Jack Chen,请填写[Jack])"
+ field_firstname_eg: "(eg:Jack Chen,please input[Jack])"
field_lastname: Lastname
- lastname_empty: Lastname cannot be blank
- enterprise_empty: The enterprise name cannot be blank
- field_lastname_eg: "(eg:Jack Chen,请填写[Chen])"
-
- label_company_name: Company Name
+ lastname_empty: "Lastname cannot be blank"
+ enterprise_empty: "The enterprise name cannot be blank"
+ field_lastname_eg: "(eg:Jack Chen,please input[Chen])"
+ label_firstname_lastname_empty: "Last name and first name cannot be blank"
label_gender: Gender
label_gender_male: male
label_gender_female: female
- field_occupation: Position
field_occupation_click: "Click to select provinces and schools"
lable_school_list: List of schools
field_language: Language
location: #地区信息在JS中都是中文信息,需要全部翻译
- labelname: 地区
+ labelname: Location
select:
- click: --请选择省份--
+ click: --Please select the provinces--
field_mail_notification: Email notifications
description_user_mail_notification: Mail notification settings
@@ -69,7 +82,7 @@ en:
#
# Trustie个人账户模块
#
- # 可否删除?
+ # Redmine
#
label_reported_issues: Reported issues
label_assigned_to_me_issues: Issues assigned to me
@@ -83,7 +96,7 @@ en:
#
# Trustie个人账户模块
#
- # 可否删除?
+ # Redmine
#
notice_account_deleted: "Your account has been permanently deleted."
notice_feeds_access_key_reseted: Your RSS access key was reset.
diff --git a/config/locales/my/zh.yml b/config/locales/my/zh.yml
index 393e45625..5a4a7c255 100644
--- a/config/locales/my/zh.yml
+++ b/config/locales/my/zh.yml
@@ -6,12 +6,15 @@ zh:
# Trustie个人账户模块
#
# 公共类
- #
-
+ #
field_occupation: 工作单位
label_company_name: 组织名
label_location: 位置
- label_identity: 身份
+ label_identity: 身份
+ # top_menu 个人相关
+ label_my_course: 我的课程
+ label_my_projects: 我的项目
+ label_my_message: 留言
#
# Trustie个人账户模块
@@ -21,8 +24,6 @@ zh:
label_my_account: 我的帐号
label_my_photo: 我的头像
-
- label_information_plural: 信息
label_account_identity_choose: --请选择身份--
label_account_identity_teacher: 教师
@@ -39,7 +40,8 @@ zh:
lastname_empty: 姓氏不能为空
enterprise_empty: 企业名不能为空
field_lastname_eg: '(例:张三丰,请填写[张])'
-
+ label_firstname_lastname_empty: 姓氏和名字不能为空
+
label_gender: 性别
label_gender_male: 男
label_gender_female: 女
@@ -74,12 +76,11 @@ zh:
# 修改密码
#
button_change_password: 修改密码
-
-
+
#
# Trustie个人账户模块
#
- # 可否删除?
+ # BLOCKS 可否删除?Redmine
#
label_assigned_to_me_issues: 指派给我的问题
label_reported_issues: 已报告的问题
@@ -93,7 +94,7 @@ zh:
#
# Trustie个人账户模块
#
- # 可否删除?
+ # BLOCKS 可否删除? Redmine
#
notice_account_deleted: 您的账号已被永久删除(账号已无法恢复)
notice_feeds_access_key_reseted: 您的RSS存取键已被重置。
diff --git a/config/locales/navigatiors/en.yml b/config/locales/navigatiors/en.yml
index 75719ea17..52ee1a4a7 100644
--- a/config/locales/navigatiors/en.yml
+++ b/config/locales/navigatiors/en.yml
@@ -1,8 +1,87 @@
en:
# Text direction: Left-to-Right (ltr) or Right-to-Left (rtl)
direction: ltr
+ #
+ # Trustie平台导航
+ #
+ # 顶部菜单
+ #
+ field_homepage: Homepage
+ label_project_deposit: Projects
+ label_course_practice: Courses
+ label_forum_all: Forums
+ label_school_all: Schools
+ label_contest_innovate: Competition community
+ label_software_user: Users # 删除
+ label_requirement_enterprise: Requirements # 删除
+ label_stores_index: Resource search
+ label_login: Login
+ #
+ # 项目托管平台主
+ #
+ # 主旨
+ #
+ label_welcome_trustie_project: Trustie online projects hosting platform
+ label_welcome_trustie_project_description: "Software for Chinese college students and practitioners to provide social-oriented project management, code hosting, resource sharing, cooperation and exchange."
+
+
+ #
+ # 课程托管平台
+ #
+ # 主旨
+ #
+ label_welcome_trustie_course: Trustie online courses practice platform
+ label_welcome_trustie_course_description: Teachers and Students for Chinese universities to provide social-oriented curriculum management, resource sharing, cooperation achieved, collaborative research.
+
+
+ #
+ # 竞赛托管平台
+ #
+ # 主旨
+ #
+ label_welcome_trustie_contest: Trustie online contests practice platform
+ label_welcome_trustie_contest_description: Software for Chinese college students and practitioners to provide social-oriented contest management, code hosting, resource sharing, cooperation and exchange.
+
+
+ #
+ # Trustie平台导航
+ #
+ # 搜索
+ #
+ label_search: Search
+ welcome:
+ search:
+ information: "Please input the keywords!" # 搜索提示信息
+ select: # 下拉列表
+ project: project
+ course: course
+ user: user
+ userinfo:
+ nickname: nickname
+ showname: name
+ email: email
+
+ label_search_conditions_not_null: The search conditions cannot be blank
+ label_resources_search_all: "Search all files in the website, while will not search the contents of private items." # 资源搜索提示信息
+
+ #
+ # Trustie平台导航
+ #
+ # 下方托管平台链接
+ #
+ label_projects_management_platform: Projects-platform
+ label_courses_management_platform: Courses-platform
+ label_contests_management_platform: Competitions-platform
+ #
+ # Trustie平台导航
+ #
+ # 各模块内导航
+ #
+ label_courses_community: Universities Curriculum Communities of Practice
+ label_projects_community: Software Project Communities of Hosting
+ label_contest_innovate_community: Innovation Communities of Competition
label_user_location: Location
\ No newline at end of file
diff --git a/config/locales/navigatiors/zh.yml b/config/locales/navigatiors/zh.yml
index 882648385..bfda10a85 100644
--- a/config/locales/navigatiors/zh.yml
+++ b/config/locales/navigatiors/zh.yml
@@ -46,12 +46,14 @@ zh:
#
label_welcome_trustie_contest: Trustie在线竞赛实战平台
label_welcome_trustie_contest_description: "面向中国大学生与编程爱好者,提供社交化的竞赛管理、应用管理、代码托管、合作交流。"
+
#
# Trustie平台导航
#
# 搜索
#
+ label_search: 搜索
welcome:
search:
information: 请输入要搜索的关键字 # 搜索提示信息
@@ -63,6 +65,11 @@ zh:
nickname: 昵称
showname: 姓名
email: 邮箱
+
+ label_search_conditions_not_null: 搜索条件不能为空
+ label_resources_search_all: "全站文件搜索,不会搜索私有项目中的内容。" # 资源搜索提示信息
+
+
#
# Trustie平台导航
#
@@ -78,4 +85,8 @@ zh:
#
# 各模块内导航
#
- label_user_location: 当前位置
\ No newline at end of file
+ label_courses_community: 高校课程实践社区
+ label_projects_community: 软件项目托管社区
+ label_contest_innovate_community: 创新竞赛社区
+ label_user_location: 当前位置
+
\ No newline at end of file
diff --git a/config/locales/projects/en.yml b/config/locales/projects/en.yml
index 2f09ef8e6..53791f2b8 100644
--- a/config/locales/projects/en.yml
+++ b/config/locales/projects/en.yml
@@ -2,5 +2,140 @@ en:
# Text direction: Left-to-Right (ltr) or Right-to-Left (rtl)
direction: ltr
+ #
+ # 项目托管平台主页
+ #
+ # 公共类
+ #
+ label_apply_project: Apply Project
+ label_project_new: New project
+ label_join_project: Join a project
+
+
+ #
+ # 项目托管平台主页
+ #
+ # 热门项目栏
+ #
+ lable_hot_projects: Hot Projects
+ label_private: private
+ label_project_member_amount: "%{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
+
+
+ #
+ # 项目托管平台主页
+ #
+ # 左边栏
+ #
+ label_id: "ID:"
+
+ label_apply_project: Apply to Join
+ label_exit_project: Exit
+ label_apply_project_waiting: "Application has been processed, please wait for administrator review."
+ label_unapply_project: Cancel the application
+
+ label_member: Members
+ project_module_attachments: Resources
+
+ label_invite: Invitation
+ label_invite_new_user: "Send e-mail to invite new user"
+ label_invite_trustie_user: "Invite the Trustie registered user"
+
+ label_issue_tracking: Issue Tracking
+ label_release_issue: New Issue
+
+ project_module_boards: Forums
+ project_module_boards_post: New Post
+ # 与课程公用资源库
+ project_module_repository: Repository
+ project_module_create_repository: New Repository
+
+
+ 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_project_overview: "Profile:"
+ label_expend_information: More Information
+
+
+ #
+ # 项目托管平台
+ #
+ # 项目配置
+ #
+ label_module_plural: Modules
+ label_version_plural: Versions
+ label_issue_category_plural: Issue categories
+ label_repository_plural: Repositories
+ enumeration_activities: Activities
+
+
+ #
+ # 项目托管平台
+ #
+ # 新建项目
+ #
+ label_project_new_description: "A project can be used to do anything that requires distributed collaboration."
+ field_name: Name
+ field_description: Description
+ field_identifier: Identifier
+ field_enterprise_name: Enterprise
+
+ text_length_between: "Length between %{min} and %{max} characters."
+ text_project_identifier_info: "Only lower case letters (a-z), numbers, dashes and underscores are allowed, must start with a lower case letter. Once saved, the identifier cannot be changed."
+
+ field_is_public: Public
+ field_hidden_repo: code protected
+ button_create: Create
+
+
+ #
+ # 项目托管平台
+ #
+ # 加入项目
+ #
+ project:
+ join:
+ title: Quickly Join to Project
+ description: "Just hold the project ID, while you can quickly apply to join the project.Private projects can only join by this channel!"
+ id:
+ label: "Project ID:"
+ tips: "Project ID is the number within project URL"
+
+ #
+ # 项目托管平台
+ #
+ # 项目得分
+ #
+ label_projects_score: 项目综合得分
+
+ label_issue_score: issue得分
+ label_issue_number: issue的数量
+ label_issue_journal_number: issue的留言数量
+
+ label_news_score: 新闻得分
+ label_new_number: 新闻的数量
+
+ label_file_score: 文档得分
+ label_file_number: 文档的数量
+
+ label_code_submit_score: 代码提交得分
+ label_code_submit_number: 代码提交数量
+
+ label_topic_score: 讨论区得分
+ label_topic_number: 讨论区帖子数量
+
+
+
+
+
label_approve: Approve
label_refusal: Refusal
\ No newline at end of file
diff --git a/config/locales/projects/zh.yml b/config/locales/projects/zh.yml
index 6d72cacf0..64b0de952 100644
--- a/config/locales/projects/zh.yml
+++ b/config/locales/projects/zh.yml
@@ -5,19 +5,81 @@ zh:
# Text direction: Left-to-Right (ltr) or Right-to-Left (rtl)
direction: ltr
+ #
+ # 项目托管平台主页
+ #
+ # 公共类
+ #
+ label_apply_project: 申请加入
+ label_project_new: 新建项目
+ label_join_project: 加入项目
+
+
#
# 项目托管平台主页
#
# 热门项目栏
#
lable_hot_projects: 热门项目
- label_project_new: 新建项目
- label_join_project: 加入项目
label_private: 私有
label_project_member_amount: "%{count}人"
label_project_score_tips: 项目得分,综合考虑了项目的各项活动,反映了该项目的活跃程度
label_project_score: 项目评分
+
+ #
+ # 项目托管平台主页
+ #
+ # 左边栏
+ #
+ label_id: "ID:"
+
+ label_apply_project: 申请加入
+ label_exit_project: 退出项目
+ label_apply_project_waiting: 已处理申请,请等待管理员审核
+ label_unapply_project: 取消申请
+
+ label_member: 成员
+ project_module_attachments: 资源
+
+ label_invite: 邀请
+ label_invite_new_user: "发送邮件邀请新用户"
+ label_invite_trustie_user: "邀请Trustie注册用户"
+
+ label_issue_tracking: 问题跟踪
+ label_release_issue: 发布问题
+
+ project_module_boards: 讨论区
+ project_module_boards_post: 发帖
+ # 与课程公用资源库
+ project_module_repository: 版本库
+ project_module_create_repository: 创建版本库
+
+ project_module_news: 新闻
+ project_module_wiki: Wiki
+ project_module_code_review: 代码审查
+ project_module_calendar: 日历
+ project_module_gantt: 甘特图
+ project_module_documents: 文档
+ project_module_files: 资源库
+ label_project_tool_response: 用户反馈
+ label_module_share: DTS测试工具
+
+ label_project_overview: "项目简介:"
+ label_expend_information: 展开更多信息
+
+
+ #
+ # 项目托管平台
+ #
+ # 项目配置
+ #
+ label_module_plural: 模块
+ label_version_plural: 版本
+ label_issue_category_plural: 问题类别
+ label_repository_plural: 版本库
+ enumeration_activities: 活动(时间跟踪)
+
#
# 项目托管平台
@@ -28,8 +90,11 @@ zh:
field_name: 名称
field_description: 描述
field_identifier: 标识
+ field_enterprise_name: 组织名称
+
text_length_between: "长度必须在 %{min} 到 %{max} 个字符之间。"
text_project_identifier_info: "小写字母(a-z)、数字、破折号(-)和下划线(_)可以使用。 一旦保存,标识无法修改。"
+
field_is_public: 公开
field_hidden_repo: 隐藏代码库
button_create: 提交
@@ -47,10 +112,32 @@ zh:
id:
label: "项目ID:"
tips: "项目ID是所在项目网址中显示的序号"
- # 公共
- label_apply_project: 申请加入
+ #
+ # 项目托管平台
+ #
+ # 项目得分
+ #
+ label_projects_score: 项目综合得分
+
+ label_issue_score: issue得分
+ label_issue_number: issue的数量
+ label_issue_journal_number: issue的留言数量
+
+ label_news_score: 新闻得分
+ label_new_number: 新闻的数量
+
+ label_file_score: 文档得分
+ label_file_number: 文档的数量
+
+ label_code_submit_score: 代码提交得分
+ label_code_submit_number: 代码提交数量
+
+ label_topic_score: 讨论区得分
+ label_topic_number: 讨论区帖子数量
+
+
#
# 项目托管平台
#
diff --git a/config/locales/users/en.yml b/config/locales/users/en.yml
index aa1cf2a45..fbfe1444e 100644
--- a/config/locales/users/en.yml
+++ b/config/locales/users/en.yml
@@ -6,14 +6,212 @@ en:
#
# 公共变量
#
+ label_technicl_title_professor: Professor
+ label_technicl_title_associate_professor: Associate professor
+ label_technicl_title_lecturer: Lecturer
+ label_technicl_title_teaching_assistant: Teaching assistant
+
+ #
+ # Trustie用户主页
+ #
+ # top-content
+ #
+ label_user_home: User Space
+
+
+ #
+ # Trustie用户主页
+ #
+ # 左边栏
+ #
+ label_user_edit: Edit information
+
+ label_user_score: Individual synthetic score
+ label_user_score_of_influence: Influence score
+ label_user_score_of_collaboration: Collaborative score
+ label_user_score_of_skill: Skill score
+ label_user_score_of_active: Project score
+ userscore:
+ collaboration:
+ memos: The number of Posts
+ message_for_issues: The number of messages to issues
+ issue_status: Times of change the issue state
+ reply_for_messages: The number of replies to messages
+ reply_for_memos: The number of replies to posts
+ influence:
+ followers: Followers
+ skill:
+ tramples: 踩别人的帖子数量
+ like:
+ level1: 帖子被一级会员顶的次数
+ level2: 帖子被二级会员顶的次数
+ level3: 帖子被三级会员顶的次数
+ dislike:
+ level1: 帖子被一级会员踩的次数
+ level2: 帖子被二级会员踩的次数
+ level3: 帖子被三级会员踩的次数
+ active:
+ commit:
+ codes: 提交代码次数
+ documents: 提交文档次数
+ attachments: 提交附件次数
+ update_issues: 更新缺陷完成度次数
+ release_issues: 发布缺陷数量
+ label_score_less_than_zero: Score less than 0, revised to 0
-
+ label_user_info: User information
+ label_user_watcher: Followers
+ label_user_fans: Followed by
+ label_x_user_fans:
+ zero: Fan
+ one: Fan
+ other: Fans
+ label_brief_introduction: Personality words
+ label_my_brief_introduction: "How are feeling today? Leave your footprints ~"
+
+ label_user_joinin: Join date
+ label_user_login: Last login
+
+ label_technical_title: Title
+
+ label_bidding_user_studentcode: Student ID
+ label_account_developer: Developer
+ label_account_student: Student
+
+
+ #
+ # Trustie用户主页
+ #
+ # 菜单栏
+ #
+ label_activity: Activities
+ label_user_course: Courses
+ label_user_project: Projects
+ label_user_newfeedback: Messages
+
+
+ #
+ # Trustie用户主页
+ #
+ # 动态栏
+ #
+
+ label_user_activities: "%{name}'s Related Activities"
+ label_user_all_activity: Activities
+ label_user_activity_myself: About me
+ label_user_all_respond: Replies
+
+ label_i: I
+ label_i_new_activity: " have a new activity in"
+ label_new_activity: " has a new activity in"
+
+ label_i_have_feedback: have
+ label_have_feedback: has
+ label_layouts_feedback: "a message "
+ label_of_feedback: from
+
+ label_goto: Go to>>
+
+ label_activity_project: "Project:"
+ label_active_call: call
+ label_active_homework: homework
+ # 评论、评论数在commons模块下
+
+ label_new_user: registered a new account
+
+ label_search_by_user: search by user # hidden
+ label_user_activities_no: "You have no activities,come and join us!" # hidden
+ label_user_activities_other: The user has no activities now! # hidden
+
+ # 所有反馈
+ label_in_bids: "in the call—"
+ label_in_users: "in the user—"
+
+ label_quote_my_words: " quoted my words"
+
+ label_in_projects: "in the project—"
+ label_reply_plural: Replies
+
+ label_about_issue: "about the issue—"
+
+ label_about_requirement: "about requirement—"
+ label_have_respond: had a respond
+
+ label_in_issues: "in the issue—"
+
+ label_no_user_respond_you: "There is no respond for you!"
+ # end
+
+
+ #
+ # Trustie用户主页
+ #
+ # 项目栏
+ #
+ label_project_unadd: "No project, go to creat it!"
+ label_project_un: "You haven't joined any project yet!"
+
+
+ label_has_watched_project: "The projects of attention"
+ label_project_take: "The projects of participation"
+
+ label_project_take_in: "joined the project—"
+
+ #
+ # Trustie用户主页
+ #
+ # 课程栏
+ #
label_project_course_un: "The user is not enrolled in any course yet. "
label_project_course_unadd: "You have no course,creat one now!"
label_project_cousre_studentun: "You have not joined any course, come and join now!"
user:
courses:
doing: Strating
- done: Finished
\ No newline at end of file
+ done: Finished
+
+
+ #
+ # Trustie用户主页
+ #
+ # 留言栏
+ #
+ label_responses: Messages
+ label_user_response: Feedback
+ 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_bid_respond_delete: Delete
+ label_bid_respond_quote: Respond
+
+ label_bids_published: published
+ label_bids_published_ago: ago
+
+ label_feedback_respond_content: Please input your words
+ button_feedback_respond: Respond # 回复button
+
+ label_reply_to: reply to
+ label_newfeedback_delete: Delete # 层级 删除
+ label_newfeedback_respond: Respond # 层级 回复
+
+
+ #
+ # Trustie用户主页
+ #
+ # Followers & Fans
+ #
+ label_x_contribute_to:
+ zero: "participates %{count} project"
+ one: "participates %{count} project—"
+ other: "participates %{count} projects—"
+
+ label_x_course_contribute_to:
+ zero: "participates %{count} course"
+ one: "participates %{count} course—"
+ other: "participates %{count} courses—"
diff --git a/config/locales/users/zh.yml b/config/locales/users/zh.yml
index 042f6c444..1362380a0 100644
--- a/config/locales/users/zh.yml
+++ b/config/locales/users/zh.yml
@@ -5,40 +5,9 @@ zh:
# Text direction: Left-to-Right (ltr) or Right-to-Left (rtl)
direction: ltr
- #
- # 项目托管平台主页
- #
- # 用户动态栏
- #
- lable_user_active: 用户动态
- user:
- active:
- published: 发表了
- uploaded: 上传了
- updated: 更新了
-
- field_user_active_unknow: 未知内容
- field_user_active_news: 新闻
- field_user_active_issue: 问题
- field_user_active_attachment: 附件
- field_user_active_message: 主题
- field_user_active_reply: 回复
- field_user_active_bid: 作业
- field_user_active_memo: 主题
- field_user_active_document: 文件
- field_user_active_changeset: 版本库
- field_user_active_issue_note: 问题说明
-
- field_updated_on: 更新于
- field_time_ago: 前
- field_active_reply: "回复("
- # 用户动态中event.title和event.description
- # 通过act_as_event方法的option配置
- # "#{o.tracker.name} ##{o.id} (#{o.status}): #{o.subject}"
- # "缺陷 #1869 (已解决):subject"
- # 而tracker.name和status在数据库中以中文字段形式存储
-
+
+
#
# Trustie用户主页
@@ -47,7 +16,18 @@ zh:
#
label_user_home: 创客空间
-
+
+ #
+ # Trustie用户主页
+ #
+ # 菜单栏 (公共)
+ #
+ label_activity: 动态
+ label_user_course: 课程
+ label_user_project: 项目
+ label_user_newfeedback: 留言
+
+
#
# Trustie用户主页
#
@@ -55,17 +35,41 @@ zh:
#
label_user_edit: "修改资料"
- label_user_score: 个人综合得分
- label_user_score_of_topic: 帖子得分
- label_user_score_of_project: 项目得分
- label_user_score_of_activity: 活跃度得分
- label_user_score_of_influence: 影响力得分
- label_user_score_of_collaboration: 协同得分
- label_user_score_of_skill: 技术得分
- label_user_score_of_active: 项目贡献得分
-
- label_user_info: "个人简介" #huang 添加
- label_user_watcher: "关注" # huang添加的
+ label_user_score: 个人综合得分
+ label_user_score_of_collaboration: 协同得分
+ label_user_score_of_influence: 影响力得分
+ label_user_score_of_skill: 技术得分
+ label_user_score_of_active: 项目贡献得分
+ userscore:
+ collaboration:
+ memos: 发帖数量
+ message_for_issues: 对缺陷留言数量
+ issue_status: 更改缺陷状态次数
+ reply_for_messages: 对留言的回复数量
+ reply_for_memos: 对帖子的回复数量
+ influence:
+ followers: 被关注人数
+ skill:
+ tramples: 踩别人的帖子数量
+ like:
+ level1: 帖子被一级会员顶的次数
+ level2: 帖子被二级会员顶的次数
+ level3: 帖子被三级会员顶的次数
+ dislike:
+ level1: 帖子被一级会员踩的次数
+ level2: 帖子被二级会员踩的次数
+ level3: 帖子被三级会员踩的次数
+ active:
+ commit:
+ codes: 提交代码次数
+ documents: 提交文档次数
+ attachments: 提交附件次数
+ update_issues: 更新缺陷完成度次数
+ release_issues: 发布缺陷数量
+ label_score_less_than_zero: 得分小于0,修正为0
+
+ label_user_info: "个人简介"
+ label_user_watcher: "关注"
label_user_fans: "粉丝"
label_x_user_fans:
zero: 粉丝
@@ -75,49 +79,87 @@ zh:
label_brief_introduction: 个性签名
label_my_brief_introduction: 今天的心情如何?留下你的脚印吧~
- label_user_joinin: "加入时间"
- label_user_login: "最后登录"
+ label_user_joinin: 加入时间
+ label_user_login: 最后登录
+
label_technical_title: 职称
+ label_technicl_title_professor: 教授
+ label_technicl_title_associate_professor: 副教授
+ label_technicl_title_lecturer: 讲师
+ label_technicl_title_teaching_assistant: 助教
+
label_bidding_user_studentcode: 学号
label_account_developer: 开发者
label_account_student: 学生
+ label_no_current_fans: 该用户暂无粉丝
+ label_no_current_watchers: 该用户暂未关注其他用户
+
+
+ #
+ # Trustie用户主页
+ #
+ # 动态栏
+ #
+ label_user_activities: "%{name}的相关动态"
+ label_user_all_activity: 所有动态
+ label_user_activity_myself: 我的动态
+ label_user_all_respond: 所有反馈
+
+ label_i: 我
+ label_i_new_activity: 有了新活动在
+ label_new_activity: 有了最新动态
+
+ label_i_have_feedback: 有了
+ label_have_feedback: 有了
+ label_of_feedback: 的
+ label_layouts_feedback: 留言
+
+ label_goto: 前往>>
+
+ label_activity_project: "项目:"
+ label_active_call: 需求
+ label_active_homework: 作业
+ # 评论在commons模块下
+
+ label_new_user: "注册了一个新用户 "
+
+ label_search_by_user: 按用户搜索 # hidden
+
+ label_user_activities_no: "您没有关注该用户,请尝试重新输入!" # hidden
+ label_user_activities_other: "该用户暂无任何动态!" # hidden
+
+ # 所有反馈
+ label_in_bids: "在需求:"
+ label_in_users: "在用户:"
+ label_quote_my_words: "中对我的话进行了引用"
+
+ label_in_projects: "在项目:"
+ label_reply_plural: 回复
+
+ label_about_issue: "对问题:"
+ label_about_requirement: "对需求:"
+ label_have_respond: 进行了反馈
+
+ label_in_issues: "在问题:"
+
+ label_no_user_respond_you: "暂无任何用户对您进行反馈!"
+ # end
+
#
# Trustie用户主页
#
- # 菜单栏
- #
- label_activity: 动态
- label_user_course: 课程
- label_user_project: 项目
- label_user_newfeedback: 留言
-
-
- #
- # Trustie个人主页
- #
- # Trustie个人主页>
- # 动态栏
- label_user_activity: "%{name}的动态"
- label_user_all_activity: 所有动态
- label_user_activity_myself: 我的动态
- label_user_all_respond: 所有反馈
-
- label_i_new_activity: 有了新活动在
- label_have_feedback: 有了
- label_of_feedback: 的
- label_layouts_feedback: 留言
- label_new_activity: 有了最新动态
-
# 项目栏
+ #
label_project_unadd: "暂无项目,赶快去创建吧!"
label_project_un: "该用户暂未参与任何项目!"
label_has_watched_project: 关注的项目
label_project_take: 参与的项目
-
+ label_project_take_in: "加入了项目——"
+
#
# Trustie用户主页
#
@@ -130,10 +172,52 @@ zh:
courses:
doing: 进行中的课程
done: 已结束的课程
-
+
+ label_x_base_courses_member:
+ zero: 成员
+ one: 成员
+ other: 成员
+
+
+ #
+ # Trustie
+ #
+ # 留言栏
+ #
+ label_responses: 留言
+ label_user_response: 用户留言
+ label_leave_a_message: 给他(她)留言
+ button_leave_meassge: 留言
+ button_clear_meassge: 清除留言
+
+ label_user_login_new: 登录
+ label_user_login_tips: 您还没有登录,请登录后再留言!
+
+ label_bid_respond_delete: 删除
+ label_bid_respond_quote: 回复
+
+ label_bids_published: 发布于
+ label_bids_published_ago: 之前
+
+ label_feedback_respond_content: 请输入回复内容
+ button_feedback_respond: 回复 # 回复button
+
+ label_reply_to: 回复
+ label_newfeedback_delete: 删除 # 层级 删除
+ label_newfeedback_respond: 回复 # 层级 回复
+
#
# Trustie用户主页
#
- # 留言栏
- #
\ No newline at end of file
+ # Followers & Fans
+ #
+ label_x_contribute_to:
+ zero: "参与了 %{count} 个项目"
+ one: "参与了 %{count} 个项目——"
+ other: "参与了 %{count} 个项目——"
+
+ label_x_course_contribute_to:
+ zero: "参与了 %{count} 个课程"
+ one: "参与了 %{count} 个课程——"
+ other: "参与了 %{count} 个课程——"
diff --git a/config/locales/zh.yml b/config/locales/zh.yml
index c6e303b00..94e8cf31e 100644
--- a/config/locales/zh.yml
+++ b/config/locales/zh.yml
@@ -3,174 +3,10 @@
# by tsechingho (http://github.com/tsechingho)
zh:
-
-
-
# Text direction: Left-to-Right (ltr) or Right-to-Left (rtl)
direction: ltr
jquery:
locale: "zh-CN"
- date:
- formats:
- # Use the strftime parameters for formats.
- # When no format has been given, it uses default.
- # You can provide other formats here if you like!
- default: "%Y-%m-%d"
- short: "%b%d日"
- long: "%Y年%b%d日"
- zh_date:
- formats:
- default: "%Y年%m月%d日"
-
- day_names: [星期天, 星期一, 星期二, 星期三, 星期四, 星期五, 星期六]
- abbr_day_names: [日, 一, 二, 三, 四, 五, 六]
-
- # Don't forget the nil at the beginning; there's no such thing as a 0th month
- month_names: [~, 一月, 二月, 三月, 四月, 五月, 六月, 七月, 八月, 九月, 十月, 十一月, 十二月]
- abbr_month_names: [~, 1月, 2月, 3月, 4月, 5月, 6月, 7月, 8月, 9月, 10月, 11月, 12月]
- # Used in date_select and datime_select.
- order:
- - :year
- - :month
- - :day
-
-
- errors:
- messages:
- email_verifier:
- email_not_real: 必须指定一个真实的邮箱地址
- out_of_mail_server: 指向了一个已停用的邮箱服务器
- no_mail_server: 域名地址没有邮件功能
- failure: 邮箱地址不能被验证
- exception: 邮箱不能发送成功
-
-
- time:
- formats:
- default: "%Y年%b%d日 %A %H:%M:%S"
- time: "%H:%M"
- short: "%b%d日 %H:%M"
- long: "%Y年%b%d日 %H:%M"
- am: "上午"
- pm: "下午"
-
- datetime:
- distance_in_words:
- half_a_minute: "半分钟"
- less_than_x_seconds:
- one: "1秒内"
- other: "少于 %{count} 秒"
- x_seconds:
- one: "1秒"
- other: "%{count} 秒"
- less_than_x_minutes:
- one: "1分钟内"
- other: "少于 %{count} 分钟"
- x_minutes:
- one: "1分钟"
- other: "%{count} 分钟"
- about_x_hours:
- one: "大约1小时"
- other: "大约 %{count} 小时"
- x_hours:
- one: "1 小时"
- other: "%{count} 小时"
- x_days:
- one: "1天"
- other: "%{count} 天"
- about_x_months:
- one: "大约1个月"
- other: "大约 %{count} 个月"
- x_months:
- one: "1个月"
- other: "%{count} 个月"
- about_x_years:
- one: "大约1年"
- other: "大约 %{count} 年"
- over_x_years:
- one: "超过1年"
- other: "超过 %{count} 年"
- almost_x_years:
- one: "将近 1 年"
- other: "将近 %{count} 年"
-
- number:
- # Default format for numbers
- format:
- separator: "."
- delimiter: ""
- precision: 3
- human:
- format:
- delimiter: ""
- precision: 3
- storage_units:
- format: "%n %u"
- units:
- byte:
- one: "Byte"
- other: "Bytes"
- kb: "KB"
- mb: "MB"
- gb: "GB"
- tb: "TB"
-
-# Used in array.to_sentence.
- support:
- array:
- sentence_connector: "和"
- skip_last_comma: false
-
- activerecord:
- errors:
- template:
- header:
- one: "由于发生了一个错误 %{model} 无法保存"
- other: "%{count} 个错误使得 %{model} 无法保存"
- messages:
- inclusion: "不包含于列表中"
- exclusion: "是保留关键字"
- invalid: "是无效的"
- confirmation: "与确认值不匹配"
- accepted: "必须是可被接受的"
- empty: "不能留空"
- blank: "不能为空字符"
- too_long: "过长(最长为 %{count} 个字符)"
- too_short: "过短(最短为 %{count} 个字符)"
- wrong_length: "长度非法(必须为 %{count} 个字符)"
- taken: "已经被使用"
- not_a_number: "不是数字"
- not_a_date: "不是合法日期"
- greater_than: "必须大于 %{count}"
- greater_than_or_equal_to: "必须大于或等于 %{count}"
- equal_to: "必须等于 %{count}"
- less_than: "必须小于 %{count}"
- less_than_or_equal_to: "必须小于或等于 %{count}"
- odd: "必须为单数"
- even: "必须为双数"
- greater_than_start_date: "必须在起始日期之后"
- not_same_project: "不属于同一个项目"
- circular_dependency: "此关联将导致循环依赖"
- cant_link_an_issue_with_a_descendant: "问题不能关联到它的子任务"
- groupname_repeat: "该班名已存在"
-
-
- actionview_instancetag_blank_option: 请选择
-
- attachment_all: "全部"
- attachment_sufix_browse: "文件类型"
- attachment_browse: "内容类型"
- attachment_type: '分类'
- general_text_No: '否'
- general_text_Yes: '是'
- general_text_no: '否'
- general_text_yes: '是'
- general_lang_name: 'Simplified Chinese (简体中文)'
- general_csv_separator: ','
- general_csv_decimal_separator: '.'
- general_csv_encoding: gb18030
- general_pdf_encoding: gb18030
- general_first_day_of_week: '7'
label_approve: 批准
label_refusal: 拒绝
@@ -181,7 +17,7 @@ zh:
notice_successful_create: 创建成功
notice_successful_update: 更新成功
notice_successful_delete: 删除成功
- notice_registed_success: 该邮箱已被注册,请直接邀请注册用户
+ notice_registed_success: 您输入的邮箱为空或者该邮箱已被注册!
notice_failed_delete: 删除失败
notice_successful_connection: 连接成功
notice_successful_join: 加入成功
@@ -242,10 +78,7 @@ zh:
mail_body_wiki_content_added: "'%{id}' wiki页面已由 %{author} 添加。"
mail_subject_wiki_content_updated: "'%{id}' wiki页面已更新。"
mail_body_wiki_content_updated: "'%{id}' wiki页面已由 %{author} 更新。"
- # 教师权限课程关闭和重启
- label_course_closed: 关闭
- label_course_reload: 重开
- label_course_closed_tips: "确定要%{desc}课程?"
+
# end
field_name: 名称
field_enterprise_name: 组织
@@ -441,6 +274,9 @@ zh:
permission_view_gantt: 查看甘特图
permission_view_calendar: 查看日历
permission_view_issue_watchers: 查看跟踪者列表
+
+
+
permission_add_issue_watchers: 添加跟踪者
permission_delete_issue_watchers: 删除跟踪者
permission_log_time: 登记工时
@@ -520,25 +356,22 @@ zh:
project_module_issue_tracking: 问题跟踪
project_moule_boards_show: 项目论坛
project_module_time_tracking: 时间跟踪
- project_module_news: 新闻
- project_module_documents: 文档
- project_module_files: 作品下载
- project_module_attachments: 资源
- project_module_wiki: Wiki
- project_module_repository: 版本库
- project_module_boards: 讨论区
- project_module_calendar: 日历
- project_module_gantt: 甘特图
+
+
+
+
+
project_module_course: 课程
- project_module_dts: DTS测试工具
- label_module_share: DTS测试工具
- project_module_code_review: 代码审查
+
+
label_user: 用户
label_user_plural: 用户列表
+
+
+
label_user_new: 新建用户
label_user_anonymous: 匿名用户
label_project: 项目
- label_activity_project: '项目: ' #added by bai
label_organization: 组织
label_organization_choose: --请选择组织--
@@ -547,6 +380,7 @@ zh:
label_organization_new: 新建组织
label_organization_edit: 修改组织
label_project_plural: 项目列表
+
label_first_page_made: 首页定制
label_project_first_page: 项目托管平台首页
label_course_first_page: 课程实践平台首页
@@ -556,8 +390,8 @@ zh:
label_organizer_name: 主办单位名称
label_web_footer_description: 页脚内容
label_cooperation_compnay: 合作单位
- label_version_number: 版本号
- label_version_description: 版本描述
+ label_version_number: 版本
+ label_version_description: 描述
label_web_footer_cooperation_compnay: 网站页脚合作单位
label_new_company: 添加合作单位
label_edit_company: 编辑合作单位
@@ -591,7 +425,7 @@ zh:
label_role_plural: 角色
label_role_new: 新建角色
label_role_and_permissions: 角色和权限
- label_member: 成员
+
label_search_member: 搜索
label_search_member_count: 共搜索到
label_member_people: 人
@@ -601,7 +435,6 @@ zh:
label_groupname_repeat: 该班名已存在
label_limit_groupname_null: 班名不能为空
label_member_new: 添加成员
- label_member_plural: 成员
label_tracker: 跟踪标签
label_tracker_plural: 跟踪标签
label_tracker_new: 新建跟踪标签
@@ -610,15 +443,14 @@ zh:
label_issue_status_plural: 问题状态
label_issue_status_new: 新建问题状态
label_issue_category: 问题类别
- label_issue_category_plural: 问题类别
+
label_issue_category_new: 新建问题类别
label_custom_field: 自定义属性
label_custom_field_plural: 自定义属性
label_custom_field_new: 新建自定义属性
label_enumerations: 枚举值
label_enumeration_new: 新建枚举值
- label_information: 信息
- label_information_plural: 信息
+
label_please_login: 请登录
label_login_with_open_id_option: 或使用OpenID登录
label_home: 主页
@@ -653,7 +485,7 @@ zh:
lable_contest_user: 竞赛发布人
label_user_home: 创客空间
label_user_location: 当前位置
- label_course_term: 开课学期
+
label_theme: 主题
label_logged_as_new: 当前用户
button_register: 注册
@@ -667,8 +499,7 @@ zh:
label_my_photo: 我的头像
label_documents_sort: 排序设置:
label_activities_settings: 显示设置
- label_user_login_new: 登录
- label_user_login_tips: 您还没有登录,请登录后留言
+
label_user_login_course_board: 您还没有登录,请登录后参与课程讨论
label_user_login_project_board: 您还没有登录,请登录后参与项目讨论
label_user_login_attending_contest: 您还没有登录,请登录后参赛
@@ -690,14 +521,14 @@ zh:
label_autumn: 秋季学期
label_winter: 冬季学期
label_followers: 关注
- label_teacher: 教师
+
label_teacher_list: 教师列表
label_student_list: 学生列表
label_limit_time: 截止日期
label_commit_homework: 提交作业
label_course_homework: 对应课程
- label_course_doing: 进行中的课程
- label_course_done: 已结束的课程
+ label_course_doing: 进行中
+ label_course_done: 已结束
label_homework_response: 作业咨询
label_bidding_homework: 提交作业
label_add_homework: 添加作业
@@ -708,8 +539,6 @@ zh:
#end
label_my_page: 我的工作台
label_my_account: 我的帐号
- label_my_message: 留言
- label_my_projects: 我的项目
label_my_page_block: 我的工作台模块
label_administration: 管理
label_login: 登录
@@ -718,11 +547,9 @@ zh:
label_assigned_to_me_issues: 指派给我的问题
label_last_login: 最后登录
label_registered_on: 注册于
- label_activity: 动态 # modified by bai
label_overall_activity: 活动概览
- label_user_activity: "%{value} 的活动"
label_new: 新建
- label_new_user: 注册了一个新用户 # added by bai
+
label_logged_as: 登录为
label_environment: 环境
label_authentication: 认证
@@ -754,7 +581,7 @@ zh:
label_file_added: 文件已添加
label_report: 报表
label_report_plural: 报表
- label_news: 新闻
+
label_news_new: 添加新闻
label_edit_contest_notice: 编辑竞赛通知
bale_news_notice: 添加通知 #huang
@@ -764,7 +591,7 @@ zh:
label_news_latest: 最近的新闻
label_news_view_all: 查看所有新闻
label_news_added: 新闻已添加
- label_settings: 配置
+
label_overview: 近期动态
label_course_overview: "课程动态"
label_project_overview_new: "项目动态"
@@ -773,12 +600,12 @@ zh:
label_question_student: 作业交流 #bai
label_homework_commit: 提交作业 #huang
label_homework_info: 提交情况 #huang
- label_course_news: 课程通知
+
label_course_news_description: '课程必须是高校正式开设的课程,或是围绕特定主题定期发布课程资料的公共开放课程; 如果您想创建一个协作研究空间,请您前往“我的项目”页面创建项目,谢谢!'
label_course_board: 讨论区
label_version: 版本
label_version_new: 新建版本
- label_version_plural: 版本
+
label_close_versions: 关闭已完成的版本
label_confirmation: 确认
label_export_to: 导出
@@ -860,7 +687,6 @@ zh:
label_day_plural: 天
label_repository: 版本库
label_course_repository: 代码库
- label_repository_plural: 版本库
label_browse: 浏览
label_branch: 分支
label_tag: 标签
@@ -891,7 +717,6 @@ zh:
label_search_by_login: 登录名
label_search_by_name: 名字
label_search_by_email: 邮箱
- label_search: 搜索
label_result_plural: 结果
label_all_words: 所有单词
label_wiki: Wiki
@@ -905,7 +730,6 @@ zh:
label_preview: 预览
label_feed_plural: Feeds
label_changes_details: 所有变更的详情
- label_issue_tracking: 问题跟踪
label_spent_time: 耗时
label_overall_spent_time: 总体耗时
label_f_hour: "%{value} 小时"
@@ -913,7 +737,7 @@ zh:
label_time_tracking: 时间跟踪
label_change_plural: 变更
label_statistics: 统计
- label_contest: 竞赛
+
label_commits_per_month: 每月提交次数
label_commits_per_author: 每用户提交次数
label_view_diff: 查看差别
@@ -955,7 +779,7 @@ zh:
label_message_last: 最新的帖子
label_message_new: 发布新帖
label_message_posted: 发帖成功
- label_reply_plural: 回复
+
label_send_information: 给用户发送帐号信息
label_year: 年
label_month: 月
@@ -968,7 +792,6 @@ zh:
label_feeds_access_key: RSS存取键
label_missing_feeds_access_key: 缺少RSS存取键
label_feeds_access_key_created_on: "RSS存取键是在 %{value} 之前建立的"
- label_module_plural: 模块
label_added_time_by: "由 %{author} 在 %{age} 之前添加"
label_added_time: "在 %{age} 之前添加"
label_updated_time_by: "由 %{author} 更新于 %{age} 之前"
@@ -988,32 +811,23 @@ zh:
label_poll_title: 问卷调查_问卷页面
#huang
label_file_new: 下载
- label_user_edit: "修改资料"
- label_user_info: "个人简介" #huang 添加
- label_user_watcher: "关注" # huang添加的
- label_user_fans: "粉丝"
- # modify by men
- label_x_user_fans:
- zero: 粉丝
- one: 粉丝
- other: 粉丝
- #end
+
label_x_join_in_contest:
zero: 参与者
one: 参与者
other: 参与者
#end
label_user_commits: "代码提交"
- label_user_watchered: "关注" # huang添加的
+
label_user_newfeedback: "留言" ## huang添加的
label_feedback_success: "留言成功"
label_feedback_fail: "留言失败"
label_user_login: "最后登录"
label_user_mail: "邮件地址"
label_user_joinin: "加入时间"
- label_user_activities: 您没有关注该用户,请尝试重新输入!
- label_user_activities_other: 该用户暂无任何动态!
- label_project_overview: "概述"
+
+
+ label_overview: "概述"
label_project_tool: "项目工具集"
label_project_issues: "问题"
label_project_newother: "查看其他评论"
@@ -1087,7 +901,7 @@ zh:
button_check_all: 全选
button_uncheck_all: 清除
- button_delete: 删除
+
button_create_and_continue: 创建并继续
button_test: 测试
button_edit: 编辑
@@ -1225,7 +1039,7 @@ zh:
enumeration_issue_priorities: 问题优先级
enumeration_doc_categories: 文档类别
- enumeration_activities: 活动(时间跟踪)
+
enumeration_system_activity: 系统活动
field_warn_on_leaving_unsaved: 当离开未保存内容的页面时,提示我
@@ -1394,10 +1208,10 @@ zh:
field_closed_on: 已关闭
setting_default_projects_tracker_ids: Default trackers for new projects
label_total_time: 合计
- label_create_time: 创建时间 #Customer added!Added by nie
+ #Customer added!Added by nie
label_comment_time: 留言时间
label_activity_time: 发布时间
- label_update_time: 更新时间
+
label_current_contributors: 位当前贡献者
label_commit_limit: 已截止,但可补交
label_commit_ar: 作业提交截止时间快到了!
@@ -1430,10 +1244,7 @@ zh:
label_member_since: 加入
label_contribute_to: 参与了 %{project_count} 个项目:
#modify by men
- label_x_contribute_to:
- zero: 参与了 %{count} 个项目
- one: 参与了 %{count} 个项目
- other: 参与了 %{count} 个项目
+
#end
label_total_commit: 共%{total_commit}次提交
label_question_number: 第%{question_number}题:
@@ -1444,22 +1255,30 @@ zh:
one: 共 %{count} 次提交
other: 共 %{count} 次提交
#end
+
+
label_upload_profile: 上传头像
label_type_as: 类型为
label_status_as: 状态为
label_priority_as: 优先级为
label_member_list: 成员列表
label_author_name: 由%{author_name}发表了
- label_comments_count: (%{count}条评论)
+
label_post_on: 发表了
- label_find_all_comments: 查看所有评论
+
+
+
label_updated_time_on: " 更新于 %{value} "
label_call_list: 需求列表
+
+
+
+
#added by liuping
button_unfollow: 取消关注
button_follow: 关注
label_followers: 关注
- label_responses: 留言
+
label_delete_confirm: 确认删除?
label_more_tags: 更多
label_tags_bid: 需求名称
@@ -1467,20 +1286,14 @@ zh:
label_tags_bid_description: 需求描述
label_tags_issue_description: 问题描述
label_tags_all_objects: 所有
- label_apply_project: 申请加入
- label_exit_project: 退出项目
- label_apply_project_waiting: 已处理申请,请等待管理员审核
- label_unapply_project: 取消申请
#fq
- button_leave_meassge: 留言
- button_clear_meassge: 清除留言
+
label_leave_message_to: 给用户 %{name}留言
label_leave_message: 留言内容
label_message: 留言板
field_add: 添加于 %{time} 之前
- button_more: 更多
- label_user_response: 用户留言
+
label_student_response: 作业答疑 # modified by bai
label_bidding_project: 参与项目
label_homework_project: 已提交作业 #huang
@@ -1544,7 +1357,7 @@ zh:
label_investment_budget: 投资预算:
label_investment_time_limit: 投资时限:
label_my_respond: 如有问题请在这里留下您的宝贵意见^-^
- label_my_question: 请在此处留下您的意见或者问题~ # modified by bai
+# label_my_question: 请在此处留下您的意见或者问题~ # modified by bai
label_respond_requirement: 对需求进行了反馈
label_contest_requirement: 对竞赛进行了反馈
label_question_requirement: 对作业提出了问题!
@@ -1558,7 +1371,7 @@ zh:
button_delete_file: 删除
label_leave_me_message: 给我留言了
label_leave_others_message: 给他留言了
- label_leave_a_message: 给他(她)留言
+
label_leave_your_message: 给你留言了
label_new_activity: 有了最新动态
label_create_project: 参与了
@@ -1569,7 +1382,7 @@ zh:
label_create_new_projects: 创建项目
label_call_for_bids: 发布需求
label_create_course: 创建课程
- label_news: 新闻
+
label_milestone: 里程碑
label_features: 特性
label_has_praisers: 赞(%{count})
@@ -1582,9 +1395,9 @@ zh:
one: 粉丝(%{count})
other: 粉丝(%{count})
#end
- label_me: 我
- label_my: 我
- label_i: 我
+ label_me: 我 # delete
+ label_my: 我 # delete
+
label_you: 你
label_join_bidding: 参与了应标
label_jion_bidding_homework: 已提交!
@@ -1596,19 +1409,15 @@ zh:
label_bidding_reason_homewrok: 作业提交说明
label_username: 用户名:
label_password: 密码:
- label_about_requirement: 对需求:
- label_about_issue: 对问题:
- label_quote_my_words: 中对我的话进行了引用
- label_have_respond: 进行了反馈
- label_in_issues: 在问题:
- label_in_bids: 在需求:
- label_in_users: 在用户:
- label_have_respond: 进行了反馈
+
+ label_user_activity: "%{value}的动态"
+
+
label_create_new_projects_description: 创建项目,让我们开启一次神奇的协同创作和开发之旅!
label_call_for_bids_description: 发布需求,征集解决方案,体验一呼百应的兴奋感觉!
label_news_description: 实时了解项目的最新动态,掌握最新项目咨询!
label_milestone_description: 在这里您可以看见任何一个版本的工程!
- label_have_respond: 进行了反馈
+
label_welcome: 欢迎
label_join: 加入Trustie!
label_repository_path: 库路径
@@ -1622,7 +1431,7 @@ zh:
label_course_homework_un: 暂未发布任何作业
label_course_homework: 发布了作业
label_follow_no_requirement: 暂未关注任何需求!
- label_no_user_respond_you: 暂无任何用户对您进行反馈!
+
label_tags_issue: 问题名称:
label_tags_project_name: 项目名称:
label_tags_project_description: 项目描述:
@@ -1646,18 +1455,15 @@ zh:
label_issue_not_treed_over: 不能踩自己~
label_issues_score_not_enough: 积分不够,不能踩别人~
#end
- label_goto: 前往>>
+
label_issue_appraise_over: 只能评价一次哦!
label_welcome_my_respond: 请在此留下你的意见和建议!
- label_no_current_fans: 该用户暂无粉丝
- label_no_current_watchers: 该用户暂未关注其他用户
- label_project_tool_response: 用户反馈
+
label_course_feedback: 留言
label_tags_search_result: 搜索结果
- label_active_call: 需求
- label_active_homework: 作业
label_tags_call: 需求
label_user_extensions: 其他信息
+
label_boy: 男
label_girl: 女
field_gender: 性别
@@ -1704,11 +1510,8 @@ zh:
label_bids_new_credit: 输入该作业对应课程的学分,如 3,2.5等
label_bids_new_content: 输入奖励内容,如 奖项,物品等
label_project_sort: 排序方式
- label_sort_by_time: 按时间排序
- label_sort_by_active: 按活跃度排序
- label_sort_by_influence: 按影响力排序
- label_bids_published: 发布于
- label_bids_published_ago: 之前
+
+
label_welcome_trustie: Trustie
label_welcome_trustie_project: 在线项目托管平台
label_welcome_trustie_course: 在线课程实践平台
@@ -1719,12 +1522,11 @@ zh:
label_user_project: 项目
label_user_course: 课程
label_user_homework: 作业
- label_bid_respond_quote: 回复
+
label_bid_if_agreement: 如果喜欢我,请点击我
- label_bid_respond_delete: 删除
- label_newfeedback_message: 留言
- label_newfeedback_quote: 回复
- label_newfeedback_delete: 删除
+
+
+
label_user_all_activity: 所有动态
label_user_activity_myself: 我的动态 # modified by bai
label_my_honework_no_homework: 暂无任何作业!
@@ -1744,10 +1546,10 @@ zh:
#end
label_welcome_participate_project: 个项目
label_projects_feedback: 对项目进行了反馈
- label_projects_feedback_respond: 回复
+
label_projects_feedback_respond_success: 回复成功
- button_projects_feedback_respond: 回复
- label_projects_feedback_respond_content: 请输入回复内容
+
+
label_user_create_project: 创建了
label_user_create_project_homework: 创建了作业
#added by bai
@@ -1767,14 +1569,13 @@ zh:
label_brief_introduction: 个性签名
label_my_brief_introduction: 今天的心情如何?留下你的脚印吧~
label_time: 年度
- label_main_teacher: 主讲教师
+
label_main_term: 课程学期
label_teacher_work_unit: 教师单位
label_course_time: 课程年度
label_i_new_activity: 有了新活动在
label_choose_course: 选择课程
button_submit_homework: 提交作业
- label_my_course: 我的课程
button_submit_bid: 参与竞标
label_requirement_from: 需求来源
label_course_view: 作业界面
@@ -1795,35 +1596,31 @@ zh:
label_question_down: 问题被踩次数
label_answer_top: 回答被顶次数
label_answer_down: 回答被踩次数
- label_comments_number: 评论的数量
+
label_news_number: 新闻的数量
label_wiki_number: wiki的数量
- label_message_number: 留言的数量
- label_activity_number: 个人动态数量
+
+
+
+ # redmine活跃度评分
+ label_message_number: 留言的数量 # delete
+ label_activity_number: 个人动态数量 # delete
+ # redmine影响力评分
+ label_comments_number: 评论的数量 # delete
+ label_news_number: 新闻的数量 # delete
+ label_wiki_number: wiki的数量 # delete
+
+
+
label_activities: 个人动态
label_issue_message_number: 对issue的留言数量
label_code_submit_number: 代码提交次数
label_topic_number: 讨论区发言数量
- label_projects_score: 项目综合得分
- label_issue_score: issue得分
- label_news_score: 新闻得分
- label_file_score: 文档得分
- label_code_submit_score: 代码提交得分
- label_topic_score: 讨论区得分
- label_issue_number: issue的数量
- label_issue_journal_number: issue的留言数量
- label_new_number: 新闻的数量
- label_file_number: 文档的数量
- label_code_submit_number: 代码提交数量
- label_topic_number: 讨论区帖子数量
+
label_files_filter: 资源过滤:
- label_course_contribute_to: 参与了 %{project_count} 个项目:
- label_x_course_contribute_to:
- zero: "参与了 %{count} 个课程"
- one: "参与了 %{count} 个课程"
- other: "参与了 %{count} 个课程"
+
label_join_contest: 加入竞赛
label_exit_contest: 退出竞赛
label_participator: 参与者
@@ -1835,14 +1632,14 @@ zh:
label_joined_course: 参加的课程
label_created_course: 创建的课程
label_course: 课程
- label_course_new: 新建课程
- label_course_join_student: 加入课程
+
+
label_public_info: (打钩为公开,不打钩则不公开,若不公开,仅项目成员可见该项目。)
label_course_public_info: (打钩为公开,不打钩则不公开,若不公开,仅课程成员可见该课程。)
label_course_open_student_info: (打钩为“学生列表公开”,不打钩为不公开,若不公开,则课程外部人员看不到学生列表)
label_course_view_student: 查看其他课程
label_course_student: 学生
- label_course_file: 资源库 #资料共享
+
label_course_new_homework: 新建作业
label_course_homework_list: 作业列表
label_course_homework_new: 发布作业
@@ -1899,15 +1696,11 @@ zh:
#add by men
- label_technicl_title_professor: 教授
- label_technicl_title_associate_professor: 副教授
- label_technicl_title_lecturer: 讲师
- label_technicl_title_teaching_assistant: 助教
label_account_identity_teacher: 教师
label_account_identity_student: 学生
label_account_identity_developer: 开发者
label_account_identity_enterprise: 组织
- label_account_identity_choose: --请选择身份--
+
label_teaching_course: 我执教的课程
label_release_homework: 我发布的作业
label_enterprise_into: 进入企业
@@ -1920,15 +1713,13 @@ zh:
label_bid_contest_show_course_name: 课程名称
label_bid_contest_show_teacher_name: 教师
label_contest_list: 竞赛列表
+
- label_x_base_courses_member:
- zero: 成员
- one: 成员
- other: 成员
label_bids_task_list: 作业列表
label_join_course: 加入
label_invite_project: 邀请您加入项目
+ label_invite_success: 邀请成功
label_invite_members: 邀请用户
label_exit_course: 退出
label_exit_group: 退出当前分班
@@ -1958,7 +1749,7 @@ zh:
label_user_grade: 个人得分
label_user_for_project_grade: 个人得分
label_system_grade: 系统评分
- label_teacher: 老师
+
label_ta: 助教
label_in_course: 在课程中
label_assign_homework: 中布置了作业
@@ -1973,7 +1764,7 @@ zh:
label_has_watched_project: 关注的项目
label_project_take: 参与的项目
label_peoject_take_in: 加入了项目:
- label_search_by_user: 按用户搜索
+
label_update_homework_succeed: 作业更新成功
label_task_plural: 作业
label_search_by_student_id: 按学号过滤
@@ -1982,8 +1773,6 @@ zh:
label_course_brief_introduction: 课程简介
field_teacher_name: 教 师
- field_dts_test: DTS测试工具
-
label_newbie_faq: '新手指引 & 问答'
label_hot_project: '热门项目'
label_borad_project: 项目讨论区
@@ -1996,6 +1785,8 @@ zh:
label_forum_update_succ: 贴吧更新成功
label_forum_update_fail: 贴吧更新失败
label_first_page_create_fail: 首页定制失败
+ label_version_create_fail: 版本发布失败
+ label_client_need: 需上传客户端
label_forum_edit: 编辑讨论区
label_memo_create: 发布
label_memo_new: 新建帖子
@@ -2096,13 +1887,13 @@ zh:
label_company_name: 组织名
label_coursefile_sharingarea: 课程资源共享区
- label_sort_by_activity: 按动态数排序
- label_homework: 课程作业
+
+
label_x_activity:
zero: 个动态
one: 个动态
other: 个动态
- label_upload_files: 上传资源
+
label_relation_files: 关联已有资源
label_contest_settings: 配置竞赛
label_contest_delete: 删除竞赛
@@ -2142,7 +1933,6 @@ zh:
label_wellmeaning_intimation_contenttwo: 若您已完成开发,且只希望发布您的作品,“托管项目”一项可以不选;
label_wellmeaning_intimation_contentthree: 若您希望托管竞赛数据和代码以及保留开发和提交代码的轨迹,请从“托管项目”中选择一项您已创建好的项目作为该参赛作品的托管项目,若您还没有创建项目,请点击右边的“创建项目”,然后回到本页再选择。
- notice_account_updated: 帐号更新成功
notice_attendingcontest_work_successfully_created: 恭喜您,参赛作品创建成功!
notice_softapplication_was_successfully_updated: 恭喜您,参赛作品更新成功!
notice_attendingcontest_work_failed_created: 参赛产品创建失败
@@ -2160,309 +1950,30 @@ zh:
label_attendingcontestwork_sorting_intimation: 您可以重新打分,打分结果以最后一次打分为主!
lable_not_receive_mail: 点此设置接收本站邮件偏好!
label_contest_notification: 竞赛通知
- label_contest_innovate_community: 创新竞赛社区
+
#english site translation
label_current_hot_contest: 最新热门竞赛
label_current_attendingcontest_work: 最新参赛作品
label_issue_feedback_activities: 问题和反馈动态
label_more_information: 更多>>
label_release_time: 发布时间
- label_reply: 回复
+
label_weixin: 微信扫码
-
-
-
- # Trustie账户模块
- # edit by meng
- # Trustie账户模块> 登陆
- lable_user_name: 登录名
- label_login_prompt: 邮箱/登录名
- field_password: 密码
- field_identity_url: OpenID URL
- label_stay_logged_in: 保持登录状态
- label_password_lost: 忘记密码?
- button_login: 登录
- # account_controller中判断用户名或密码输入有误的提示信息
- notice_account_invalid_creditentials: 无效的用户名或密码
- # account_controller中判断未激活的提示信息
- notice_account_invalid_creditentials_new: 您还未到邮箱激活
-
-
- # Trustie账户模块> 注册
- # 页面中密码和确认密码不一致信息,正则判断,邮件地址合法等信息由application_helper中error_messages_for方法来判断提示信息
- # rails本身机制ActiveRecord提供
- # 在model层的 validates_方法进行辅助验校
- # 其输出的提示信息在国际化yml中的activerecord中配置
- label_register: 注册
- label_login_with_open_id_option: 或使用OpenID登录
- field_login: 登录名
- label_max_number: 登录名是在网站中显示的您的公开标识,只能为英文和数字。
- field_password: 密码
- text_caracters_minimum: "至少需要 %{count} 个字符。"
- field_password_confirmation: 密码确认
- field_mail: 邮件地址
- label_mail_attention: qq邮箱可能收不到此邮件,其他邮箱如果没有收到可能在垃圾邮件中,
- label_mail_attention1: 其中gmail与教育网邮箱的激活邮件有时比较慢,请耐心等待。
- button_submit: 提交
- # register中js判断密码设置是否合法提示信息
- setting_password_min_length_limit: "密码长度至少大于 %{count} 个字符。"
- setting_password_error: 密码长度不够或密码不一致
- setting_password_success: 密码设置成功
- # account_controller中register方法判断注册成功的提示信息
- notice_account_register_done: 帐号创建成功,请使用注册确认邮件中的链接来激活您的帐号, 如果您的邮件没有在收件箱中可能在垃圾箱中,请您注意查收。
-
-
- # Trustie账户模块 >忘记密码
- label_password_forget: 忘记密码
- # field_mail: 邮件地址
- # (Trustie账户模块> 注册)变量
- # button_submit: 提交
- # (Trustie账户模块> 注册 )变量
- notice_account_unknown_email: 未知用户
- # account_controller中lost_password方法判断的邮件发送提示信息
- notice_account_lost_email_sent: 系统已将引导您设置新密码的邮件发送给您。
-
-
- # Trustie账户模块 >重置密码
- # label_password_forget: 忘记密码
- # (Trustie账户模块> 忘记密码)变量
- field_new_password: 新密码
- # text_caracters_minimum: "至少需要 %{count} 个字符。"
- # (Trustie账户模块> 注册)变量
- # field_password_confirmation: 密码确认
- # (Trustie账户模块> 注册)变量
- notice_account_password_updated: 密码更新成功
- notice_can_t_change_password: 该帐号使用了外部认证,因此无法更改密码。
- button_save: 保存
-
-
- # Trustie账户模块 >登出
- label_logout: 退出
-
-
- # Trustie账户模块 >激活
- label_regiter_account: 注册帐号
- label_email_valid: 邮箱激活
- notice_email_register_time: 请在24小时内点击邮件中的链接继续完成注册
- notice_email_arrival: 邮件已发送到邮箱
- label_check_email: 立即查收邮件
- label_mail_resend: 重新发送激活邮件
- notice_account_activated: 您的帐号已被激活。
-
-
-
-
- # 托管平台主页
- # edit by meng
- # 托管平台主页> 顶部菜单>
- field_homepage: 主页
- label_project_deposit: 项目托管
- label_course_practice: 课程实践
- label_forum_all: 公共贴吧
-
- label_enterprise_all: 组织
- label_contest_innovate: 创新竞赛
- label_software_user: 软件创客
- label_requirement_enterprise: 软件众包
- label_stores_index: 资源搜索
-
- # 托管平台主页> 顶部菜单>
-
-
-
- # 托管平台主页 > 搜索提示信息
- label_search_information: 请输入要搜索的关键字
- welcome:
- search:
- information: "请输入要搜索的关键字" # 搜索提示信息
- select: # 下拉列表
- project: "项目"
- course: "课程"
- user: "用户"
- userinfo:
- nickname: "昵称"
- showname: "姓名"
- email: "邮箱"
- # 托管平台主页 > 下拉列表
- label_select_project: 项目
- label_select_course: 课程
- label_select_user: 用户
- label_select_user_nickname: 昵称
- label_select_user_showname: 姓名
- label_select_user_email: 邮箱
-
- # 托管平台主页 > 下方托管平台链接
- label_projects_management_platform: 项目托管平台
- label_courses_management_platform: 课程实践平台
- label_contests_management_platform: 竞赛托管平台
-
- # 托管平台主页 > 底部承办单位等信息
- label_hosted_organization: 主办单位
- label_hosted_by: 国防科学技术大学并行与分布处理国家重点实验室
- label_sponsor: 计算机科学与技术系
- label_co_organizer_NUDT: 国防科学技术大学计算机学院
- label_co_organizer_EECS: 北京大学信息科学技术学院软件研究所
- label_co_organizer_BHU: 北京航空航天大学计算机学院
- label_co_organizer_CAS: 中国科学院软件研究所
- label_co_organizer_InforS: 山东中创软件商用中间件股份有限公司
- label_rights_reserved: 版权?2007~2014
- label_contact_us: 联系我们
- # 英文版不需要显示国内许可证
- label_license: 湘ICP备09019772
-
-
-
-
-
- # 项目托管平台主页
- # 项目托管平台主页 >主旨
- label_project_trustie: Trustie在线项目托管平台
- label_project_trustie_theme: ", 面向中国大学生与软件从业者,提供社交化的项目管理、代码托管、资源共享、合作交流。"
-
- # 项目托管平台主页 >热门项目栏
- lable_hot_projects: 热门项目
- label_project_new: 新建项目
- label_join_project: 加入项目
- label_private: 私有
- label_project_member_amount: "%{count}人"
- label_project_score_tips: 项目得分,综合考虑了项目的各项活动,反映了该项目的活跃程度
- label_project_score: 项目评分
-
- # 项目托管平台主页 >用户动态栏
- lable_user_active: 用户动态
- user:
- active:
- published: 发布了
- uploaded: 上传了
- updated: 修改了
- unknow: Unknown content
- field_user_active_published: 发表了
- field_user_active_uploaded: 上传了
- field_user_active_updated: 更新了
- field_user_active_unknow: 未知内容
- field_user_active_news: 新闻
- field_user_active_issue: 问题
- field_user_active_attachment: 附件
- field_user_active_message: 主题
- field_user_active_reply: 回复
- field_user_active_bid: 作业
- field_user_active_memo: 主题
- field_user_active_document: 文件
- field_user_active_changeset: 版本库
- field_user_active_issue_note: 问题说明
- field_updated_on: 更新于
- field_time_ago: 前
- field_active_reply: "回复("
- # 用户动态中event.title和event.description
- # 通过act_as_event方法的option配置
- # "#{o.tracker.name} ##{o.id} (#{o.status}): #{o.subject}"
- # "缺陷 #1869 (已解决):subject"
- # 而tracker.name和status在数据库中以中文字段形式存储
-
- # 项目托管平台主页 >用户动态栏
- lable_bar_active: 贴吧动态
- label_my_question: 我要提问
- label_my_feedback: 我要反馈
- label_more: 更多>>
- label_updated_time: " 更新于 %{value} 之前"
- label_question_sponsor: 楼主
- label_final_reply: 最后回复
-
-
- # 项目托管平台 >新建项目
- label_project_new_description: '(项目为您和您的团队提供一个面向分布式协作的专有空间,可以设置为公开或私有。)'
- field_name: 名称
- field_description: 描述
- field_identifier: 标识
- text_length_between: "长度必须在 %{min} 到 %{max} 个字符之间。"
- text_project_identifier_info: "小写字母(a-z)、数字、破折号(-)和下划线(_)可以使用。 一旦保存,标识无法修改。"
- field_is_public: 公开
- field_hidden_repo: 隐藏代码库
- button_create: 提交
-
- # 项目托管平台 >加入项目
-
-
-
-
-
-
- # 课程托管平台
- # 课程托管平台主页 >主旨
- label_course_trustie: Trustie在线课程实践平台
- label_course_trustie_theme: ", 面向中国高校教师与大学生,提供社交化的课程管理、资源共享、合作实验、协同研究。"
- # 课程托管平台主页 >
-
-
-
-
-
- # 竞赛托管平台
- # 竞赛托管平台主页 >主旨
- label_contest_trustie: Trustie在线竞赛实战平台
- label_contest_trustie_theme: ", 面向中国大学生与编程爱好者,提供社交化的竞赛管理、应用管理、代码托管、合作交流。"
- # 竞赛托管平台主页 >
-
-
-
-
-
- # 邮件系统
- # 邮件 >激活邮件
- # edit by meng
- # 邮件中文格式
- mail_issue_greetings: "亲爱的Trustie用户,您好!"
- mail_issue_footer: "退订该邮件!"
- mail_issue_title_userin: "在"
- mail_issue_title_active: "中有了一个与您相关的最新活动,请您关注!"
- mail_issue_subject: "标题:"
- mail_issue_content: "内容:"
- mail_issue_sent_from: "来源:"
- mail_issue_from_project: "项目问题跟踪"
- mail_issue_attachments: "附件:"
- mail_issue_reply: "我要回复"
- mail_footer: "退订Trustie社区任务提醒?"
- # 课程资源上传
- # edit by meng
- # 课程资源上传>
- label_file_upload: 资源文件
- label_file_upload_error_messages: "上传出现错误,请您检查您的网络环境,并刷新页面重新上传。"
- button_confirm: 确认
-
-
-
-
-
-
label_work_quantity: 个作品
-# label_organizers: 主办单位
-# label_organizers_information: 国防科学技术大学并行与分布处理国家重点实验室
-# label_organizers_information_institute: 计算机科学与技术系
-# label_copyright: 版权
-# label_contact_us: 联系我们
-# label_record: 湘ICP备09019772
-
-
-
label_check_comment: 查看通知评论
label_notification: 通知公告
label_course_ad_description: 课程模块正在优化中,使用过程中如有问题请您与我们联系,感谢大家的支持!
label_course_adcolick: 请点击:
label_coursejoin_tip: 提示:加入课程才有权限查看或提交作业,“加入”按钮见课程图标右侧!
- #end
-
- #end
# ajax异步验证
modal_valid_passing: 可以使用
label_bug: 漏洞
- label_school_no_course: 该学校本学期未开设任何课程,您可以查看其他学校课程
- label_school_less_course: 您也可以查看其他学校课程
label_file_not_found: 对不起,该文件现在不能下载
label_goto_homepage: 返回主页
@@ -2471,18 +1982,17 @@ zh:
label_memos_max_length: 帖子内容最大长度为5000个字
label_forums_max_length: 贴吧描述最大长度为5000个字
label_unknow_type: 未知类型
- label_score_less_than_zero: 得分小于0,修正为0
+
review_assignments: 评审任务
label_my_school: 我的学校
label_all_schol: 全部学校
label_school_all: 中国高校
label_select_province: 请选择省份
- label_search_conditions_not_null: 搜索条件不能为空
lable_hot_course: 活跃课程
lable_student_list_visable: 学生列表是否公开
lable_sure_exit_project: 是否确认退出该项目
- lable_input_class: 在此输入课时
+
lable_input_class_vilidate: 学时只能为整数
lable_school_list: 学校列表
lable_teacher_evaluation_no: 老师还未进行评价
@@ -2509,7 +2019,7 @@ zh:
label_sure_exit_homework: 是否确认退出该作业
label_teacher_comments: 教师评论
label_anonymous_comments: 匿评
- label_anonymous: 匿名
+
label_submit_comments: 提交评论
field_evaluation_num: 匿评分配数量
label_my_score: 我的评分
@@ -2542,41 +2052,34 @@ zh:
label_poll_republish_success: 取消成功
label_answer_total: 总计:
label_join_project: 加入项目
- label_technical_support: 技术支持:
- label_feedback: 意见反馈
- label_log_detail: "日志详情"
- label_log_delete_log: "删除日志"
- label_log_access_analysis: "访问统计"
- label_log_time_analysis: "耗时分析"
- label_log_refresh: "刷新"
- label_log_key: "关键字:"
- label_log_time: "时间:"
- label_log_delete_confirm: "确认清除该天日志内容?"
- label_log_access_count: "访问次数"
- label_log_url: "URL路径"
- label_log_ip: "访问IP"
- label_log_access_time: "访问时间"
- label_log_access_controller_action: "模块路径"
- label_log_response_time: "响应时间"
- label_log_views_time: "页面渲染时间"
- label_log_views_time_percent: "页面渲染时间百分比"
- label_log_active_record_time: "AR响应时间"
- label_log_active_record_time_percent: "AR响应时间百分比"
- views:
- pagination:
- first: "« 首页"
- last: "末页 »"
- previous: "« 上一页"
- next: "下一页 »"
- truncate: "..."
-
-
-
+
+
+
+ #
+ #
# 项目企业模块
-
+ #
+ #
label_all_enterprises: 所有组织
label_my_enterprise: 我的企业
label_enterprise_tips: 该组织暂时还没创建公开项目,您可能会对系统的其它项目感兴趣!
label_part_enterprise_tips: 您可能对系统的其它项目感兴趣!
label_enterprise_nil: 该模块为最新上线模块,目前还没有创建企业项目!
label_enterprises: 组织
+
+ label_tags_opensource: 开源项目
+ label_attachment_category: 所属分类
+ label_attachment_download_num: 下载
+ label_attachment_size: 大小
+ label_attachment_sharer: 共享者
+ label_attachment_upload_time: 上传时间
+
+
+ #api
+ label_recently_updated_notification: 最近更新了通知
+ label_recently_updated_homework: 最近更新了作业
+ label_recently_updated_message: 最近更新了留言
+ label_recently_updated_courseware: 最近更新了课件
+ label_no_courses: 您没有参与任何课程,请搜索课程、加入课程,或者创建课程吧!
+ label_end_time: 截止时间
+
diff --git a/db/migrate/20150311013036_add_project_create_info_to_forge_activities.rb b/db/migrate/20150311013036_add_project_create_info_to_forge_activities.rb
new file mode 100644
index 000000000..9476db117
--- /dev/null
+++ b/db/migrate/20150311013036_add_project_create_info_to_forge_activities.rb
@@ -0,0 +1,21 @@
+# Time 2015-03-11 14:25:45
+# Author lizanle
+# Description 给每个项目添加一条初始创建信息,如果有menber,最早加进来的就算创始人,并给projects表的更新创建人
+class AddProjectCreateInfoToForgeActivities < ActiveRecord::Migration
+ def change
+ Project.all.each do |e|
+ user = e.members.order("members.created_on asc").first
+ next if user.nil?
+ execute("insert into forge_activities(forge_act_id,
+ forge_act_type,
+ project_id,
+ user_id,
+ created_at,
+ updated_at)
+ values(#{e.id},'ProjectCreateInfo',#{e.id},#{user.user_id},
+ '#{user.created_on.to_s.gsub("+0800","").to_datetime.strftime("%Y-%m-%d %H:%M:%S")}',
+ '#{user.created_on.to_s.gsub("+0800","").to_datetime.strftime("%Y-%m-%d %H:%M:%S")}')")
+ execute("update projects set user_id=#{user.user_id} where id =#{e.id}")
+ end
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index bad1cf2ae..4cce0b5c8 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 20150305081132) do
+ActiveRecord::Schema.define(:version => 20150311013036) do
create_table "activities", :force => true do |t|
t.integer "act_id", :null => false
diff --git a/lib/redmine/plugin.rb b/lib/redmine/plugin.rb
index 30c182d17..f9ce53ce2 100644
--- a/lib/redmine/plugin.rb
+++ b/lib/redmine/plugin.rb
@@ -77,7 +77,7 @@ module Redmine #:nodoc:
# Adds plugin locales if any
# YAML translation files should be found under /config/locales/
::I18n.load_path += Dir.glob(File.join(p.directory, 'config', 'locales', '*.yml'))
-
+ ::I18n.load_path += Dir.glob(File.join(Rails.root, 'config', 'locales', '**', '*.yml'))
# Prepends the app/views directory of the plugin to the view path
view_path = File.join(p.directory, 'app', 'views')
if File.directory?(view_path)
diff --git a/plugins/redmine_code_review/config/locales/zh.yml b/plugins/redmine_code_review/config/locales/zh.yml
index 00141582a..b08b14eb2 100644
--- a/plugins/redmine_code_review/config/locales/zh.yml
+++ b/plugins/redmine_code_review/config/locales/zh.yml
@@ -55,10 +55,11 @@ zh:
label_auto_assign_settings: 自动分派
label_candidates_of_reviewer: 候选评审员
label_auto_assignment_filters: 过滤器
- auto_assign_filter_expression: '路径(Regular expression:ex. "/src/.*\.java$")'
+ auto_assign_filter_expression: '路径(正则表达式:ex. "/src/.*\.java$")'
auto_assign_filter_assign: 指派
auto_assign_filter_drop: 移除
- label_parent_suggestion: Maybe "%{issue_id}" ?
+ label_parent_suggestion: "可能是 '%{issue_id}' ?"
- label_assign_review: "分配给"
\ No newline at end of file
+ label_assign_review: "分配给"
+ field_tracker_in_review_dialog: "允许创建代码审查时选择跟踪者?"
\ No newline at end of file
diff --git a/public/images/jiantou.jpg b/public/images/jiantou.jpg
new file mode 100644
index 000000000..cd2840988
Binary files /dev/null and b/public/images/jiantou.jpg differ
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index c80012f6a..c24091605 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -8,6 +8,13 @@ h3, .wiki h2 {font-size: 15px; padding-left: 5px}
h4, .wiki h3 {font-size: 13px;}
h4 {border-bottom: 1px dotted #bbb;}
+/****翻页***/
+ul.wlist{ margin-left: -40px; border-bottom:none; }
+ul.wlist li{float: left;}
+ul.wlist li a{ border:1px solid #15bccf; padding:4px; margin-left:3px;}
+ul.wlist li a:hover{ background:#15bccf; color:#fff; text-decoration:none;}
+.wlist_select { background-color:#64bdd9; color:#fff; padding: 4px 3px 3px 3px; margin-left:3px;margin-top: -5px; border:1px solid #64bdd9;}
+
/*20150203项目界面优化样式 By: huangjignquan*/
.project_new{font-size: 15px; padding: 5px;}
.project_new .description{font-size: 12px; color: #ff7450; margin-bottom: 2px;}
@@ -63,6 +70,8 @@ a:hover.subnav_green{ background:#14ad5a;}
/*简介*/
.project_intro{ width:220px; padding:10px; background:#fff; padding-top:5px; color:#6d6d6d;}
+.course_description{max-height: 105px;overflow:hidden;}
+.course_description_none{max-height: none;}
.lg-foot{ border:1px solid #e8eef2; color: #929598; text-align:center; width:220px; height:23px; cursor:pointer;}
.lg-foot:hover{ color:#787b7e;}
/*右侧内容--动态*/
@@ -99,13 +108,14 @@ a:hover.more{ color:#64bdd9;}
.icon_addm:hover{background:url(../images/img_floatbox.png) 0 -61px no-repeat; }
.icon_removem{ background:url(../images/img_floatbox.png) -22px -33px no-repeat;width:16px; height:16px; display:block; margin:5px 0 0 5px}
.icon_removem:hover{background:url(../images/img_floatbox.png) -22px -61px no-repeat;}
-.btn_free{ background:#ff5722; display:block; width:80px; text-align:center; color:#fff; height:26px; padding-top:3px; margin-bottom:10px;}
+.btn_free{ background:#ff5722; display:block; width:80px; text-align:center; color:#fff !important; height:26px; padding-top:8px; margin-bottom:10px;}
.btn_free:hover{ background:#d63502;}
/*成员邀请*/
-.invi_search{ width:295px; margin:0 auto;}
+.invi_search{ width:345px; margin:0 auto;}
.invi_search_input{ border:1px solid #15bccf; width:180px; height:24px; color:#9b9b9b; padding-left:5px; margin-bottom:10px;}
.invi_search_btn{ background:#15bccf; color:#fff; text-align: center; width:40px; height:22px;border:1px solid #15bccf; padding-top:2px; cursor:pointer;}
.invi_search_btn:hover{ background:#0da1b2; border:1px solid #0da1b2;}
+.rolebox{ margin-left: -40px;}
/*问题跟踪*/
.problem_top{ margin:10px 0 ;}
.problem_search_input{ border:1px solid #64bdd9; width:180px; height:24px; color:#9b9b9b; padding-left:5px; margin-bottom:10px;}
| |