-
<%= setting_text_field :app_title, :size => 30 %>
+
<%= setting_text_field :app_title, :size => 30 %>
-
<%= setting_text_area :welcome_text, :cols => 60, :rows => 5, :class => 'wiki-edit' %>
+
<%= setting_text_area :welcome_text, :cols => 60, :rows => 5, :class => 'wiki-edit' %>
<%= wikitoolbar_for 'settings_welcome_text' %>
-
<%= setting_text_field :attachment_max_size, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %>
+
<%= setting_text_field :attachment_max_size, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %>
-
<%= setting_text_field :per_page_options, :size => 20 %>
+
<%= setting_text_field :per_page_options, :size => 20 %>
<%= l(:text_comma_separated) %>
-
<%= setting_text_field :activity_days_default, :size => 6 %> <%= l(:label_day_plural) %>
+
<%= setting_text_field :activity_days_default, :size => 6 %> <%= l(:label_day_plural) %>
-
<%= setting_text_field :host_name, :size => 60 %>
+
<%= setting_text_field :host_name, :size => 60 %>
<%= l(:label_example) %>: <%= @guessed_host_and_path %>
-
<%= setting_select :protocol, [['HTTP', 'http'], ['HTTPS', 'https']] %>
+
<%= setting_select :protocol, [['HTTP', 'http'], ['HTTPS', 'https']] %>
-
<%= setting_select :text_formatting, Redmine::WikiFormatting.format_names.collect{|name| [name, name.to_s]}, :blank => :label_none %>
+
<%= setting_select :text_formatting, Redmine::WikiFormatting.format_names.collect{|name| [name, name.to_s]}, :blank => :label_none %>
-
<%= setting_check_box :cache_formatted_text %>
+
<%= setting_check_box :cache_formatted_text %>
-
<%= setting_select :wiki_compression, [['Gzip', 'gzip']], :blank => :label_none %>
+
<%= setting_select :wiki_compression, [['Gzip', 'gzip']], :blank => :label_none %>
-
<%= setting_text_field :feeds_limit, :size => 6 %>
+
<%= setting_text_field :feeds_limit, :size => 6 %>
-
<%= setting_text_field :file_max_size_displayed, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %>
+
<%= setting_text_field :file_max_size_displayed, :size => 6 %> <%= l(:"number.human.storage_units.units.kb") %>
-
<%= setting_text_field :diff_max_lines_displayed, :size => 6 %>
+
<%= setting_text_field :diff_max_lines_displayed, :size => 6 %>
-
<%= setting_text_field :repositories_encodings, :size => 60 %>
+
<%= setting_text_field :repositories_encodings, :size => 60 %>
<%= l(:text_comma_separated) %>
<%= call_hook(:view_settings_general_form) %>
diff --git a/app/views/settings/_notifications.html.erb b/app/views/settings/_notifications.html.erb
index f746f7ced..588880fe2 100644
--- a/app/views/settings/_notifications.html.erb
+++ b/app/views/settings/_notifications.html.erb
@@ -2,7 +2,7 @@
<%= form_tag({:action => 'edit', :tab => 'notifications'}) do %>
-
<%= setting_text_field :mail_from, :size => 60 %>
+
<%= setting_text_field :mail_from, :size => 50 %>
<%= setting_check_box :bcc_recipients %>
diff --git a/app/views/stores/search.html.erb b/app/views/stores/search.html.erb
index b75656f18..7b257ee86 100644
--- a/app/views/stores/search.html.erb
+++ b/app/views/stores/search.html.erb
@@ -15,7 +15,7 @@
<%= result.filename %>
- <%= link_to_attachment result, {:download => true, :text => image_tag("/images/button/dl.png", width: "70px", alt: l(:button_download), :class => 'download_icon')}%>
+ <%= link_to_attachment result, { :text => image_tag("/images/button/dl.png", width: "70px", alt: l(:button_download), :class => 'download_icon')}%>
<%= result.description %>
diff --git a/app/views/versions/_form.html.erb b/app/views/versions/_form.html.erb
index 72c95ad7f..b9759dd4d 100644
--- a/app/views/versions/_form.html.erb
+++ b/app/views/versions/_form.html.erb
@@ -6,7 +6,7 @@
<%= f.text_field :name, :maxlength => 60, :required => true %>
- <%= f.text_field :description, :maxlength => 100, :style => "margin-left:10px;" %>
+ <%= f.text_field :description, :maxlength => 60, :style => "margin-left:10px;" %>
@@ -15,7 +15,7 @@
- <%= f.text_field :wiki_page_title, :label => :label_wiki_page, :disabled => @project.wiki.nil? %>
+ <%= f.text_field :wiki_page_title, :size =>60, :label => :label_wiki_page, :disabled => @project.wiki.nil? %>
diff --git a/config/locales/zh.yml b/config/locales/zh.yml
index 6c4216bc5..d05ff83ae 100644
--- a/config/locales/zh.yml
+++ b/config/locales/zh.yml
@@ -246,8 +246,11 @@ zh:
field_summary: 摘要
field_is_required: 必填
field_firstname: 名字
+ firstname_empty: 名字不能为空
field_firstname_eg: '(例:张三丰,请填写[三丰])'
field_lastname: 姓氏
+ lastname_empty: 姓氏不能为空
+ enterprise_empty: 企业名不能为空
field_lastname_eg: '(例:张三丰,请填写[张])'
field_mail: 邮件地址
field_filename: 文件
@@ -299,7 +302,7 @@ zh:
field_effective_date: 日期
field_password: 密码
field_new_password: 新密码
- field_password_confirmation: 确认
+ field_password_confirmation: 密码确认
field_version: 版本
field_type: 类型
field_host: 主机
@@ -1595,8 +1598,9 @@ zh:
label_tags_user_mail: 用户邮箱:
label_tags_user_name: 用户名:
label_tags_numbers: Tag统计:
- label_max_number: 登录名是在网站中显示的您的公开标识,至多25个字符。
- label_mail_attention: qq邮箱可能收不到此邮件,其他邮箱如果没有收到可能在垃圾邮件中,其中gmail与教育网邮箱的激活邮件有时比较慢,请耐心等待。
+ label_max_number: 登录名是在网站中显示的您的公开标识,只能为英文。
+ label_mail_attention: qq邮箱可能收不到此邮件,其他邮箱如果没有收到可能在垃圾邮件中,
+ label_mail_attention1: 其中gmail与教育网邮箱的激活邮件有时比较慢,请耐心等待。
label_your_course: 您的课程《
label_have_message : 》有新的留言
label_all_revisions: 所有版本:
@@ -1872,7 +1876,7 @@ zh:
label_account_identity_teacher: 教师
label_account_identity_student: 学生
label_account_identity_developer: 开发者
- label_account_identity_enterprise: 企业
+ label_account_identity_enterprise: 组织
label_account_identity_choose: --请选择身份--
label_teaching_course: 我执教的课程
label_release_homework: 我发布的作业
@@ -2056,7 +2060,7 @@ zh:
label_contest_work_list: 参赛作品列表
label_attending_contest: 我要参赛
label_contest_notification: 竞赛通知
- label_company_name: 企业名
+ label_company_name: 组织名
label_coursefile_sharingarea: 课程资源共享区
label_sort_by_activity: 按动态数排序
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 7b5f4e976..e4d2ec8b1 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -1640,8 +1640,8 @@ div.issue table.attributes td {width:28%;}
#relations td.buttons {padding:0;}
fieldset.collapsible { border-width: 1px 0 0 0; font-size: 0.9em; }
-fieldset.collapsible>legend { padding-left: 16px; background: url(../images/arrow_expanded.png) no-repeat 0% 40%; cursor:pointer; }
-fieldset.collapsible.collapsed>legend { background-image: url(../images/arrow_collapsed.png); }
+fieldset.collapsible>legend { padding-left: 16px; background:url(../images/arrow_collapsed.png) no-repeat 0% 40%; cursor:pointer; }
+fieldset.collapsible.collapsed>legend { background-image: url(../images/arrow_expanded.png); }
fieldset#date-range p { margin: 2px 0 2px 0; }
fieldset#filters table { border-collapse: collapse; }
@@ -1875,7 +1875,7 @@ input#time_entry_comments { width: 90%;}
.tabular.settings p{ padding-left: 300px; }
.tabular.settings label{ margin-left: -300px; width: 295px; }
-.tabular.settings textarea { width: 99%; }
+.tabular.settings textarea { width: 85%; }
.settings.enabled_scm table {width:100%}
.settings.enabled_scm td.scm_name{ font-weight: bold; }
@@ -1883,7 +1883,8 @@ input#time_entry_comments { width: 90%;}
fieldset.settings label { display: block; }
fieldset#notified_events .parent { padding-left: 20px; }
-span.required {color: #bb0000;}
+span.required {color: #bb0000; margin-right: 2px;}
+
.summary {font-style: italic;}
#attachments_fields input.description {margin-left:4px; width:100px; }