diff --git a/app/views/projects/_project_selector.html.erb b/app/views/projects/_project_selector.html.erb index dd9e624c7e..b89c0dc3bd 100644 --- a/app/views/projects/_project_selector.html.erb +++ b/app/views/projects/_project_selector.html.erb @@ -30,7 +30,7 @@ title = t('project').pluralize title += '*'.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",