Project

General

Profile

Defect #13781 » general_pdf_fontname_r13446.patch

Jun NAITOH, 2014-10-15 16:39

View differences:

config/locales/lt.yml (working copy)
200 200
  general_csv_separator: ','
201 201
  general_csv_decimal_separator: '.'
202 202
  general_csv_encoding: UTF-8
203
  general_pdf_fontname: freesans
203 204
  general_first_day_of_week: '1'
204 205

  
205 206
  notice_account_updated: Paskyra buvo sėkmingai atnaujinta.
config/locales/sr-YU.yml (working copy)
144 144
  general_csv_separator: ','
145 145
  general_csv_decimal_separator: '.'
146 146
  general_csv_encoding: UTF-8
147
  general_pdf_fontname: freesans
147 148
  general_first_day_of_week: '1'
148 149

  
149 150
  notice_account_updated: Nalog je uspešno ažuriran.
config/locales/ro.yml (working copy)
136 136
  general_csv_separator: '.'
137 137
  general_csv_decimal_separator: ','
138 138
  general_csv_encoding: UTF-8
139
  general_pdf_fontname: freesans
139 140
  general_first_day_of_week: '2'
140 141

  
141 142
  notice_account_updated: Cont actualizat.
config/locales/lv.yml (working copy)
135 135
  general_csv_separator: ','
136 136
  general_csv_decimal_separator: '.'
137 137
  general_csv_encoding: UTF-8
138
  general_pdf_fontname: freesans
138 139
  general_first_day_of_week: '1'
139 140

  
140 141
  notice_account_updated: Konts tika atjaunots veiksmīgi.
config/locales/zh.yml (working copy)
145 145
  general_csv_separator: ','
146 146
  general_csv_decimal_separator: '.'
147 147
  general_csv_encoding: gb18030
148
  general_pdf_fontname: stsongstdlight
148 149
  general_first_day_of_week: '7'
149 150

  
150 151
  notice_account_updated: 帐号更新成功
config/locales/ca.yml (working copy)
144 144
  general_csv_separator: ';'
145 145
  general_csv_decimal_separator: ','
146 146
  general_csv_encoding: ISO-8859-15
147
  general_pdf_fontname: freesans
147 148
  general_first_day_of_week: '1'
148 149

  
149 150
  notice_account_updated: "El compte s'ha actualitzat correctament."
config/locales/pt.yml (working copy)
151 151
  general_csv_separator: ';'
152 152
  general_csv_decimal_separator: ','
153 153
  general_csv_encoding: ISO-8859-15
154
  general_pdf_fontname: freesans
154 155
  general_first_day_of_week: '1'
155 156

  
156 157
  notice_account_updated: A conta foi atualizada com sucesso.
config/locales/pt-BR.yml (working copy)
161 161
  general_csv_separator: ';'
162 162
  general_csv_decimal_separator: ','
163 163
  general_csv_encoding: ISO-8859-1
164
  general_pdf_fontname: freesans
164 165
  general_first_day_of_week: '1'
165 166

  
166 167
  notice_account_updated: Conta atualizada com sucesso.
config/locales/tr.yml (working copy)
155 155
  general_lang_name: 'Türkçe'
156 156
  general_csv_separator: ','
157 157
  general_csv_encoding: ISO-8859-9
158
  general_pdf_fontname: freesans
158 159
  general_first_day_of_week: '7'
159 160

  
160 161
  notice_account_updated: Hesap başarıyla güncelleştirildi.
config/locales/ru.yml (working copy)
394 394
  general_csv_decimal_separator: ','
395 395
  general_csv_encoding: UTF-8
396 396
  general_csv_separator: ';'
397
  general_pdf_fontname: freesans
397 398
  general_first_day_of_week: '1'
398 399
  general_lang_name: 'Russian (Русский)'
399 400
  general_text_no: 'нет'
config/locales/en-GB.yml (working copy)
145 145
  general_csv_separator: ','
