X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/d5f02968f6f2dd153c74844e818a4d2b2ae24991..cf4cfc530ae54abee7b6a0dccbc9d4603ab35611:/app/views/issues/new.html.erb diff --git a/app/views/issues/new.html.erb b/app/views/issues/new.html.erb index 5f9c7ce08..499035db6 100644 --- a/app/views/issues/new.html.erb +++ b/app/views/issues/new.html.erb @@ -19,7 +19,7 @@ <%= check_box_tag :spam, "[SPAM]" %>
- <%= label_tag "This #{@issue.reportable.class.name} is/contains spam." %>
+ <%= label_tag "This #{@issue.reportable.class.name} " + t('issues.report_strings.spam') %>

@@ -29,7 +29,7 @@ <%= check_box_tag :offensive, "[OFFENSIVE]" %>
- <%= label_tag "This #{@issue.reportable.class.name} is obscene/offensive." %>
+ <%= label_tag "This #{@issue.reportable.class.name} " + t('issues.report_strings.offensive') %>

@@ -39,7 +39,7 @@ <%= check_box_tag :threat, "[THREAT]" %>
- <%= label_tag "This #{@issue.reportable.class.name} contains a threat." %>
+ <%= label_tag "This #{@issue.reportable.class.name} " + t('issues.report_strings.threat') %>

@@ -50,7 +50,7 @@ <%= check_box_tag :vandal, "[VANDAL]" %>
- <%= label_tag "This #{@issue.reportable.class.name} is a vandal." %>
+ <%= label_tag "This #{@issue.reportable.class.name} " + t('issues.report_strings.vandal') %>

@@ -61,13 +61,13 @@ <%= check_box_tag :other, "[OTHER]" %>
- <%= label_tag "Other." %>
+ <%= label_tag t('issues.report_strings.other') %>


- <%= text_area :report, :details, :cols => 80, :rows => 20, placeholder: "Please provide some more details into the problem. (This field cannot be left blank!)" %> + <%= text_area :report, :details, :cols => 80, :rows => 20, placeholder: t('issues.new.details'), required: true %>