Merge branch 'szzh' into develop
This commit is contained in:
commit
5bcb6261af
|
@ -14,7 +14,7 @@ module Mobile
|
|||
us = UsersService.new
|
||||
user = us.register params.merge(:password_confirmation => params[:password],
|
||||
:should_confirmation_password => true)
|
||||
raise "register failed #{user.errors.full_messages}" if user.new_record?
|
||||
raise "该邮箱已经被注册过了" if user.new_record?
|
||||
|
||||
present :data, user, with: Mobile::Entities::User
|
||||
present :status, 0
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
class CoursesController < ApplicationController
|
||||
layout 'base_courses'
|
||||
# layout 'base_courses'
|
||||
include CoursesHelper
|
||||
include ActivitiesHelper
|
||||
helper :activities
|
||||
|
@ -73,6 +73,7 @@ class CoursesController < ApplicationController
|
|||
if @course.errors.full_messages.count <= 0
|
||||
respond_to do |format|
|
||||
format.html {
|
||||
# render :layout => 'base_courses'
|
||||
flash[:notice] = l(:notice_successful_update)
|
||||
redirect_to settings_course_url(@course)
|
||||
}
|
||||
|
@ -82,7 +83,7 @@ class CoursesController < ApplicationController
|
|||
respond_to do |format|
|
||||
format.html {
|
||||
settings
|
||||
render :action => 'settings'
|
||||
redirect_to settings_course_url(@course)
|
||||
}
|
||||
format.api { render_validation_errors(@course) }
|
||||
end
|
||||
|
@ -407,6 +408,10 @@ class CoursesController < ApplicationController
|
|||
|
||||
@roles = Role.givable.all[3..5]
|
||||
@members = @course.member_principals.includes(:roles, :principal).all.sort
|
||||
respond_to do |format|
|
||||
format.html { render :layout => 'base_courses' }
|
||||
format.api { render_validation_errors(@course) }
|
||||
end
|
||||
else
|
||||
render_403
|
||||
end
|
||||
|
@ -424,6 +429,7 @@ class CoursesController < ApplicationController
|
|||
else
|
||||
respond_to do |format|
|
||||
format.html {
|
||||
render :layout => 'base_courses'
|
||||
flash[:notice] = l(:notice_successful_create)
|
||||
if params[:continue]
|
||||
redirect_to new_course_url(attrs, :course => '0')
|
||||
|
@ -738,7 +744,7 @@ class CoursesController < ApplicationController
|
|||
@user = User.find_by_id(CourseInfos.find_by_course_id(@course.id).user_id)
|
||||
end
|
||||
|
||||
sorted_events = sort_activity_events_course(events);
|
||||
sorted_events = sort_activity_events_course(events)
|
||||
events = paginateHelper sorted_events,10
|
||||
@events_by_day = events.group_by {|event| User.current.time_to_date(event.event_datetime)}
|
||||
# documents
|
||||
|
|
|
@ -438,13 +438,84 @@ class UsersController < ApplicationController
|
|||
# Description 所有动态
|
||||
where_condition = nil;
|
||||
# where_condition = "act_type <> 'JournalsForMessage'"
|
||||
user_ids = []
|
||||
if @user == User.current
|
||||
watcher = User.watched_by(@user)
|
||||
watcher.push(User.current)
|
||||
activity = Activity.where(where_condition).where('user_id in (?)', watcher).order('id desc')
|
||||
user_ids = watcher.map{|x| x.id}
|
||||
else
|
||||
activity = Activity.where(where_condition).where('user_id = ?', @user.id).order('id desc')
|
||||
user_ids << @user.id
|
||||
end
|
||||
activity = Activity.where(where_condition).where(user_id: user_ids).order('id desc')
|
||||
|
||||
permission = !User.current.admin?
|
||||
if permission
|
||||
#Issue
|
||||
act_ids = activity.where(act_type: 'Issue').select('act_id').map{|x| x.act_id}
|
||||
project_ids = Issue.where(id: act_ids).select('distinct project_id').map{|x| x.project_id}
|
||||
p_ids = []
|
||||
Project.where(id: project_ids).each do |x|
|
||||
p_ids << x.id unless x.visible?(User.current)
|
||||
end
|
||||
ids = []
|
||||
ids << Issue.where(id: act_ids, project_id: p_ids).map{|x| x.id}
|
||||
|
||||
#Bid
|
||||
act_ids = activity.where(act_type: 'Bid').select('act_id').map{|x| x.act_id}
|
||||
course_ids = HomeworkForCourse.where(bid_id: act_ids).select('distinct course_id').map{|x| x.course_id}
|
||||
c_ids = []
|
||||
Course.where(id: course_ids).each do |x|
|
||||
c_ids << x.id unless x.is_public !=0 && User.current.member_of_course?(x)
|
||||
end
|
||||
ids << HomeworkForCourse.where(bid_id: act_ids, course_id: c_ids).map{|x| x.id}
|
||||
|
||||
#Journal
|
||||
act_ids = activity.where(act_type: 'Journal').select('act_id').map{|x| x.act_id}
|
||||
project_ids = Journal.where(id:act_ids, journalized_type: 'Project').select('distinct journalized_id').map{|x| x.journalized_id}
|
||||
p_ids = []
|
||||
Project.where(id: project_ids).each do |x|
|
||||
p_ids << x.id unless x.visible?(User.current)
|
||||
end
|
||||
ids << Journal.where(id: act_ids, journalized_id: p_ids, journalized_type: 'Project').map{|x| x.id}
|
||||
|
||||
#News
|
||||
act_ids = activity.where(act_type: 'News').select('act_id').map{|x| x.act_id}
|
||||
project_ids = News.where(id: act_ids).select('distinct project_id').map{|x| x.project_id}
|
||||
p_ids = []
|
||||
Project.where(id: project_ids).each do |x|
|
||||
p_ids << x.id unless x.visible?(User.current)
|
||||
end
|
||||
ids << News.where(id: act_ids, project_id: p_ids).map{|x| x.id}
|
||||
|
||||
project_ids = News.where(id: act_ids).select('distinct course_id').map{|x| x.course_id}
|
||||
c_ids = []
|
||||
Course.where(id: project_ids).each do |x|
|
||||
c_ids << x.id unless x.is_public !=0 && User.current.member_of_course?(x)
|
||||
end
|
||||
ids << News.where(id: act_ids, course_id: p_ids).map{|x| x.id}
|
||||
|
||||
#Message
|
||||
act_ids = activity.where(act_type: 'Message').select('act_id').map{|x| x.act_id}
|
||||
board_ids = Message.where(id: act_ids).select('distinct board_id').map{|x| x.board_id}
|
||||
project_ids = Board.where(id: board_ids).select('distinct project_id').map{|x| x.project_id}
|
||||
p_ids = []
|
||||
Project.where(id: project_ids).each do |x|
|
||||
p_ids << x.id unless x.visible?(User.current)
|
||||
end
|
||||
ids << Message.where(id: act_ids, board_id: p_ids).map{|x| x.id}
|
||||
|
||||
project_ids = Board.where(id: board_ids).select('distinct course_id').map{|x| x.course_id}
|
||||
c_ids = []
|
||||
Course.where(id: project_ids).each do |x|
|
||||
c_ids << x.id unless x.is_public !=0 && User.current.member_of_course?(x)
|
||||
end
|
||||
ids << Message.where(id: act_ids, board_id: c_ids).map{|x| x.id}
|
||||
|
||||
logger.debug "filter ids #{ids}"
|
||||
|
||||
activity = activity.where('act_id not in (?)', ids.flatten ).order('id desc') unless ids.flatten.empty?
|
||||
end
|
||||
|
||||
# activity = activity.reject { |e|
|
||||
# e.act.nil? ||
|
||||
# (!User.current.admin? && !e.act.nil?
|
||||
|
@ -454,14 +525,11 @@ class UsersController < ApplicationController
|
|||
# (e.act_type == "News" && ((!e.act.project.nil? && !e.act.project.visible?(User.current)) || (!e.act.course.nil? && e.act.course.is_public == 0 && !User.current.member_of_course?(e.act.course)))) ||
|
||||
# (e.act_type == "Message" && !e.act.board.nil? && ((!e.act.board.project.nil? && !e.act.board.project.visible?(User.current)) || (!e.act.board.course.nil? && e.act.board.course.is_public == 0 && !User.current.member_of_course?(e.act.board.course))))))
|
||||
# }
|
||||
#
|
||||
|
||||
@activity_count = activity.count
|
||||
@activity_pages = Paginator.new @activity_count, pre_count, params['page']
|
||||
@activity = activity.slice(@activity_pages.offset,@activity_pages.per_page)
|
||||
# @activity = @activity.reject { |e|
|
||||
# ((e.act_type=="Issue") && ( !e.act.visible?(User.current))) ||
|
||||
# ((e.act_type == "Journal") && (!e.act.project.visible?(User.current))) ||
|
||||
# ((e.act_type == "Bid") && ((!User.current.member_of_course?(e.act.courses.first) || !User.current.admin?)))
|
||||
# }
|
||||
@state = 0
|
||||
end
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ module CoursesHelper
|
|||
|
||||
# 返回教师数量,即roles表中定义的Manager
|
||||
def teacherCount project
|
||||
project.members.count - studentCount(project).to_i
|
||||
project ? project.members.count - studentCount(project).to_i : 0
|
||||
# or
|
||||
# searchTeacherAndAssistant(project).count
|
||||
end
|
||||
|
@ -152,7 +152,7 @@ module CoursesHelper
|
|||
# 学生人数计算
|
||||
# add by nwb
|
||||
def studentCount course
|
||||
course.student.count.to_s#course.student.count
|
||||
course ? course.student.count.to_s : 0#course.student.count
|
||||
end
|
||||
|
||||
#课程成员数计算
|
||||
|
@ -782,6 +782,7 @@ module CoursesHelper
|
|||
end
|
||||
|
||||
def visable_attachemnts_incourse course
|
||||
return[] unless course
|
||||
result = []
|
||||
course.attachments.each do |attachment|
|
||||
if attachment.is_public? || User.current.member_of_course?(course) || User.current.admin?
|
||||
|
|
|
@ -278,4 +278,29 @@ module UsersHelper
|
|||
end
|
||||
}
|
||||
end
|
||||
|
||||
#获取用户留言相关的连接
|
||||
def user_jour_feed_back_url active
|
||||
if active.act_type == "JournalsForMessage"
|
||||
jour = JournalsForMessage.find active.act_id
|
||||
if jour
|
||||
case jour.jour_type
|
||||
when "Principal"
|
||||
link_to(l(:label_goto), user_newfeedback_user_path(jour.jour_id))
|
||||
when "Project"
|
||||
link_to(l(:label_goto), project_feedback_path(jour.jour_id))
|
||||
when "Bid"
|
||||
link_to(l(:label_goto), course_for_bid_path(jour.jour_id))
|
||||
when "Course"
|
||||
link_to(l(:label_goto), course_feedback_path(jour.jour_id))
|
||||
when "Contest"
|
||||
link_to(l(:label_goto), show_contest_contest_path(jour.jour_id))
|
||||
when "Softapplication"
|
||||
link_to(l(:label_goto), softapplication_path(jour.jour_id))
|
||||
when "HomeworkAttach"
|
||||
link_to(l(:label_goto), course_for_bid_path(jour.jour_id))
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -775,9 +775,9 @@ class Mailer < ActionMailer::Base
|
|||
end
|
||||
end
|
||||
elsif reps.is_a? String
|
||||
u = User.find_by_mail(r)
|
||||
u = User.find_by_mail(reps)
|
||||
if u && u.mail_notification == 'all'
|
||||
r_reps << r
|
||||
r_reps << reps
|
||||
end
|
||||
end
|
||||
r_reps
|
||||
|
|
|
@ -766,7 +766,7 @@ class User < Principal
|
|||
# * nil with options[:global] set : check if user has at least one role allowed for this action,
|
||||
# or falls back to Non Member / Anonymous permissions depending if the user is logged
|
||||
def allowed_to?(action, context, options={}, &block)
|
||||
if context && context.is_a?(Project)
|
||||
if Project === context
|
||||
return false unless context.allows_to?(action)
|
||||
# Admin users are authorized for anything else
|
||||
return true if admin?
|
||||
|
@ -779,7 +779,7 @@ class User < Principal
|
|||
(block_given? ? yield(role, self) : true)
|
||||
}
|
||||
#添加课程相关的权限判断
|
||||
elsif context && context.is_a?(Course)
|
||||
elsif Course === context
|
||||
return false unless context.allows_to?(action)
|
||||
# Admin users are authorized for anything else
|
||||
return true if admin?
|
||||
|
|
|
@ -434,7 +434,7 @@ class CoursesService
|
|||
many_times = course.homeworks.index(bid) + 1
|
||||
name = bid.name
|
||||
homework_count = bid.homeworks.count #已提交的作业数量
|
||||
student_questions_count = bid.commit.nil? ? 0 : bid.commit
|
||||
student_questions_count = bid.journals_for_messages.where('m_parent_id IS NULL').count
|
||||
description = bid.description
|
||||
#if is_course_teacher(User.current, course) && @bid.open_anonymous_evaluation == 1 && @bid.homeworks.count >= 2
|
||||
state = bid.comment_status
|
||||
|
@ -454,7 +454,7 @@ class CoursesService
|
|||
many_times = course.homeworks.index(bid) + 1
|
||||
name = bid.name
|
||||
homework_count = bid.homeworks.count #已提交的作业数量
|
||||
student_questions_count = bid.commit.nil? ? 0 : bid.commit
|
||||
student_questions_count = bid.journals_for_messages.where('m_parent_id IS NULL').count
|
||||
description = bid.description
|
||||
#if is_course_teacher(User.current, course) && @bid.open_anonymous_evaluation == 1 && @bid.homeworks.count >= 2
|
||||
state = bid.comment_status
|
||||
|
|
|
@ -199,13 +199,15 @@ class UsersService
|
|||
|
||||
#搜索用户
|
||||
def search_user params
|
||||
@status = params[:status] || 1
|
||||
status = params[:status] || 1
|
||||
has = {
|
||||
"show_changesets" => true
|
||||
}
|
||||
scope = User.logged.status(@status)
|
||||
@search_by = params[:search_by] ? params[:search_by] : "0"
|
||||
scope = scope.like(params[:name],@search_by) if params[:name].present?
|
||||
scope = User.logged.status(status)
|
||||
watcher = User.watched_by(params[:user_id])
|
||||
watcher.push(params[:user_id])
|
||||
search_by = params[:search_by] ? params[:search_by] : "0"
|
||||
scope = scope.where("id not in (?)",watcher).like(params[:name],search_by) if params[:name].present?
|
||||
scope
|
||||
end
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
<% if @status == 0%>
|
||||
alert("您申请的项目不存在");
|
||||
alert("<%= l('project.join.tips.notexist') %>");
|
||||
<% elsif @status == 1%>
|
||||
alert("请勿重复申请加入该项目");
|
||||
alert("<%= l('project.join.tips.repeat') %>");
|
||||
<% elsif @status == 2%>
|
||||
alert("申请成功");
|
||||
alert("<%= l('project.join.tips.success') %>");
|
||||
<% elsif @status == 3%>
|
||||
alert("您已加入该项目");
|
||||
alert("<%= l('project.join.tips.has') %>");
|
||||
<%else%>
|
||||
alert("申请失败");
|
||||
alert("<%= l('project.join.tips.fail') %>");
|
||||
<%end%>
|
|
@ -10,7 +10,7 @@
|
|||
<div id="add-message" class="add_frame" style="display:<%= !@flag.nil?&&@flag=='true' ? '' : 'none' %>;">
|
||||
<% if User.current.logged? %>
|
||||
<div class="project_r_h">
|
||||
<h2 class="project_h2"><%= l(:label_message_new) %></h2>
|
||||
<h2 class="project_h2"><%= l(:project_module_boards_post) %></h2>
|
||||
</div>
|
||||
<%= form_for @message, :url => new_board_message_path(@board), :html => {:multipart => true, :id => 'message-form'} do |f| %>
|
||||
<%= render :partial => 'messages/form', :locals => {:f => f} %>
|
||||
|
@ -39,12 +39,18 @@
|
|||
<!-- 内容显示部分 -->
|
||||
<div class="project_right">
|
||||
<div class="project_r_h">
|
||||
<h2 class="project_h2"><%= h @board.name %></h2>
|
||||
<h2 class="project_h2">
|
||||
<% if User.current.language == "zh"%>
|
||||
<%= h @board.name %>
|
||||
<% else %>
|
||||
<%= l(:project_module_boards) %>
|
||||
<% end %>
|
||||
</h2>
|
||||
</div>
|
||||
<div class="talk_top">
|
||||
<div class="fl">项目讨论区共有<span><%= @topic_count %></span>个帖子 </div>
|
||||
<div class="fl"><span><%= l(:label_project_board_count , :count => @topic_count)%></span></div>
|
||||
<% if @project.enabled_modules.where("name = 'boards'").count > 0 && User.current.member_of?(@project) %>
|
||||
<span><%= link_to l(:label_message_new), new_board_message_path(@board),
|
||||
<span><%= link_to l(:project_module_boards_post), new_board_message_path(@board),
|
||||
:class => 'problem_new_btn fl',
|
||||
:onclick => 'showAndScrollTo("add-message", "message_subject"); return false;' if User.current.logged? %></span>
|
||||
<% end %>
|
||||
|
@ -61,15 +67,15 @@
|
|||
<div>
|
||||
<span><%= link_to h(topic.subject), board_message_path(@board, topic), title:topic.subject.to_s, :class =>"problem_tit fl" %></span>
|
||||
<% if topic.sticky? %>
|
||||
<span class="talk_up">置顶</span>
|
||||
<span class="talk_up" style="float:right;"><%= l(:label_board_sticky)%></span>
|
||||
<% end %>
|
||||
</div>
|
||||
<div class="problem_line">
|
||||
<span>由<%= link_to topic.author, user_path(topic.author), :class =>"problem_name" %></span>
|
||||
<span>添加于<%= format_time topic.created_on %></span>
|
||||
<span><%= l(:label_post_by)%><%= link_to topic.author, user_path(topic.author), :class =>"problem_name" %></span>
|
||||
<span><%= l(:label_post_by_time)%><%= format_time topic.created_on %></span>
|
||||
</div>
|
||||
</div>
|
||||
<span class="talk_btn fr"><%= link_to (l(:label_reply) + topic.replies_count.to_s), board_message_path(@board, topic), :style =>"color:#fff;" %></span>
|
||||
<span class="talk_btn fr"><%= link_to (l(:label_short_reply) + " "+topic.replies_count.to_s), board_message_path(@board, topic), :style =>"color:#fff;line-height: 18px;" %></span>
|
||||
<div class="cl"></div>
|
||||
</div><!--讨论主类容 end-->
|
||||
<% end %>
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<%= format_time(journal.created_on) %>
|
||||
</span>
|
||||
<div class="cl"></div>
|
||||
<p>
|
||||
<p class="upload_img">
|
||||
<%= journal.notes.html_safe %>
|
||||
</p>
|
||||
</div>
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
$(function(){if($("#bid_description_<%= bid.id%>_content").height()>38){$("#bid_show_more_des_button<%= bid.id%>").show();}});
|
||||
</script>
|
||||
<div id="bid_description_<%= bid.id%>" class="news_description mt5">
|
||||
<div id="bid_description_<%= bid.id%>_content">
|
||||
<div id="bid_description_<%= bid.id%>_content" class="upload_img">
|
||||
<%= bid.description.html_safe %>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -9,12 +9,13 @@
|
|||
<a class="problem_pic fl">
|
||||
<%= image_tag(url_to_avatar(e.event_author), :width => "42", :height => "42") %>
|
||||
</a>
|
||||
<div class="problem_txt fl mt5">
|
||||
<div class="problem_txt fl mt5 upload_img">
|
||||
<%= link_to_user_header(e.event_author,false,:class => 'problem_name c_orange fl') if e.respond_to?(:event_author) %>
|
||||
<%= link_to_user_header("(#{e.event_author})", @canShowRealName,:class => 'problem_name c_orange fl') if @canShowRealName && e.respond_to?(:event_author) %>
|
||||
<span class="fl"> </span>
|
||||
<span class="fl"> <%= l(:label_new_activity) %>:</span>
|
||||
<%= link_to "#{eventToLanguageCourse(e.event_type, @course)} "<< format_activity_title(e.event_title), (e.event_type.eql?("attachment")&&e.container.kind_of?(Course)) ? course_files_path(e.container) : e.event_url,:class => "problem_tit c_dblue fl fb"%>
|
||||
<%= link_to "#{eventToLanguageCourse(e.event_type, @course)} "<< format_activity_title(e.event_title), (e.event_type.eql?("attachment")&&e.container.kind_of?(Course)) ? course_files_path(e.container) :
|
||||
(e.event_type.eql?("bid") ? homework_course_path(@course) : e.event_url),:class => "problem_tit c_dblue fl fb"%>
|
||||
<br />
|
||||
<p class="mt5 break_word"><%= e.event_description.html_safe %>
|
||||
<br />
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'upload_show',:locals => {:course => @course}) %>');
|
||||
showModal('ajax-modal', '513px');
|
||||
$('#ajax-modal').siblings().remove();
|
||||
$('#ajax-modal').before("<span style='float: right;cursor:pointer;padding-left: 513px;'><a href='javascript:void(0)' onclick='closeModal()'><img src='/images/bid/close.png' width='26px' height='26px' /></a></span>")
|
||||
$('#ajax-modal').before("<span style='float: right;cursor:pointer;padding-left: 513px;'><a href='javascript:void(0)' onclick='closeModal()'><img src='/images/bid/close.png' width='26px' height='26px' /></a></span>");
|
||||
$('#ajax-modal').parent().css("top","").css("left","");
|
||||
$('#ajax-modal').parent().addClass("popbox_polls");
|
||||
}
|
||||
|
|
|
@ -46,8 +46,8 @@
|
|||
</div>
|
||||
<div class="cl"></div>
|
||||
<div class="tag_h">
|
||||
<%= render :partial => 'tags/tag_new', :locals => {:obj => file, :object_flag => "10"} %>
|
||||
<%= render :partial => 'tags/tag_add', :locals => {:obj => file, :object_flag => "10"} %>
|
||||
<%= render :partial => 'tags/tag_new', :locals => {:obj => file, :object_flag => "6"} %>
|
||||
<%= render :partial => 'tags/tag_add', :locals => {:obj => file, :object_flag => "6"} %>
|
||||
</div>
|
||||
<div class="cl"></div>
|
||||
</div><!---re_con_box end-->
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="word-break: break-all;word-wrap: break-word;">
|
||||
<td style="word-break: break-all;word-wrap: break-word;" class="upload_img">
|
||||
<p>
|
||||
<%= textAreailizable forum.description%>
|
||||
</p>
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
}
|
||||
else
|
||||
{
|
||||
$("#homework_attach_name_span").text("填写正确");
|
||||
$("#homework_attach_name_span").text("<%= l(:label_field_correct)%>");
|
||||
$("#homework_attach_name_span").css('color','#008000');
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
:onclick => '$("#custom_query").slideToggle(400); ' if true || User.current.logged? %>
|
||||
</span>
|
||||
<% end %>
|
||||
<span class="problem_p fr"><%= l(:label_issues_sum) %>:<span><%= @project.issues.count %></span> <%= l(:lable_issues_undo) %> <span><%= @project.issues.where('status_id in (1,2,4,6)').count %></span></span>
|
||||
<span class="problem_p fr"><%= l(:label_issues_sum) %>:<span><%= @project.issues.count %></span> <%= l(:lable_issues_undo) %>:<span><%= @project.issues.where('status_id in (1,2,4,6)').count %></span></span>
|
||||
</div>
|
||||
<div class="contextual">
|
||||
<% if !@query.new_record? && @query.editable_by?(User.current) %>
|
||||
|
|
|
@ -173,7 +173,6 @@ function cookieget(n)
|
|||
<% end %>
|
||||
</div>
|
||||
<div class="msgserver">
|
||||
<a href="http://user.trustie.net/users/12/user_newfeedback" style="color: #15BCCF;"><%= l(:label_technical_support) %>黄井泉</a>
|
||||
<a href="http://user.trustie.net/users/34/user_newfeedback" style="color: #15BCCF;"><%= l(:label_technical_support) %>白 羽</a>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -21,10 +21,6 @@
|
|||
<% end %>
|
||||
</div>
|
||||
<div class="msgserver">
|
||||
<a href="http://user.trustie.net/users/12/user_newfeedback" target="_blank">
|
||||
<%= l(:label_technical_support) %>
|
||||
黄井泉
|
||||
</a>
|
||||
<a href="http://user.trustie.net/users/34/user_newfeedback" target="_blank">
|
||||
<%= l(:label_technical_support) %>
|
||||
白 羽
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
<%=l(:label_courses_management_platform)%>
|
||||
</a>
|
||||
>
|
||||
<%= link_to @course.name, nil %>
|
||||
<%= link_to @course.name, course_path(@course) %>
|
||||
</p>
|
||||
</div>
|
||||
<div class="search fl">
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
<div class="sidebar-forums">
|
||||
<div class="forums-line">
|
||||
<div class="forums-title"><%= @forum.name %></div>
|
||||
<div class="forums-description"><%= @forum.description.html_safe %></div>
|
||||
<div class="forums-description upload_img"><%= @forum.description.html_safe %></div>
|
||||
</div>
|
||||
<!--informations-->
|
||||
<div class="formus-first-title" >创建人信息</div>
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
}
|
||||
.span_wping a:hover{ background-color:#03a1b3;}
|
||||
.span_wping_background{background: #CCC !important;}
|
||||
.font_lighter_sidebar img{max-width: 100%}
|
||||
</style>
|
||||
</head>
|
||||
<body class="<%= h body_css_classes %>">
|
||||
|
|
|
@ -84,7 +84,7 @@
|
|||
<div class="sidebar-forums">
|
||||
<div class="forums-line">
|
||||
<div class="forums-title"><%= @forum.name %></div>
|
||||
<div class="forums-description"><%= @forum.description.html_safe %></div>
|
||||
<div class="forums-description upload_img"><%= @forum.description.html_safe %></div>
|
||||
</div>
|
||||
<!--informations-->
|
||||
<div class="formus-first-title" >创建人信息</div>
|
||||
|
|
|
@ -173,7 +173,7 @@
|
|||
<table style="font-family:'微软雅黑'" width="240">
|
||||
<tr>
|
||||
<td style=" float: right" width="70px">
|
||||
<span style="float: right"> <%= l(:label_user_joinin) %>:</span>
|
||||
<span style="float: right"> <%= l(:label_user_join) %>:</span>
|
||||
</td>
|
||||
<td class="font_lighter_sidebar" style="padding-left: 0px" width="170px">
|
||||
<%= format_time(@user.created_on) %>
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
:class => 'talk_edit fr'
|
||||
) if @message.course_destroyable_by?(User.current) %>
|
||||
<div class="cl"></div>
|
||||
<div class="talk_info mb10"><%= @topic.content.html_safe %></div>
|
||||
<div class="talk_info mb10 upload_img"><%= @topic.content.html_safe %></div>
|
||||
<div class="talk_info mb10"><%= link_to_attachments_course @topic, :author => false %></div>
|
||||
<!-- <a href="#" class=" link_file ml60">附件:爱覅俄方if.zip(27.5kB)</a>-->
|
||||
<div class="cl"></div>
|
||||
|
@ -54,7 +54,7 @@
|
|||
<div class="ping_C mb10" id="<%= "message-#{message.id}" %>">
|
||||
<div class="ping_dispic"><%= link_to image_tag(url_to_avatar(message.author), :width => '46',:height => '46'), user_path(message.author) %></div>
|
||||
<div class="ping_discon">
|
||||
<div class="ping_distop">
|
||||
<div class="ping_distop upload_img">
|
||||
<%= link_to_user_header message.author,false,:class => 'c_blue fb fl mb10 ' %>
|
||||
<span class="c_grey fr"><%= format_time(message.created_on) %></span>
|
||||
<div class="cl"></div>
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
<%= f.kindeditor :content, :editor_id => 'message_content_editor',
|
||||
:owner_id => @message.nil? ? 0: @message.id,
|
||||
:owner_type => OwnerTypeHelper::MESSAGE,
|
||||
:width => '91%',
|
||||
:width => '90%',
|
||||
:height => 300,
|
||||
:class => 'talk_text fl',
|
||||
:input_html => { :id => 'message_content',
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
|
||||
<div class="lz">
|
||||
<div class="project_r_h">
|
||||
<h2 class="project_h2"><%= h @board.name %></h2>
|
||||
<h2 class="project_h2"> <%= l(:label_board_plural) %></h2>
|
||||
</div>
|
||||
<!-- 在这里添加赞和踩-->
|
||||
<span id="praise_tread" style="float: right">
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
</p>
|
||||
<% else %>
|
||||
<% @newss.each do |news| %>
|
||||
<div class="problem_main">
|
||||
<div class="problem_main upload_img">
|
||||
<%= link_to image_tag(url_to_avatar(news.author),:width => 42,:height => 42), user_path(news.author), :class => "problem_pic fl" %>
|
||||
<div class="problem_txt fl mt5">
|
||||
<%= link_to_user_header(news.author,false,{:class=> 'problem_name c_orange fl'}) if news.respond_to?(:author) %>
|
||||
|
@ -43,7 +43,7 @@
|
|||
<%= l(:button_more)%>...
|
||||
<span class="g-arr-down"></span>
|
||||
</div>
|
||||
<span class="fl"><%= l(:label_end_time)%>:<%= format_time(news.created_on)%></span>
|
||||
<span class="fl"><%= l(:label_create_time)%>:<%= format_time(news.created_on)%></span>
|
||||
</div>
|
||||
<div class="cl"></div>
|
||||
</div><!--problem_main end-->
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
:onclick => '$("#edit-news").show(); return false;') if User.current.allowed_to?(:manage_news, @course) %>
|
||||
<%= delete_link(news_path(@news),:class => 'talk_edit fr') if User.current.allowed_to?(:manage_news, @course) %>
|
||||
<div class="cl"></div>
|
||||
<div class="mb5">
|
||||
<div class="mb5 upload_img">
|
||||
<%= @news.description.html_safe %>
|
||||
<br />
|
||||
<%= l(:label_create_time) %> : <%= format_time(@news.created_on) %>
|
||||
|
@ -74,7 +74,7 @@
|
|||
<%= format_time(comment.created_on) %>
|
||||
</span>
|
||||
<div class="cl"></div>
|
||||
<p><%= comment.comments.html_safe %></p>
|
||||
<p class="upload_img"><%= comment.comments.html_safe %></p>
|
||||
</div>
|
||||
<div class="ping_disfoot">
|
||||
<%= link_to_if_authorized_course image_tag('delete.png'), {:controller => 'comments', :action => 'destroy', :id => @news, :comment_id => comment},
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<%= f.text_field :title, :required => true, :size => 60, :style => "width:488px;", :onkeyup => "regexTitle();" %>
|
||||
</p>
|
||||
<P>
|
||||
<span id="title_notice_span">(60个字符以内)</span>
|
||||
<span id="title_notice_span"><%= l(:label_news_title_tips)%></span>
|
||||
</P>
|
||||
<!-- <p style="margin-left:-10px;"><%#= f.text_area :summary, :cols => 60, :rows => 2, :style => "width:490px;margin-left:10px;" %></p> -->
|
||||
<p>
|
||||
|
|
|
@ -7,20 +7,20 @@
|
|||
var name = $("#news_title").val();
|
||||
if(name.length ==0)
|
||||
{
|
||||
$("#title_notice_span").text("标题不能为空");
|
||||
$("#title_notice_span").text("<%= l(:label_title_blank)%>");
|
||||
$("#title_notice_span").css('color','#ff0000');
|
||||
$("#title_notice_span").focus();
|
||||
return false;
|
||||
}
|
||||
else if(name.length <= 60)
|
||||
{
|
||||
$("#title_notice_span").text("填写正确");
|
||||
$("#title_notice_span").text("<%= l(:label_field_correct)%>");
|
||||
$("#title_notice_span").css('color','#008000');
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
$("#title_notice_span").text("标题超过60个字符");
|
||||
$("#title_notice_span").text("<%= l(:label_title_long)%>");
|
||||
$("#title_notice_span").css('color','#ff0000');
|
||||
$("#title_notice_span").focus();
|
||||
return false;
|
||||
|
@ -32,14 +32,14 @@
|
|||
var name = $("#news_description").val();
|
||||
if(name.length ==0)
|
||||
{
|
||||
$("#description_notice_span").text("描述不能为空");
|
||||
$("#description_notice_span").text("<%= l(:label_descripition_blank)%>");
|
||||
$("#description_notice_span").css('color','#ff0000');
|
||||
$("#description_notice_span").focus();
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
$("#description_notice_span").text("填写正确");
|
||||
$("#description_notice_span").text("<%= l(:label_field_correct)%>");
|
||||
$("#description_notice_span").css('color','#008000');
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -7,20 +7,20 @@
|
|||
var name = $("#news_title").val();
|
||||
if(name.length ==0)
|
||||
{
|
||||
$("#title_notice_span").text("标题不能为空");
|
||||
$("#title_notice_span").text("<%= l(:label_title_blank)%>");
|
||||
$("#title_notice_span").css('color','#ff0000');
|
||||
$("#title_notice_span").focus();
|
||||
return false;
|
||||
}
|
||||
else if(name.length <= 60)
|
||||
{
|
||||
$("#title_notice_span").text("填写正确");
|
||||
$("#title_notice_span").text("<%= l(:label_field_correct)%>");
|
||||
$("#title_notice_span").css('color','#008000');
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
$("#title_notice_span").text("标题超过60个字符");
|
||||
$("#title_notice_span").text("<%= l(:label_title_long)%>");
|
||||
$("#title_notice_span").css('color','#ff0000');
|
||||
$("#title_notice_span").focus();
|
||||
return false;
|
||||
|
@ -32,14 +32,14 @@
|
|||
var name = $("#news_description").val();
|
||||
if(name.length ==0)
|
||||
{
|
||||
$("#description_notice_span").text("描述不能为空");
|
||||
$("#description_notice_span").text("<%= l(:label_descripition_blank)%>");
|
||||
$("#description_notice_span").css('color','#ff0000');
|
||||
$("#description_notice_span").focus();
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
$("#description_notice_span").text("填写正确");
|
||||
$("#description_notice_span").text("<%= l(:label_field_correct)%>");
|
||||
$("#description_notice_span").css('color','#008000');
|
||||
return true;
|
||||
}
|
||||
|
|
|
@ -64,6 +64,7 @@
|
|||
<% cond = Project.visible_condition(User.current) + "AND projects.project_type = 1" %>
|
||||
<% memberships = user.memberships.all(:conditions => cond) %>
|
||||
<%= l(:label_x_course_contribute_to, :count => memberships.count) %>
|
||||
<%= ":" unless user_courses.empty? %>
|
||||
<% for member in memberships %>
|
||||
<%= link_to_project(member.project) %><%= (user.memberships.last == member) ? '' : ',' %>
|
||||
<% end %>
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
<div class="C" >
|
||||
<div class="C_top">
|
||||
<h2><%= l('project.join.title')%></h2>
|
||||
<p><%= l('project.join.description')%></p>
|
||||
<p style="width: 385px"><%= l('project.join.description')%></p>
|
||||
</div>
|
||||
<div class="C_form">
|
||||
<%= form_tag({:controller => 'applied_project',
|
||||
|
@ -64,7 +64,7 @@
|
|||
<input class=" width190" name="project_id" id="project_id" type="text" value="" >
|
||||
<input type="text" style="display: none"/>
|
||||
</li>
|
||||
<li class="mB5"><%= l('project.join.id.tips')%></li>
|
||||
<li class="mB5" style="width: 260px"><%= l('project.join.id.tips')%></li>
|
||||
<li>
|
||||
<a href="#" class="btn" style="margin-left: 50px;" onclick="submit_form(this);">
|
||||
<%= l(:label_apply_project) %>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<div class="project_r_h">
|
||||
<h2 class="project_h2">用户反馈</h2>
|
||||
<h2 class="project_h2"><%= l(:label_project_tool_response)%></h2>
|
||||
</div>
|
||||
<% reply_allow = JournalsForMessage.create_by_user? User.current %>
|
||||
<%= stylesheet_link_tag 'css', :media => 'all' %>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<div>
|
||||
<h3><strong><%= l(:label_tags_search_result) %></strong></h3>
|
||||
<div align="right">
|
||||
<%= l(:label_tags_numbers) %>
|
||||
<%= l(:label_tags_numbers) %>:
|
||||
<%= l(:label_issue_plural) %>(<%= @issues_tags_num %>) |
|
||||
<%= l(:label_project_plural) %>(<%= @projects_tags_num %>) |
|
||||
<%= l(:label_user_plural) %>(<%= @users_tags_num %>) |
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
<%= form_for(@member, {:as => :membership, :url => project_memberships_path(@project), :method => :post}) do |f| %>
|
||||
<div class="invi_search">
|
||||
<input hidden="hidden" value="true" name="flag">
|
||||
<input id="principal_search" class="invi_search_input fl" type="text" placeholder="请输入用户名称来搜索好友">
|
||||
<input id="principal_search" class="invi_search_input fl" type="text" placeholder=<%= l(:label_invite_trustie_user_tips) %>>
|
||||
<%= javascript_tag "observeSearchfield('principal_search', null, '#{ escape_javascript autocomplete_project_memberships_path(@project, :format => 'js',:flag => true) }')" %>
|
||||
<div class="cl"></div>
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
:method => :post} do |f| %>
|
||||
|
||||
<fieldset class="box">
|
||||
<legend><%= l(:text_select_project_modules) %></legend>
|
||||
<legend><%= l(:text_select_project_modules) %>:</legend>
|
||||
|
||||
<% Redmine::AccessControl.available_project_modules.each do |m| %>
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
<%= link_to_user(e.user)%>
|
||||
|
||||
<%= l(:label_project_new) %>
|
||||
<%= l(:label_active_create_project) %>:
|
||||
<%= link_to e.project.name %>
|
||||
<strong> !</strong>
|
||||
</td>
|
||||
|
@ -93,7 +93,7 @@
|
|||
<%= link_to(h(e.user), user_path(e.user_id)) %>
|
||||
<%= l(:label_new_activity) %>
|
||||
</span>
|
||||
<%= link_to(l(:label_activity_project)+act.issue.project.name, project_path(act.issue.project.id)) %>
|
||||
<%= link_to(l(:label_activity_project)+":"+act.issue.project.name, project_path(act.issue.project.id)) %>
|
||||
<%= link_to format_activity_title("#{act.issue.tracker} ##{act.issue.project_issues_index}: #{act.issue.subject}"),
|
||||
{:controller => 'issues', :action => 'show', :id => act.issue.id, :anchor => "change-#{act.id}"} %>
|
||||
<div class="activity_description info-break" style="font-size: 13px;width: 100%;word-break: break-all;word-wrap: break-word;">
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<%= call_hook(:view_repositories_show_contextual, { :repository => @repository, :project => @project }) %>
|
||||
<div class="project_r_h">
|
||||
<h2 class="project_h2">版本库</h2>
|
||||
<h2 class="project_h2"><%=l(:project_module_repository)%></h2>
|
||||
</div>
|
||||
<div class="contextual" style="padding-right: 10px;">
|
||||
<%= render :partial => 'navigation' %>
|
||||
|
@ -18,7 +18,7 @@
|
|||
<% end %>
|
||||
</div>
|
||||
<p style=" word-wrap: break-word; word-break: break-all">
|
||||
(<%= l(:label_all_revisions) %><%= @repositories.sort.collect {|repo|
|
||||
(<%= l(:label_all_revisions) %>:<%= @repositories.sort.collect {|repo|
|
||||
link_to h(repo.name),
|
||||
{:controller => 'repositories', :action => 'show',
|
||||
:id => @project, :repository_id => repo.identifier_param, :rev => nil, :path => nil},
|
||||
|
|
|
@ -24,19 +24,19 @@
|
|||
|
||||
<%= file.description %>
|
||||
<div class="c9 gray-color">
|
||||
<%= l('attachment.category')%>
|
||||
<%= l('attachment.category')%>:
|
||||
<%=result_come_from file%>
|
||||
</div>
|
||||
<span class="gray blue-color">
|
||||
<%= l('attachment.download_num')%>
|
||||
<%= l('attachment.download_num')%>:
|
||||
<%= file.downloads%>|
|
||||
<%= l('attachment.size')%>
|
||||
<%= l('attachment.size')%>:
|
||||
<%= number_to_human_size(file.filesize) %>|
|
||||
<%= l('attachment.sharer')%>
|
||||
<%= l('attachment.sharer')%>:
|
||||
<a class="gray" >
|
||||
<%= link_to file.author, user_path(file.author), target: "_blank" unless file.author.blank? %>
|
||||
</a>|
|
||||
<%= l('attachment.upload_time')%>
|
||||
<%= l('attachment.upload_time')%>:
|
||||
<%= format_time(file.created_on) %>
|
||||
</span>
|
||||
<div style="display: none"></div>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<hr />
|
||||
<% issues_results.each do |issue| %>
|
||||
<p class="font_description2">
|
||||
<strong><%= l(:label_tags_issue) %><%= link_to "#{issue.subject}",:controller => "issues",:action => "show",:id => issue.id %></strong>
|
||||
<strong><%= l(:label_tags_issue) %>:<%= link_to "#{issue.subject}",:controller => "issues",:action => "show",:id => issue.id %></strong>
|
||||
<br />
|
||||
<strong><%= l(:label_tags_issue_description) %>:</strong><%= textilizable issue.description %>
|
||||
</p>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<% projects_results.each do |prj| %>
|
||||
<div>
|
||||
<p class="font_description2">
|
||||
<strong><%= l(:label_tags_project_name) %><%= link_to "#{prj.name}",:controller => "open_source_projects",:action => "show",:id => prj.id %></strong>
|
||||
<strong><%= l(:label_tags_project_name) %>:<%= link_to "#{prj.name}",:controller => "open_source_projects",:action => "show",:id => prj.id %></strong>
|
||||
<br />
|
||||
<strong><%= l(:label_tags_project_description) %></strong><%= textilizable prj.short_description %>
|
||||
</p>
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
:class => "yellowBtn f_l",
|
||||
:onclick=>"$('#add_tag_#{obj.id}').slideToggle();" if User.current.logged? %> <!-- $('#put-tag-form-#{obj.class}-#{obj.id}').toggle(); readmore(this); -->
|
||||
|
||||
<%= form_for "tag_for_save",:remote=>true,:url => save_tag_path,
|
||||
:update => "tags_show",
|
||||
:complete => '$("#put-tag-form").hide();' do |f| %>
|
||||
<span id="add_tag_<%= obj.id %>" style="display:none; vertical-align: middle;" class="ml10 f_l">
|
||||
<%= f.text_field :name ,:id => "tags_name_#{obj.id}",:size=>"28",:require=>true,:maxlength => Setting.tags_max_length,:minlength=>Setting.tags_min_length,:class => "isTxt w90 f_l" %>
|
||||
<%= f.text_field :object_id,:value=> obj.id,:style=>"display:none"%>
|
||||
<%= f.text_field :object_flag,:value=> object_flag,:style=>"display:none"%>
|
||||
<%= f.submit "",:class => "submit f_l" %>
|
||||
</span>
|
||||
<% end %>
|
||||
<%= form_for "tag_for_save",:remote=>true,:url => save_tag_path,
|
||||
:update => "tags_show",
|
||||
:complete => '$("#put-tag-form").hide();' do |f| %>
|
||||
<span id="add_tag_<%= obj.id %>" style="display:none; vertical-align: middle;" class="ml10 f_l">
|
||||
<%= f.text_field :name ,:id => "tags_name_#{obj.id}",:size=>"28",:require=>true,:maxlength => Setting.tags_max_length,:minlength=>Setting.tags_min_length,:class => "isTxt w90 f_l" %>
|
||||
<%= f.text_field :object_id,:value=> obj.id,:style=>"display:none"%>
|
||||
<%= f.text_field :object_flag,:value=> object_flag,:style=>"display:none"%>
|
||||
<%= f.submit "",:class => "submit f_l" %>
|
||||
</span>
|
||||
<% end %>
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<div>
|
||||
<h3><strong><%= l(:label_tags_search_result) %></strong></h3>
|
||||
<div align="right">
|
||||
<%= l(:label_tags_numbers) %>
|
||||
<%= l(:label_tags_numbers) %>:
|
||||
<%= l(:label_issue_plural) %>(<%= @issues_tags_num %>) |
|
||||
<%= l(:label_project_plural) %>(<%= @projects_tags_num %>) |
|
||||
<%= l(:label_user_plural) %>(<%= @users_tags_num %>) |
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<% content_for :content do %>
|
||||
<h3 style="color: red;"><%= l(:label_tags_count) %><%= @tags.size %>个</h3>
|
||||
<h3 style="color: red;"><%= l(:label_tags_count) %>:<%= @tags.size %>个</h3>
|
||||
<hr />
|
||||
<% i = 0 %>
|
||||
<div id="show_all_tags">
|
||||
|
|
|
@ -6,20 +6,16 @@ $('#tags_show_issue').html('<%= escape_javascript(render :partial => 'tags/tag_n
|
|||
$('#name-issue').val("");
|
||||
<% elsif @obj_flag == '6'%>
|
||||
$("#tags_show-<%=@obj.class%>-<%=@obj.id%>").empty();
|
||||
$("#tags_show-<%=@obj.class%>-<%=@obj.id%>").html('<%= escape_javascript(render :partial => 'tags/tag_name',
|
||||
$("#tags_show-<%=@obj.class%>-<%=@obj.id%>").html('<%= escape_javascript(render :partial => 'tags/course_attachment_tag_name',
|
||||
:locals => {:obj => @obj,:non_list_all => false,:object_flag => @obj_flag}) %>');
|
||||
//$("#put-tag-form-<%#=@obj.class%>-<%#=@obj.id%>").hide();
|
||||
$("#put-tag-form-<%=@obj.class%>-<%=@obj.id%> #name").val("");
|
||||
$("#tags_name_<%=@obj.id%>").val("");
|
||||
$("#add_tag_<%=@obj.id%>").hide();
|
||||
<% elsif @obj_flag == '9'%>
|
||||
$('#tags_show').html('<%= escape_javascript(render :partial => 'tags/new_tag_name',
|
||||
:locals => {:obj => @obj,:non_list_all => false,:object_flag => @obj_flag}) %>');
|
||||
$('#tags_name').val("");
|
||||
<% elsif @obj_flag == '10'%>
|
||||
$("#tags_show-<%=@obj.class%>-<%=@obj.id%>").empty();
|
||||
$("#tags_show-<%=@obj.class%>-<%=@obj.id%>").html('<%= escape_javascript(render :partial => 'tags/course_attachment_tag_name',
|
||||
:locals => {:obj => @obj,:non_list_all => false,:object_flag => @obj_flag}) %>');
|
||||
//$("#put-tag-form-<%#=@obj.class%>-<%#=@obj.id%>").hide();
|
||||
$("#tags_name_<%=@obj.id%>").val("");
|
||||
<% else%>
|
||||
$('#tags_show').html('<%= escape_javascript(render :partial => 'tags/tag_name',
|
||||
:locals => {:obj => @obj,:non_list_all => false,:object_flag => @obj_flag}) %>');
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
<%# memberships = user.memberships.all(:conditions => cond) %>
|
||||
<% user_courses = user_courses_list(user) %>
|
||||
<%= l(:label_x_course_contribute_to, :count => user_courses.count) %>
|
||||
<%= ":" unless user_courses.empty? %>
|
||||
<% for course in user_courses %>
|
||||
<%# if course.name != nil %>
|
||||
<%= link_to course.name,{:controller => 'courses',:action => 'show',id:course.id, host: Setting.course_domain} %><%= (user_courses.last == course) ? '' : ',' %>
|
||||
|
|
|
@ -97,13 +97,14 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" width="580">
|
||||
<td colspan="2" width="580" class="upload_img">
|
||||
<p class="font_description">
|
||||
<%= textAreailizable act.notes %>
|
||||
</p>
|
||||
<div style="display: inline-block; float: right; margin-top: 0px">
|
||||
<span>
|
||||
<%= link_to(l(:label_goto), user_newfeedback_user_path(e.user_id)) %>
|
||||
<% puts 11111111111111%>
|
||||
<%= user_jour_feed_back_url e %>
|
||||
</span>
|
||||
</div>
|
||||
</td>
|
||||
|
@ -167,7 +168,7 @@
|
|||
<% end %>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" width="580">
|
||||
<td colspan="2" width="580" class="upload_img">
|
||||
<p class="font_description">
|
||||
<%=textAreailizable act, :description %>
|
||||
</p></td>
|
||||
|
@ -201,7 +202,7 @@
|
|||
<%= l(:label_i_new_activity) %>
|
||||
</span>
|
||||
|
||||
<%= link_to(l(:label_activity_project)+act.issue.project.name, project_path(act.issue.project.id)) %>
|
||||
<%= link_to(l(:label_activity_project)+":"+act.issue.project.name, project_path(act.issue.project.id)) %>
|
||||
<%= link_to format_activity_title("#{act.issue.tracker} ##{act.issue.id}: #{act.issue.subject}"),
|
||||
{:controller => 'issues', :action => 'show', :id => act.issue.id, :anchor => "change-#{act.id}"} %>
|
||||
</td>
|
||||
|
@ -215,7 +216,7 @@
|
|||
<%= l(:label_new_activity) %>
|
||||
</span>
|
||||
|
||||
<%= link_to(l(:label_activity_project)+act.issue.project.name, project_path(act.issue.project.id)) %>
|
||||
<%= link_to(l(:label_activity_project)+":"+act.issue.project.name, project_path(act.issue.project.id)) %>
|
||||
<%= link_to format_activity_title("#{act.issue.tracker} ##{act.issue.id}: #{act.issue.subject}"),
|
||||
{:controller => 'issues', :action => 'show', :id => act.issue.id, :anchor => "change-#{act.id}"} %>
|
||||
</td>
|
||||
|
@ -227,7 +228,7 @@
|
|||
<% else %>
|
||||
<% desStr= textAreailizable(act, :notes) %>
|
||||
<% end %>
|
||||
<td colspan="2" width="580">
|
||||
<td colspan="2" width="580" class="upload_img">
|
||||
<p class="font_description">
|
||||
<%= desStr %>
|
||||
</p>
|
||||
|
@ -282,7 +283,7 @@
|
|||
<% end %>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" width="580">
|
||||
<td colspan="2" width="580" class="upload_img">
|
||||
<p class="font_description">
|
||||
<%= textAreailizable act,:long_comments %>
|
||||
</p>
|
||||
|
@ -344,7 +345,7 @@
|
|||
<% end %>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" width="580">
|
||||
<td colspan="2" width="580" class="upload_img">
|
||||
<p class="font_description">
|
||||
<%= textAreailizable(act,:content) %>
|
||||
</p>
|
||||
|
@ -385,7 +386,7 @@
|
|||
<% end %>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" width="580">
|
||||
<td colspan="2" width="580" class="upload_img">
|
||||
<p class="font_description"></p>
|
||||
</td>
|
||||
</tr>
|
||||
|
@ -428,7 +429,7 @@
|
|||
<% end %>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" width="580">
|
||||
<td colspan="2" width="580" class="upload_img">
|
||||
<p class="font_description">
|
||||
<%= textAreailizable act,:description %>
|
||||
</p>
|
||||
|
@ -559,7 +560,7 @@
|
|||
<% end %>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" width="580">
|
||||
<td colspan="2" width="580" class="upload_img">
|
||||
<p class="font_description">
|
||||
<%= textAreailizable act, :description %>
|
||||
</p>
|
||||
|
@ -633,7 +634,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" width="580">
|
||||
<td colspan="2" width="580" class="upload_img">
|
||||
<p class="font_description">
|
||||
<%= textAreailizable e.notes %>
|
||||
</p>
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
<p class="font_description">
|
||||
<% user_courses = user_courses_list(user) %>
|
||||
<%= l(:label_x_course_contribute_to, :count => user_courses.count) %>
|
||||
<%= ":" unless user_courses.empty? %>
|
||||
<% for course in user_courses %>
|
||||
<%= link_to course.name,{:controller => 'courses',:action => 'show',id:course.id, host: Setting.course_domain} %><%= (user_courses.last == course) ? '' : ',' %>
|
||||
<% end %>
|
||||
|
|
|
@ -277,11 +277,11 @@
|
|||
<%= "#{l(:label_updated_time, value: time_tag_welcome(topic_last_time topic))}".html_safe %>
|
||||
</span>
|
||||
<span class="memo_author">
|
||||
<%=l(:label_question_sponsor)%>: <%= link_to topic.author.login.truncate(10, omission: '...'),user_path(topic.author),title: topic.author.login %>
|
||||
<%=l(:label_question_sponsor)%> <%= link_to topic.author.login.truncate(10, omission: '...'),user_path(topic.author),title: topic.author.login %>
|
||||
</span>
|
||||
<span class="memo_last_person">
|
||||
<% unless (topic.last_reply.nil? || topic.last_reply.author.nil?) %>
|
||||
<%=l(:label_final_reply)%>:
|
||||
<%=l(:label_final_reply)%>
|
||||
<%=link_to topic.last_reply.author.login.truncate(10, omission: '...'),user_path(topic.last_reply.author),title: topic.last_reply.author.login%>
|
||||
<% end %>
|
||||
</span>
|
||||
|
|
|
@ -203,12 +203,12 @@
|
|||
<%= "#{l(:label_updated_time, value: time_tag_welcome(topic_last_time topic))}".html_safe %>
|
||||
</span>
|
||||
<span class="memo_author" title="<%= topic.author.login%>">
|
||||
<%= l(:label_question_sponsor)%>:
|
||||
<%= l(:label_question_sponsor)%>
|
||||
<%= link_to topic.author.login.truncate(10, omission: '...'),user_path(topic.author),title: topic.author.login %>
|
||||
</span>
|
||||
<span class="memo_last_person" title="<%= topic.last_reply.author.login unless (topic.last_reply.nil? || topic.last_reply.author.nil?)%>">
|
||||
<% unless (topic.last_reply.nil? || topic.last_reply.author.nil?) %>
|
||||
<%= l(:label_final_reply)%>:
|
||||
<%= l(:label_final_reply)%>
|
||||
<%=link_to topic.last_reply.author.login.truncate(10, omission: '...'),user_path(topic.last_reply.author),title: topic.last_reply.author.login%>
|
||||
<% end %>
|
||||
</span>
|
||||
|
|
|
@ -44,7 +44,11 @@
|
|||
<div class="welcome_left" id="welcome_left">
|
||||
<% if @organization.nil? %>
|
||||
<% unless @first_page.nil? %>
|
||||
<%= @first_page.description.html_safe %>
|
||||
<!-- 改为国际化后无法通过后台配置
|
||||
<%= @first_page.description.html_safe %>
|
||||
-->
|
||||
<span class="font_welcome_trustie"><%= l(:label_welcome_trustie_project)%></span>,
|
||||
<span class="font_welcome_tdescription"><span class="font_welcome_tdescription"><%= l(:label_welcome_trustie_project_description)%></span></span>
|
||||
<% end %>
|
||||
<% else %>
|
||||
<span class="font_welcome_school" style="color: #E8770D">
|
||||
|
@ -132,12 +136,12 @@
|
|||
<%= format_time topic_last_time topic %>
|
||||
</span>
|
||||
<span class="memo_author">
|
||||
<%= l(:label_question_sponsor)%>:
|
||||
<%= l(:label_question_sponsor)%>
|
||||
<%= link_to topic.author.login.truncate(10, omission: '...'),user_path(topic.author),title: topic.author.login %>
|
||||
</span>
|
||||
<span class="memo_last_person">
|
||||
<% unless (topic.last_reply.nil? || topic.last_reply.author.nil?) %>
|
||||
<%= l(:label_final_reply)%>:
|
||||
<%= l(:label_final_reply)%>
|
||||
<%=link_to topic.last_reply.author.login.truncate(10, omission: '...'),user_path(topic.last_reply.author),title: topic.last_reply.author.login%>
|
||||
<% end %>
|
||||
</span>
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
Delayed::Worker.destroy_failed_jobs = false
|
||||
Delayed::Worker.sleep_delay = 10
|
||||
Delayed::Worker.max_attempts = 1
|
||||
Delayed::Worker.max_run_time = 5.minutes
|
||||
Delayed::Worker.read_ahead = 10
|
||||
Delayed::Worker.default_queue_name = 'default'
|
||||
Delayed::Worker.delay_jobs = !Rails.env.test?
|
||||
Delayed::Worker.raise_signal_exceptions = :term
|
||||
Delayed::Worker.logger = Logger.new(File.join(Rails.root, 'log', 'delayed_job.log'))
|
|
@ -176,16 +176,23 @@ en:
|
|||
|
||||
label_loading: Loading...
|
||||
|
||||
label_create_time: Created time
|
||||
label_update_time: Update time
|
||||
label_create_time: Created at
|
||||
label_update_time: Update at
|
||||
|
||||
label_reply: Reply
|
||||
|
||||
label_field_correct: correct input
|
||||
label_title_blank: Title cannot be blank!
|
||||
label_title_long: The title should be less than 60 characters
|
||||
label_descripition_blank: Description cannot be blank!
|
||||
label_subject_empty: Subject cannot be blank!
|
||||
|
||||
|
||||
label_anonymous: Anonymous #作业和留言 模块
|
||||
|
||||
text_are_you_sure: Are you sure? #js 提示
|
||||
text_are_you_sure_out: 你确定要退出该课程吗?
|
||||
text_are_you_sure_out_group: 你确定要退出该分班吗?
|
||||
text_are_you_sure_out: Are you sure to quit from this course?
|
||||
text_are_you_sure_out_group: Are you sure to quit from this group?
|
||||
|
||||
|
||||
|
||||
|
@ -213,17 +220,22 @@ en:
|
|||
button_unfollow: Unfollow
|
||||
button_follow: Follow
|
||||
button_browse: Browse
|
||||
|
||||
|
||||
button_create: Create
|
||||
label_preview: Preview
|
||||
button_update: Update
|
||||
button_copy: Copy
|
||||
button_check_all: Check all
|
||||
button_uncheck_all: Uncheck all
|
||||
|
||||
#
|
||||
# Trustie上传头像模块
|
||||
#
|
||||
#
|
||||
#
|
||||
button_upload_photo: Upload photo
|
||||
button_delete_file: delete
|
||||
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:"
|
||||
button_delete_file: Delete
|
||||
error_attachment_too_big: "Cannot be uploaded when exceeding (%{max_size})"
|
||||
error_pic_type: "Only supports the following image formats: "
|
||||
|
||||
|
||||
#
|
||||
|
@ -236,47 +248,47 @@ en:
|
|||
label_more_tags: More
|
||||
label_add_tag: "+ Add tags"
|
||||
|
||||
label_tags_count: "The total number of tags:"
|
||||
label_tags_count: "Total number of tags"
|
||||
|
||||
label_tags_selected: Selected Tags
|
||||
label_tags_related: Related Tags
|
||||
label_tags_search_result: Search Results
|
||||
label_tags_numbers: "Tag numbers:"
|
||||
label_tags_numbers: "Tags"
|
||||
|
||||
label_tags_call: Calls
|
||||
label_tags_contest: Competition tag
|
||||
label_tags_opensource: Open source projects
|
||||
label_tags_contest: Competitions
|
||||
label_tags_opensource: Projects
|
||||
|
||||
label_tags_all_objects: all objects
|
||||
label_tags_all_objects: All objects
|
||||
|
||||
label_tags_bid: Call name
|
||||
label_tags_bid_description: call description
|
||||
label_tags_bid: Name
|
||||
label_tags_bid_description: Description
|
||||
|
||||
label_tags_course_name: Course Title
|
||||
label_tags_course_name: Title
|
||||
label_new_course_description: Description
|
||||
|
||||
label_tags_issue: "issue:"
|
||||
label_tags_issue_description: issue description
|
||||
label_tags_issue: Issue
|
||||
label_tags_issue_description: Description
|
||||
|
||||
label_tags_project_name: "Project name:"
|
||||
label_tags_project_description: "Project description:"
|
||||
label_tags_project_name: "Project name"
|
||||
label_tags_project_description: "Description"
|
||||
|
||||
label_tags_user_mail: "User E-mail:"
|
||||
label_tags_user_name: "User Name:"
|
||||
|
||||
label_tags_contest_name: Contest name
|
||||
label_tags_contest_description: Contest description
|
||||
label_tags_contest_name: Name
|
||||
label_tags_contest_description: Description
|
||||
|
||||
label_tags_forum_description: Forum description
|
||||
label_tags_forum: Call forum
|
||||
label_tags_forum_description: Description
|
||||
label_tags_forum: Forum
|
||||
|
||||
label_attachment: Files
|
||||
attachment:
|
||||
category: "From:"
|
||||
download_num: "Downloads:"
|
||||
size: "Size:"
|
||||
sharer: "Sharer:"
|
||||
upload_time: "Upload time:"
|
||||
category: "From"
|
||||
download_num: "Downloads"
|
||||
size: "Size"
|
||||
sharer: "Sharer"
|
||||
upload_time: "Upload time"
|
||||
|
||||
|
||||
#
|
||||
|
@ -312,14 +324,18 @@ en:
|
|||
# "#{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
|
||||
|
||||
#
|
||||
# 项目托管平台主页
|
||||
#
|
||||
# 贴吧动态栏
|
||||
#
|
||||
lable_bar_active: Feedbacks
|
||||
label_my_question: Ask
|
||||
label_my_feedback: Comment
|
||||
label_updated_time: "Updated %{value} ago"
|
||||
label_question_sponsor: Sponsor
|
||||
label_final_reply: Last-reply
|
||||
label_question_sponsor: Created by
|
||||
label_final_reply: Updated by
|
||||
|
||||
|
||||
#
|
||||
|
@ -330,18 +346,31 @@ en:
|
|||
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!"
|
||||
label_feedback_success: "Your comments have been sent to the public bar in the home page, thanks for your support!"
|
||||
label_feedback_value: "The post comes from user feedback box!"
|
||||
|
||||
#
|
||||
#
|
||||
#
|
||||
# 评论
|
||||
#
|
||||
label_find_all_comments: view all comments
|
||||
label_comments_count:
|
||||
zero: "(%{count} comment)"
|
||||
one: "(%{count} comment)"
|
||||
other: "(%{count} comments)"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#
|
||||
# Trustie
|
||||
#
|
||||
# 新闻
|
||||
#
|
||||
label_news: 新闻
|
||||
|
||||
|
||||
label_news: News
|
||||
label_news_description: "Track the latest activities of projects, and obtain the latest information"
|
||||
label_news_title_tips: "(less than 60 characters)"
|
||||
#
|
||||
# Trustie
|
||||
#
|
||||
|
@ -367,9 +396,9 @@ en:
|
|||
label_log_active_record_time_percent: "AR响应时间百分比"
|
||||
views:
|
||||
pagination:
|
||||
first: "« 首页"
|
||||
last: "末页 »"
|
||||
previous: "« 上一页"
|
||||
next: "下一页 »"
|
||||
first: "« First"
|
||||
last: "Last »"
|
||||
previous: "« Previous"
|
||||
next: "Next »"
|
||||
truncate: "..."
|
||||
|
|
@ -190,6 +190,11 @@ zh:
|
|||
text_are_you_sure_out: 你确定要退出该课程吗?
|
||||
text_are_you_sure_out_group: 你确定要退出该分班吗?
|
||||
|
||||
label_field_correct: 填写正确
|
||||
label_title_blank: 标题不能为空
|
||||
label_title_long: 标题超过60个字符
|
||||
label_descripition_blank: 描述不能为空
|
||||
label_subject_empty: 主题不能为空
|
||||
|
||||
label_no_data: 没有任何数据可供显示
|
||||
# 项目、课程、用户公用
|
||||
|
@ -218,8 +223,14 @@ zh:
|
|||
button_watch: 跟踪
|
||||
button_unwatch: 取消跟踪
|
||||
button_browse: 浏览
|
||||
|
||||
|
||||
button_create: 提交
|
||||
label_preview: 预览
|
||||
button_update: 更新
|
||||
button_copy: 复制
|
||||
button_check_all: 全选
|
||||
button_uncheck_all: 清除
|
||||
|
||||
|
||||
#
|
||||
# Trustie上传头像模块
|
||||
#
|
||||
|
@ -241,12 +252,12 @@ zh:
|
|||
label_more_tags: 更多
|
||||
label_add_tag: "+ 添加标签"
|
||||
|
||||
label_tags_count: "总标签数:"
|
||||
label_tags_count: "总标签数"
|
||||
|
||||
label_tags_selected: 已选标签
|
||||
label_tags_related: 相关标签
|
||||
label_tags_search_result: 搜索结果
|
||||
label_tags_numbers: "Tag统计:"
|
||||
label_tags_numbers: "Tag统计"
|
||||
|
||||
label_issue_plural: 问题跟踪
|
||||
label_project_plural: 项目列表
|
||||
|
@ -267,11 +278,11 @@ zh:
|
|||
label_tags_course_name: 课程名称
|
||||
label_new_course_description: 课程描述
|
||||
|
||||
label_tags_issue: "问题名称:"
|
||||
label_tags_issue: "问题名称"
|
||||
label_tags_issue_description: 问题描述
|
||||
|
||||
label_tags_project_name: "项目名称:"
|
||||
label_tags_project_description: "项目描述:"
|
||||
label_tags_project_description: "项目描述"
|
||||
|
||||
label_tags_user_mail: "用户邮箱:"
|
||||
label_tags_user_name: "用户名:"
|
||||
|
@ -284,11 +295,11 @@ zh:
|
|||
|
||||
label_attachment: 文件
|
||||
attachment:
|
||||
category: "所属分类:"
|
||||
download_num: "下载:"
|
||||
size: "大小:"
|
||||
sharer: "共享者:"
|
||||
upload_time: "上传时间:"
|
||||
category: "所属分类"
|
||||
download_num: "下载"
|
||||
size: "大小"
|
||||
sharer: "共享者"
|
||||
upload_time: "上传时间"
|
||||
|
||||
#
|
||||
# 项目托管平台主页
|
||||
|
@ -352,7 +363,10 @@ zh:
|
|||
# 评论
|
||||
#
|
||||
label_find_all_comments: 查看所有评论
|
||||
label_comments_count: (%{count}条评论)
|
||||
label_comments_count:
|
||||
zero: (%{count}条评论)
|
||||
one: (%{count}条评论)
|
||||
other: (%{count}条评论)
|
||||
|
||||
#
|
||||
#
|
||||
|
@ -360,8 +374,10 @@ zh:
|
|||
# 新闻
|
||||
#
|
||||
label_news: 新闻
|
||||
label_news_description: 实时了解项目的最新动态,掌握最新项目咨询!
|
||||
label_news_title_tips: (60个字符以内)
|
||||
|
||||
|
||||
|
||||
#
|
||||
#
|
||||
#
|
||||
|
|
|
@ -126,7 +126,7 @@ en:
|
|||
field_logo_size: Logo Size
|
||||
field_start_page: Start page
|
||||
field_subproject: Subproject
|
||||
field_hours: Hours
|
||||
|
||||
field_activity: Activity
|
||||
field_spent_on: Date
|
||||
field_is_filter: Used as a filter
|
||||
|
@ -146,7 +146,7 @@ en:
|
|||
field_watcher: Watcher
|
||||
field_content: Content
|
||||
field_group_by: Group results by
|
||||
field_sharing: Sharinglable_hot_course
|
||||
|
||||
field_parent_issue: Parent task
|
||||
field_member_of_group: "Assignee's group"
|
||||
field_assigned_to_role: "Assignee's role"
|
||||
|
@ -334,7 +334,7 @@ en:
|
|||
|
||||
label_contest_modify_settings: Configuration
|
||||
bale_news_notice: Add a notification
|
||||
label_field_correct: correct input
|
||||
|
||||
label_work_description_lengthlimit: less than 500 characters
|
||||
label_create_new_projects: Create a project
|
||||
label_work_scores_people: The total number of users given scores
|
||||
|
@ -401,7 +401,7 @@ en:
|
|||
other: "%{count} projects"
|
||||
label_project_all: All Projects
|
||||
label_project_latest: Latest projects
|
||||
label_issue_new: New issue
|
||||
|
||||
label_issue_plural: Issues Tracking
|
||||
label_issue_view_all: View all issues
|
||||
label_issues_by: "Issues by %{value}"
|
||||
|
@ -524,9 +524,8 @@ en:
|
|||
label_permissions: Permissions
|
||||
label_current_status: Current status
|
||||
label_new_statuses_allowed: New statuses allowed
|
||||
label_all: all
|
||||
label_any: any
|
||||
label_none: none
|
||||
|
||||
|
||||
label_nobody: nobody
|
||||
label_next: Next
|
||||
label_previous: Previous
|
||||
|
@ -550,42 +549,8 @@ en:
|
|||
label_comment_add: Add a comment
|
||||
label_comment_added: Comment added
|
||||
label_comment_delete: Delete comments
|
||||
label_query: Custom query
|
||||
label_query_plural: Custom queries
|
||||
label_query_new: New query
|
||||
label_my_queries: My custom queries
|
||||
label_filter_add: Add filter
|
||||
label_filter_plural: Query condition
|
||||
label_equals: is
|
||||
label_not_equals: is not
|
||||
label_in_less_than: in less than
|
||||
label_in_more_than: in more than
|
||||
label_in_the_next_days: in the next
|
||||
label_in_the_past_days: in the past
|
||||
label_in_users: 'in the user '
|
||||
label_greater_or_equal: '>='
|
||||
label_less_or_equal: '<='
|
||||
label_between: between
|
||||
label_in: in
|
||||
label_today: today
|
||||
label_all_time: all time
|
||||
label_yesterday: yesterday
|
||||
label_this_week: this week
|
||||
label_last_week: last week
|
||||
label_last_n_weeks: "last %{count} weeks"
|
||||
label_last_n_days: "last %{count} days"
|
||||
label_this_month: this month
|
||||
label_last_month: last month
|
||||
label_this_year: this year
|
||||
label_date_range: Date range
|
||||
label_less_than_ago: less than days ago
|
||||
label_more_than_ago: more than days ago
|
||||
label_ago: days ago
|
||||
label_contains: contains
|
||||
label_not_contains: doesn't contain
|
||||
label_any_issues_in_project: any issues in project
|
||||
label_any_issues_not_in_project: any issues not in project
|
||||
label_no_issues_in_project: no issues in project
|
||||
|
||||
|
||||
label_day_plural: days
|
||||
label_repository: Repository
|
||||
#add by tan
|
||||
|
@ -605,10 +570,7 @@ en:
|
|||
label_copied: copied
|
||||
label_renamed: renamed
|
||||
label_deleted: deleted
|
||||
label_latest_revision: Latest revision
|
||||
label_latest_revision_plural: Latest revisions
|
||||
label_view_revisions: View revisions
|
||||
label_view_all_revisions: View all revisions
|
||||
|
||||
label_sort_highest: Move to top
|
||||
label_sort_higher: Move up
|
||||
label_sort_lower: Move down
|
||||
|
@ -626,7 +588,7 @@ en:
|
|||
label_index_by_title: Index by title
|
||||
label_index_by_date: Index by date
|
||||
label_current_version: Current version
|
||||
label_preview: Preview
|
||||
|
||||
label_feed_plural: Feeds
|
||||
label_changes_details: Details of all changes
|
||||
|
||||
|
@ -672,7 +634,7 @@ en:
|
|||
label_board_new: New forum
|
||||
label_board_plural: Forums
|
||||
label_board_locked: Locked
|
||||
label_board_sticky: Sticky
|
||||
|
||||
label_topic_plural: Topics
|
||||
field_sticky: ''
|
||||
field_locked: ''
|
||||
|
@ -689,7 +651,7 @@ en:
|
|||
label_date_from: From
|
||||
label_date_to: To
|
||||
label_language_based: Based on user's language
|
||||
label_sort_by: "Sort by %{value}"
|
||||
|
||||
label_send_test_email: Send a test email
|
||||
label_feeds_access_key: RSS access key
|
||||
label_missing_feeds_access_key: Missing a RSS access key
|
||||
|
@ -787,8 +749,7 @@ en:
|
|||
label_gantt_progress_line: Progress line
|
||||
|
||||
|
||||
button_check_all: Check all
|
||||
button_uncheck_all: Uncheck all
|
||||
|
||||
button_collapse_all: Collapse all
|
||||
button_expand_all: Expand all
|
||||
|
||||
|
@ -819,10 +780,9 @@ en:
|
|||
button_reset: Reset
|
||||
button_rename: Rename
|
||||
|
||||
button_copy: Copy
|
||||
button_copy_and_follow: Copy and follow
|
||||
button_annotate: Annotate
|
||||
button_update: Update
|
||||
|
||||
button_configure: Configure
|
||||
button_quote: Quote
|
||||
button_duplicate: Duplicate
|
||||
|
@ -1007,9 +967,6 @@ en:
|
|||
|
||||
label_delete_confirm: Confirm delete?
|
||||
|
||||
label_exit_project: Exit Project
|
||||
label_apply_project_waiting: "Application has been submitted, please wait for administrator review."
|
||||
label_unapply_project: Unsubscribe
|
||||
|
||||
#fq
|
||||
|
||||
|
@ -1065,9 +1022,8 @@ en:
|
|||
label_priority_as: Priority as
|
||||
|
||||
label_author_name: Posted by %{author_name}
|
||||
label_comments_count: (%{count} comments)
|
||||
label_post_on: posts on
|
||||
label_find_all_comments: view all comments
|
||||
|
||||
label_updated_time_on: " Updated on %{value} "
|
||||
label_call_list: Calls list
|
||||
|
||||
|
@ -1118,8 +1074,7 @@ en:
|
|||
label_create_new_projects_description: Create a new project, you will open a magical journey of collaborative creation and development!
|
||||
label_call_for_bids_description: Publish your call for anything, feel the excitement of hundreds respond to a single call!
|
||||
label_create_course_description: Create a new course, let us share the public resources in the course community which are more than you can imagine!
|
||||
label_news: News
|
||||
label_news_description: Track the latest activities of projects, and obtain the latest information!
|
||||
|
||||
label_milestone: Milestone
|
||||
label_milestone_description: Review the commits, branches and versions of your project!
|
||||
label_features: Features
|
||||
|
@ -1160,7 +1115,7 @@ en:
|
|||
label_follow_no_requirement: You don't have followed any requirements!
|
||||
|
||||
|
||||
label_all_revisions: All revisions:
|
||||
|
||||
label_repository_name: Repository name
|
||||
label_upassword_info: The password can be shared in the group
|
||||
label_how_commit_code: How to commit code:
|
||||
|
@ -1199,8 +1154,7 @@ en:
|
|||
|
||||
label_issue_query_condition: Query condition
|
||||
label_homework_source: Task
|
||||
label_issue_query: Query
|
||||
label_issue_cancel_query: Cancel query
|
||||
|
||||
field_reward_type: The type of reward
|
||||
label_bid_publish: published
|
||||
label_bid_project: projects
|
||||
|
@ -1521,7 +1475,7 @@ en:
|
|||
|
||||
|
||||
label_borad_project: Project-borad
|
||||
|
||||
label_borad_course: Course-borad
|
||||
|
||||
label_project_notice: release the notice
|
||||
|
||||
|
|
|
@ -13,9 +13,9 @@ en:
|
|||
label_location: Location
|
||||
label_identity: Identity
|
||||
# top_menu 个人相关
|
||||
label_my_course: My Course
|
||||
label_my_course: My Courses
|
||||
label_my_message: Msgs
|
||||
label_my_projects: My projectsed
|
||||
label_my_projects: My Projects
|
||||
|
||||
|
||||
#
|
||||
|
|
|
@ -11,10 +11,10 @@ en:
|
|||
label_course_practice: Courses
|
||||
label_forum_all: Forums
|
||||
label_school_all: Schools
|
||||
label_contest_innovate: Competition community
|
||||
label_contest_innovate: Competitions
|
||||
label_software_user: Users # 删除
|
||||
label_requirement_enterprise: Requirements # 删除
|
||||
label_stores_index: Resource search
|
||||
label_stores_index: Search
|
||||
label_login: Login
|
||||
|
||||
|
||||
|
@ -23,8 +23,8 @@ en:
|
|||
#
|
||||
# 主旨
|
||||
#
|
||||
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_project: Trustie online projects hosting services
|
||||
label_welcome_trustie_project_description: "Socialized research & development communities for distributed collaboration, resource sharing, code hosting and acitivity analysis."
|
||||
|
||||
|
||||
#
|
||||
|
@ -32,8 +32,8 @@ en:
|
|||
#
|
||||
# 主旨
|
||||
#
|
||||
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_course: "Trustie online course & practice hosting services"
|
||||
label_welcome_trustie_course_description: "Socialized innovative practicing communities for classroom hosting, resource sharing, collaborative homeworking and ranking."
|
||||
|
||||
|
||||
#
|
||||
|
@ -41,9 +41,8 @@ en:
|
|||
#
|
||||
# 主旨
|
||||
#
|
||||
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.
|
||||
|
||||
label_welcome_trustie_contest: "Trustie online contest hosting services"
|
||||
label_welcome_trustie_contest_description: "Socialized competition communities for contest management, demo destration and ranking."
|
||||
|
||||
#
|
||||
# Trustie平台导航
|
||||
|
@ -53,7 +52,7 @@ en:
|
|||
label_search: Search
|
||||
welcome:
|
||||
search:
|
||||
information: "Please input the keywords!" # 搜索提示信息
|
||||
information: "Please input the keywords :)" # 搜索提示信息
|
||||
select: # 下拉列表
|
||||
project: project
|
||||
course: course
|
||||
|
@ -63,17 +62,17 @@ en:
|
|||
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." # 资源搜索提示信息
|
||||
label_search_conditions_not_null: Search conditions cannot be blank
|
||||
label_resources_search_all: "Search all public resources in the website." # 资源搜索提示信息
|
||||
|
||||
#
|
||||
# Trustie平台导航
|
||||
#
|
||||
# 下方托管平台链接
|
||||
#
|
||||
label_projects_management_platform: Projects-platform
|
||||
label_courses_management_platform: Courses-platform
|
||||
label_contests_management_platform: Competitions-platform
|
||||
label_projects_management_platform: Projects
|
||||
label_courses_management_platform: Courses
|
||||
label_contests_management_platform: Competitions
|
||||
|
||||
|
||||
#
|
||||
|
@ -81,7 +80,7 @@ en:
|
|||
#
|
||||
# 各模块内导航
|
||||
#
|
||||
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_courses_community: Project hosting communities
|
||||
label_projects_community: Course & practice hosting communities
|
||||
label_contest_innovate_community: Innovative competition communities
|
||||
label_user_location: Location
|
|
@ -15,8 +15,8 @@ zh:
|
|||
label_forum_all: 公共贴吧
|
||||
label_school_all: 中国高校
|
||||
label_contest_innovate: 创新竞赛
|
||||
label_software_user: 软件创客
|
||||
label_requirement_enterprise: 软件众包
|
||||
#label_software_user: 软件创客
|
||||
#label_requirement_enterprise: 软件众包
|
||||
label_stores_index: 资源搜索
|
||||
label_login: 登录
|
||||
|
||||
|
@ -26,6 +26,7 @@ zh:
|
|||
#
|
||||
# 主旨
|
||||
#
|
||||
|
||||
label_welcome_trustie_project: Trustie在线项目托管平台
|
||||
label_welcome_trustie_project_description: "面向中国大学生与软件从业者,提供社交化的项目管理、代码托管、资源共享、合作交流。"
|
||||
|
||||
|
|
|
@ -7,7 +7,6 @@ en:
|
|||
#
|
||||
# 公共类
|
||||
#
|
||||
label_apply_project: Apply Project
|
||||
label_project_new: New project
|
||||
label_join_project: Join a project
|
||||
|
||||
|
@ -17,13 +16,13 @@ en:
|
|||
#
|
||||
# 热门项目栏
|
||||
#
|
||||
lable_hot_projects: Hot Projects
|
||||
label_private: private
|
||||
lable_hot_projects: "Hot Projects"
|
||||
label_private: "private"
|
||||
label_project_member_amount:
|
||||
one: "%{count} member"
|
||||
other: "%{count} members"
|
||||
label_project_score_tips: "Considering all activities of the project, project's score reflects the activity level of project"
|
||||
label_project_score: Score
|
||||
label_project_score_tips: "The score reflects the workload of this project"
|
||||
label_project_score: "Score"
|
||||
|
||||
|
||||
#
|
||||
|
@ -33,27 +32,30 @@ en:
|
|||
#
|
||||
label_project_id: "Projcet 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_apply_project: "+Join"
|
||||
label_button_following: "+Follow"
|
||||
|
||||
label_exit_project: "Exit"
|
||||
label_apply_project_waiting: "Application is sent, please wait for the response of the administrator."
|
||||
label_unapply_project: "Cancel the application"
|
||||
lable_sure_exit_project: "Are you sure exit from the projcet"
|
||||
|
||||
label_member: Members
|
||||
project_module_attachments: Resources
|
||||
label_member: "Members"
|
||||
project_module_attachments: "Resources"
|
||||
|
||||
label_invite: Invitation
|
||||
label_invite_new_user: "Send e-mail to invite new user"
|
||||
label_invite_new_user: "Send email to invite new user"
|
||||
label_invite_trustie_user: "Invite the Trustie registered user"
|
||||
|
||||
label_issue_tracking: Issues
|
||||
label_release_issue: New Issue
|
||||
label_issue_tracking: "Issues"
|
||||
label_release_issue: "New Issue"
|
||||
|
||||
project_module_boards: Forums
|
||||
project_module_boards_post: New Post
|
||||
project_module_files: Resources
|
||||
label_upload_files: New File
|
||||
project_module_repository: Repository
|
||||
project_module_create_repository: New Repository
|
||||
project_module_boards: "Forums"
|
||||
project_module_boards_post: "New Post"
|
||||
project_module_files: "Resources"
|
||||
label_upload_files: "New Resource"
|
||||
project_module_repository: "Repositories"
|
||||
project_module_create_repository: "New Repository"
|
||||
|
||||
label_project_more: More
|
||||
project_module_news: News
|
||||
|
@ -66,14 +68,14 @@ en:
|
|||
label_project_tool_response: Feedback
|
||||
project_module_dts: DTS Test Tool
|
||||
|
||||
label_project_overview: "Profile:"
|
||||
label_expend_information: More Information
|
||||
label_project_overview: "Description:"
|
||||
label_expend_information: More
|
||||
|
||||
|
||||
#
|
||||
# 项目托管平台
|
||||
#
|
||||
# 项目成员
|
||||
# 项目成员列表
|
||||
#
|
||||
label_member_list: Members
|
||||
|
||||
|
@ -92,8 +94,8 @@ en:
|
|||
#
|
||||
label_followers: Followers
|
||||
label_contribute_to:
|
||||
one: "Participates %{count} project—"
|
||||
other: "Participates %{count} projects—"
|
||||
one: "Participates %{count} project"
|
||||
other: "Participates %{count} projects"
|
||||
|
||||
|
||||
#
|
||||
|
@ -106,20 +108,21 @@ en:
|
|||
# 资源库(附件)公用
|
||||
label_relation_files: Select an existing resource
|
||||
label_search_by_keyword: "Search by keywords"
|
||||
label_files_filter: "Filter Files:"
|
||||
label_files_filter: Filter
|
||||
|
||||
attachment_all: "All"
|
||||
attachment_browse: "By Attachment Content "
|
||||
attachment_sufix_browse: "By Attachment Type "
|
||||
attachment_all: All
|
||||
attachment_browse: By Content
|
||||
attachment_sufix_browse: By Type
|
||||
label_unknow_type: Unknow type
|
||||
|
||||
field_filename: File
|
||||
field_filesize: Size
|
||||
field_filecontenttype: Content
|
||||
field_filetype: File Typ
|
||||
field_filetype: File Type
|
||||
field_downloads: Downloads
|
||||
field_file_dense: Dense
|
||||
|
||||
field_file_dense: Scope
|
||||
label_sort_by: "Sort by %{value}"
|
||||
|
||||
# 资源库(附件)公用 > 上传文件
|
||||
label_attachment_new: New file
|
||||
field_version: Version
|
||||
|
@ -130,19 +133,65 @@ en:
|
|||
label_max_size: Maximum size
|
||||
|
||||
label_optional_description: Description
|
||||
label_file_count: "files were uploaded successfully"
|
||||
label_file_count: "Uploaded successfully"
|
||||
|
||||
#
|
||||
# 项目托管平台
|
||||
#
|
||||
# 问题跟踪
|
||||
label_issues_sum: 'Total'
|
||||
lable_issues_undo: 'Unresolved:'
|
||||
label_issues_sum: "Total"
|
||||
lable_issues_undo: "Unresolved"
|
||||
label_successful_create: Successfully created
|
||||
|
||||
|
||||
#
|
||||
label_query: Custom query
|
||||
label_issue_new: New issue
|
||||
|
||||
# 自定义查询
|
||||
label_query_plural: Custom queries
|
||||
label_query_new: New query
|
||||
label_my_queries: My custom queries
|
||||
label_filter_plural: Query condition
|
||||
label_filter_add: Add filter
|
||||
|
||||
label_contains: contains
|
||||
label_not_contains: doesn't contain
|
||||
label_any: any
|
||||
label_none: none
|
||||
label_all: all
|
||||
|
||||
label_equals: is
|
||||
label_not_equals: is not
|
||||
label_in_less_than: in less than
|
||||
label_in_more_than: in more than
|
||||
label_in_the_next_days: in the next
|
||||
label_in_the_past_days: in the past
|
||||
label_in_users: 'in the user '
|
||||
label_greater_or_equal: '>='
|
||||
label_less_or_equal: '<='
|
||||
label_between: between
|
||||
label_in: in
|
||||
label_today: today
|
||||
label_all_time: all time
|
||||
label_yesterday: yesterday
|
||||
label_this_week: this week
|
||||
label_last_week: last week
|
||||
label_last_n_weeks: "last %{count} weeks"
|
||||
label_last_n_days: "last %{count} days"
|
||||
label_this_month: this month
|
||||
label_last_month: last month
|
||||
label_this_year: this year
|
||||
label_date_range: Date range
|
||||
label_less_than_ago: less than days ago
|
||||
label_more_than_ago: more than days ago
|
||||
label_ago: days ago
|
||||
label_contains: contains
|
||||
label_not_contains: doesn't contain
|
||||
label_any_issues_in_project: any issues in project
|
||||
label_any_issues_not_in_project: any issues not in project
|
||||
label_no_issues_in_project: no issues in project
|
||||
|
||||
|
||||
label_issue_query: Query
|
||||
label_issue_cancel_query: Cancel query
|
||||
|
||||
# 问题优先级
|
||||
default_priority_low: Low
|
||||
|
@ -150,7 +199,7 @@ en:
|
|||
default_priority_high: High
|
||||
default_priority_urgent: Urgent
|
||||
default_priority_immediate: Immediate
|
||||
|
||||
field_hours: Hours
|
||||
|
||||
#
|
||||
# 项目托管平台
|
||||
|
@ -158,12 +207,22 @@ en:
|
|||
# 项目讨论区
|
||||
#
|
||||
|
||||
label_project_board_count:
|
||||
zero: Displaying Topic(%{count} total)
|
||||
one: Displaying Topic(%{count} total)
|
||||
other: Displaying Topics(%{count} total)
|
||||
label_board_sticky: Sticky
|
||||
label_post_by: "Started by "
|
||||
label_post_by_time: "on "
|
||||
label_short_reply: "RE:"
|
||||
|
||||
|
||||
#
|
||||
# 项目托管平台
|
||||
#
|
||||
# 资源库
|
||||
# 动态
|
||||
#
|
||||
label_active_create_project: "created project"
|
||||
|
||||
|
||||
#
|
||||
|
@ -171,45 +230,53 @@ en:
|
|||
#
|
||||
# 版本库
|
||||
#
|
||||
|
||||
label_all_revisions: "All revisions"
|
||||
label_latest_revision: Latest revision
|
||||
label_latest_revision_plural: Latest revisions
|
||||
label_view_revisions: View revisions
|
||||
label_view_all_revisions: View all revisions
|
||||
|
||||
#
|
||||
# 项目托管平台
|
||||
#
|
||||
# 项目配置
|
||||
#
|
||||
label_module_plural: Modules
|
||||
label_version_plural: Versions
|
||||
label_issue_category_plural: Issue categories
|
||||
label_repository_plural: Repositories
|
||||
enumeration_activities: Activities
|
||||
|
||||
text_select_project_modules: "Select modules to enable for this project:"
|
||||
label_module_plural: Tool
|
||||
label_version_plural: Version
|
||||
label_issue_category_plural: Issue type
|
||||
label_repository_plural: Repository
|
||||
enumeration_activities: Activity type
|
||||
|
||||
# 项目工具
|
||||
text_select_project_modules: "Select tools to enable for this project"
|
||||
project_module_issue_tracking: Issue tracking
|
||||
project_module_time_tracking: Time tracking
|
||||
project_module_course: 课程
|
||||
#project_module_course: 课程
|
||||
project_module_boards: Forums
|
||||
|
||||
# 项目成员
|
||||
label_approve: Approve
|
||||
label_refusal: Refusal
|
||||
|
||||
|
||||
#
|
||||
# 项目托管平台
|
||||
#
|
||||
# 邀请
|
||||
#
|
||||
label_invite_new_user: "Send email to invite users"
|
||||
label_invite_join: Invite
|
||||
label_invite_email_tips: Enter the email address, Trustie will automatically register a user for the email address!
|
||||
notice_registed_error: Email address is blank or has been registered!
|
||||
label_input_email_blank: Email address is blank!
|
||||
label_email_format_error: Email format is incorrect!
|
||||
label_send_email: Send
|
||||
label_input_email: Please input email address
|
||||
|
||||
label_invite_trustie_user: "Invite Trustie registered users"
|
||||
label_invite_join: "Invite"
|
||||
label_invite_email_tips: "Enter the email address, Trustie will send invitation mail to the user!"
|
||||
notice_registed_error: "Email address is blank or has been registered!"
|
||||
label_input_email_blank: "Email address is blank!"
|
||||
label_email_format_error: "Email format is incorrect!"
|
||||
label_send_email: "Send"
|
||||
label_input_email: "Please input email address"
|
||||
|
||||
label_invite_trustie_user_tips: "Type to find users"
|
||||
label_user_role_null: User and Role can not be blank!
|
||||
label_user_role_null: "User and Role can not be blank!"
|
||||
label_invite_project: "invites you to join the project"
|
||||
label_invite_success: Successful invitation
|
||||
label_invite_members: Invite
|
||||
label_invite_success: "Invitation is successfully sent out!"
|
||||
label_invite_members: "Invite"
|
||||
|
||||
|
||||
#
|
||||
|
@ -217,18 +284,18 @@ en:
|
|||
#
|
||||
# 新建项目/项目配置 >信息
|
||||
#
|
||||
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
|
||||
label_project_new_description: "A project is used for distributed collaboration."
|
||||
field_name: "Name"
|
||||
field_description: "Description"
|
||||
#field_identifier: Identifier
|
||||
field_enterprise_name: "Organization"
|
||||
label_organization_choose: "- Please select an organization -"
|
||||
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.<br />Once saved, the identifier cannot be changed."
|
||||
|
||||
field_is_public: Public
|
||||
field_hidden_repo: code protected
|
||||
button_create: Create
|
||||
field_is_public: "Public"
|
||||
field_hidden_repo: "Private repository"
|
||||
|
||||
|
||||
|
||||
#
|
||||
|
@ -239,33 +306,40 @@ en:
|
|||
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!"
|
||||
description: "Input the project ID, then you can quickly apply to join the project. Private projects can only join by this way!"
|
||||
id:
|
||||
label: "Project ID:"
|
||||
tips: "Project ID is the number within project URL"
|
||||
tips: "Project ID is the unique number for each project"
|
||||
tips:
|
||||
notexist: The project does not exist
|
||||
repeat: Please do not apply to join the project again
|
||||
success: Application successfully
|
||||
has: You has joined in the project
|
||||
fail: Application failure
|
||||
|
||||
|
||||
#
|
||||
# 项目托管平台
|
||||
#
|
||||
# 项目得分
|
||||
#
|
||||
label_projects_score: Project Total Score
|
||||
label_projects_score: "Total Score"
|
||||
|
||||
label_issue_score: Issue Score
|
||||
label_issue_number: issues
|
||||
label_issue_journal_number: messages of issue
|
||||
label_issue_score: "Issue Score"
|
||||
label_issue_number: "issues"
|
||||
label_issue_journal_number: "messages of issue"
|
||||
|
||||
label_news_score: News Score
|
||||
label_new_number: news
|
||||
label_news_score: "News Score"
|
||||
label_new_number: "news"
|
||||
|
||||
label_file_score: Document Scores
|
||||
label_file_number: documents
|
||||
label_file_score: "Document Score"
|
||||
label_file_number: "documents"
|
||||
|
||||
label_code_submit_score: Code Commit Score
|
||||
label_code_submit_number: commit code frequency
|
||||
label_code_submit_score: "Code Commit Score"
|
||||
label_code_submit_number: "commit code frequency"
|
||||
|
||||
label_topic_score: Forum Score
|
||||
label_topic_number: posts
|
||||
label_topic_score: "Forum Score"
|
||||
label_topic_number: "posts"
|
||||
|
||||
|
||||
|
||||
|
@ -273,7 +347,7 @@ en:
|
|||
#
|
||||
# 项目托管平台
|
||||
#
|
||||
# 项目得分
|
||||
# 项目配置
|
||||
#
|
||||
label_approve: Approve
|
||||
label_refusal: Refusal
|
||||
field_sharing: Sharinglable
|
||||
label_title_code_review: Review
|
||||
|
|
|
@ -52,7 +52,7 @@ zh:
|
|||
|
||||
|
||||
project_module_boards: 讨论区
|
||||
project_module_boards_post: 发帖
|
||||
project_module_boards_post: 发布新帖
|
||||
project_module_files: 资源库
|
||||
project_module_repository: 版本库
|
||||
project_module_create_repository: 创建版本库
|
||||
|
@ -75,7 +75,7 @@ zh:
|
|||
#
|
||||
# 项目托管平台
|
||||
#
|
||||
# 项目成员
|
||||
# 项目成员列表
|
||||
#
|
||||
label_member_list: 成员列表
|
||||
|
||||
|
@ -120,12 +120,13 @@ zh:
|
|||
field_filetype: 文件格式
|
||||
field_file_dense: 是否公开
|
||||
field_downloads: 下载次数
|
||||
label_sort_by: "根据 %{value} 排序"
|
||||
|
||||
attachment_sufix_browse: "文件类型"
|
||||
attachment_browse: "内容类型"
|
||||
attachment_all: "全部"
|
||||
label_unknow_type: 未知类型
|
||||
|
||||
|
||||
# 资源库(附件)公用 > 上传文件
|
||||
label_attachment_new: 新建文件
|
||||
field_version: 版本
|
||||
|
@ -139,22 +140,116 @@ zh:
|
|||
label_file_count: "个文件已上传"
|
||||
|
||||
text_are_you_sure_all: 您确定要删除所有文件吗
|
||||
|
||||
|
||||
#
|
||||
# 项目托管平台
|
||||
#
|
||||
# 问题跟踪
|
||||
#
|
||||
label_successful_create: 创建成功
|
||||
label_issues_sum: '问题总数'
|
||||
lable_issues_undo: '未解决:'
|
||||
|
||||
#
|
||||
label_issue_new: 新建问题
|
||||
label_query: 自定义查询
|
||||
|
||||
# 自定义查询
|
||||
label_query_plural: 自定义查询
|
||||
label_query_new: 新建查询
|
||||
label_filter_plural: 查询条件
|
||||
label_filter_add: 增加过滤器
|
||||
# 自定义查询> 过滤器类别
|
||||
field_status: 状态
|
||||
field_fixed_version: 目标版本
|
||||
field_assigned_to_role: 角色的成员
|
||||
field_category: 类别
|
||||
field_created_on: 创建于
|
||||
field_updated_on: 更新于
|
||||
field_closed_on: 已关闭
|
||||
field_start_date: 开始日期
|
||||
field_due_date: 计划完成日期
|
||||
field_estimated_hours: 预期时间
|
||||
field_assigned_to: 指派给
|
||||
field_priority: 优先级
|
||||
field_done_ratio: "% 完成"
|
||||
field_is_private: 私有
|
||||
field_watcher: 跟踪者
|
||||
label_relates_to: 关联到
|
||||
label_duplicates: 重复
|
||||
label_duplicated_by: 与其重复
|
||||
label_blocks: 阻挡
|
||||
label_blocked_by: 被阻挡
|
||||
label_precedes: 优先于
|
||||
label_follows: 跟随于
|
||||
label_copied_to: 复制到
|
||||
label_copied_from: 复制于
|
||||
# 自定义查询> 过滤器属性
|
||||
label_contains: 包含
|
||||
label_not_contains: 不包含
|
||||
label_none: 无
|
||||
label_any: 全部
|
||||
label_all: 全部
|
||||
label_equals: 等于
|
||||
label_not_equals: 不等于
|
||||
label_open_issues: 打开
|
||||
label_closed_issues: 已关闭
|
||||
label_greater_or_equal: '>='
|
||||
label_less_or_equal: '<='
|
||||
label_between: 介于
|
||||
label_in_less_than: 剩余天数小于
|
||||
label_in_more_than: 剩余天数大于
|
||||
label_in_the_next_days: 之后
|
||||
label_in_the_past_days: 之前
|
||||
label_in: 剩余天数
|
||||
label_today: 今天
|
||||
label_all_time: 全部时间
|
||||
label_yesterday: 昨天
|
||||
label_this_week: 本周
|
||||
label_last_week: 上周
|
||||
label_last_n_weeks: 上 %{count} 周前
|
||||
label_last_n_days: "最后 %{count} 天"
|
||||
label_this_month: 本月
|
||||
label_last_month: 上月
|
||||
label_this_year: 今年
|
||||
label_date_range: 日期范围
|
||||
label_less_than_ago: 之前天数少于
|
||||
label_more_than_ago: 之前天数大于
|
||||
label_ago: 之前第
|
||||
label_any_issues_in_project: 项目内任意问题
|
||||
label_any_issues_not_in_project: 项目外任意问题
|
||||
label_no_issues_in_project: 项目内无相关问题
|
||||
|
||||
label_issue_query: 查询
|
||||
label_issue_cancel_query: 取消查询
|
||||
|
||||
# 新建问题
|
||||
field_tracker: 跟踪
|
||||
field_subject: 主题
|
||||
field_quote: 描述
|
||||
label_change_properties: 修改属性
|
||||
# 属性同上自定义属性
|
||||
default_priority_low: 低
|
||||
default_priority_normal: 普通
|
||||
default_priority_high: 高
|
||||
default_priority_urgent: 紧急
|
||||
default_priority_immediate: 立刻
|
||||
default_priority_immediate: 立刻
|
||||
field_hours: 小时
|
||||
label_issue_watchers: 跟踪者
|
||||
label_search_for_watchers: 通过查找方式添加跟踪者
|
||||
|
||||
|
||||
#问题更新
|
||||
|
||||
#顶和踩
|
||||
label_issue_praise: 好问题,顶!
|
||||
label_issue_tread: 烂问题,踩!
|
||||
label_issue_praise_over: 我刚才顶过了~
|
||||
label_issue_tread_over: 我刚才踩过了~
|
||||
label_issue_not_praise_over: 不能顶自己~
|
||||
label_issue_not_treed_over: 不能踩自己~
|
||||
label_issues_score_not_enough: 积分不够,不能踩别人~
|
||||
|
||||
|
||||
|
||||
|
||||
#
|
||||
|
@ -162,38 +257,56 @@ zh:
|
|||
#
|
||||
# 项目讨论区
|
||||
#
|
||||
|
||||
|
||||
label_user_login_project_board: 您还没有登录,请登录后参与项目讨论
|
||||
|
||||
label_project_board_count:
|
||||
zero: 项目讨论区共有%{count}个帖子
|
||||
one: 项目讨论区共有%{count}个帖子
|
||||
other: 项目讨论区共有%{count}个帖子
|
||||
label_board_sticky: 置顶
|
||||
label_post_by: 由
|
||||
label_post_by_time: 添加于
|
||||
label_short_reply: "回复"
|
||||
#
|
||||
# 项目托管平台
|
||||
#
|
||||
# 资源库
|
||||
# 动态
|
||||
#
|
||||
|
||||
label_active_create_project: "创建了项目"
|
||||
|
||||
#
|
||||
# 项目托管平台
|
||||
#
|
||||
# 版本库
|
||||
#
|
||||
|
||||
label_all_revisions: "所有版本"
|
||||
label_latest_revision: 最近的修订版本
|
||||
label_latest_revision_plural: 最近的修订版本
|
||||
label_view_revisions: 查看修订
|
||||
label_view_all_revisions: 查看所有修订
|
||||
#
|
||||
# 项目托管平台
|
||||
#
|
||||
# 项目配置
|
||||
#
|
||||
#
|
||||
label_module_plural: 模块
|
||||
label_version_plural: 版本
|
||||
label_issue_category_plural: 问题类别
|
||||
label_repository_plural: 版本库
|
||||
enumeration_activities: 活动(时间跟踪)
|
||||
|
||||
|
||||
# 项目工具
|
||||
text_select_project_modules: '请选择此项目可以使用的模块:'
|
||||
project_module_issue_tracking: 问题跟踪
|
||||
project_moule_boards_show: 项目论坛
|
||||
project_module_time_tracking: 时间跟踪
|
||||
project_module_course: 课程
|
||||
#project_module_course: 课程
|
||||
|
||||
# 成员配置
|
||||
label_approve: 批准
|
||||
label_refusal: 拒绝
|
||||
|
||||
|
||||
|
||||
#
|
||||
|
@ -231,7 +344,7 @@ zh:
|
|||
text_project_identifier_info: "小写字母(a-z)、数字、破折号(-)和下划线(_)可以使用。<br />一旦保存,标识无法修改。"
|
||||
field_is_public: 公开
|
||||
field_hidden_repo: 隐藏代码库
|
||||
button_create: 提交
|
||||
|
||||
|
||||
|
||||
#
|
||||
|
@ -246,8 +359,15 @@ zh:
|
|||
id:
|
||||
label: "项目ID:"
|
||||
tips: "项目ID是所在项目网址中显示的序号"
|
||||
|
||||
tips:
|
||||
notexist: 您申请的项目不存在
|
||||
repeat: 请勿重复申请加入该项目
|
||||
success: 申请成功
|
||||
has: 您已加入该项目
|
||||
fail: 申请失败
|
||||
|
||||
|
||||
|
||||
#
|
||||
# 项目托管平台
|
||||
#
|
||||
|
@ -277,5 +397,5 @@ zh:
|
|||
#
|
||||
# 项目配置
|
||||
#
|
||||
label_approve: 批准
|
||||
label_refusal: 拒绝
|
||||
field_sharing: 共享
|
||||
label_title_code_review: 代码评审
|
||||
|
|
|
@ -25,22 +25,22 @@ en:
|
|||
# 左边栏
|
||||
#
|
||||
label_user_edit: Edit information
|
||||
label_user_grade: Individual score
|
||||
label_user_grade: Score
|
||||
|
||||
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
|
||||
label_user_score: Total
|
||||
label_user_score_of_influence: Influence
|
||||
label_user_score_of_collaboration: Collaboration
|
||||
label_user_score_of_skill: Skill
|
||||
label_user_score_of_active: Workload
|
||||
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
|
||||
memos: Posts
|
||||
message_for_issues: Comments to issues
|
||||
issue_status: Changes to issues
|
||||
reply_for_messages: Replies to messages
|
||||
reply_for_memos: Replies to posts
|
||||
influence:
|
||||
followers: Followers
|
||||
followers: Fans
|
||||
skill:
|
||||
tramples: 踩别人的帖子数量
|
||||
like:
|
||||
|
@ -53,26 +53,26 @@ en:
|
|||
level3: 帖子被三级会员踩的次数
|
||||
active:
|
||||
commit:
|
||||
codes: 提交代码次数
|
||||
documents: 提交文档次数
|
||||
attachments: 提交附件次数
|
||||
update_issues: 更新缺陷完成度次数
|
||||
release_issues: 发布缺陷数量
|
||||
codes: Commits
|
||||
documents: Documents
|
||||
attachments: Attachments
|
||||
update_issues: Updates of issue states
|
||||
release_issues: 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_user_info: Information
|
||||
label_user_watcher: Following
|
||||
label_user_fans: Followed
|
||||
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_brief_introduction: Feeling words
|
||||
label_my_brief_introduction: "How are feeling today? Leave some words ~~"
|
||||
|
||||
label_user_joinin: Join date
|
||||
label_user_join: Join
|
||||
label_user_login: Last login
|
||||
|
||||
label_technical_title: Title
|
||||
|
@ -113,7 +113,7 @@ en:
|
|||
|
||||
label_goto: "Go to»"
|
||||
|
||||
label_activity_project: "Project:"
|
||||
label_activity_project: "Project"
|
||||
label_active_call: call
|
||||
label_active_homework: homework
|
||||
# 评论、评论数在commons模块下
|
||||
|
@ -136,11 +136,11 @@ en:
|
|||
label_about_issue: "about the issue—"
|
||||
|
||||
label_about_requirement: "about requirement—"
|
||||
label_have_respond: had a respond
|
||||
label_have_respond: " had a respond"
|
||||
|
||||
label_in_issues: "in the issue—"
|
||||
|
||||
label_no_user_respond_you: "There is no respond for you!"
|
||||
label_no_user_respond_you: "No responses for you now:)"
|
||||
# end
|
||||
|
||||
|
||||
|
@ -149,12 +149,12 @@ en:
|
|||
#
|
||||
# 项目栏
|
||||
#
|
||||
label_project_unadd: "No project, go to creat it!"
|
||||
label_project_unadd: "No project, creat one!"
|
||||
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_has_watched_project: "Followed projects"
|
||||
label_project_take: "Joined projects"
|
||||
|
||||
label_project_take_in: "joined the project—"
|
||||
|
||||
|
@ -163,9 +163,9 @@ en:
|
|||
#
|
||||
# 课程栏
|
||||
#
|
||||
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!"
|
||||
label_project_course_un: "Not joined any course yet."
|
||||
label_project_course_unadd: "You have no course,creat one now:)"
|
||||
label_project_cousre_studentun: "No courses, come and join now!"
|
||||
user:
|
||||
courses:
|
||||
doing: Strating
|
||||
|
@ -178,13 +178,13 @@ en:
|
|||
# 留言栏
|
||||
#
|
||||
label_responses: Messages
|
||||
label_user_response: Feedback
|
||||
label_user_response: Comment
|
||||
label_leave_a_message: "Leave him/her a message"
|
||||
button_leave_meassge: Submit
|
||||
button_clear_meassge: Reset
|
||||
|
||||
label_user_login_new: Login
|
||||
label_user_login_tips: "You haven't logged in, please login first to leave a message!"
|
||||
label_user_login_tips: "Log in before leave a message:)"
|
||||
|
||||
label_bid_respond_delete: Delete
|
||||
label_bid_respond_quote: Respond
|
||||
|
@ -205,12 +205,13 @@ en:
|
|||
#
|
||||
# Followers & Fans
|
||||
#
|
||||
label_user_joinin: Join at
|
||||
label_x_contribute_to:
|
||||
zero: "participates %{count} project"
|
||||
one: "participates %{count} project—"
|
||||
other: "participates %{count} projects—"
|
||||
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—"
|
||||
one: "participates %{count} course"
|
||||
other: "participates %{count} courses"
|
||||
|
|
|
@ -95,8 +95,7 @@ zh:
|
|||
|
||||
|
||||
field_author: 作者
|
||||
field_created_on: 创建于
|
||||
field_updated_on: 更新于
|
||||
|
||||
field_field_format: 格式
|
||||
field_is_for_all: 用于所有项目
|
||||
field_possible_values: 可能的值
|
||||
|
@ -104,22 +103,19 @@ zh:
|
|||
field_min_length: 最小长度
|
||||
field_max_length: 最大长度
|
||||
field_value: 值
|
||||
field_category: 类别
|
||||
|
||||
field_title: 标题
|
||||
field_web_title: 浏览器标题
|
||||
field_project: 项目
|
||||
field_issue: 问题
|
||||
field_status: 状态
|
||||
|
||||
field_notes: 说明
|
||||
field_is_closed: 已关闭的问题
|
||||
field_is_default: 默认值
|
||||
field_tracker: 跟踪
|
||||
field_subject: 主题
|
||||
field_quote: 描述
|
||||
field_due_date: 计划完成日期
|
||||
field_assigned_to: 指派给
|
||||
field_priority: 优先级
|
||||
field_fixed_version: 目标版本
|
||||
|
||||
|
||||
|
||||
|
||||
field_user: 用户
|
||||
field_principal: 用户
|
||||
field_role: 角色
|
||||
|
@ -145,8 +141,8 @@ zh:
|
|||
field_attr_lastname: 姓氏属性
|
||||
field_attr_mail: 邮件属性
|
||||
field_onthefly: 即时用户生成
|
||||
field_start_date: 开始日期
|
||||
field_done_ratio: "% 完成"
|
||||
|
||||
|
||||
field_auth_source: 认证模式
|
||||
field_hide_mail: 隐藏我的邮件地址
|
||||
field_comments: 注释
|
||||
|
@ -154,7 +150,7 @@ zh:
|
|||
field_logo_size: logo大小
|
||||
field_start_page: 起始页
|
||||
field_subproject: 子项目
|
||||
field_hours: 小时
|
||||
|
||||
field_activity: 活动
|
||||
field_spent_on: 日期
|
||||
field_is_filter: 作为过滤条件
|
||||
|
@ -162,7 +158,7 @@ zh:
|
|||
field_delay: 延期
|
||||
field_assignable: 问题可指派给此角色
|
||||
field_redirect_existing_links: 重定向到现有链接
|
||||
field_estimated_hours: 预期时间
|
||||
|
||||
field_column_names: 列
|
||||
field_time_entries: 工时
|
||||
field_time_zone: 时区
|
||||
|
@ -171,13 +167,13 @@ zh:
|
|||
field_comments_sorting: 显示注释
|
||||
field_parent_title: 上级页面
|
||||
field_editable: 可编辑
|
||||
field_watcher: 跟踪者
|
||||
|
||||
field_content: 内容
|
||||
field_group_by: 根据此条件分组
|
||||
field_sharing: 共享
|
||||
|
||||
field_parent_issue: 父任务
|
||||
field_member_of_group: 用户组的成员
|
||||
field_assigned_to_role: 角色的成员
|
||||
|
||||
field_text: 文本字段
|
||||
field_visible: 可见的
|
||||
|
||||
|
@ -386,7 +382,7 @@ zh:
|
|||
label_project_all: 所有的项目
|
||||
label_project_latest: 最近的项目
|
||||
label_issue: 问题
|
||||
label_issue_new: 新建问题
|
||||
|
||||
label_issue_plural: 问题跟踪
|
||||
label_issue_view_all: 查看所有问题
|
||||
label_issues_by: "按 %{value} 分组显示问题"
|
||||
|
@ -478,7 +474,7 @@ zh:
|
|||
label_activities_settings: 显示设置
|
||||
|
||||
label_user_login_course_board: 您还没有登录,请登录后参与课程讨论
|
||||
label_user_login_project_board: 您还没有登录,请登录后参与项目讨论
|
||||
|
||||
label_user_login_attending_contest: 您还没有登录,请登录后参赛
|
||||
label_user_login_score_and_comment: 您还没有登录,请登录后对作品进行打分评价
|
||||
label_user_login_notificationcomment: 您还没有登录,请登录后参加评论
|
||||
|
@ -588,9 +584,9 @@ zh:
|
|||
label_export_to: 导出
|
||||
label_read: 读取...
|
||||
label_public_projects: 公开的项目
|
||||
label_open_issues: 打开
|
||||
|
||||
label_open_issues_plural: 打开
|
||||
label_closed_issues: 已关闭
|
||||
|
||||
label_closed_issues_plural: 已关闭
|
||||
label_x_open_issues_abbr_on_total:
|
||||
zero: 0 打开 / %{total}
|
||||
|
@ -608,8 +604,7 @@ zh:
|
|||
label_permissions: 权限
|
||||
label_current_status: 当前状态
|
||||
label_new_statuses_allowed: 允许的新状态
|
||||
label_all: 全部
|
||||
label_none: 无
|
||||
|
||||
label_nobody: 无人
|
||||
label_next: 下一页
|
||||
label_previous: 上一页
|
||||
|
@ -633,34 +628,10 @@ zh:
|
|||
label_comment_add: 添加评论
|
||||
label_comment_added: 评论已添加
|
||||
label_comment_delete: 删除评论
|
||||
label_query: 自定义查询
|
||||
label_query_plural: 自定义查询
|
||||
label_query_new: 新建查询
|
||||
label_filter_add: 增加过滤器
|
||||
|
||||
|
||||
|
||||
|
||||
label_filter_plural: 查询条件
|
||||
label_equals: 等于
|
||||
label_not_equals: 不等于
|
||||
label_in_less_than: 剩余天数小于
|
||||
label_in_more_than: 剩余天数大于
|
||||
label_greater_or_equal: '>='
|
||||
label_less_or_equal: '<='
|
||||
label_in: 剩余天数
|
||||
label_today: 今天
|
||||
label_all_time: 全部时间
|
||||
label_yesterday: 昨天
|
||||
label_this_week: 本周
|
||||
label_last_week: 上周
|
||||
label_last_n_days: "最后 %{count} 天"
|
||||
label_this_month: 本月
|
||||
label_last_month: 上月
|
||||
label_this_year: 今年
|
||||
label_date_range: 日期范围
|
||||
label_less_than_ago: 之前天数少于
|
||||
label_more_than_ago: 之前天数大于
|
||||
label_ago: 之前天数
|
||||
label_contains: 包含
|
||||
label_not_contains: 不包含
|
||||
label_day_plural: 天
|
||||
label_repository: 版本库
|
||||
label_course_repository: 代码库
|
||||
|
@ -702,7 +673,7 @@ zh:
|
|||
label_index_by_title: 按标题索引
|
||||
label_index_by_date: 按日期索引
|
||||
label_current_version: 当前版本
|
||||
label_preview: 预览
|
||||
|
||||
label_feed_plural: Feeds
|
||||
label_changes_details: 所有变更的详情
|
||||
label_spent_time: 耗时
|
||||
|
@ -727,13 +698,7 @@ zh:
|
|||
label_loading: 载入中...
|
||||
label_relation_new: 新建关联
|
||||
label_relation_delete: 删除关联
|
||||
label_relates_to: 关联到
|
||||
label_duplicates: 重复
|
||||
label_duplicated_by: 与其重复
|
||||
label_blocks: 阻挡
|
||||
label_blocked_by: 被阻挡
|
||||
label_precedes: 优先于
|
||||
label_follows: 跟随于
|
||||
|
||||
label_end_to_start: 结束-开始
|
||||
label_end_to_end: 结束-结束
|
||||
label_start_to_start: 开始-开始
|
||||
|
@ -745,7 +710,7 @@ zh:
|
|||
label_board_new: 新建讨论区
|
||||
label_board_plural: 讨论区
|
||||
label_board_locked: 锁定
|
||||
label_board_sticky: 置顶
|
||||
|
||||
field_sticky: ''
|
||||
field_locked: ''
|
||||
field_lock: ''
|
||||
|
@ -762,7 +727,7 @@ zh:
|
|||
label_date_from: 从
|
||||
label_date_to: 到
|
||||
label_language_based: 根据用户的语言
|
||||
label_sort_by: "根据 %{value} 排序"
|
||||
|
||||
label_send_test_email: 发送测试邮件
|
||||
label_feeds_access_key: RSS存取键
|
||||
label_missing_feeds_access_key: 缺少RSS存取键
|
||||
|
@ -794,7 +759,7 @@ zh:
|
|||
#end
|
||||
label_user_commits: "代码提交"
|
||||
|
||||
label_user_newfeedback: "留言" ## huang添加的
|
||||
|
||||
label_feedback_success: "留言成功"
|
||||
label_feedback_fail: "留言失败"
|
||||
label_user_login: "最后登录"
|
||||
|
@ -827,7 +792,7 @@ zh:
|
|||
label_registration_automatic_activation: 自动激活帐号
|
||||
label_display_per_page: "每页显示:%{value}"
|
||||
label_age: 提交时间
|
||||
label_change_properties: 修改属性
|
||||
|
||||
label_general: 一般
|
||||
label_scm: 管理系统
|
||||
label_plugins: 插件
|
||||
|
@ -841,7 +806,7 @@ zh:
|
|||
label_planning: 计划
|
||||
label_incoming_emails: 接收邮件
|
||||
label_generate_key: 生成一个key
|
||||
label_issue_watchers: 跟踪者
|
||||
|
||||
label_example: 示例
|
||||
label_display: 显示
|
||||
label_sort: 排序
|
||||
|
@ -874,8 +839,7 @@ zh:
|
|||
label_user_search: "搜索用户:"
|
||||
label_mobile_version: "移动端版本管理"
|
||||
|
||||
button_check_all: 全选
|
||||
button_uncheck_all: 清除
|
||||
|
||||
|
||||
button_create_and_continue: 创建并继续
|
||||
button_test: 测试
|
||||
|
@ -910,7 +874,7 @@ zh:
|
|||
button_copy: 复制
|
||||
button_copy_and_follow: 复制并转到新问题
|
||||
button_annotate: 追溯
|
||||
button_update: 更新
|
||||
|
||||
button_configure: 配置
|
||||
button_quote: 引用
|
||||
button_duplicate: 副本
|
||||
|
@ -1025,7 +989,7 @@ zh:
|
|||
field_issues_visibility: 问题可见
|
||||
label_issues_visibility_all: 全部问题
|
||||
permission_set_own_issues_private: 设置自己的问题为公开或私有
|
||||
field_is_private: 私有
|
||||
|
||||
permission_set_issues_private: 设置问题为公开或私有
|
||||
label_issues_visibility_public: 全部非私有问题
|
||||
text_issues_destroy_descendants_confirmation: 此操作同时会删除 %{count} 个子任务。
|
||||
|
@ -1045,7 +1009,7 @@ zh:
|
|||
text_scm_command_not_available: Scm命令不可用。 请检查管理面板的配置。
|
||||
text_git_repository_note: 库中无内容。(e.g. /gitrepo, c:\gitrepo)
|
||||
notice_issue_successful_create: 问题 %{id} 已创建。
|
||||
label_between: 介于
|
||||
|
||||
setting_issue_group_assignment: 允许问题被分配给组
|
||||
label_diff: 查看差别
|
||||
description_query_sort_criteria_direction: 排序方式
|
||||
|
@ -1100,7 +1064,7 @@ zh:
|
|||
text_issue_conflict_resolution_cancel: 取消我所有的变更并重新刷新显示 %{link} 。
|
||||
permission_manage_related_issues: 相关问题管理
|
||||
field_auth_source_ldap_filter: LDAP 过滤器
|
||||
label_search_for_watchers: 通过查找方式添加跟踪者
|
||||
|
||||
notice_account_deleted: 您的账号已被永久删除(账号已无法恢复)。
|
||||
setting_unsubscribe: 允许用户退订
|
||||
button_delete_my_account: 删除我的账号
|
||||
|
@ -1136,16 +1100,13 @@ zh:
|
|||
label_attribute_of_assigned_to: 分配给 %{name}
|
||||
label_attribute_of_fixed_version: 目标版本 %{name}
|
||||
label_copy_subtasks: 复制子任务
|
||||
label_copied_to: 复制到
|
||||
label_copied_from: 复制于
|
||||
label_any_issues_in_project: 项目内任意问题
|
||||
label_any_issues_not_in_project: 项目外任意问题
|
||||
|
||||
field_private_notes: 私有注解
|
||||
permission_view_private_notes: 查看私有注解
|
||||
permission_set_notes_private: 设置为私有注解
|
||||
label_no_issues_in_project: 项目内无相关问题
|
||||
label_any: 全部
|
||||
label_last_n_weeks: 上 %{count} 周前
|
||||
|
||||
|
||||
|
||||
setting_cross_project_subtasks: 支持跨项目子任务
|
||||
label_cross_project_descendants: 与子项目共享
|
||||
label_cross_project_tree: 与项目树共享
|
||||
|
@ -1153,8 +1114,7 @@ zh:
|
|||
label_cross_project_system: 与所有项目共享
|
||||
button_hide: 隐藏
|
||||
setting_non_working_week_days: Non-working days
|
||||
label_in_the_next_days: in the next
|
||||
label_in_the_past_days: in the past
|
||||
|
||||
label_attribute_of_user: User's %{name}
|
||||
text_turning_multiple_off: If you disable multiple values, multiple values will be
|
||||
removed in order to preserve only one value per item.
|
||||
|
@ -1168,7 +1128,7 @@ zh:
|
|||
label_gantt_progress_line: 进度线
|
||||
setting_jsonp_enabled: Enable JSONP support
|
||||
field_inherit_members: Inherit members
|
||||
field_closed_on: 已关闭
|
||||
|
||||
setting_default_projects_tracker_ids: Default trackers for new projects
|
||||
label_total_time: 合计
|
||||
#Customer added!Added by nie
|
||||
|
@ -1369,7 +1329,7 @@ zh:
|
|||
|
||||
label_create_new_projects_description: 创建项目,让我们开启一次神奇的协同创作和开发之旅!
|
||||
label_call_for_bids_description: 发布需求,征集解决方案,体验一呼百应的兴奋感觉!
|
||||
label_news_description: 实时了解项目的最新动态,掌握最新项目咨询!
|
||||
|
||||
label_milestone_description: 在这里您可以看见任何一个版本的工程!
|
||||
|
||||
label_welcome: 欢迎
|
||||
|
@ -1386,12 +1346,7 @@ zh:
|
|||
label_course_homework: 发布了作业
|
||||
label_follow_no_requirement: 暂未关注任何需求!
|
||||
|
||||
label_tags_issue: 问题名称:
|
||||
label_tags_project_name: 项目名称:
|
||||
label_tags_project_description: 项目描述:
|
||||
label_tags_user_mail: 用户邮箱:
|
||||
label_tags_user_name: 用户名:
|
||||
label_tags_numbers: Tag统计:
|
||||
|
||||
label_your_course: 您的课程《
|
||||
label_have_message : 》有新的留言
|
||||
label_all_revisions: 所有版本:
|
||||
|
@ -1401,12 +1356,7 @@ zh:
|
|||
# modified by bai
|
||||
label_welcome_leave_message: 您好!系统目前正在公测,有意见和建议请
|
||||
label_welcome_click_me: 点击我
|
||||
label_issue_praise: 好问题,顶!
|
||||
label_issue_tread: 烂问题,踩!
|
||||
label_issue_praise_over: 我刚才顶过了~
|
||||
label_issue_tread_over: 我刚才踩过了~
|
||||
label_issue_not_praise_over: 不能顶自己~
|
||||
label_issue_not_treed_over: 不能踩自己~
|
||||
|
||||
label_issues_score_not_enough: 积分不够,不能踩别人~
|
||||
#end
|
||||
|
||||
|
@ -1414,8 +1364,7 @@ zh:
|
|||
label_welcome_my_respond: 请在此留下你的意见和建议!
|
||||
|
||||
label_course_feedback: 留言
|
||||
label_tags_search_result: 搜索结果
|
||||
label_tags_call: 需求
|
||||
|
||||
label_user_extensions: 其他信息
|
||||
|
||||
label_boy: 男
|
||||
|
@ -1442,8 +1391,7 @@ zh:
|
|||
label_tags_related: 相关标签
|
||||
button_project_tags_add: 增加
|
||||
label_issue_query_condition: 查询条件
|
||||
label_issue_query: 查询
|
||||
label_issue_cancel_query: 取消查询
|
||||
|
||||
field_reward_type: 奖励类型
|
||||
label_tags_no: 暂无标签!
|
||||
label_course_description_no: 该课程未添加描述!
|
||||
|
@ -1743,8 +1691,7 @@ zh:
|
|||
label_forum: 公共贴吧
|
||||
label_forum_new: 新建贴吧
|
||||
label_forum_set: 贴吧设置
|
||||
label_tags_forum_description: 贴吧描述
|
||||
label_tags_forum: 贴吧名称
|
||||
|
||||
label_project_module_forums: 公共贴吧
|
||||
label_memo_locked: 帖子已被锁定
|
||||
label_downloads_list: 进入附件列表
|
||||
|
@ -1814,7 +1761,7 @@ zh:
|
|||
label_user_login_softapplication_board: 您还没有登录,请登录后参与应用评价。
|
||||
label_contest_description_no: 暂无描述。
|
||||
label_no_contest_softapplication: 暂无参赛应用
|
||||
label_field_correct: 填写正确
|
||||
|
||||
label_button_ok: 确定
|
||||
label_tags_contest: 竞赛标签
|
||||
label_tags_contest: 竞赛名称
|
||||
|
@ -1942,7 +1889,7 @@ zh:
|
|||
label_contest_news_condition: 竞赛描述超过5000个汉字
|
||||
label_no_contest_news_title: 竞赛标题不能为空
|
||||
label_contest_news_title_condition: 竞赛标题超过255个汉字
|
||||
label_subject_empty: 主题不能为空
|
||||
|
||||
label_course_organizers: 开设单位
|
||||
label_teacher_score: 教师评分
|
||||
label_student_score: 学生评分
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<div class="project_r_h">
|
||||
<h2 class="project_h2">代码审查</h2>
|
||||
<h2 class="project_h2"><%= l(:label_title_code_review)%></h2>
|
||||
</div>
|
||||
<%
|
||||
# Code Review plugin for Redmine
|
||||
|
|
|
@ -15,7 +15,7 @@ function postUpMsg(attachmentId)
|
|||
|
||||
function reload(fileSpan) {
|
||||
fileSpan.remove();
|
||||
$('#upload_file_count').html("未上传文件");
|
||||
$('#upload_file_count').html("<%= l(:label_no_file_uploaded)%>");
|
||||
$old_file = $("#_file");
|
||||
$new_file = $old_file.clone(true);
|
||||
$old_file.replaceWith($new_file);
|
||||
|
|
|
@ -8,6 +8,9 @@ h3, .wiki h2 {font-size: 15px; padding-left: 5px}
|
|||
h4, .wiki h3 {font-size: 13px;}
|
||||
h4 {border-bottom: 1px dotted #bbb;}
|
||||
|
||||
/*上传图片处理*/
|
||||
.upload_img img{max-width: 100%;}
|
||||
|
||||
/****翻页***/
|
||||
ul.wlist{ float:right; border-bottom:none; height:30px; margin-top:20px; }
|
||||
ul.wlist li{float: left;}
|
||||
|
|
|
@ -435,6 +435,9 @@ a.link_file_board{ background:url(../images/pic_file.png) 0 3px no-repeat !impor
|
|||
#cboxNext{position:absolute; bottom:0px; left:63px; color:#444;}
|
||||
#cboxClose{position:absolute; bottom:0; right:0; display:block; color:#444;}
|
||||
|
||||
/*上传图片处理*/
|
||||
.upload_img img{max-width: 100%;}
|
||||
|
||||
/*
|
||||
The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill
|
||||
when an alpha filter (opacity change) is set on the element or ancestor element. This style is not applied to or needed in IE9.
|
||||
|
|
|
@ -750,9 +750,9 @@ div.actions input[type="text"] {
|
|||
.memo-content img, .comments img {
|
||||
overflow: hidden;
|
||||
/*width: 100%;*/
|
||||
max-width: 500px;
|
||||
max-width: 100%;
|
||||
height: auto !important;
|
||||
width: expression(this.width > 500 ? "500px" : this.width+"px");
|
||||
/*width: expression(this.width > 500 ? "500px" : this.width+"px");*/
|
||||
}
|
||||
|
||||
table.content-text-list tbody tr td.sticky, div.memo-section .sticky {
|
||||
|
|
|
@ -156,8 +156,8 @@ div#menu ul ul a:hover { color:#ff9900;}
|
|||
div#menu ul ul li.last { margin-left:15px; }
|
||||
div#menu ul ul li {width: 100%;}
|
||||
/* menu::level3 */
|
||||
div#menu ul ul ul {padding: 0;margin: -38px 0 0 92px !important; width:140px; }
|
||||
div#menu ul ul ul li a{ width:125px; overflow:hidden; white-space: nowrap; text-overflow:ellipsis;color:#15bccf;}
|
||||
div#menu ul ul ul {padding: 0;margin: -38px 0 0 92px !important; width:200px; }
|
||||
div#menu ul ul ul li a{ width:185px; overflow:hidden; white-space: nowrap; text-overflow:ellipsis;color:#15bccf;}
|
||||
|
||||
|
||||
/*主类容*/
|
||||
|
@ -199,7 +199,7 @@ html{ overflow-x:hidden;}
|
|||
.close_btn span { display:none;}
|
||||
.side_center .custom_service p { text-align:center; padding:6px 0; margin:0; vertical-align:middle;}
|
||||
.msgserver { margin-top:5px;}
|
||||
.msgserver a { background:url(../images/sidebar_bg.png) no-repeat -119px -112px; padding-left:22px; height:21px; display:block; }
|
||||
.msgserver a { background:url(../images/sidebar_bg.png) no-repeat -119px -112px; padding-left:22px; height:21px; display:block; color:#15bccf;}
|
||||
.opnionText{box-shadow:none; width:122px; height:180px; border-color: #DFDFDF; background:#fff; color:#999; padding:3px; font-size:12px;overflow:auto; background-attachment:fixed;border-style:solid;}
|
||||
a.opnionButton{ display:block; background:#15bccf; width:130px; height:23px; margin-top:5px; text-align:center; padding-top:3px;}
|
||||
a:hover.opnionButton{background: #0fa9bb; }
|
||||
|
@ -210,8 +210,7 @@ a:hover.opnionButton{background: #0fa9bb; }
|
|||
a.close_btn {background-position:-44px 0;}
|
||||
a:hover.close_btn {background-position:-66px 0;}
|
||||
.show_btn {background-position:-119px 0;}
|
||||
.msgserver a {color:#15bccf; }
|
||||
.msgserver a:hover { text-decoration:underline; }
|
||||
.msgserver a:hover { color: #0fa9bb; }
|
||||
.break_word{word-break: break-all;word-wrap: break-word;}
|
||||
/***** Ajax indicator ******/
|
||||
#ajax-indicator {
|
||||
|
|
|
@ -451,7 +451,7 @@ a.attachments_list_color {
|
|||
}
|
||||
/*帖子的各种属性*/
|
||||
.memo_activity .memo_attr{
|
||||
margin-left: 20px;
|
||||
margin-left: 2px;
|
||||
}
|
||||
/*帖子的时间*/
|
||||
.memo_activity .memo_timestamp{
|
||||
|
|
Loading…
Reference in New Issue