twitter_cldr 1.5.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (203) hide show
  1. data/Gemfile +32 -0
  2. data/History.txt +78 -0
  3. data/README.md +72 -62
  4. data/Rakefile +22 -0
  5. data/js/lib/compiler.rb +40 -0
  6. data/js/lib/mustache/bundle.coffee +14 -0
  7. data/js/lib/mustache/calendars/datetime.coffee +240 -0
  8. data/js/lib/mustache/calendars/timespan.coffee +52 -0
  9. data/js/lib/mustache/plurals/rules.coffee +14 -0
  10. data/js/lib/renderers/base.rb +18 -0
  11. data/js/lib/renderers/bundle.rb +18 -0
  12. data/js/lib/renderers/calendars/datetime_renderer.rb +34 -0
  13. data/js/lib/renderers/calendars/timespan_renderer.rb +39 -0
  14. data/js/lib/renderers/plurals/rules/plural_rules_compiler.rb +89 -0
  15. data/js/lib/renderers/plurals/rules/plural_rules_renderer.rb +26 -0
  16. data/js/lib/twitter_cldr_js.rb +85 -0
  17. data/js/spec/js/calendars/datetime_spec.js +418 -0
  18. data/js/spec/js/calendars/timespan_spec.js +91 -0
  19. data/js/spec/js/plurals/plural_rules_spec.js +28 -0
  20. data/js/spec/js/support/jasmine.yml +8 -0
  21. data/js/spec/rb/renderers/plurals/plural_rules_compiler_spec.rb +52 -0
  22. data/js/spec/rb/spec_helper.rb +13 -0
  23. data/lib/twitter_cldr.rb +2 -1
  24. data/lib/twitter_cldr/collation.rb +2 -1
  25. data/lib/twitter_cldr/collation/collator.rb +49 -31
  26. data/lib/twitter_cldr/collation/{sort_key.rb → sort_key_builder.rb} +31 -8
  27. data/lib/twitter_cldr/collation/trie.rb +116 -24
  28. data/lib/twitter_cldr/collation/trie_builder.rb +54 -28
  29. data/lib/twitter_cldr/collation/trie_with_fallback.rb +55 -0
  30. data/lib/twitter_cldr/core_ext/array.rb +14 -1
  31. data/lib/twitter_cldr/core_ext/calendars/datetime.rb +8 -2
  32. data/lib/twitter_cldr/core_ext/calendars/timespan.rb +5 -5
  33. data/lib/twitter_cldr/formatters/calendars/timespan_formatter.rb +10 -10
  34. data/lib/twitter_cldr/formatters/plurals/rules.rb +3 -5
  35. data/lib/twitter_cldr/resources.rb +11 -0
  36. data/lib/twitter_cldr/resources/import.rb +12 -0
  37. data/lib/twitter_cldr/resources/import/tailoring.rb +193 -0
  38. data/lib/twitter_cldr/{shared/resources.rb → resources/loader.rb} +17 -4
  39. data/lib/twitter_cldr/shared.rb +0 -1
  40. data/lib/twitter_cldr/tokenizers/base.rb +9 -9
  41. data/lib/twitter_cldr/tokenizers/calendars/datetime_tokenizer.rb +0 -4
  42. data/lib/twitter_cldr/tokenizers/calendars/timespan_tokenizer.rb +21 -7
  43. data/lib/twitter_cldr/utils.rb +11 -0
  44. data/lib/twitter_cldr/version.rb +1 -1
  45. data/resources/collation/tailoring/af.yml +3 -0
  46. data/resources/collation/tailoring/ar.yml +21 -0
  47. data/resources/collation/tailoring/ca.yml +9 -0
  48. data/resources/collation/tailoring/cs.yml +25 -0
  49. data/resources/collation/tailoring/da.yml +59 -0
  50. data/resources/collation/tailoring/de.yml +3 -0
  51. data/resources/collation/tailoring/el.yml +3 -0
  52. data/resources/collation/tailoring/en.yml +3 -0
  53. data/resources/collation/tailoring/es.yml +5 -0
  54. data/resources/collation/tailoring/eu.yml +3 -0
  55. data/resources/collation/tailoring/fa.yml +73 -0
  56. data/resources/collation/tailoring/fi.yml +61 -0
  57. data/resources/collation/tailoring/fil.yml +11 -0
  58. data/resources/collation/tailoring/fr.yml +3 -0
  59. data/resources/collation/tailoring/he.yml +3 -0
  60. data/resources/collation/tailoring/hi.yml +7 -0
  61. data/resources/collation/tailoring/hu.yml +125 -0
  62. data/resources/collation/tailoring/id.yml +3 -0
  63. data/resources/collation/tailoring/it.yml +3 -0
  64. data/resources/collation/tailoring/ja.yml +14647 -0
  65. data/resources/collation/tailoring/ko.yml +14953 -0
  66. data/resources/collation/tailoring/ms.yml +3 -0
  67. data/resources/collation/tailoring/nb.yml +59 -0
  68. data/resources/collation/tailoring/nl.yml +3 -0
  69. data/resources/collation/tailoring/pl.yml +37 -0
  70. data/resources/collation/tailoring/pt.yml +3 -0
  71. data/resources/collation/tailoring/ru.yml +3 -0
  72. data/resources/collation/tailoring/sv.yml +63 -0
  73. data/resources/collation/tailoring/th.yml +19 -0
  74. data/resources/collation/tailoring/tr.yml +27 -0
  75. data/resources/collation/tailoring/uk.yml +5 -0
  76. data/resources/collation/tailoring/ur.yml +163 -0
  77. data/resources/collation/tailoring/zh-Hant.yml +3 -0
  78. data/resources/collation/tailoring/zh.yml +149 -0
  79. data/resources/custom/locales/af/units.yml +19 -0
  80. data/resources/custom/locales/ar/units.yml +35 -0
  81. data/resources/custom/locales/ca/units.yml +19 -0
  82. data/resources/custom/locales/cs/units.yml +23 -0
  83. data/resources/custom/locales/da/units.yml +19 -0
  84. data/resources/custom/locales/de/units.yml +19 -0
  85. data/resources/custom/locales/el/units.yml +19 -0
  86. data/resources/custom/locales/en/units.yml +18 -0
  87. data/resources/custom/locales/es/units.yml +19 -0
  88. data/resources/custom/locales/eu/units.yml +19 -0
  89. data/resources/custom/locales/fa/units.yml +15 -0
  90. data/resources/custom/locales/fi/units.yml +19 -0
  91. data/resources/custom/locales/fil/units.yml +19 -0
  92. data/resources/custom/locales/fr/units.yml +19 -0
  93. data/resources/custom/locales/he/units.yml +19 -0
  94. data/resources/custom/locales/hi/units.yml +19 -0
  95. data/resources/custom/locales/hu/units.yml +15 -0
  96. data/resources/custom/locales/id/units.yml +15 -0
  97. data/resources/custom/locales/it/units.yml +19 -0
  98. data/resources/custom/locales/ja/units.yml +15 -0
  99. data/resources/custom/locales/ko/units.yml +15 -0
  100. data/resources/custom/locales/ms/units.yml +15 -0
  101. data/resources/custom/locales/nb/units.yml +19 -0
  102. data/resources/custom/locales/nl/units.yml +19 -0
  103. data/resources/custom/locales/pl/units.yml +23 -0
  104. data/resources/custom/locales/pt/units.yml +19 -0
  105. data/resources/custom/locales/ru/units.yml +27 -0
  106. data/resources/custom/locales/sv/units.yml +19 -0
  107. data/resources/custom/locales/th/units.yml +15 -0
  108. data/resources/custom/locales/tr/units.yml +15 -0
  109. data/resources/custom/locales/uk/units.yml +27 -0
  110. data/resources/custom/locales/ur/units.yml +19 -0
  111. data/resources/custom/locales/zh-Hant/units.yml +15 -0
  112. data/resources/custom/locales/zh/units.yml +15 -0
  113. data/resources/locales/af/units.yml +112 -65
  114. data/resources/locales/ar/units.yml +196 -126
  115. data/resources/locales/ca/units.yml +112 -70
  116. data/resources/locales/cs/units.yml +140 -91
  117. data/resources/locales/da/units.yml +98 -56
  118. data/resources/locales/de/units.yml +112 -70
  119. data/resources/locales/el/units.yml +119 -84
  120. data/resources/locales/en/units.yml +84 -42
  121. data/resources/locales/es/units.yml +112 -70
  122. data/resources/locales/eu/units.yml +105 -68
  123. data/resources/locales/fa/units.yml +98 -63
  124. data/resources/locales/fi/units.yml +112 -70
  125. data/resources/locales/fil/units.yml +98 -56
  126. data/resources/locales/fr/units.yml +112 -70
  127. data/resources/locales/he/units.yml +98 -56
  128. data/resources/locales/hi/units.yml +98 -56
  129. data/resources/locales/hu/units.yml +84 -49
  130. data/resources/locales/id/units.yml +84 -49
  131. data/resources/locales/it/units.yml +98 -56
  132. data/resources/locales/ja/units.yml +84 -49
  133. data/resources/locales/ko/units.yml +84 -49
  134. data/resources/locales/ms/units.yml +112 -63
  135. data/resources/locales/nb/units.yml +106 -64
  136. data/resources/locales/nl/units.yml +98 -56
  137. data/resources/locales/pl/units.yml +181 -112
  138. data/resources/locales/pt/units.yml +112 -70
  139. data/resources/locales/ru/units.yml +168 -112
  140. data/resources/locales/sv/units.yml +112 -70
  141. data/resources/locales/th/units.yml +84 -49
  142. data/resources/locales/tr/units.yml +84 -49
  143. data/resources/locales/uk/units.yml +168 -112
  144. data/resources/locales/ur/units.yml +112 -63
  145. data/resources/locales/zh-Hant/units.yml +84 -49
  146. data/resources/locales/zh/units.yml +84 -49
  147. data/spec/collation/collation_spec.rb +1 -1
  148. data/spec/collation/collator_spec.rb +120 -48
  149. data/spec/collation/sort_key_builder_spec.rb +80 -0
  150. data/spec/collation/tailoring_spec.rb +137 -0
  151. data/spec/collation/tailoring_tests/af.txt +321 -0
  152. data/spec/collation/tailoring_tests/ar.txt +188 -0
  153. data/spec/collation/tailoring_tests/ca.txt +446 -0
  154. data/spec/collation/tailoring_tests/cs.txt +273 -0
  155. data/spec/collation/tailoring_tests/da.txt +293 -0
  156. data/spec/collation/tailoring_tests/de.txt +414 -0
  157. data/spec/collation/tailoring_tests/el.txt +228 -0
  158. data/spec/collation/tailoring_tests/en.txt +399 -0
  159. data/spec/collation/tailoring_tests/es.txt +402 -0
  160. data/spec/collation/tailoring_tests/eu.txt +183 -0
  161. data/spec/collation/tailoring_tests/fa.txt +263 -0
  162. data/spec/collation/tailoring_tests/fi.txt +389 -0
  163. data/spec/collation/tailoring_tests/fil.txt +279 -0
  164. data/spec/collation/tailoring_tests/fr.txt +363 -0
  165. data/spec/collation/tailoring_tests/he.txt +167 -0
  166. data/spec/collation/tailoring_tests/hi.txt +230 -0
  167. data/spec/collation/tailoring_tests/hu.txt +773 -0
  168. data/spec/collation/tailoring_tests/id.txt +171 -0
  169. data/spec/collation/tailoring_tests/it.txt +231 -0
  170. data/spec/collation/tailoring_tests/ja.txt +4287 -0
  171. data/spec/collation/tailoring_tests/ko.txt +1761 -0
  172. data/spec/collation/tailoring_tests/ms.txt +531 -0
  173. data/spec/collation/tailoring_tests/nb.txt +375 -0
  174. data/spec/collation/tailoring_tests/nl.txt +273 -0
  175. data/spec/collation/tailoring_tests/pl.txt +225 -0
  176. data/spec/collation/tailoring_tests/pt.txt +405 -0
  177. data/spec/collation/tailoring_tests/ru.txt +213 -0
  178. data/spec/collation/tailoring_tests/sv.txt +353 -0
  179. data/spec/collation/tailoring_tests/th.txt +239 -0
  180. data/spec/collation/tailoring_tests/tr.txt +414 -0
  181. data/spec/collation/tailoring_tests/uk.txt +218 -0
  182. data/spec/collation/tailoring_tests/ur.txt +284 -0
  183. data/spec/collation/tailoring_tests/zh-Hant.txt +626 -0
  184. data/spec/collation/tailoring_tests/zh.txt +717 -0
  185. data/spec/collation/trie_builder_spec.rb +131 -51
  186. data/spec/collation/trie_spec.rb +301 -26
  187. data/spec/collation/trie_with_fallback_spec.rb +41 -0
  188. data/spec/core_ext/array_spec.rb +46 -3
  189. data/spec/core_ext/calendars/date_spec.rb +24 -24
  190. data/spec/core_ext/calendars/datetime_spec.rb +7 -0
  191. data/spec/core_ext/calendars/time_spec.rb +2 -2
  192. data/spec/formatters/calendars/timespan_formatter_spec.rb +47 -18
  193. data/spec/formatters/plurals/rules_spec.rb +3 -11
  194. data/spec/readme_spec.rb +15 -15
  195. data/spec/resources/loader_spec.rb +94 -0
  196. data/spec/spec_helper.rb +6 -0
  197. data/spec/tokenizers/calendars/timespan_tokenizer_spec.rb +1 -1
  198. data/spec/twitter_cldr_spec.rb +3 -3
  199. data/spec/utils_spec.rb +38 -0
  200. data/twitter_cldr.gemspec +25 -0
  201. metadata +156 -110
  202. data/spec/collation/sort_key_spec.rb +0 -56
  203. data/spec/shared/resources_spec.rb +0 -75
