twitter_cldr 3.5.0 → 3.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -6
  3. data/History.txt +3 -0
  4. data/README.md +15 -15
  5. data/lib/twitter_cldr/data_readers/data_reader.rb +2 -2
  6. data/lib/twitter_cldr/data_readers/timespan_data_reader.rb +23 -78
  7. data/lib/twitter_cldr/formatters/numbers/rbnf.rb +1 -1
  8. data/lib/twitter_cldr/resources/locales_resources_importer.rb +3 -3
  9. data/lib/twitter_cldr/tokenizers/numbers/rbnf_tokenizer.rb +1 -4
  10. data/lib/twitter_cldr/version.rb +1 -1
  11. data/resources/custom/shared/postal_codes.yml +8 -0
  12. data/resources/locales/af/fields.yml +325 -98
  13. data/resources/locales/ar/fields.yml +532 -210
  14. data/resources/locales/ar/plurals.yml +4 -3
  15. data/resources/locales/be/fields.yml +21 -112
  16. data/resources/locales/be/plurals.yml +6 -4
  17. data/resources/locales/bg/fields.yml +342 -98
  18. data/resources/locales/bn/fields.yml +342 -98
  19. data/resources/locales/bn/plurals.yml +2 -2
  20. data/resources/locales/ca/fields.yml +342 -98
  21. data/resources/locales/ca/plurals.yml +2 -2
  22. data/resources/locales/cs/fields.yml +438 -126
  23. data/resources/locales/cs/plurals.yml +3 -3
  24. data/resources/locales/cy/fields.yml +202 -98
  25. data/resources/locales/da/fields.yml +342 -98
  26. data/resources/locales/da/plurals.yml +2 -2
  27. data/resources/locales/de-CH/fields.yml +342 -98
  28. data/resources/locales/de-CH/plurals.yml +2 -2
  29. data/resources/locales/de/fields.yml +342 -98
  30. data/resources/locales/de/plurals.yml +2 -2
  31. data/resources/locales/el/fields.yml +342 -98
  32. data/resources/locales/en-150/fields.yml +283 -98
  33. data/resources/locales/en-150/plurals.yml +5 -5
  34. data/resources/locales/en-AU/fields.yml +283 -98
  35. data/resources/locales/en-AU/plurals.yml +5 -5
  36. data/resources/locales/en-CA/fields.yml +283 -98
  37. data/resources/locales/en-CA/plurals.yml +5 -5
  38. data/resources/locales/en-GB/fields.yml +357 -98
  39. data/resources/locales/en-GB/plurals.yml +5 -5
  40. data/resources/locales/en-IE/fields.yml +283 -98
  41. data/resources/locales/en-IE/plurals.yml +5 -5
  42. data/resources/locales/en-SG/fields.yml +283 -98
  43. data/resources/locales/en-SG/plurals.yml +5 -5
  44. data/resources/locales/en-ZA/fields.yml +283 -98
  45. data/resources/locales/en-ZA/plurals.yml +5 -5
  46. data/resources/locales/en/fields.yml +283 -98
  47. data/resources/locales/en/plurals.yml +5 -5
  48. data/resources/locales/es-419/fields.yml +342 -98
  49. data/resources/locales/es-CO/fields.yml +342 -98
  50. data/resources/locales/es-MX/fields.yml +342 -98
  51. data/resources/locales/es-US/fields.yml +342 -98
  52. data/resources/locales/es/fields.yml +342 -98
  53. data/resources/locales/eu/fields.yml +342 -98
  54. data/resources/locales/fa/fields.yml +342 -98
  55. data/resources/locales/fa/plurals.yml +2 -2
  56. data/resources/locales/fi/fields.yml +342 -98
  57. data/resources/locales/fi/plurals.yml +2 -2
  58. data/resources/locales/fil/fields.yml +342 -98
  59. data/resources/locales/fil/plurals.yml +4 -4
  60. data/resources/locales/fr-BE/fields.yml +342 -98
  61. data/resources/locales/fr-CA/fields.yml +342 -98
  62. data/resources/locales/fr-CH/fields.yml +342 -98
  63. data/resources/locales/fr/fields.yml +342 -98
  64. data/resources/locales/ga/fields.yml +484 -98
  65. data/resources/locales/ga/plurals.yml +3 -3
  66. data/resources/locales/gl/fields.yml +313 -98
  67. data/resources/locales/gl/plurals.yml +2 -2
  68. data/resources/locales/gu/fields.yml +342 -98
  69. data/resources/locales/gu/plurals.yml +7 -7
  70. data/resources/locales/he/fields.yml +438 -154
  71. data/resources/locales/he/plurals.yml +4 -3
  72. data/resources/locales/hi/fields.yml +342 -98
  73. data/resources/locales/hi/plurals.yml +2 -2
  74. data/resources/locales/hr/fields.yml +390 -154
  75. data/resources/locales/hr/plurals.yml +7 -4
  76. data/resources/locales/hu/fields.yml +342 -98
  77. data/resources/locales/id/fields.yml +294 -98
  78. data/resources/locales/is/fields.yml +342 -98
  79. data/resources/locales/is/plurals.yml +2 -2
  80. data/resources/locales/it-CH/fields.yml +342 -98
  81. data/resources/locales/it-CH/plurals.yml +2 -2
  82. data/resources/locales/it/fields.yml +342 -98
  83. data/resources/locales/it/plurals.yml +2 -2
  84. data/resources/locales/ja/fields.yml +294 -98
  85. data/resources/locales/kn/fields.yml +342 -98
  86. data/resources/locales/kn/plurals.yml +3 -3
  87. data/resources/locales/ko/fields.yml +294 -98
  88. data/resources/locales/lv/fields.yml +390 -126
  89. data/resources/locales/lv/plurals.yml +6 -4
  90. data/resources/locales/mr/fields.yml +340 -98
  91. data/resources/locales/mr/plurals.yml +6 -7
  92. data/resources/locales/ms/fields.yml +294 -98
  93. data/resources/locales/nb/fields.yml +342 -98
  94. data/resources/locales/nl/fields.yml +342 -98
  95. data/resources/locales/nl/plurals.yml +2 -2
  96. data/resources/locales/pl/fields.yml +438 -154
  97. data/resources/locales/pl/plurals.yml +8 -4
  98. data/resources/locales/pt/fields.yml +342 -98
  99. data/resources/locales/pt/plurals.yml +2 -2
  100. data/resources/locales/ro/fields.yml +390 -126
  101. data/resources/locales/ro/plurals.yml +4 -3
  102. data/resources/locales/ru/fields.yml +438 -154
  103. data/resources/locales/ru/plurals.yml +8 -4
  104. data/resources/locales/sk/fields.yml +438 -126
  105. data/resources/locales/sk/plurals.yml +3 -3
  106. data/resources/locales/sq/fields.yml +340 -98
  107. data/resources/locales/sq/plurals.yml +2 -2
  108. data/resources/locales/sr/fields.yml +390 -154
  109. data/resources/locales/sr/plurals.yml +7 -4
  110. data/resources/locales/sv/fields.yml +342 -98
  111. data/resources/locales/sv/plurals.yml +4 -4
  112. data/resources/locales/ta/fields.yml +342 -98
  113. data/resources/locales/th/fields.yml +294 -98
  114. data/resources/locales/tr/fields.yml +342 -98
  115. data/resources/locales/uk/fields.yml +438 -154
  116. data/resources/locales/uk/plurals.yml +10 -6
  117. data/resources/locales/ur/fields.yml +342 -98
  118. data/resources/locales/ur/plurals.yml +2 -2
  119. data/resources/locales/vi/fields.yml +294 -98
  120. data/resources/locales/zh-Hant/fields.yml +294 -98
  121. data/resources/locales/zh/fields.yml +294 -98
  122. data/spec/data_readers/timespan_data_reader_spec.rb +68 -3
  123. data/spec/localized/localized_date_spec.rb +13 -13
  124. data/spec/localized/localized_timespan_spec.rb +43 -84
  125. data/twitter_cldr.gemspec +1 -1
  126. metadata +6 -5