146 146
  general_csv_decimal_separator: '.'
147 147
  general_csv_encoding: ISO-8859-1
148
  general_pdf_fontname: freesans
148 149
  general_first_day_of_week: '1'
149 150

  
150 151
  notice_account_updated: Account was successfully updated.
config/locales/id.yml (working copy)
141 141
  general_csv_separator: ','
142 142
  general_csv_decimal_separator: '.'
143 143
  general_csv_encoding: ISO-8859-1
144
  general_pdf_fontname: freesans
144 145
  general_first_day_of_week: '7'
145 146

  
146 147
  notice_account_updated: Akun sudah berhasil diperbarui.
config/locales/el.yml (working copy)
142 142
  general_csv_separator: ','
143 143
  general_csv_decimal_separator: '.'
144 144
  general_csv_encoding: UTF-8
145
  general_pdf_fontname: freesans
145 146
  general_first_day_of_week: '7'
146 147

  
147 148
  notice_account_updated: Ο λογαριασμός ενημερώθηκε επιτυχώς.
config/locales/ar.yml (working copy)
140 140
  general_csv_separator: ','
141 141
  general_csv_decimal_separator: '.'
142 142
  general_csv_encoding: ISO-8859-1
143
  general_pdf_fontname: freesans
143 144
  general_first_day_of_week: '7'
144 145

  
145 146
  notice_account_updated: لقد تم تجديد الحساب بنجاح.
config/locales/en.yml (working copy)
141 141
  general_csv_separator: ','
142 142
  general_csv_decimal_separator: '.'
143 143
  general_csv_encoding: ISO-8859-1
144
  general_pdf_fontname: freesans
144 145
  general_first_day_of_week: '7'
145 146

  
146 147
  notice_account_updated: Account was successfully updated.
config/locales/gl.yml (working copy)
316 316
  general_csv_decimal_separator: ','
317 317
  general_csv_encoding: ISO-8859-15
318 318
  general_csv_separator: ';'
319
  general_pdf_fontname: freesans
319 320
  general_first_day_of_week: '1'
320 321
  general_lang_name: 'Galego'
321 322
  general_text_No: 'Non'
config/locales/cs.yml (working copy)
146 146
  general_csv_separator: ','
147 147
  general_csv_decimal_separator: '.'
148 148
  general_csv_encoding: UTF-8
149
  general_pdf_fontname: freesans
149 150
  general_first_day_of_week: '1'
150 151

  
151 152
  notice_account_updated: Účet byl úspěšně změněn.
config/locales/es.yml (working copy)
340 340
  general_csv_decimal_separator: ','
341 341
  general_csv_encoding: ISO-8859-15
342 342
  general_csv_separator: ';'
343
  general_pdf_fontname: freesans
343 344
  general_first_day_of_week: '1'
344 345
  general_lang_name: 'Español'
345 346
  general_text_No: 'No'
config/locales/mk.yml (working copy)
142 142
  general_csv_separator: ','
143 143
  general_csv_decimal_separator: '.'
144 144
  general_csv_encoding: UTF-8
145
  general_pdf_fontname: freesans
145 146
  general_first_day_of_week: '1'
146 147

  
147 148
  notice_account_updated: Профилот е успешно ажуриран.
config/locales/et.yml (working copy)
158 158
  general_csv_separator: ","
159 159
  general_csv_decimal_separator: "."
160 160
  general_csv_encoding: ISO-8859-13
161
  general_pdf_fontname: freesans
161 162
  general_first_day_of_week: "1"
162 163

  
163 164
  notice_account_updated: "Konto uuendamine õnnestus."
config/locales/zh-TW.yml (working copy)
225 225
  general_csv_separator: ','
226 226
  general_csv_decimal_separator: '.'
227 227
  general_csv_encoding: Big5
228
  general_pdf_fontname: msungstdlight
