diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-03-07 17:04:16 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-03-07 17:04:16 +0000 |
commit | e8035c22b28f1ac9afa2ea34ae6e45fb4317900b (patch) | |
tree | 46c66a6bc98d90d38365709b8d90d831a5712e0a /app | |
parent | 482d9a4e82efd0466fb682a8edfc69a31cfbb297 (diff) | |
download | redmine-e8035c22b28f1ac9afa2ea34ae6e45fb4317900b.tar.gz redmine-e8035c22b28f1ac9afa2ea34ae6e45fb4317900b.zip |
Fixes module names localization on projects/add (closes #797).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1203 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/add.rhtml | 3 |
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> |