Translations updates:
* Finnish (Antti Perkiömäki) * Russian (Michael Pirogov) * Chinese Traditional (shortie lo) * Japanese (Satoru Kurashiki) * Korean (Jongyoon Choi) * Simplified Chinese (chaoqun zou) * German (Thomas Löber) Fixed zh and zh-tw encoding in PDF (chaoqun zou). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1186 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
942091f9e8
commit
918937c873
10 files changed
+550
-545
No files matched your search
@@ -27,13 +27,18 @@ module IfpdfHelper
|
||||
def initialize(lang)
|
||||
super()
|
||||
set_language_if_valid lang
|
||||
case current_language
|
||||
when :ja
|
||||
case current_language.to_s
|
||||
when 'ja'
|
||||
extend(PDF_Japanese)
|
||||
AddSJISFont()
|
||||
@font_for_content = 'SJIS'
|
||||
@font_for_footer = 'SJIS'
|
||||
when :zh
|
||||
when 'zh'
|
||||
extend(PDF_Chinese)
|
||||
AddGBFont()
|
||||
@font_for_content = 'GB'
|
||||
@font_for_footer = 'GB'
|
||||
when 'zh-tw'
|
||||
extend(PDF_Chinese)
|
||||
AddBig5Font()
|
||||
@font_for_content = 'Big5'
|
||||
|
||||
Reference in new issue
Block a user