Commit cb49157c authored by marutosijp's avatar marutosijp

pdf: define "general_pdf_fontname" at i18n yaml for multilingual environment (#13781)

Contributed by Jun NAITOH.

git-svn-id: https://svn.redmine.org/redmine/trunk@13458 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 66ddd94f
......@@ -140,6 +140,7 @@ ar:
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: ISO-8859-1
general_pdf_fontname: freesans
general_first_day_of_week: '7'
notice_account_updated: لقد تم تجديد الحساب بنجاح.
......
......@@ -384,6 +384,7 @@ az:
general_csv_decimal_separator: ','
general_csv_encoding: UTF-8
general_csv_separator: ';'
general_pdf_fontname: freesans
general_first_day_of_week: '1'
general_lang_name: 'Azerbaijanian (Azeri)'
general_text_no: 'xeyr'
......
......@@ -142,6 +142,7 @@ bg:
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: UTF-8
general_pdf_fontname: freesans
general_first_day_of_week: '1'
notice_account_updated: Профилът е обновен успешно.
......
......@@ -152,6 +152,7 @@ bs:
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: UTF-8
general_pdf_fontname: freesans
general_first_day_of_week: '7'
notice_account_activated: Vaš nalog je aktiviran. Možete se prijaviti.
......
......@@ -144,6 +144,7 @@ ca:
general_csv_separator: ';'
general_csv_decimal_separator: ','
general_csv_encoding: ISO-8859-15
general_pdf_fontname: freesans
general_first_day_of_week: '1'
notice_account_updated: "El compte s'ha actualitzat correctament."
......
......@@ -146,6 +146,7 @@ cs:
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: UTF-8
general_pdf_fontname: freesans
general_first_day_of_week: '1'
notice_account_updated: Účet byl úspěšně změněn.
......
......@@ -158,6 +158,7 @@ da:
general_lang_name: 'Danish (Dansk)'
general_csv_separator: ','
general_csv_encoding: ISO-8859-1
general_pdf_fontname: freesans
general_first_day_of_week: '1'
notice_account_updated: Kontoen er opdateret.
......
......@@ -392,6 +392,7 @@ de:
general_csv_decimal_separator: ','
general_csv_encoding: ISO-8859-1
general_csv_separator: ';'
general_pdf_fontname: freesans
general_first_day_of_week: '1'
general_lang_name: 'Deutsch'
general_text_No: 'Nein'
......
......@@ -142,6 +142,7 @@ el:
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: UTF-8
general_pdf_fontname: freesans
general_first_day_of_week: '7'
notice_account_updated: Ο λογαριασμός ενημερώθηκε επιτυχώς.
......
......@@ -145,6 +145,7 @@ en-GB:
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: ISO-8859-1
general_pdf_fontname: freesans
general_first_day_of_week: '1'
notice_account_updated: Account was successfully updated.
......
......@@ -141,6 +141,7 @@ en:
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: ISO-8859-1
general_pdf_fontname: freesans
general_first_day_of_week: '7'
notice_account_updated: Account was successfully updated.
......
......@@ -340,6 +340,7 @@ es:
general_csv_decimal_separator: ','
general_csv_encoding: ISO-8859-15
general_csv_separator: ';'
general_pdf_fontname: freesans
general_first_day_of_week: '1'
general_lang_name: 'Español'
general_text_No: 'No'
......
......@@ -158,6 +158,7 @@ et:
general_csv_separator: ","
general_csv_decimal_separator: "."
general_csv_encoding: ISO-8859-13
general_pdf_fontname: freesans
general_first_day_of_week: "1"
notice_account_updated: "Konto uuendamine õnnestus."
......
......@@ -143,6 +143,7 @@ eu:
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: UTF-8
general_pdf_fontname: freesans
general_first_day_of_week: '1'
notice_account_updated: Kontua ongi eguneratu da.
......
......@@ -141,6 +141,7 @@ fa:
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: UTF-8
general_pdf_fontname: freesans
general_first_day_of_week: '6'
notice_account_updated: حساب شما بروز شد.
......
......@@ -166,6 +166,7 @@ fi:
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: ISO-8859-15
general_pdf_fontname: freesans
general_first_day_of_week: '1'
notice_account_updated: Tilin päivitys onnistui.
......
......@@ -161,6 +161,7 @@ fr:
general_csv_separator: ';'
general_csv_decimal_separator: ','
general_csv_encoding: ISO-8859-1
general_pdf_fontname: freesans
general_first_day_of_week: '1'
notice_account_updated: Le compte a été mis à jour avec succès.
......
......@@ -316,6 +316,7 @@ gl:
general_csv_decimal_separator: ','
general_csv_encoding: ISO-8859-15
general_csv_separator: ';'
general_pdf_fontname: freesans
general_first_day_of_week: '1'
general_lang_name: 'Galego'
general_text_No: 'Non'
......
......@@ -146,6 +146,7 @@ he:
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: ISO-8859-8
general_pdf_fontname: freesans
general_first_day_of_week: '7'
notice_account_updated: החשבון עודכן בהצלחה!
......
......@@ -136,6 +136,7 @@ hr:
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: UTF-8
general_pdf_fontname: freesans
general_first_day_of_week: '7'
notice_account_updated: Vaš profil je uspješno promijenjen.
......
......@@ -162,6 +162,7 @@
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: ISO-8859-2
general_pdf_fontname: freesans
general_first_day_of_week: '1'
notice_account_updated: A fiók adatai sikeresen frissítve.
......
......@@ -141,6 +141,7 @@ id:
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: ISO-8859-1
general_pdf_fontname: freesans
general_first_day_of_week: '7'
notice_account_updated: Akun sudah berhasil diperbarui.
......
......@@ -146,6 +146,7 @@ it:
general_csv_separator: ';'
general_csv_decimal_separator: ','
general_csv_encoding: ISO-8859-1
general_pdf_fontname: freesans
general_first_day_of_week: '1'
notice_account_updated: L'utente è stato aggiornato.
......
......@@ -162,6 +162,7 @@ ja:
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: CP932
general_pdf_fontname: kozminproregular
general_first_day_of_week: '7'
notice_account_updated: アカウントが更新されました。
......
......@@ -188,6 +188,7 @@ ko:
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: CP949
general_pdf_fontname: hysmyeongjostdmedium
general_first_day_of_week: '7'
notice_account_updated: 계정이 성공적으로 변경되었습니다.
......
......@@ -200,6 +200,7 @@ lt:
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: UTF-8
general_pdf_fontname: freesans
general_first_day_of_week: '1'
notice_account_updated: Paskyra buvo sėkmingai atnaujinta.
......
......@@ -135,6 +135,7 @@ lv:
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: UTF-8
general_pdf_fontname: freesans
general_first_day_of_week: '1'
notice_account_updated: Konts tika atjaunots veiksmīgi.
......
......@@ -142,6 +142,7 @@ mk:
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: UTF-8
general_pdf_fontname: freesans
general_first_day_of_week: '1'
notice_account_updated: Профилот е успешно ажуриран.
......
......@@ -141,6 +141,7 @@ mn:
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: UTF-8
general_pdf_fontname: freesans
general_first_day_of_week: '7'
notice_account_updated: Дансыг амжилттай өөрчиллөө.
......
......@@ -285,6 +285,7 @@ nl:
general_csv_decimal_separator: ','
general_csv_encoding: ISO-8859-1
general_csv_separator: ';'
general_pdf_fontname: freesans
general_first_day_of_week: '7'
general_lang_name: 'Nederlands'
general_text_No: 'Nee'
......
......@@ -131,6 +131,7 @@
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: ISO-8859-1
general_pdf_fontname: freesans
general_first_day_of_week: '1'
notice_account_updated: Kontoen er oppdatert.
......
......@@ -308,6 +308,7 @@ pl:
general_csv_decimal_separator: ','
general_csv_encoding: UTF-8
general_csv_separator: ';'
general_pdf_fontname: freesans
general_first_day_of_week: '1'
general_lang_name: 'Polski'
general_text_No: 'Nie'
......
......@@ -161,6 +161,7 @@ pt-BR:
general_csv_separator: ';'
general_csv_decimal_separator: ','
general_csv_encoding: ISO-8859-1
general_pdf_fontname: freesans
general_first_day_of_week: '1'
notice_account_updated: Conta atualizada com sucesso.
......
......@@ -151,6 +151,7 @@ pt:
general_csv_separator: ';'
general_csv_decimal_separator: ','
general_csv_encoding: ISO-8859-15
general_pdf_fontname: freesans
general_first_day_of_week: '1'
notice_account_updated: A conta foi atualizada com sucesso.
......
......@@ -136,6 +136,7 @@ ro:
general_csv_separator: '.'
general_csv_decimal_separator: ','
general_csv_encoding: UTF-8
general_pdf_fontname: freesans
general_first_day_of_week: '2'
notice_account_updated: Cont actualizat.
......
......@@ -394,6 +394,7 @@ ru:
general_csv_decimal_separator: ','
general_csv_encoding: UTF-8
general_csv_separator: ';'
general_pdf_fontname: freesans
general_first_day_of_week: '1'
general_lang_name: 'Russian (Русский)'
general_text_no: 'нет'
......
......@@ -140,6 +140,7 @@ sk:
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: UTF-8
general_pdf_fontname: freesans
general_first_day_of_week: '1'
notice_account_updated: Účet bol úspešne zmenený.
......
......@@ -140,6 +140,7 @@ sl:
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: UTF-8
general_pdf_fontname: freesans
general_first_day_of_week: '1'
notice_account_updated: Račun je bil uspešno posodobljen.
......
......@@ -141,6 +141,7 @@ sq:
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: ISO-8859-1
general_pdf_fontname: freesans
general_first_day_of_week: '7'
notice_account_updated: Llogaria u perditesua me sukses.
......
......@@ -144,6 +144,7 @@ sr-YU:
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: UTF-8
general_pdf_fontname: freesans
general_first_day_of_week: '1'
notice_account_updated: Nalog je uspešno ažuriran.
......
......@@ -142,6 +142,7 @@ sr:
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: UTF-8
general_pdf_fontname: freesans
general_first_day_of_week: '1'
notice_account_updated: Налог је успешно ажуриран.
......
......@@ -183,6 +183,7 @@ sv:
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: ISO-8859-1
general_pdf_fontname: freesans
general_first_day_of_week: '1'
notice_account_updated: Kontot har uppdaterats
......
......@@ -139,6 +139,7 @@ th:
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: Windows-874
general_pdf_fontname: freeserif
general_first_day_of_week: '1'
notice_account_updated: บัญชีได้ถูกปรับปรุงแล้ว.
......
......@@ -155,6 +155,7 @@ tr:
general_lang_name: 'Türkçe'
general_csv_separator: ','
general_csv_encoding: ISO-8859-9
general_pdf_fontname: freesans
general_first_day_of_week: '7'
notice_account_updated: Hesap başarıyla güncelleştirildi.
......
......@@ -139,6 +139,7 @@ uk:
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: UTF-8
general_pdf_fontname: freesans
general_first_day_of_week: '1'
notice_account_updated: Обліковий запис успішно оновлений.
......
......@@ -194,6 +194,7 @@ vi:
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: UTF-8
general_pdf_fontname: DejaVuSans
general_first_day_of_week: '1'
notice_account_updated: Cập nhật tài khoản thành công.
......
......@@ -225,6 +225,7 @@
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: Big5
general_pdf_fontname: msungstdlight
general_first_day_of_week: '7'
notice_account_updated: 帳戶更新資訊已儲存
......
......@@ -145,6 +145,7 @@ zh:
general_csv_separator: ','
general_csv_decimal_separator: '.'
general_csv_encoding: gb18030
general_pdf_fontname: stsongstdlight
general_first_day_of_week: '7'
notice_account_updated: 帐号更新成功
......
......@@ -39,29 +39,8 @@ module Redmine
set_rtl(l(:direction) == 'rtl')
set_temp_rtl(l(:direction) == 'rtl' ? 'R' : 'L')
case current_language.to_s.downcase
when 'vi'
@font_for_content = 'DejaVuSans'
@font_for_footer = 'DejaVuSans'
when 'ja'
@font_for_content = 'kozminproregular'
@font_for_footer = 'kozminproregular'
when 'zh-tw' # Traditional Chinese (BIG5)
@font_for_content = 'msungstdlight'
@font_for_footer = 'msungstdlight'
when 'zh' # Simplified Chinese (GB18030)
@font_for_content = 'stsongstdlight'
@font_for_footer = 'stsongstdlight'
when 'ko' # Korean (UHC)
@font_for_content = 'hysmyeongjostdmedium'
@font_for_footer = 'hysmyeongjostdmedium'
when 'th' # Thai
@font_for_content = 'freeserif'
@font_for_footer = 'freeserif'
else
@font_for_content = 'freesans'
@font_for_footer = 'freesans'
end
@font_for_content = l(:general_pdf_fontname)
@font_for_footer = l(:general_pdf_fontname)
set_creator(Redmine::Info.app_name)
set_font(@font_for_content)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment