Skip to content

Commit

Permalink
Merge pull request #1594 from seek4science/fix-object-type-text-ignor…
Browse files Browse the repository at this point in the history
…ing-translation

Fix project selector text
  • Loading branch information
somathias authored Sep 27, 2023
2 parents ea17891 + 2dd379c commit bccf7b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/projects/_project_selector.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
title = t('project').pluralize
title += '<span class="required">*</span>'.html_safe unless allow_nil

object_type_text = resource.class.name.underscore.humanize
object_type_text = text_for_resource(resource)
%>

<%= folding_panel(title, false, id: "add_projects_form",
Expand Down

0 comments on commit bccf7b0

Please sign in to comment.