]> git.openstreetmap.org Git - rails.git/blobdiff - config/locales/en.yml
Add a redirect and error message if user ends up trying to report something without...
[rails.git] / config / locales / en.yml
index 65c490e8dcffe8d9dcff12ad966ec5ee04f9aedd..afc100dc965222056b7c1a282d52e30d125c3cab 100644 (file)
@@ -1028,7 +1028,7 @@ en:
       created_at: "On %{datetime}"
     reports:
       updated_at: "On %{datetime}"
-      reported_by_html: "Reported as %{category} by <a href=\"%{user_url}\">%{user_name}</a>"
+      reported_by_html: "Reported as %{category} by %{user}"
     resolved: Issue status has been set to 'Resolved'
     ignored: Issue status has been set to 'Ignored'
     reopened: Issue status has been set to 'Open'
@@ -1039,6 +1039,7 @@ en:
   reports:
     new:
       title_html: "Report %{link}"
+      missing_params: "Cannot create a new report"
     categories:
       diary_entry:
         spam: This diary entry is/contains spam
@@ -1789,6 +1790,8 @@ en:
       not_an_admin: You need to be an admin to perform that action.
     require_moderator:
       not_a_moderator: "You need to be a moderator to perform that action."
+    require_moderator_or_admin:
+      not_a_moderator_or_admin: You need to be a moderator or an admin to perform that action
     setup_user_auth:
       blocked_zero_hour: "You have an urgent message on the OpenStreetMap web site. You need to read the message before you will be able to save your edits."
       blocked: "Your access to the API has been blocked. Please log-in to the web interface to find out more."