228 229
  general_first_day_of_week: '7'
229 230

  
230 231
  notice_account_updated: 帳戶更新資訊已儲存
config/locales/eu.yml (working copy)
143 143
  general_csv_separator: ','
144 144
  general_csv_decimal_separator: '.'
145 145
  general_csv_encoding: UTF-8
146
  general_pdf_fontname: freesans
146 147
  general_first_day_of_week: '1'
147 148

  
148 149
  notice_account_updated: Kontua ongi eguneratu da.
config/locales/ko.yml (working copy)
188 188
  general_csv_separator: ','
189 189
  general_csv_decimal_separator: '.'
190 190
  general_csv_encoding: CP949
191
  general_pdf_fontname: hysmyeongjostdmedium
191 192
  general_first_day_of_week: '7'
192 193

  
193 194
  notice_account_updated: 계정이 성공적으로 변경되었습니다.
config/locales/az.yml (working copy)
384 384
  general_csv_decimal_separator: ','
385 385
  general_csv_encoding: UTF-8
386 386
  general_csv_separator: ';'
387
  general_pdf_fontname: freesans
387 388
  general_first_day_of_week: '1'
388 389
  general_lang_name: 'Azerbaijanian (Azeri)'
389 390
  general_text_no: 'xeyr'
config/locales/mn.yml (working copy)
141 141
  general_csv_separator: ','
142 142
  general_csv_decimal_separator: '.'
143 143
  general_csv_encoding: UTF-8
144
  general_pdf_fontname: freesans
144 145
  general_first_day_of_week: '7'
145 146

  
146 147
  notice_account_updated: Дансыг амжилттай өөрчиллөө.
config/locales/it.yml (working copy)
146 146
  general_csv_separator: ';'
147 147
  general_csv_decimal_separator: ','
148 148
  general_csv_encoding: ISO-8859-1
149
  general_pdf_fontname: freesans
149 150
  general_first_day_of_week: '1'
150 151

  
151 152
  notice_account_updated: L'utente è stato aggiornato.
config/locales/sk.yml (working copy)
140 140
  general_csv_separator: ','
141 141
  general_csv_decimal_separator: '.'
142 142
  general_csv_encoding: UTF-8
143
  general_pdf_fontname: freesans
143 144
  general_first_day_of_week: '1'
144 145

  
145 146
  notice_account_updated: Účet bol úspešne zmenený.
config/locales/sl.yml (working copy)
140 140
  general_csv_separator: ','
141 141
  general_csv_decimal_separator: '.'
142 142
  general_csv_encoding: UTF-8
143
  general_pdf_fontname: freesans
143 144
  general_first_day_of_week: '1'
144 145

  
145 146
  notice_account_updated: Račun je bil uspešno posodobljen.
config/locales/uk.yml (working copy)
139 139
  general_csv_separator: ','
140 140
  general_csv_decimal_separator: '.'
141 141
  general_csv_encoding: UTF-8
142
  general_pdf_fontname: freesans
142 143
  general_first_day_of_week: '1'
143 144

  
144 145
  notice_account_updated: Обліковий запис успішно оновлений.
config/locales/sq.yml (working copy)
141 141
  general_csv_separator: ','
142 142
  general_csv_decimal_separator: '.'
143 143
  general_csv_encoding: ISO-8859-1
144
  general_pdf_fontname: freesans
144 145
  general_first_day_of_week: '7'
145 146

  
146 147
  notice_account_updated: Llogaria u perditesua me sukses.
config/locales/sr.yml (working copy)
142 142
  general_csv_separator: ','
143 143
  general_csv_decimal_separator: '.'
144 144
  general_csv_encoding: UTF-8
145
  general_pdf_fontname: freesans
145 146
  general_first_day_of_week: '1'
146 147

  
147 148
  notice_account_updated: Налог је успешно ажуриран.
config/locales/da.yml (working copy)
158 158
  general_lang_name: 'Danish (Dansk)'
