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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Replace custom i18n function in committers settings
Matthew Trescott1af65d3b6c73
diff --git a/app/views/repositories/committers.html.erb b/app/views/repositories/committers.html.erbindex af2ed5b29ec..7183d6e34ea 100644--- a/app/views/repositories/committers.html.erb+++ b/app/views/repositories/committers.html.erb@@ -68,7 +68,7 @@ See docs/COPYRIGHT.rdoc for more details.<td><%=h committer %></td><td><%= hidden_field_tag "committers[#{i}][]", committer %>- <%= select_tag "committers[#{i}][]", content_tag('option', "-- #{l :actionview_instancetag_blank_option} --", value: '') + options_from_collection_for_select(@users, 'id', 'name', user_id.to_i) %>+ <%= select_tag "committers[#{i}][]", content_tag('option', "-- #{t(:actionview_instancetag_blank_option)} --", value: '') + options_from_collection_for_select(@users, 'id', 'name', user_id.to_i) %></td></tr><% i += 1 -%>