summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/projects/add.rhtml3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/projects/add.rhtml b/app/views/projects/add.rhtml
index e3ee0b591..bc3d7b09a 100644
--- a/app/views/projects/add.rhtml
+++ b/app/views/projects/add.rhtml
@@ -6,7 +6,8 @@
<fieldset class="box"><legend><%= l(:label_module_plural) %></legend>
<% Redmine::AccessControl.available_project_modules.each do |m| %>
<label class="floating">
- <%= check_box_tag 'enabled_modules[]', m, @project.module_enabled?(m) %> <%= m.to_s.humanize %>
+ <%= check_box_tag 'enabled_modules[]', m, @project.module_enabled?(m) %>
+ <%= (l_has_string?("project_module_#{m}".to_sym) ? l("project_module_#{m}".to_sym) : m.to_s.humanize) %>
</label>
<% end %>
</fieldset>