稍该国际化
This commit is contained in:
parent
00f606a203
commit
4557ee71e4
|
@ -6,7 +6,7 @@
|
|||
<div class="box tabular">
|
||||
<% if @user.auth_source_id.nil? %>
|
||||
<p><%= f.text_field :login, :size => 25, :required => true %>
|
||||
<em class="info">至多25个字符。</em></p>
|
||||
<em class="info"><%= l(:label_max_number) %></em></p>
|
||||
<p><%= f.password_field :password, :size => 25, :required => true %>
|
||||
<em class="info"><%= l(:text_caracters_minimum, :count => Setting.password_min_length) %></em></p>
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
|
||||
<!--Modified by tanxianbo-->
|
||||
<p><%= f.text_field :url, :size => 60, :required => true, :disabled => !@repository.safe_attribute?('url') %>
|
||||
<em class='info'><%= "定义已有版本库URL路径,定义格式file:///, http://, https://, svn://, svn+[tunnelscheme]://" %></em>
|
||||
<em class='info'><%= "#{l(:label_exist_repository_path)}" %></em>
|
||||
</p>
|
||||
<p><%= f.text_field :login, :size => 30 %></p>
|
||||
<p><%= f.password_field :password, :size => 30, :name => 'ignore', :value => ((@repository.new_record? || @repository.password.blank?) ? '' : ('x'*15)),
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
<% issues_results.each do |issue| %>
|
||||
<li>
|
||||
问题:<%= link_to "#{issue.subject}",:controller => "issues",:action => "show",:id => issue.id %>
|
||||
<%= l(:label_tags_issue) %><%= link_to "#{issue.subject}",:controller => "issues",:action => "show",:id => issue.id %>
|
||||
</li>
|
||||
<% end %>
|
||||
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
<h3><strong>Projects:</strong></h3>
|
||||
<% projects_results.each do |prj| %>
|
||||
<div>
|
||||
<h3><strong>项目名称:<%= link_to "#{prj.name}",:controller => "projects",:action => "show",:id => prj.id %></strong></h3>
|
||||
<p class="font_description2"><strong>项目描述:</strong><%= prj.description %>;</p>
|
||||
<h3><strong><%= l(:label_tags_project_name) %><%= link_to "#{prj.name}",:controller => "projects",:action => "show",:id => prj.id %></strong></h3>
|
||||
<p class="font_description2"><strong><%= l(:label_tags_project_description) %></strong><%= prj.description %>;</p>
|
||||
</div>
|
||||
<div class="line_under"></div>
|
||||
<% end %>
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
|
||||
<% users_results.each do |user| %>
|
||||
<li>
|
||||
用户名:<%= link_to ("#{user.firstname+user.lastname}"),
|
||||
<%= l(:label_username) %><%= link_to ("#{user.firstname+user.lastname}"),
|
||||
:controller => "users",:action => "show",:id => user.id%>
|
||||
<br />
|
||||
用户邮箱:<%= mail_to(h(user.mail)) %>
|
||||
<%= l(:label_tags_user_mail) %><%= mail_to(h(user.mail)) %>
|
||||
</li>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
|
|
@ -18,10 +18,10 @@
|
|||
<div class="tag_right">
|
||||
<h3><strong>Search Results</strong></h3>
|
||||
<div id="filter-menu" align="right">
|
||||
Tag统计:
|
||||
Issue(<%= @issues_tags_num %>)|
|
||||
Project(<%= @projects_tags_num %>)|
|
||||
User(<%= @users_tags_num %>)
|
||||
<%= l(:label_tags_numbers) %>
|
||||
<%= l(:label_issue_plural) %>(<%= @issues_tags_num %>)|
|
||||
Projects(<%= @projects_tags_num %>)|
|
||||
Users(<%= @users_tags_num %>)
|
||||
</div>
|
||||
<div id="show_results">
|
||||
<%= render :partial => "tag_search_results",:locals => {:issues_results => @issues_results,
|
||||
|
|
|
@ -1233,8 +1233,14 @@ en:
|
|||
label_repository_no: have no repository?
|
||||
label_welcome_page_to: Participate %{project_count} projects!
|
||||
label_repository_path_not_null: repository path can't be null
|
||||
label_password_not_null: password can't be null。
|
||||
label_password_not_null: password can't be blank
|
||||
label_exist_repository_path: Define exist repository's path of URL and format must be file:///, http://, https://, svn://
|
||||
label_project_no_activity: The project has no activities now!
|
||||
label_follow_no_requirement: You don't have followed any requirements!
|
||||
label_no_user_respond_you: There is no respond for you!
|
||||
label_no_user_respond_you: There is no respond for you!
|
||||
label_tags_issue: issue:
|
||||
label_tags_project_name: Project name:
|
||||
label_tags_project_description: Project description:
|
||||
label_tags_user_mail: User E-mail:
|
||||
label_tags_numbers: Tag numbers:
|
||||
label_max_number: Must be at most 25 characters long.
|
|
@ -1056,7 +1056,7 @@ zh:
|
|||
one: 1 问题
|
||||
other: "%{count} 问题"
|
||||
#add by tan
|
||||
label_repository_new: 配置SVN版本库
|
||||
label_repository_new: 连接到已有的SVN版本库
|
||||
label_repository_no: 还没有版本库?
|
||||
label_repository_new_repos: 新建版本库
|
||||
#end
|
||||
|
@ -1249,4 +1249,10 @@ zh:
|
|||
label_exist_repository_path: 定义已有版本库URL路径,定义格式file:///, http://, https://, svn://
|
||||
label_project_no_activity: 该项目暂无动态!
|
||||
label_follow_no_requirement: 暂未关注任何需求!
|
||||
label_no_user_respond_you: 暂无任何用户对您进行反馈!
|
||||
label_no_user_respond_you: 暂无任何用户对您进行反馈!
|
||||
label_tags_issue: 问题:
|
||||
label_tags_project_name: 项目名称:
|
||||
label_tags_project_description: 项目描述:
|
||||
label_tags_user_mail: 用户邮箱:
|
||||
label_tags_numbers: Tag统计:
|
||||
label_max_number: 至多25个字符。
|
Loading…
Reference in New Issue