@@ -1,91 +1,128 @@
1
1
  eu:
2
2
  units:
3
3
  day:
4
- 0: "0 egun"
5
- 1: "1 egun"
6
- one: "{0} eguna"
7
- other: "{0} egun"
4
+ default:
5
+ one: "{0} eguna"
6
+ other: "{0} egun"
7
+ short:
8
+ 0: "0 egun"
9
+ 1: "1 egun"
10
+ other: "{0} egun"
8
11
  day-future:
9
- 0: "0 egun barru"
10
- 1: "1 egun barru"
11
- other: "{0} egun barru"
12
+ default:
13
+ 0: "0 egun barru"
14
+ 1: "1 egun barru"
15
+ other: "{0} egun barru"
12
16
  day-past:
13
- 0: "Duela 0 egun"
14
- 1: "Duela 1 egun"
15
- other: "Duela {0} egun"
17
+ default:
18
+ 0: "Duela 0 egun"
19
+ 1: "Duela 1 egun"
20
+ other: "Duela {0} egun"
16
21
  hour:
17
- 1: "1 ordu"
18
- one: "{0} ordua"
19
- other: "{0} ordu"
22
+ default:
23
+ one: "{0} ordua"
24
+ other: "{0} h"
25
+ short:
26
+ 1: "1 ordu"
27
+ other: "{0} ordu"
20
28
  hour-future:
