Added translation support for project modules names and a few other strings.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1151 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2008-02-16 10:15:19 +00:00
parent 384a444cee
commit abb0b15407
27 changed files with 358 additions and 10 deletions
+3 -2
View File
@@ -4,9 +4,10 @@
<div class=box>
<strong><%= l(:text_select_project_modules) %></strong>
<br />
<% Redmine::AccessControl.available_project_modules.each do |m| %>
<p><label><%= check_box_tag 'enabled_modules[]', m, @project.module_enabled?(m) %> <%= m.to_s.humanize %></label></p>
<p><label><%= 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></p>
<% end %>
</div>