]> source.dussan.org Git - redmine.git/commitdiff
Fixed: zh-TW PDF export broken by new locales (#2940).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 12 Mar 2009 18:22:54 +0000 (18:22 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Thu, 12 Mar 2009 18:22:54 +0000 (18:22 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2575 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/export/pdf.rb

index 6629e1c3273b30288e9b23047228ea05f2dc0e34..b45e67cb763c125c7b068b2306a2e482a0e92721 100644 (file)
@@ -32,7 +32,7 @@ module Redmine
         def initialize(lang)
           super()
           set_language_if_valid lang
-          case current_language.to_s
+          case current_language.to_s.downcase
           when 'ja'
             extend(PDF_Japanese)
             AddSJISFont()