21
- 0: "0 ordu barru"
22
- 1: "1 ordu barru"
23
- other: "{0} ordu barru"
29
+ default:
30
+ 0: "0 ordu barru"
31
+ 1: "1 ordu barru"
32
+ other: "{0} ordu barru"
24
33
  hour-past:
25
- 0: "Duela 0 ordu"
26
- 1: "Duela ordubete"
27
- other: "Duela {0} ordu"
34
+ default:
35
+ 0: "Duela 0 ordu"
36
+ 1: "Duela ordubete"
37
+ other: "Duela {0} ordu"
28
38
  minute:
29
- 1: "1 minutu"
30
- one: "{0} minutu"
31
- other: "{0} minutu"
39
+ default:
40
+ one: "{0} minutu"
41
+ other: "{0} minutu"
42
+ short:
43
+ 1: "1 minutu"
44
+ other: "{0} minutu"
32
45
  minute-future:
33
- 0: "0 minutu barru"
34
- 1: "1 minutu barru"
35
- other: "{0} minutu barru"
46
+ default:
47
+ 0: "0 minutu barru"
48
+ 1: "1 minutu barru"
49
+ other: "{0} minutu barru"
36
50
  minute-past:
37
- 0: "Duela 0 minutu"
38
- 1: "Duela 1 minutu"
39
- other: "Duela {0} minutu"
51
+ default:
52
+ 0: "Duela 0 minutu"
53
+ 1: "Duela 1 minutu"
54
+ other: "Duela {0} minutu"
40
55
  month:
41
- 0: "0 hilabete"
42
- 1: "1 hilabete"
43
- one: "{0} hilea"
44
- other: "{0} hilabete"
56
+ default:
57
+ 0: "0 hilabete"
58
+ 1: "1 hilabete"
59
+ one: "{0} hilea"
60
+ other: "{0} hilabete"
61
+ short:
62
+ 0: "0 hilabete"
63
+ 1: "1 hilabete"
64
+ other: "{0} hilabete"
45
65
  month-future:
46
- 0: "0 hilabete barru"
47
- 1: "1 hilabete barru"
48
- other: "{0} hilabete barru"
66
+ default:
67
+ 0: "0 hilabete barru"
68
+ 1: "1 hilabete barru"
69
+ other: "{0} hilabete barru"
49
70
  month-past:
50
- 0: "Duela 0 hilabete"
51
- 1: "Duela 1 hilabete"
52
- other: "Duela {0} hilabete"
71
+ default:
72
+ 0: "Duela 0 hilabete"
73
+ 1: "Duela 1 hilabete"
74
+ other: "Duela {0} hilabete"
53
75
  second:
54
- 0: "0 seg."
55
- 1: "1 seg."
56
- one: "{0} segundo"
57
- other: "{0} seg."
76
+ default:
77
+ one: "{0} segundo"
78
+ other: "{0} s"
79
+ short:
80
+ 0: "0 seg."
81
+ 1: "1 seg."
82
+ other: "{0} seg."
58
83
  second-future:
59
- 0: "0 segundo barru"
60
- 1: "1 segundo barru"
61
- other: "{0} segundo barru"
84
+ default:
85
+ 0: "0 segundo barru"
86
+ 1: "1 segundo barru"
87
+ other: "{0} segundo barru"
62
88
  second-past:
63
- 0: "Duela 0 segundo"
64
- 1: "Duela 1 segundo"
65
- other: "Duela {0} segundo"
89
+ default:
90
+ 0: "Duela 0 segundo"
91
+ 1: "Duela 1 segundo"
92
+ other: "Duela {0} segundo"
66
93
  week:
67
- 0: "0 aste"
68
- 1: "1 aste"
69
- one: "{0} aste"
70
- other: "{0} aste"
94
+ default:
95
+ one: "{0} aste"
96
+ other: "{0} aste"
97
+ short:
98
+ 0: "0 aste"
99
+ 1: "1 aste"
100
+ other: "{0} aste"
71
101
  week-future:
72
- 0: "0 aste barru"
73
- 1: "1 aste barru"
74
- other: "{0} aste barru"
102
+ default:
103
+ 0: "0 aste barru"
104
+ 1: "1 aste barru"
105
+ other: "{0} aste barru"
75
106
  week-past:
76
- 0: "Duela 0 aste"
77
- 1: "Duela 1 aste"
78
- other: "Duela {0} aste"
107
+ default:
108
+ 0: "Duela 0 aste"
109
+ 1: "Duela 1 aste"
110
+ other: "Duela {0} aste"
79
111
  year:
80
- 0: "0 urte"
81
- 1: "1 urte"
82
- one: "{0} urtea"
83
- other: "{0} urte"
112
+ default:
113
+ one: "{0} urtea"
114
+ other: "{0} urte"
115
+ short:
116
+ 0: "0 urte"
117
+ 1: "1 urte"
118
+ other: "{0} urte"
84
119
  year-future:
85
- 0: "0 urte barru"
86
- 1: "1 urte barru"
87
- other: "{0} urte barru"
120
+ default:
121
+ 0: "0 urte barru"
122
+ 1: "1 urte barru"
123
+ other: "{0} urte barru"
88
124
  year-past:
89
- 0: "Duela 0 urte"
90
- 1: "Duela 1 urte"
91
- other: "Duela {0} urte"
125
+ default:
126
+ 0: "Duela 0 urte"
127
+ 1: "Duela 1 urte"
128
+ other: "Duela {0} urte"
@@ -1,86 +1,121 @@
1
1
  fa:
2
2
  units:
3
3
  day:
4
- 0: "0 روز"
5
- 1: "1 روز"
6
- other: "{0} روز"
4
+ default:
5
+ other: "{0} روز"
6
+ short:
7
+ 0: "0 روز"
8
+ 1: "1 روز"
9
+ other: "{0} روز"
7
10
  day-future:
8
- 0: "در 0 روز"
9
- 1: "در 1 روز"
10
- other: "{0} روز بعد"
11
+ default:
12
+ 0: "در 0 روز"
13
+ 1: "در 1 روز"
14
+ other: "{0} روز بعد"
11
15
  day-past:
12
- 0: "0 روز قبل"
13
- 1: "1 روز قبل"
14
- other: "{0} روز پیش"
16
+ default:
17
+ 0: "0 روز قبل"
18
+ 1: "1 روز قبل"
19
+ other: "{0} روز پیش"
15
20
  hour:
16
- 0: "0 ساعت"
17
- 1: "1 ساعت"
18
- other: "{0} ساعت"
21
+ default:
22
+ other: "{0} ساعت"
23
+ short:
24
+ 0: "0 ساعت"
25
+ 1: "1 ساعت"
26
+ other: "{0} ساعت"
19
27
  hour-future:
20
- 0: "در 0 ساعت"
21
- 1: "در 1 ساعت"
22
- other: "{0} ساعت بعد"
28
+ default:
29
+ 0: "در 0 ساعت"
30
+ 1: "در 1 ساعت"
31
+ other: "{0} ساعت بعد"
23
32
  hour-past:
24
- 0: "0 ساعت قبل"
25
- 1: "1 ساعت قبل"
26
- other: "{0} ساعت پیش"
33
+ default:
34
+ 0: "0 ساعت قبل"
35
+ 1: "1 ساعت قبل"
36
+ other: "{0} ساعت پیش"
27
37
  minute:
28
- 0: "0 دقیقه"
29
- 1: "1 دقیقه"
30
- other: "{0} دقیقه"
38
+ default:
39
+ other: "{0} دقیقه"
40
+ short:
41
+ 0: "0 دقیقه"
42
+ 1: "1 دقیقه"
43
+ other: "{0} دقیقه"
31
44
  minute-future:
32
- 0: "در 0 دقیقه"
33
- 1: "در 1 دقیقه"
34
- other: "{0} دقیقه بعد"
45
+ default:
46
+ 0: "در 0 دقیقه"
47
+ 1: "در 1 دقیقه"
48
+ other: "{0} دقیقه بعد"
35
49
  minute-past:
36
- 0: "0 دقیقه قبل"
37
- 1: "1 دقیقه قبل"
38
- other: "{0} دقیقه پیش"
50
+ default:
51
+ 0: "0 دقیقه قبل"
52
+ 1: "1 دقیقه قبل"
53
+ other: "{0} دقیقه پیش"
39
54
  month:
40
- 0: "0 ماه"
41
- 1: "1 ماه"
42
- other: "{0} ماه"
55
+ default:
56
+ other: "{0} ماه"
57
+ short:
58
+ 0: "0 ماه"
59
+ 1: "1 ماه"
60
+ other: "{0} ماه"
43
61
  month-future:
44
- 0: "در 0 ماه"
45
- 1: "در 1 ماه"
46
- other: "{0} ماه بعد"
62
+ default:
63
+ 0: "در 0 ماه"
64
+ 1: "در 1 ماه"
65
+ other: "{0} ماه بعد"
47
66
  month-past:
48
- 0: "0 ماه قبل"
49
- 1: "1 ماه قبل"
50
- other: "{0} ماه پیش"
67
+ default:
68
+ 0: "0 ماه قبل"
69
+ 1: "1 ماه قبل"
70
+ other: "{0} ماه پیش"
51
71
  second:
52
- 0: "0 ثانیه"
53
- 1: "1 ثانیه"
54
- other: "{0} ثانیه"
72
+ default:
73
+ other: "{0} ثانیه"
74
+ short:
75
+ 0: "0 ثانیه"
76
+ 1: "1 ثانیه"
77
+ other: "{0} ثانیه"
55
78
  second-future:
56
- 0: "در 0 ثانیه"
57
- 1: "در 1 ثانیه"
58
- other: "{0} ثانیه بعد"
79
+ default:
80
+ 0: "در 0 ثانیه"
81
+ 1: "در 1 ثانیه"
82
+ other: "{0} ثانیه بعد"
59
83
  second-past:
60
- 0: "0 ثانیه قبل"
61
- 1: "1 ثانیه قبل"
62
- other: "{0} ثانیه پیش"
84
+ default:
85
+ 0: "0 ثانیه قبل"
86
+ 1: "1 ثانیه قبل"
87
+ other: "{0} ثانیه پیش"
63
88
  week:
64
- 0: "0 هفته"
65
- 1: "1 هفته"
66
- other: "{0} هفته"
89
+ default:
90
+ other: "{0} هفته"
91
+ short:
92
+ 0: "0 هفته"
93
+ 1: "1 هفته"
94
+ other: "{0} هفته"
67
95
  week-future:
68
- 0: "در 0 هفته"
69
- 1: "در 1 هفته"
70
- other: "{0} هفته بعد"
96
+ default:
97
+ 0: "در 0 هفته"
98
+ 1: "در 1 هفته"
99
+ other: "{0} هفته بعد"
71
100
  week-past:
