summaryrefslogtreecommitdiffstats
path: root/lib/redmine
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-03-12 18:22:54 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-03-12 18:22:54 +0000
commit73eb1580ae73a425e7c4744e202898e4e35bce8d (patch)
tree080032dd00193c5fd36ca2bbfa2228fb8d334916 /lib/redmine
parenteb224378db4605ef4bb1c68f63c0c9ef41dc3e72 (diff)
downloadredmine-73eb1580ae73a425e7c4744e202898e4e35bce8d.tar.gz
redmine-73eb1580ae73a425e7c4744e202898e4e35bce8d.zip
Fixed: zh-TW PDF export broken by new locales (#2940).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2575 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine')
-rw-r--r--lib/redmine/export/pdf.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/export/pdf.rb b/lib/redmine/export/pdf.rb
index 6629e1c32..b45e67cb7 100644
--- a/lib/redmine/export/pdf.rb
+++ b/lib/redmine/export/pdf.rb
@@ -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()