Fixed: Export CSV - Custom field true/false not using translation (#16081).

git-svn-id: http://svn.redmine.org/redmine/trunk@12896 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2014-02-15 09:18:01 +00:00
parent 88568da451
commit 1114bf5e99
3 changed files with 26 additions and 0 deletions

View File

@@ -129,6 +129,10 @@ module QueriesHelper
when 'IssueRelation'
other = value.other_issue(issue)
l(value.label_for(issue)) + " ##{other.id}"
when 'TrueClass'
l(:general_text_Yes)
when 'FalseClass'
l(:general_text_No)
else
value.to_s
end