@@ -2,9 +2,9 @@
2
2
  :sk:
3
3
  :cardinal:
4
4
  :rule: 'lambda { |num, runtime| n = runtime.n(num); i = runtime.i(num); v = runtime.v(num);
5
- w = runtime.w(num); f = runtime.f(num); t = runtime.t(num); (((2..4).include?(i)
6
- && v == 0) ? :few : (v != 0 ? :many : ((i == 1 && v == 0) ? :one : :other)))
7
- }'
5
+ w = runtime.w(num); f = runtime.f(num); t = runtime.t(num); ((((((i).floor ==
6
+ (i)) && ((i) >= 2) && ((i) <= 4))) && (v == 0)) ? :few : (v != 0 ? :many : (((i
7
+ == 1) && (v == 0)) ? :one : :other))) }'
8
8
  :names:
9
9
  - :few
10
10
  - :many
@@ -2,107 +2,349 @@
2
2
  :sq:
3
3
  :fields:
4
4
  :day:
5
- :default:
6
- :one: "{0} ditë"
7
- :other: "{0} ditë"
8
- :short:
9
- :one: "{0} day"
10
- :other: "{0} days"
11
- :day-future:
12
- :default:
13
- :one: "In {0} day"
14
- :other: "In {0} days"
15
- :day-past:
16
- :default:
17
- :one: "{0} day ago"
18
- :other: "{0} days ago"
5
+ :display_name: ditë
6
+ :relative:
7
+ -1: dje
8
+ 0: sot
9
+ 1: nesër
10
+ :relative_time:
11
+ :future:
12
+ :one: "pas {0} dite"
13
+ :other: "pas {0} ditësh"
14
+ :past:
15
+ :one: "para {0} dite"
16
+ :other: "para {0} ditësh"
17
+ :day-narrow:
18
+ :display_name: ditë
19
+ :relative_time:
20
+ :future:
21
+ :one: "pas {0} dite"
22
+ :other: "pas {0} ditësh"
23
+ :past:
24
+ :one: "para {0} dite"
25
+ :other: "para {0} ditësh"
26
+ :day-short:
27
+ :display_name: ditë
28
+ :relative_time:
29
+ :future:
30
+ :one: "pas {0} dite"
31
+ :other: "pas {0} ditësh"
32
+ :past:
33
+ :one: "para {0} dite"
34
+ :other: "para {0} ditësh"
35
+ :dayperiod:
36
+ :display_name: "periudhë e ditës"
37
+ :era:
38
+ :display_name: erë
39
+ :fri:
40
+ :relative:
41
+ -1: "të premten e kaluar"
42
+ 0: "këtë të premte"
43
+ 1: "të premten e ardhshme"
44
+ :fri-narrow:
45
+ :relative:
46
+ -1: "të premten e kaluar"
47
+ 0: "këtë të premte"
48
+ 1: "të premten e ardhshme"
49
+ :fri-short:
50
+ :relative:
51
+ -1: "të premten e kaluar"
52
+ 0: "këtë të premte"
53
+ 1: "të premten e ardhshme"
19
54
  :hour:
