From 73eb1580ae73a425e7c4744e202898e4e35bce8d Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 12 Mar 2009 18:22:54 +0000 Subject: [PATCH] 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 --- lib/redmine/export/pdf.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.39.5