summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/l10n/zh_CN.json
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_ldap/l10n/zh_CN.json')
-rw-r--r--apps/user_ldap/l10n/zh_CN.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/l10n/zh_CN.json b/apps/user_ldap/l10n/zh_CN.json
index 579cc8e9d82..af5594da2a0 100644
--- a/apps/user_ldap/l10n/zh_CN.json
+++ b/apps/user_ldap/l10n/zh_CN.json
@@ -141,7 +141,7 @@
"User Display Name Field" : "用户显示名称字段",
"The LDAP attribute to use to generate the user's display name." : "用来生成用户的显示名称的 LDAP 属性。",
"2nd User Display Name Field" : "第二用户显示名称字段",
- "Optional. An LDAP attribute to be added to the display name in brackets. Results in e.g. »John Doe (john.doe@example.org)«." : "可选项。LDAP 属性被添加到显示名称的括号内。例如»John Doe (john.doe@example.org)«。",
+ "Optional. An LDAP attribute to be added to the display name in brackets. Results in e.g. »John Doe (john.doe@example.org)«." : "可选项。LDAP 属性被添加到显示名称的括号内。例如 »John Doe (john.doe@example.org)«。",
"Base User Tree" : "基础用户树",
"One User Base DN per line" : "每行一个用户基准判别名",
"User Search Attributes" : "用户搜索属性",
/span> no_html diff_link = link_to 'diff', diff_journal_url(detail.journal_id, :detail_id => detail.id, :only_path => options[:only_path]), :title => l(:label_view_diff) s << " (#{ diff_link })" end s.html_safe elsif detail.value.present? case detail.property when 'attr', 'cf' if detail.old_value.present? l(:text_journal_changed, :label => label, :old => old_value, :new => value).html_safe elsif multiple l(:text_journal_added, :label => label, :value => value).html_safe else l(:text_journal_set_to, :label => label, :value => value).html_safe end when 'attachment', 'relation' l(:text_journal_added, :label => label, :value => value).html_safe end else l(:text_journal_deleted, :label => label, :old => old_value).html_safe end end # Find the name of an associated record stored in the field attribute def find_name_by_reflection(field, id) unless id.present? return nil end @detail_value_name_by_reflection ||= Hash.new do |hash, key| association = Issue.reflect_on_association(key.first.to_sym) name = nil if association record = association.klass.find_by_id(key.last) if record name = record.name.force_encoding('UTF-8') end end hash[key] = name end @detail_value_name_by_reflection[[field, id]] end # Renders issue children recursively def render_api_issue_children(issue, api) return if issue.leaf? api.array :children do issue.children.each do |child| api.issue(:id => child.id) do api.tracker(:id => child.tracker_id, :name => child.tracker.name) unless child.tracker.nil? api.subject child.subject render_api_issue_children(child, api) end end end end end