159 159
  general_csv_separator: ','
160 160
  general_csv_encoding: ISO-8859-1
161
  general_pdf_fontname: freesans
161 162
  general_first_day_of_week: '1'
162 163

  
163 164
  notice_account_updated: Kontoen er opdateret.
config/locales/fa.yml (working copy)
141 141
  general_csv_separator: ','
142 142
  general_csv_decimal_separator: '.'
143 143
  general_csv_encoding: UTF-8
144
  general_pdf_fontname: freesans
144 145
  general_first_day_of_week: '6'
145 146

  
146 147
  notice_account_updated: حساب شما بروز شد.
config/locales/bg.yml (working copy)
142 142
  general_csv_separator: ','
143 143
  general_csv_decimal_separator: '.'
144 144
  general_csv_encoding: UTF-8
145
  general_pdf_fontname: freesans
145 146
  general_first_day_of_week: '1'
146 147

  
147 148
  notice_account_updated: Профилът е обновен успешно.
config/locales/de.yml (working copy)
392 392
  general_csv_decimal_separator: ','
393 393
  general_csv_encoding: ISO-8859-1
394 394
  general_csv_separator: ';'
395
  general_pdf_fontname: freesans
395 396
  general_first_day_of_week: '1'
396 397
  general_lang_name: 'Deutsch'
397 398
  general_text_No: 'Nein'
config/locales/sv.yml (working copy)
183 183
  general_csv_separator: ','
184 184
  general_csv_decimal_separator: '.'
185 185
  general_csv_encoding: ISO-8859-1
186
  general_pdf_fontname: freesans
186 187
  general_first_day_of_week: '1'
187 188

  
188 189
  notice_account_updated: Kontot har uppdaterats
config/locales/ja.yml (working copy)
162 162
  general_csv_separator: ','
163 163
  general_csv_decimal_separator: '.'
164 164
  general_csv_encoding: CP932
165
  general_pdf_fontname: kozminproregular
165 166
  general_first_day_of_week: '7'
166 167

  
167 168
  notice_account_updated: アカウントが更新されました。
config/locales/he.yml (working copy)
146 146
  general_csv_separator: ','
147 147
  general_csv_decimal_separator: '.'
148 148
  general_csv_encoding: ISO-8859-8
149
  general_pdf_fontname: freesans
149 150
  general_first_day_of_week: '7'
150 151

  
151 152
  notice_account_updated: החשבון עודכן בהצלחה!
config/locales/fi.yml (working copy)
166 166
  general_csv_separator: ','
167 167
  general_csv_decimal_separator: '.'
168 168
  general_csv_encoding: ISO-8859-15
169
  general_pdf_fontname: freesans
169 170
  general_first_day_of_week: '1'
170 171

  
171 172
  notice_account_updated: Tilin päivitys onnistui.
config/locales/bs.yml (working copy)
152 152
  general_csv_separator: ','
153 153
  general_csv_decimal_separator: '.'
154 154
  general_csv_encoding: UTF-8
155
  general_pdf_fontname: freesans
155 156
  general_first_day_of_week: '7'
156 157

  
157 158
  notice_account_activated: Vaš nalog je aktiviran. Možete se prijaviti.
config/locales/fr.yml (working copy)
161 161
  general_csv_separator: ';'
162 162
  general_csv_decimal_separator: ','
163 163
  general_csv_encoding: ISO-8859-1
164
  general_pdf_fontname: freesans
164 165
  general_first_day_of_week: '1'
165 166

  
166 167
  notice_account_updated: Le compte a été mis à jour avec succès.
config/locales/nl.yml (working copy)
285 285
  general_csv_decimal_separator: ','
286 286
  general_csv_encoding: ISO-8859-1
287 287
  general_csv_separator: ';'
288
  general_pdf_fontname: freesans
288 289
  general_first_day_of_week: '7'