20
- :default:
21
- :one: "{0} orë"
22
- :other: "{0} orë"
23
- :short:
24
- :one: "{0} hr"
25
- :other: "{0} hrs"
26
- :hour-future:
27
- :default:
28
- :one: "In {0} hour"
29
- :other: "In {0} hours"
30
- :hour-past:
31
- :default:
32
- :one: "{0} hour ago"
33
- :other: "{0} hours ago"
55
+ :display_name: orë
56
+ :relative_time:
57
+ :future:
58
+ :one: "pas {0} ore"
59
+ :other: "pas {0} orësh"
60
+ :past:
61
+ :one: "para {0} ore"
62
+ :other: "para {0} orësh"
63
+ :hour-narrow:
64
+ :display_name: orë
65
+ :relative_time:
66
+ :future:
67
+ :one: "pas {0} ore"
68
+ :other: "pas {0} orësh"
69
+ :past:
70
+ :one: "para {0} ore"
71
+ :other: "para {0} orësh"
72
+ :hour-short:
73
+ :display_name: orë
74
+ :relative_time:
75
+ :future:
76
+ :one: "pas {0} ore"
77
+ :other: "pas {0} orësh"
78
+ :past:
79
+ :one: "para {0} ore"
80
+ :other: "para {0} orësh"
34
81
  :minute:
35
- :default:
36
- :one: "{0} minutë"
37
- :other: "{0} minuta"
38
- :short:
39
- :one: "{0} min"
40
- :other: "{0} mins"
41
- :minute-future:
42
- :default:
43
- :one: "In {0} minute"
44
- :other: "In {0} minutes"
45
- :minute-past:
46
- :default:
47
- :one: "{0} minute ago"
48
- :other: "{0} minutes ago"
82
+ :display_name: minutë
83
+ :relative_time:
84
+ :future:
85
+ :one: "pas {0} minute"
86
+ :other: "pas {0} minutash"
87
+ :past:
88
+ :one: "para {0} minute"
89
+ :other: "para {0} minutash"
90
+ :minute-narrow:
91
+ :display_name: min.
92
+ :relative_time:
93
+ :future:
94
+ :one: "pas {0} min."
95
+ :other: "pas {0} min."
96
+ :past:
97
+ :one: "para {0} min."
98
+ :other: "para {0} min."
99
+ :minute-short:
100
+ :display_name: min.
101
+ :relative_time:
102
+ :future:
103
+ :one: "pas {0} min."
104
+ :other: "pas {0} min."
105
+ :past:
106
+ :one: "para {0} min."
107
+ :other: "para {0} min."
108
+ :mon:
109
+ :relative:
110
+ -1: "të hënën e kaluar"
111
+ 0: "këtë të hënë"
112
+ 1: "të hënën e ardhshme"
113
+ :mon-narrow:
114
+ :relative:
115
+ -1: "të hënën e kaluar"
116
+ 0: "këtë të hënë"
117
+ 1: "të hënën e ardhshme"
118
+ :mon-short:
119
+ :relative:
120
+ -1: "të hënën e kaluar"
121
+ 0: "këtë të hënë"
122
+ 1: "të hënën e ardhshme"
49
123
  :month:
50
- :default:
51
- :one: "{0} muaj"
52
- :other: "{0} muaj"
53
- :short:
54
- :one: "{0} mth"
55
- :other: "{0} mths"
56
- :month-future:
57
- :default:
58
- :one: "In {0} month"
59
- :other: "In {0} months"
60
- :month-past:
61
- :default:
62
- :one: "{0} month ago"
63
- :other: "{0} months ago"
124
+ :display_name: muaj
125
+ :relative:
126
+ -1: "muajin e kaluar"
127
+ 0: "këtë muaj"
128
+ 1: "muajin e ardhshëm"
129
+ :relative_time:
130
+ :future:
131
+ :one: "pas {0} muaji"
132
+ :other: "pas {0} muajsh"
133
+ :past:
134
+ :one: "para {0} muaji"
135
+ :other: "para {0} muajsh"
136
+ :month-narrow:
137
+ :display_name: muaj
138
+ :relative_time:
139
+ :future:
140
+ :one: "pas {0} muaji"
141
+ :other: "pas {0} muajsh"
142
+ :past:
143
+ :one: "para {0} muaji"
144
+ :other: "para {0} muajsh"
145
+ :month-short:
146
+ :display_name: muaj
147
+ :relative_time:
148
+ :future:
149
+ :one: "pas {0} muaji"
150
+ :other: "pas {0} muajsh"
151
+ :past:
152
+ :one: "para {0} muaji"
153
+ :other: "para {0} muajsh"
154
+ :quarter:
155
+ :display_name: tremujor
156
+ :relative_time:
157
+ :future:
158
+ :one: "pas {0} tremujori"
159
+ :other: "pas {0} tremujorësh"
160
+ :past:
161
+ :one: "para {0} tremujori"
162
+ :other: "para {0} tremujorësh"
163
+ :quarter-narrow:
164
+ :display_name: tremujor
165
+ :relative_time:
166
+ :future:
167
+ :one: "pas {0} tremujori"
168
+ :other: "pas {0} tremujorësh"
169
+ :past:
170
+ :one: "para {0} tremujori"
171
+ :other: "para {0} tremujorësh"
172
+ :quarter-short:
173
+ :display_name: tremujor
174
+ :relative_time:
175
+ :future:
176
+ :one: "pas {0} tremujori"
177
+ :other: "pas {0} tremujorësh"
178
+ :past:
179
+ :one: "para {0} tremujori"
180
+ :other: "para {0} tremujorësh"
181
+ :sat:
182
+ :relative:
183
+ -1: "të shtunën e kaluar"
184
+ 0: "këtë të shtunë"
185
+ 1: "të shtunën e ardhshme"
186
+ :sat-narrow:
187
+ :relative:
188
+ -1: "të shtunën e kaluar"
189
+ 0: "këtë të shtunë"
190
+ 1: "të shtunën e ardhshme"
191
+ :sat-short:
192
+ :relative:
193
+ -1: "të shtunën e kaluar"
194
+ 0: "këtë të shtunë"
195
+ 1: "të shtunën e ardhshme"
64
196
  :second:
