From 088cab5a148d99aa82e395c4a74aa1c1dad48843 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 29 Oct 2015 14:01:41 +0000 Subject: [PATCH] Adds translation string for hours with symbol (#21069). git-svn-id: http://svn.redmine.org/redmine/trunk@14759 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- config/locales/ar.yml | 1 + config/locales/az.yml | 1 + config/locales/bg.yml | 1 + config/locales/bs.yml | 1 + config/locales/ca.yml | 1 + config/locales/cs.yml | 1 + config/locales/da.yml | 1 + config/locales/de.yml | 1 + config/locales/el.yml | 1 + config/locales/en-GB.yml | 1 + config/locales/en.yml | 1 + config/locales/es-PA.yml | 1 + config/locales/es.yml | 1 + config/locales/et.yml | 1 + config/locales/eu.yml | 1 + config/locales/fa.yml | 1 + config/locales/fi.yml | 1 + config/locales/fr.yml | 1 + config/locales/gl.yml | 1 + config/locales/he.yml | 1 + config/locales/hr.yml | 1 + config/locales/hu.yml | 1 + config/locales/id.yml | 1 + config/locales/it.yml | 1 + config/locales/ja.yml | 1 + config/locales/ko.yml | 1 + config/locales/lt.yml | 1 + config/locales/lv.yml | 1 + config/locales/mk.yml | 1 + config/locales/mn.yml | 1 + config/locales/nl.yml | 1 + config/locales/no.yml | 1 + config/locales/pl.yml | 1 + config/locales/pt-BR.yml | 1 + config/locales/pt.yml | 1 + config/locales/ro.yml | 1 + config/locales/ru.yml | 1 + config/locales/sk.yml | 1 + config/locales/sl.yml | 1 + config/locales/sq.yml | 1 + config/locales/sr-YU.yml | 1 + config/locales/sr.yml | 1 + config/locales/sv.yml | 1 + config/locales/th.yml | 1 + config/locales/tr.yml | 1 + config/locales/uk.yml | 1 + config/locales/vi.yml | 1 + config/locales/zh-TW.yml | 1 + config/locales/zh.yml | 1 + lib/redmine/i18n.rb | 2 +- 50 files changed, 50 insertions(+), 1 deletion(-) diff --git a/config/locales/ar.yml b/config/locales/ar.yml index 6ed06b590..4ab8314d1 100644 --- a/config/locales/ar.yml +++ b/config/locales/ar.yml @@ -1177,3 +1177,4 @@ ar: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/az.yml b/config/locales/az.yml index a807ab212..599c2d60a 100644 --- a/config/locales/az.yml +++ b/config/locales/az.yml @@ -1272,3 +1272,4 @@ az: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/bg.yml b/config/locales/bg.yml index 53a557aae..221bd7187 100644 --- a/config/locales/bg.yml +++ b/config/locales/bg.yml @@ -1168,3 +1168,4 @@ bg: text_repository_identifier_info: 'Позволени са малки букви (a-z), цифри, тирета и _.
Промяна след създаването му не е възможна.' label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/bs.yml b/config/locales/bs.yml index fe9558cff..7c1deed4d 100644 --- a/config/locales/bs.yml +++ b/config/locales/bs.yml @@ -1190,3 +1190,4 @@ bs: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/ca.yml b/config/locales/ca.yml index ddb8bf97f..02412f640 100644 --- a/config/locales/ca.yml +++ b/config/locales/ca.yml @@ -1179,3 +1179,4 @@ ca: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/cs.yml b/config/locales/cs.yml index 2fa07339a..b0986d169 100644 --- a/config/locales/cs.yml +++ b/config/locales/cs.yml @@ -1178,3 +1178,4 @@ cs: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/da.yml b/config/locales/da.yml index a64984073..8f12764eb 100644 --- a/config/locales/da.yml +++ b/config/locales/da.yml @@ -1194,3 +1194,4 @@ da: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/de.yml b/config/locales/de.yml index 863f84262..8aefcb012 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -1186,3 +1186,4 @@ de: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/el.yml b/config/locales/el.yml index 47dddf114..0260dc4dd 100644 --- a/config/locales/el.yml +++ b/config/locales/el.yml @@ -1177,3 +1177,4 @@ el: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/en-GB.yml b/config/locales/en-GB.yml index 37ad84005..c5f7ee686 100644 --- a/config/locales/en-GB.yml +++ b/config/locales/en-GB.yml @@ -1179,3 +1179,4 @@ en-GB: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/en.yml b/config/locales/en.yml index a84c971ab..b2dda77b4 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -757,6 +757,7 @@ en: label_overall_spent_time: Overall spent time label_f_hour: "%{value} hour" label_f_hour_plural: "%{value} hours" + label_f_hour_short: "%{value} h" label_time_tracking: Time tracking label_change_plural: Changes label_statistics: Statistics diff --git a/config/locales/es-PA.yml b/config/locales/es-PA.yml index aeb20329a..6261fcdb0 100644 --- a/config/locales/es-PA.yml +++ b/config/locales/es-PA.yml @@ -1211,3 +1211,4 @@ es-PA: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/es.yml b/config/locales/es.yml index f935e06bb..27ada5ead 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -1209,3 +1209,4 @@ es: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/et.yml b/config/locales/et.yml index eec325746..6b2999f6f 100644 --- a/config/locales/et.yml +++ b/config/locales/et.yml @@ -1190,3 +1190,4 @@ et: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/eu.yml b/config/locales/eu.yml index 79255c335..811dab8e3 100644 --- a/config/locales/eu.yml +++ b/config/locales/eu.yml @@ -1178,3 +1178,4 @@ eu: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/fa.yml b/config/locales/fa.yml index 3b5b9aeaa..4ef0bef1a 100644 --- a/config/locales/fa.yml +++ b/config/locales/fa.yml @@ -1178,3 +1178,4 @@ fa: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/fi.yml b/config/locales/fi.yml index 10cca3630..8bd2fcda6 100644 --- a/config/locales/fi.yml +++ b/config/locales/fi.yml @@ -1198,3 +1198,4 @@ fi: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/fr.yml b/config/locales/fr.yml index f6e6821ef..a2ad44246 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -777,6 +777,7 @@ fr: label_overall_spent_time: Temps passé global label_f_hour: "%{value} heure" label_f_hour_plural: "%{value} heures" + label_f_hour_short: "%{value} h" label_time_tracking: Suivi du temps label_change_plural: Changements label_statistics: Statistiques diff --git a/config/locales/gl.yml b/config/locales/gl.yml index 52e9bae6f..4cdf31fbe 100644 --- a/config/locales/gl.yml +++ b/config/locales/gl.yml @@ -1185,3 +1185,4 @@ gl: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/he.yml b/config/locales/he.yml index 88ca3356e..fee4e9062 100644 --- a/config/locales/he.yml +++ b/config/locales/he.yml @@ -1182,3 +1182,4 @@ he: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/hr.yml b/config/locales/hr.yml index 76d4902a8..a6a5e670e 100644 --- a/config/locales/hr.yml +++ b/config/locales/hr.yml @@ -1178,3 +1178,4 @@ hr: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/hu.yml b/config/locales/hu.yml index 01e67c007..d310266ba 100644 --- a/config/locales/hu.yml +++ b/config/locales/hu.yml @@ -1196,3 +1196,4 @@ label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/id.yml b/config/locales/id.yml index d710754bb..84ede5920 100644 --- a/config/locales/id.yml +++ b/config/locales/id.yml @@ -1181,3 +1181,4 @@ id: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/it.yml b/config/locales/it.yml index 000ecb7f0..db38a4bd6 100644 --- a/config/locales/it.yml +++ b/config/locales/it.yml @@ -1172,3 +1172,4 @@ it: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/ja.yml b/config/locales/ja.yml index 3be314c85..127297236 100644 --- a/config/locales/ja.yml +++ b/config/locales/ja.yml @@ -1190,3 +1190,4 @@ ja: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/ko.yml b/config/locales/ko.yml index c2e27dca2..fb3642742 100644 --- a/config/locales/ko.yml +++ b/config/locales/ko.yml @@ -1221,3 +1221,4 @@ ko: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/lt.yml b/config/locales/lt.yml index 6fdf34118..567fcd2d8 100644 --- a/config/locales/lt.yml +++ b/config/locales/lt.yml @@ -1236,3 +1236,4 @@ lt: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/lv.yml b/config/locales/lv.yml index b54938e66..ece3229ff 100644 --- a/config/locales/lv.yml +++ b/config/locales/lv.yml @@ -1171,3 +1171,4 @@ lv: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/mk.yml b/config/locales/mk.yml index e7b632bb7..c21a15c37 100644 --- a/config/locales/mk.yml +++ b/config/locales/mk.yml @@ -1177,3 +1177,4 @@ mk: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/mn.yml b/config/locales/mn.yml index f12358aba..992de43f9 100644 --- a/config/locales/mn.yml +++ b/config/locales/mn.yml @@ -1178,3 +1178,4 @@ mn: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/nl.yml b/config/locales/nl.yml index f45f21bde..57b7ced46 100644 --- a/config/locales/nl.yml +++ b/config/locales/nl.yml @@ -1156,3 +1156,4 @@ nl: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/no.yml b/config/locales/no.yml index 4af252080..9b9d8171a 100644 --- a/config/locales/no.yml +++ b/config/locales/no.yml @@ -1167,3 +1167,4 @@ label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/pl.yml b/config/locales/pl.yml index c3a8d5452..54df3b568 100644 --- a/config/locales/pl.yml +++ b/config/locales/pl.yml @@ -1192,3 +1192,4 @@ pl: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/pt-BR.yml b/config/locales/pt-BR.yml index 18efcef53..d07c542d2 100644 --- a/config/locales/pt-BR.yml +++ b/config/locales/pt-BR.yml @@ -1196,3 +1196,4 @@ pt-BR: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/pt.yml b/config/locales/pt.yml index 37b8b1e3e..93b29cba4 100644 --- a/config/locales/pt.yml +++ b/config/locales/pt.yml @@ -1179,3 +1179,4 @@ pt: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/ro.yml b/config/locales/ro.yml index b88c4302b..2f6473a58 100644 --- a/config/locales/ro.yml +++ b/config/locales/ro.yml @@ -1172,3 +1172,4 @@ ro: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/ru.yml b/config/locales/ru.yml index a9ea78079..9fb926ac0 100644 --- a/config/locales/ru.yml +++ b/config/locales/ru.yml @@ -1280,3 +1280,4 @@ ru: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/sk.yml b/config/locales/sk.yml index ed6e4acd6..b586f9b5b 100644 --- a/config/locales/sk.yml +++ b/config/locales/sk.yml @@ -1167,3 +1167,4 @@ sk: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/sl.yml b/config/locales/sl.yml index a08df4e48..786c0075e 100644 --- a/config/locales/sl.yml +++ b/config/locales/sl.yml @@ -1177,3 +1177,4 @@ sl: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/sq.yml b/config/locales/sq.yml index 525fcdb8f..51b0809eb 100644 --- a/config/locales/sq.yml +++ b/config/locales/sq.yml @@ -1173,3 +1173,4 @@ sq: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/sr-YU.yml b/config/locales/sr-YU.yml index dbb2add62..de942abb1 100644 --- a/config/locales/sr-YU.yml +++ b/config/locales/sr-YU.yml @@ -1179,3 +1179,4 @@ sr-YU: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/sr.yml b/config/locales/sr.yml index 32b64bfb2..5abb67d3d 100644 --- a/config/locales/sr.yml +++ b/config/locales/sr.yml @@ -1178,3 +1178,4 @@ sr: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/sv.yml b/config/locales/sv.yml index 96934eb12..1f8a82de5 100644 --- a/config/locales/sv.yml +++ b/config/locales/sv.yml @@ -1210,3 +1210,4 @@ sv: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/th.yml b/config/locales/th.yml index 858dbf285..58b6db158 100644 --- a/config/locales/th.yml +++ b/config/locales/th.yml @@ -1174,3 +1174,4 @@ th: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/tr.yml b/config/locales/tr.yml index 230b3b60d..c140ba7b3 100644 --- a/config/locales/tr.yml +++ b/config/locales/tr.yml @@ -1186,3 +1186,4 @@ tr: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/uk.yml b/config/locales/uk.yml index 4caf50fa7..a557f0cdc 100644 --- a/config/locales/uk.yml +++ b/config/locales/uk.yml @@ -1172,3 +1172,4 @@ uk: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/vi.yml b/config/locales/vi.yml index 3d9fd9fa0..e9cf3ffb5 100644 --- a/config/locales/vi.yml +++ b/config/locales/vi.yml @@ -1230,3 +1230,4 @@ vi: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/zh-TW.yml b/config/locales/zh-TW.yml index d9fea0343..25cca1577 100644 --- a/config/locales/zh-TW.yml +++ b/config/locales/zh-TW.yml @@ -1251,3 +1251,4 @@ label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/config/locales/zh.yml b/config/locales/zh.yml index 802af8e44..64f3dc9fa 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -1178,3 +1178,4 @@ zh: label_total_plural: Totals label_assigned_issues: Assigned issues label_field_format_enumeration: Key/value list + label_f_hour_short: '%{value} h' diff --git a/lib/redmine/i18n.rb b/lib/redmine/i18n.rb index 7fa88230f..e88e407b9 100644 --- a/lib/redmine/i18n.rb +++ b/lib/redmine/i18n.rb @@ -49,7 +49,7 @@ module Redmine end def l_hours_short(hours) - "%.2f h" % hours.to_f + l(:label_f_hour_short, :value => ("%.2f h" % hours.to_f)) end def ll(lang, str, arg=nil) -- 2.39.5