diff --git a/app/views/webhooks/_form.html.erb b/app/views/webhooks/_form.html.erb index ab927f7f9..6e4c281cf 100644 --- a/app/views/webhooks/_form.html.erb +++ b/app/views/webhooks/_form.html.erb @@ -16,7 +16,7 @@

<%= l :label_webhook_events %>

<% @webhook.setable_events.keys.sort.each do |type| %> -
<%= toggle_checkboxes_link("##{type}_events\ input") %><%= l_or_humanize(type, prefix: 'webhook_events_') %> +
<%= toggle_checkboxes_link("##{type}_events\ input") %><%= l(:"label_#{type}_plural", :default => type.to_s.humanize.pluralize) %> <% @webhook.setable_events[type].each do |action| %> <% name = "#{type}.#{action}" %>