289 290
  general_lang_name: 'Nederlands'
290 291
  general_text_No: 'Nee'
config/locales/hr.yml (working copy)
136 136
  general_csv_separator: ','
137 137
  general_csv_decimal_separator: '.'
138 138
  general_csv_encoding: UTF-8
139
  general_pdf_fontname: freesans
139 140
  general_first_day_of_week: '7'
140 141

  
141 142
  notice_account_updated: Vaš profil je uspješno promijenjen.
config/locales/pl.yml (working copy)
308 308
  general_csv_decimal_separator: ','
309 309
  general_csv_encoding: UTF-8
310 310
  general_csv_separator: ';'
311
  general_pdf_fontname: freesans
311 312
  general_first_day_of_week: '1'
312 313
  general_lang_name: 'Polski'
313 314
  general_text_No: 'Nie'
config/locales/th.yml (working copy)
139 139
  general_csv_separator: ','
140 140
  general_csv_decimal_separator: '.'
141 141
  general_csv_encoding: Windows-874
142
  general_pdf_fontname: freeserif
142 143
  general_first_day_of_week: '1'
143 144

  
144 145
  notice_account_updated: บัญชีได้ถูกปรับปรุงแล้ว.
config/locales/no.yml (working copy)
131 131
  general_csv_separator: ','
132 132
  general_csv_decimal_separator: '.'
133 133
  general_csv_encoding: ISO-8859-1
134
  general_pdf_fontname: freesans
134 135
  general_first_day_of_week: '1'
135 136

  
136 137
  notice_account_updated: Kontoen er oppdatert.
config/locales/hu.yml (working copy)
162 162
  general_csv_separator: ','
163 163
  general_csv_decimal_separator: '.'
164 164
  general_csv_encoding: ISO-8859-2
165
  general_pdf_fontname: freesans
165 166
  general_first_day_of_week: '1'
166 167

  
167 168
  notice_account_updated: A fiók adatai sikeresen frissítve.
config/locales/vi.yml (working copy)
194 194
  general_csv_separator: ','
195 195
  general_csv_decimal_separator: '.'
196 196
  general_csv_encoding: UTF-8
197
  general_pdf_fontname: DejaVuSans
197 198
  general_first_day_of_week: '1'
198 199

  
199 200
  notice_account_updated: Cập nhật tài khoản thành công.
lib/redmine/export/pdf.rb (working copy)
39 39
          set_rtl(l(:direction) == 'rtl')
40 40
          set_temp_rtl(l(:direction) == 'rtl' ? 'R' : 'L')
41 41

  
42
          case current_language.to_s.downcase
43
          when 'vi'
44
            @font_for_content = 'DejaVuSans'
45
            @font_for_footer  = 'DejaVuSans'
46
          when 'ja'
47
            @font_for_content = 'kozminproregular'
48
            @font_for_footer  = 'kozminproregular'
49
          when 'zh-tw' # Traditional Chinese (BIG5)
50
            @font_for_content = 'msungstdlight'
51
            @font_for_footer  = 'msungstdlight'
52
          when 'zh' # Simplified Chinese (GB18030)
53
            @font_for_content = 'stsongstdlight'
54
            @font_for_footer  = 'stsongstdlight'
55
          when 'ko' # Korean (UHC)
56
            @font_for_content = 'hysmyeongjostdmedium'
57
            @font_for_footer  = 'hysmyeongjostdmedium'
58
          when 'th' # Thai
59
            @font_for_content = 'freeserif'
60
            @font_for_footer  = 'freeserif'
61
          else
62
            @font_for_content = 'freesans'
63
            @font_for_footer  = 'freesans'
64
          end
42
          @font_for_content = l(:general_pdf_fontname)
43
          @font_for_footer  = l(:general_pdf_fontname)
65 44
          set_creator(Redmine::Info.app_name)
66 45
          set_font(@font_for_content)
67 46

  
(2-2/3)