65
- :default:
66
- :one: "{0} sekondë"
67
- :other: "{0} sekonda"
68
- :short:
69
- :one: "{0} sec"
70
- :other: "{0} secs"
71
- :second-future:
72
- :default:
73
- :one: "In {0} second"
74
- :other: "In {0} seconds"
75
- :second-past:
76
- :default:
77
- :one: "{0} second ago"
78
- :other: "{0} seconds ago"
197
+ :display_name: sekondë
198
+ :relative:
199
+ 0: tani
200
+ :relative_time:
201
+ :future:
202
+ :one: "pas {0} sekonde"
203
+ :other: "pas {0} sekondash"
204
+ :past:
205
+ :one: "para {0} sekonde"
206
+ :other: "para {0} sekondash"
207
+ :second-narrow:
208
+ :display_name: sek.
209
+ :relative_time:
210
+ :future:
211
+ :one: "pas {0} sek."
212
+ :other: "pas {0} sek."
213
+ :past:
214
+ :one: "para {0} sek."
215
+ :other: "para {0} sek."
216
+ :second-short:
217
+ :display_name: sek.
218
+ :relative_time:
219
+ :future:
220
+ :one: "pas {0} sek."
221
+ :other: "pas {0} sek."
222
+ :past:
223
+ :one: "para {0} sek."
224
+ :other: "para {0} sek."
225
+ :sun:
226
+ :relative:
227
+ -1: "të dielën e kaluar"
228
+ 0: "këtë të diel"
229
+ 1: "të dielën e ardhshme"
230
+ :sun-narrow:
231
+ :relative:
232
+ -1: "të dielën e kaluar"
233
+ 0: "këtë të diel"
234
+ 1: "të dielën e ardhshme"
235
+ :sun-short:
236
+ :relative:
237
+ -1: "të dielën e kaluar"
238
+ 0: "këtë të diel"
239
+ 1: "të dielën e ardhshme"
240
+ :thu:
241
+ :relative:
242
+ -1: "të enjten e kaluar"
243
+ 0: "këtë të enjte"
244
+ 1: "të enjten e ardhshme"
245
+ :thu-narrow:
246
+ :relative:
247
+ -1: "të enjten e kaluar"
248
+ 0: "këtë të enjte"
249
+ 1: "të enjten e ardhshme"
250
+ :thu-short:
251
+ :relative:
252
+ -1: "të enjten e kaluar"
253
+ 0: "këtë të enjte"
254
+ 1: "të enjten e ardhshme"
255
+ :tue:
256
+ :relative:
257
+ -1: "të martën e kaluar"
258
+ 0: "këtë të martë"
259
+ 1: "të martën e ardhshme"
260
+ :tue-narrow:
261
+ :relative:
262
+ -1: "të martën e kaluar"
263
+ 0: "këtë të martë"
264
+ 1: "të martën e ardhshme"
265
+ :tue-short:
266
+ :relative:
267
+ -1: "të martën e kaluar"
268
+ 0: "këtë të martë"
269
+ 1: "të martën e ardhshme"
270
+ :wed:
271
+ :relative:
272
+ -1: "të mërkurën e kaluar"
273
+ 0: "këtë të mërkurë"
274
+ 1: "të mërkurën e ardhshme"
275
+ :wed-narrow:
276
+ :relative:
277
+ -1: "të mërkurën e kaluar"
278
+ 0: "këtë të mërkurë"
279
+ 1: "të mërkurën e ardhshme"
280
+ :wed-short:
281
+ :relative:
282
+ -1: "të mërkurën e kaluar"
283
+ 0: "këtë të mërkurë"
284
+ 1: "të mërkurën e ardhshme"
79
285
  :week:
