summaryrefslogtreecommitdiffstats
path: root/app/models/issue_query.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-10-02 11:25:25 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-10-02 11:25:25 +0000
commit19934ec2db4ede2184eb74bd4850510dc0af0265 (patch)
treece0f8d7cf74bc9b46b23bd001f290e10440f36ce /app/models/issue_query.rb
parentb6ed06ca3c59292fd8c98e39e823aed8e65013e6 (diff)
downloadredmine-19934ec2db4ede2184eb74bd4850510dc0af0265.tar.gz
redmine-19934ec2db4ede2184eb74bd4850510dc0af0265.zip
Translate statuses in the version status filter (#23215).
git-svn-id: http://svn.redmine.org/redmine/trunk@15882 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/issue_query.rb')
-rw-r--r--app/models/issue_query.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/issue_query.rb b/app/models/issue_query.rb
index b0df69149..137764e82 100644
--- a/app/models/issue_query.rb
+++ b/app/models/issue_query.rb
@@ -160,7 +160,7 @@ class IssueQuery < Query
add_available_filter "fixed_version.status",
:type => :list,
:name => l(:label_attribute_of_fixed_version, :name => l(:field_status)),
- :values => Version::VERSION_STATUSES.map{|t| [t, t] }
+ :values => Version::VERSION_STATUSES.map{|s| [l("version_status_#{s}"), s] }
add_available_filter "category_id",
:type => :list_optional,