]> source.dussan.org Git - redmine.git/commitdiff
Fixed: Calendar popup broken by i18n refactoring (#3168).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 24 Apr 2009 17:00:25 +0000 (17:00 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 24 Apr 2009 17:00:25 +0000 (17:00 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2683 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/application_helper.rb

index 1eabadcfc91c6d693981c502b3f2e24cfb340f92..479b2a293c663e708e02ddff2dc40acc4f7e1a55 100644 (file)
@@ -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