From 7a5fe1c875be26759502f7551f0c461f87f43cea Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Fri, 24 Apr 2009 17:00:25 +0000 Subject: [PATCH] Fixed: Calendar popup broken by i18n refactoring (#3168). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2683 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/application_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 1eabadcfc..479b2a293 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -606,7 +606,7 @@ module ApplicationHelper @calendar_headers_tags_included = true content_for :header_tags do javascript_include_tag('calendar/calendar') + - javascript_include_tag("calendar/lang/calendar-#{current_language}.js") + + javascript_include_tag("calendar/lang/calendar-#{current_language.to_s.downcase}.js") + javascript_include_tag('calendar/calendar-setup') + stylesheet_link_tag('calendar') end -- 2.39.5