aboutsummaryrefslogtreecommitdiffstats
path: root/app/models/info_request.rb
diff options
context:
space:
mode:
authorMark Longair <mhl@pobox.com>2014-01-02 14:57:33 +0000
committerMark Longair <mhl@pobox.com>2014-01-02 14:57:33 +0000
commit8477e156d5aa4d7fc9624a0f2ab2ecc7101e7a7a (patch)
tree08b57e3e1b23c909c21955eeb869cfdfceeb1c8e /app/models/info_request.rb
parent91ccfb2e0e5062bbf3ee1be36429338b444676b3 (diff)
The reasons for making a report need to be translatable
Thanks to György Peng for pointing out this omission.
Diffstat (limited to 'app/models/info_request.rb')
-rw-r--r--app/models/info_request.rb8
1 files changed, 6 insertions, 2 deletions
diff --git a/app/models/info_request.rb b/app/models/info_request.rb
index 0a073dc79..4eb64dc13 100644
--- a/app/models/info_request.rb
+++ b/app/models/info_request.rb
@@ -113,8 +113,12 @@ class InfoRequest < ActiveRecord::Base
# Possible reasons that a request could be reported for administrator attention
def report_reasons
- ["Contains defamatory material", "Not a valid request", "Request for personal information",
- "Contains personal information", "Vexatious", "Other"]
+ [_("Contains defamatory material"),
+ _("Not a valid request"),
+ _("Request for personal information"),
+ _("Contains personal information"),
+ _("Vexatious"),
+ _("Other")]
end
def must_be_valid_state