72
- 0: "0 هفته قبل"
73
- 1: "1 هفته قبل"
74
- other: "{0} هفته پیش"
101
+ default:
102
+ 0: "0 هفته قبل"
103
+ 1: "1 هفته قبل"
104
+ other: "{0} هفته پیش"
75
105
  year:
76
- 0: "0 سال"
77
- 1: "1 سال"
78
- other: "{0} سال"
106
+ default:
107
+ other: "{0} سال"
108
+ short:
109
+ 0: "0 سال"
110
+ 1: "1 سال"
111
+ other: "{0} سال"
79
112
  year-future:
80
- 0: "در 0 سال"
81
- 1: "در 1 سال"
82
- other: "{0} سال بعد"
113
+ default:
114
+ 0: "در 0 سال"
115
+ 1: "در 1 سال"
116
+ other: "{0} سال بعد"
83
117
  year-past:
84
- 0: "0 سال قبل"
85
- 1: "1 سال قبل"
86
- other: "{0} سال پیش"
118
+ default:
119
+ 0: "0 سال قبل"
120
+ 1: "1 سال قبل"
121
+ other: "{0} سال پیش"
@@ -1,93 +1,135 @@
1
1
  fi:
2
2
  units:
3
3
  day:
4
- one: "{0} pv"
5
- other: "{0} pv"
4
+ default:
5
+ one: "{0} päivä"
6
+ other: "{0} päivää"
7
+ short:
8
+ one: "{0} pv"
9
+ other: "{0} pv"
6
10
  day-future:
7
- 0: "alle päivän päästä"
8
- 1: "päivän päästä"
9
- one: "{0} päivän päästä"
10
- other: "{0} päivän päästä"
11
+ default:
12
+ 0: "alle päivän päästä"
13
+ 1: "päivän päästä"
14
+ one: "{0} päivän päästä"
15
+ other: "{0} päivän päästä"
11
16
  day-past:
12
- 0: "alle päivä sitten"
13
- 1: "päivä sitten"
14
- one: "{0} päivä sitten"
15
- other: "{0} päivää sitten"
17
+ default:
18
+ 0: "alle päivä sitten"
19
+ 1: "päivä sitten"
20
+ one: "{0} päivä sitten"
21
+ other: "{0} päivää sitten"
16
22
  hour:
17
- one: "{0} t"
18
- other: "{0} t"
23
+ default:
24
+ one: "{0} tunti"
25
+ other: "{0} tuntia"
26
+ short:
27
+ one: "{0} t"
28
+ other: "{0} t"
19
29
  hour-future:
20
- 0: "alle tunnin päästä"
21
- 1: "tunnin päästä"
22
- one: "{0} tunnin päästä"
23
- other: "{0} tunnin päästä"
30
+ default:
31
+ 0: "alle tunnin päästä"
32
+ 1: "tunnin päästä"
33
+ one: "{0} tunnin päästä"
34
+ other: "{0} tunnin päästä"
24
35
  hour-past:
25
- 0: "alle tunti sitten"
26
- 1: "tunti sitten"
27
- one: "{0} tunti sitten"
28
- other: "{0} tuntia sitten"
36
+ default:
37
+ 0: "alle tunti sitten"
38
+ 1: "tunti sitten"
39
+ one: "{0} tunti sitten"
40
+ other: "{0} tuntia sitten"
29
41
  minute:
30
- one: "{0} min"
31
- other: "{0} min"
42
+ default:
43
+ one: "{0} minuutti"
44
+ other: "{0} minuuttia"
45
+ short:
46
+ one: "{0} min"
47
+ other: "{0} min"
32
48
  minute-future:
33
- 0: "alle minuutin päästä"
34
- 1: "minuutin päästä"
35
- one: "{0} minuutin päästä"
36
- other: "{0} minuutin päästä"
49
+ default:
50
+ 0: "alle minuutin päästä"
51
+ 1: "minuutin päästä"
52
+ one: "{0} minuutin päästä"
53
+ other: "{0} minuutin päästä"
37
54
  minute-past:
38
- 0: "alle minuutti sitten"
39
- 1: "minuutti sitten"
40
- one: "{0} minuutti sitten"
41
- other: "{0} minuuttia sitten"
55
+ default:
56
+ 0: "alle minuutti sitten"
57
+ 1: "minuutti sitten"
58
+ one: "{0} minuutti sitten"
59
+ other: "{0} minuuttia sitten"
42
60
  month:
