english help translation added

thx to Karim Trott

git-svn-id: http://redmine.rubyforge.org/svn/trunk@43 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2006-11-07 17:44:50 +00:00
parent ef99d3c4ce
commit 6707034768
28 changed files with 549 additions and 1 deletions

View File

@@ -31,7 +31,7 @@ class HelpController < ApplicationController
end
end
# choose language according to available help translations
lang = (@help_config['langs'].include? current_language) ? current_language : @help_config['langs'].first
lang = (@help_config['langs'].include? current_language.to_s) ? current_language.to_s : @help_config['langs'].first
if template
redirect_to "/manual/#{lang}/#{template}"