80
- :default:
81
- :one: "{0} javë"
82
- :other: "{0} javë"
83
- :short:
84
- :one: "{0} wk"
85
- :other: "{0} wks"
86
- :week-future:
87
- :default:
88
- :one: "In {0} week"
89
- :other: "In {0} weeks"
90
- :week-past:
91
- :default:
92
- :one: "{0} week ago"
93
- :other: "{0} weeks ago"
286
+ :display_name: javë
287
+ :relative:
288
+ -1: "javën e kaluar"
289
+ 0: "këtë javë"
290
+ 1: "javën e ardhshme"
291
+ :relative_time:
292
+ :future:
293
+ :one: "pas {0} jave"
294
+ :other: "pas {0} javësh"
295
+ :past:
296
+ :one: "para {0} jave"
297
+ :other: "para {0} javësh"
298
+ :week-narrow:
299
+ :display_name: javë
300
+ :relative_time:
301
+ :future:
302
+ :one: "pas {0} jave"
303
+ :other: "pas {0} javësh"
304
+ :past:
305
+ :one: "para {0} jave"
306
+ :other: "para {0} javësh"
307
+ :week-short:
308
+ :display_name: javë
309
+ :relative_time:
310
+ :future:
311
+ :one: "pas {0} jave"
312
+ :other: "pas {0} javësh"
313
+ :past:
314
+ :one: "para {0} jave"
315
+ :other: "para {0} javësh"
316
+ :weekday:
317
+ :display_name: "ditë e javës"
94
318
  :year:
95
- :default:
96
- :one: "{0} vit"
97
- :other: "{0} vjet"
98
- :short:
99
- :one: "{0} yr"
100
- :other: "{0} yrs"
101
- :year-future:
102
- :default:
103
- :one: "In {0} year"
104
- :other: "In {0} years"
105
- :year-past:
106
- :default:
107
- :one: "{0} year ago"
108
- :other: "{0} years ago"
319
+ :display_name: vit
320
+ :relative:
321
+ -1: "vitin e kaluar"
322
+ 0: "këtë vit"
323
+ 1: "vitin e ardhshëm"
324
+ :relative_time:
325
+ :future:
326
+ :one: "pas {0} viti"
327
+ :other: "pas {0} vjetësh"
328
+ :past:
329
+ :one: "para {0} viti"
330
+ :other: "para {0} vjetësh"
331
+ :year-narrow:
332
+ :display_name: vit
333
+ :relative_time:
334
+ :future:
335
+ :one: "pas {0} viti"
336
+ :other: "pas {0} vjetësh"
337
+ :past:
338
+ :one: "para {0} viti"
339
+ :other: "para {0} vjetësh"
340
+ :year-short:
341
+ :display_name: vit
342
+ :relative_time:
343
+ :future:
344
+ :one: "pas {0} viti"
345
+ :other: "pas {0} vjetësh"
346
+ :past:
347
+ :one: "para {0} viti"
348
+ :other: "para {0} vjetësh"
349
+ :zone:
350
+ :display_name: "brezi orar"