43
- one: "{0} kk"
44
- other: "{0} kk"
61
+ default:
62
+ one: "{0} kuukausi"
63
+ other: "{0} kuukautta"
64
+ short:
65
+ one: "{0} kk"
66
+ other: "{0} kk"
45
67
  month-future:
46
- 0: "alle kuukauden päästä"
47
- 1: "kuukauden päästä"
48
- one: "{0} kuukauden päästä"
49
- other: "{0} kuukauden päästä"
68
+ default:
69
+ 0: "alle kuukauden päästä"
70
+ 1: "kuukauden päästä"
71
+ one: "{0} kuukauden päästä"
72
+ other: "{0} kuukauden päästä"
50
73
  month-past:
51
- 0: "alle kuukausi sitten"
52
- 1: "kuukausi sitten"
53
- one: "{0} kuukausi sitten"
54
- other: "{0} kuukautta sitten"
74
+ default:
75
+ 0: "alle kuukausi sitten"
76
+ 1: "kuukausi sitten"
77
+ one: "{0} kuukausi sitten"
78
+ other: "{0} kuukautta sitten"
55
79
  second:
56
- one: "{0} s"
57
- other: "{0} s"
80
+ default:
81
+ one: "{0} sekunti"
82
+ other: "{0} sekuntia"
83
+ short:
84
+ one: "{0} s"
85
+ other: "{0} s"
58
86
  second-future:
59
- 0: "alle sekunnin päästä"
60
- 1: "sekunnin päästä"
61
- one: "{0} sekunnin päästä"
62
- other: "{0} sekunnin päästä"
87
+ default:
88
+ 0: "alle sekunnin päästä"
89
+ 1: "sekunnin päästä"
90
+ one: "{0} sekunnin päästä"
91
+ other: "{0} sekunnin päästä"
63
92
  second-past:
64
- 0: "alle sekunti sitten"
65
- 1: "sekunti sitten"
66
- one: "{0} sekunti sitten"
67
- other: "{0} sekuntia sitten"
93
+ default:
94
+ 0: "alle sekunti sitten"
95
+ 1: "sekunti sitten"
96
+ one: "{0} sekunti sitten"
97
+ other: "{0} sekuntia sitten"
68
98
  week:
69
- one: "{0} vk"
70
- other: "{0} vk"
99
+ default:
100
+ one: "{0} viikko"
101
+ other: "{0} viikkoa"
102
+ short:
103
+ one: "{0} vk"
104
+ other: "{0} vk"
71
105
  week-future:
72
- 0: "alle viikon päästä"
73
- 1: "viikon päästä"
74
- one: "{0} viikon päästä"
75
- other: "{0} viikon päästä"
106
+ default:
107
+ 0: "alle viikon päästä"
108
+ 1: "viikon päästä"
109
+ one: "{0} viikon päästä"
110
+ other: "{0} viikon päästä"
76
111
  week-past:
77
- 0: "alle viikko sitten"
78
- 1: "viikko sitten"
79
- one: "{0} viikko sitten"
80
- other: "{0} viikkoa sitten"
112
+ default:
113
+ 0: "alle viikko sitten"
114
+ 1: "viikko sitten"
115
+ one: "{0} viikko sitten"
116
+ other: "{0} viikkoa sitten"
81
117
  year:
82
- one: "{0} v"
83
- other: "{0} v"
118
+ default:
119
+ one: "{0} vuosi"
120
+ other: "{0} vuotta"
121
+ short:
122
+ one: "{0} v"
123
+ other: "{0} v"
84
124
  year-future:
85
- 0: "alle vuoden päästä"
86
- 1: "vuoden päästä"
87
- one: "{0} vuoden päästä"
88
- other: "{0} vuoden päästä"
125
+ default:
126
+ 0: "alle vuoden päästä"
127
+ 1: "vuoden päästä"
128
+ one: "{0} vuoden päästä"
129
+ other: "{0} vuoden päästä"
89
130
  year-past:
90
- 0: "alle vuosi sitten"
91
- 1: "vuosi sitten"
92
- one: "{0} vuosi sitten"
93
- other: "{0} vuotta sitten"
131
+ default:
132
+ 0: "alle vuosi sitten"
133
+ 1: "vuosi sitten"
134
+ one: "{0} vuosi sitten"
135
+ other: "{0} vuotta sitten"