Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

correctly use attribute reference on I18n.t

ulferts58870a540699
diff --git a/app/views/enumerations/destroy.html.erb b/app/views/enumerations/destroy.html.erb
index b72623f3378..cd181d09612 100644
--- a/app/views/enumerations/destroy.html.erb
+++ b/app/views/enumerations/destroy.html.erb
@@ -29,7 +29,7 @@ See docs/COPYRIGHT.rdoc for more details.
<%= breadcrumb_toolbar link_to(t(@enumeration.option_name), enumerations_path), @enumeration %>
<%= styled_form_tag({}, method: :delete) do %>
<section class="form--section">
- <p><strong><%= t(:text_enumeration_destroy_question, @enumeration.objects_count) %></strong></p>
+ <p><strong><%= t(:text_enumeration_destroy_question, count: @enumeration.objects_count) %></strong></p>
<div class="form--field">
<%= styled_label_tag 'reassign_to_id', t(:text_enumeration_category_reassign_to) %>
<div class="form--field-container">