]> git.openstreetmap.org Git - rails.git/commitdiff
Remove vandalism as an option for reporting notes.
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 14 Mar 2018 04:14:59 +0000 (12:14 +0800)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 14 Mar 2018 04:51:22 +0000 (12:51 +0800)
app/models/report.rb
config/locales/en.yml

index fcfa61b98a794cd74a6d0833afbd991076be6bca..3507d699fadfd278cec9478988e27513921bf56d 100644 (file)
@@ -33,7 +33,7 @@ class Report < ActiveRecord::Base
     when "DiaryEntry" then %w[spam offensive threat other]
     when "DiaryComment" then %w[spam offensive threat other]
     when "User" then %w[spam offensive threat vandal other]
-    when "Note" then %w[spam vandalism personal abusive other]
+    when "Note" then %w[spam personal abusive other]
     else %w[other]
     end
   end
index 6d0f34c9de6964b2a6b1737b6713709d31e0b8b7..297bebbcf9f538d561ca79113754033113b25446 100644 (file)
@@ -1058,7 +1058,6 @@ en:
         other: Other
       note:
         spam: This note is spam
-        vandalism: This note is vandalism
         personal: This note contains personal data
         abusive: This note is abusive
         other: Other