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,10 @@
2
2
  :he:
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); (((v == 0 && !(0..10).include?(n))
6
- && n % 10 == 0) ? :many : ((i == 1 && v == 0) ? :one : ((i == 2 && v == 0) ?
7
- :two : :other))) }'
5
+ w = runtime.w(num); f = runtime.f(num); t = runtime.t(num); (((((v == 0) &&
6
+ (!(((n).floor == (n)) && ((n) >= 0) && ((n) <= 10))))) && (n % 10 == 0)) ? :many
7
+ : (((i == 1) && (v == 0)) ? :one : (((i == 2) && (v == 0)) ? :two : :other)))
8
+ }'
8
9
  :names:
9
10
  - :many
10
11
  - :one
@@ -2,107 +2,351 @@
2
2
  :hi:
3
3
  :fields:
4
4
  :day:
5
- :default:
6
- :one: "{0} दिन"
7
- :other: "{0} दिन"
8
- :short:
9
- :one: "{0} दि."
10
- :other: "{0} दि."
11
- :day-future:
12
- :default:
13
- :one: "{0} दिन में"
14
- :other: "{0} दिन में"
15
- :day-past:
16
- :default:
17
- :one: "{0} दिन पहले"
18
- :other: "{0} दिन पहले"
5
+ :display_name: दिन
6
+ :relative:
7
+ -1: कल
8
+ -2: "बीता परसों"
9
+ 0: आज
10
+ 1: कल
11
+ 2: परसों
12
+ :relative_time:
13
+ :future:
14
+ :one: "{0} दिन में"
15
+ :other: "{0} दिन में"
16
+ :past:
17
+ :one: "{0} दिन पहले"
18
+ :other: "{0} दिन पहले"
19
+ :day-narrow:
20
+ :display_name: दिन
21
+ :relative_time:
22
+ :future:
23
+ :one: "{0} दिन में"
24
+ :other: "{0} दिन में"
25
+ :past:
26
+ :one: "{0} दिन पहले"
27
+ :other: "{0} दिन पहले"
28
+ :day-short:
29
+ :display_name: दिन
30
+ :relative_time:
31
+ :future:
32
+ :one: "{0} दिन में"
33
+ :other: "{0} दिन में"
34
+ :past:
35
+ :one: "{0} दिन पहले"
36
+ :other: "{0} दिन पहले"
37
+ :dayperiod:
38
+ :display_name: पूर्वाह्न/अपराह्न
39
+ :era:
40
+ :display_name: युग
41
+ :fri:
42
+ :relative:
43
+ -1: "पिछला शुक्रवार"
44
+ 0: "इस शुक्रवार"
45
+ 1: "अगला शुक्रवार"
46
+ :fri-narrow:
47
+ :relative:
48
+ -1: "पिछला शुक्र."
49
+ 0: "इस शुक्र."
50
+ 1: "अगला शुक्र."
51
+ :fri-short:
52
+ :relative:
53
+ -1: "पिछला शुक्र."
54
+ 0: "इस शुक्र."
55
+ 1: "अगला शुक्र."
19
56
  :hour:
20
- :default:
21
- :one: "{0} घंटा"
22
- :other: "{0} घंटे"
23
- :short:
24
- :one: "{0} घं."
25
- :other: "{0} घंटे"
26
- :hour-future:
27
- :default:
28
- :one: "{0} घंटों में"
29
- :other: "{0} घंटों में"
30
- :hour-past:
31
- :default:
32
- :one: "{0} घंटे पहले"
33
- :other: "{0} घंटे पहले"
57
+ :display_name: घंटा
58
+ :relative_time:
59
+ :future:
60
+ :one: "{0} घंटे में"
61
+ :other: "{0} घंटे में"
62
+ :past:
63
+ :one: "{0} घंटे पहले"
64
+ :other: "{0} घंटे पहले"
65
+ :hour-narrow:
66
+ :display_name: घं.
67
+ :relative_time:
68
+ :future:
69
+ :one: "{0} घं. में"
70
+ :other: "{0} घं. में"
71
+ :past:
72
+ :one: "{0} घं. पहले"
73
+ :other: "{0} घं. पहले"
74
+ :hour-short:
75
+ :display_name: घं.
76
+ :relative_time:
77
+ :future:
78
+ :one: "{0} घं. में"
79
+ :other: "{0} घं. में"
80
+ :past:
81
+ :one: "{0} घं. पहले"
82
+ :other: "{0} घं. पहले"
34
83
  :minute:
35
- :default:
36
- :one: "{0} मिनट"
37
- :other: "{0} मिनट"
38
- :short:
39
- :one: "{0} मिन."
40
- :other: "{0} मिन."
41
- :minute-future:
42
- :default:
43
- :one: "{0} मिनट में"
44
- :other: "{0} मिनट में"
45
- :minute-past:
46
- :default:
47
- :one: "{0} मिनट पहले"
48
- :other: "{0} मिनट पहले"
84
+ :display_name: मिनट
85
+ :relative_time:
86
+ :future:
87
+ :one: "{0} मिनट में"
88
+ :other: "{0} मिनट में"
89
+ :past:
90
+ :one: "{0} मिनट पहले"
91
+ :other: "{0} मिनट पहले"
92
+ :minute-narrow:
93
+ :display_name: मि.
94
+ :relative_time:
95
+ :future:
96
+ :one: "{0} मि. में"
97
+ :other: "{0} मि. में"
98
+ :past:
99
+ :one: "{0} मि. पहले"
100
+ :other: "{0} मि. पहले"
101
+ :minute-short:
102
+ :display_name: मि.
103
+ :relative_time:
104
+ :future:
105
+ :one: "{0} मि. में"
106
+ :other: "{0} मि. में"
107
+ :past:
108
+ :one: "{0} मि. पहले"
109
+ :other: "{0} मि. पहले"
110
+ :mon:
111
+ :relative:
112
+ -1: "पिछला सोमवार"
113
+ 0: "इस सोमवार"
114
+ 1: "अगला सोमवार"
115
+ :mon-narrow:
116
+ :relative:
117
+ -1: "पिछला सोम."
118
+ 0: "इस सोम."
119
+ 1: "अगला सोम."
120
+ :mon-short:
121
+ :relative:
122
+ -1: "पिछला सोम."
123
+ 0: "इस सोम."
124
+ 1: "अगला सोम."
49
125
  :month:
50
- :default:
51
- :one: "{0} महीना"
52
- :other: "{0} महीने"
53
- :short:
54
- :one: "{0} मही."
55
- :other: "{0} मही."
56
- :month-future:
57
- :default:
58
- :one: "{0} माह में"
59
- :other: "{0} माह में"
60
- :month-past:
61
- :default:
62
- :one: "{0} माह पहले"
63
- :other: "{0} माह पहले"
126
+ :display_name: माह
127
+ :relative:
128
+ -1: "पिछला माह"
129
+ 0: "इस माह"
130
+ 1: "अगला माह"
131
+ :relative_time:
132
+ :future:
133
+ :one: "{0} माह में"
134
+ :other: "{0} माह में"
135
+ :past:
136
+ :one: "{0} माह पहले"
137
+ :other: "{0} माह पहले"
138
+ :month-narrow:
139
+ :display_name: माह
140
+ :relative_time:
141
+ :future:
142
+ :one: "{0} माह में"
143
+ :other: "{0} माह में"
144
+ :past:
145
+ :one: "{0} माह पहले"
146
+ :other: "{0} माह पहले"
147
+ :month-short:
148
+ :display_name: माह
149
+ :relative_time:
150
+ :future:
151
+ :one: "{0} माह में"
152
+ :other: "{0} माह में"
153
+ :past:
154
+ :one: "{0} माह पहले"
155
+ :other: "{0} माह पहले"
156
+ :quarter:
157
+ :display_name: तिमाही
158
+ :relative_time:
159
+ :future:
160
+ :one: "{0} तिमाही में"
161
+ :other: "{0} तिमाहियों में"
162
+ :past:
163
+ :one: "{0} तिमाही पहले"
164
+ :other: "{0} तिमाही पहले"
165
+ :quarter-narrow:
166
+ :display_name: तिमाही
167
+ :relative_time:
168
+ :future:
169
+ :one: "{0} ति. में"
170
+ :other: "{0} ति. में"
171
+ :past:
172
+ :one: "{0} ति. पहले"
173
+ :other: "{0} ति. पहले"
174
+ :quarter-short:
175
+ :display_name: तिमाही
176
+ :relative_time:
177
+ :future:
178
+ :one: "{0} तिमाही में"
179
+ :other: "{0} तिमाहियों में"
180
+ :past:
181
+ :one: "{0} तिमाही पहले"
182
+ :other: "{0} तिमाहियों पहले"
183
+ :sat:
184
+ :relative:
185
+ -1: "पिछला शनिवार"
186
+ 0: "इस शनिवार"
187
+ 1: "अगला शनिवार"
188
+ :sat-narrow:
189
+ :relative:
190
+ -1: "पिछला शनि."
191
+ 0: "इस शनि."
192
+ 1: "अगला शनि."
193
+ :sat-short:
194
+ :relative:
195
+ -1: "पिछला शनि."
196
+ 0: "इस शनि."
197
+ 1: "अगला शनि."
64
198
  :second:
65
- :default:
66
- :one: "{0} सेकंड"
67
- :other: "{0} सेकंड"
68
- :short:
69
- :one: "{0} सेकं."
70
- :other: "{0} सेकं."
71
- :second-future:
72
- :default:
73
- :one: "{0} सेकंड में"
74
- :other: "{0} सेकंड में"
75
- :second-past:
76
- :default:
77
- :one: "{0} सेकंड पहले"
78
- :other: "{0} सेकंड पहले"
199
+ :display_name: सेकंड
200
+ :relative:
201
+ 0: अब
202
+ :relative_time:
203
+ :future:
204
+ :one: "{0} सेकंड में"
205
+ :other: "{0} सेकंड में"
206
+ :past:
207
+ :one: "{0} सेकंड पहले"
208
+ :other: "{0} सेकंड पहले"
209
+ :second-narrow:
210
+ :display_name: से.
211
+ :relative_time:
212
+ :future:
213
+ :one: "{0} से. में"
214
+ :other: "{0} से. में"
215
+ :past:
216
+ :one: "{0} से. पहले"
217
+ :other: "{0} से. पहले"
218
+ :second-short:
219
+ :display_name: से.
220
+ :relative_time:
221
+ :future:
222
+ :one: "{0} से. में"
223
+ :other: "{0} से. में"
224
+ :past:
225
+ :one: "{0} से. पहले"
226
+ :other: "{0} से. पहले"
227
+ :sun:
228
+ :relative:
229
+ -1: "पिछला रविवार"
230
+ 0: "इस रविवार"
231
+ 1: "अगला रविवार"
232
+ :sun-narrow:
233
+ :relative:
234
+ -1: "पिछला रवि."
235
+ 0: "इस रवि."
236
+ 1: "अगला रवि."
237
+ :sun-short:
238
+ :relative:
239
+ -1: "पिछला रवि."
240
+ 0: "इस रवि."
241
+ 1: "अगला रवि."
242
+ :thu:
243
+ :relative:
244
+ -1: "पिछला गुरुवार"
245
+ 0: "इस गुरुवार"
246
+ 1: "अगला गुरुवार"
247
+ :thu-narrow:
248
+ :relative:
249
+ -1: "पिछला गुरु."
250
+ 0: "इस गुरु."
251
+ 1: "अगला गुरु."
252
+ :thu-short:
253
+ :relative:
254
+ -1: "पिछला गुरु."
255
+ 0: "इस गुरु."
256
+ 1: "अगला गुरु."
257
+ :tue:
258
+ :relative:
259
+ -1: "पिछला मंगलवार"
260
+ 0: "इस मंगलवार"
261
+ 1: "अगला मंगलवार"
262
+ :tue-narrow:
263
+ :relative:
264
+ -1: "पिछला मंगल."
265
+ 0: "इस मंगल."
266
+ 1: "अगला मंगल."
267
+ :tue-short:
268
+ :relative:
269
+ -1: "पिछला मंगल."
270
+ 0: "इस मंगल."
271
+ 1: "अगला मंगल."
272
+ :wed:
273
+ :relative:
274
+ -1: "पिछला बुधवार"
275
+ 0: "इस बुधवार"
276
+ 1: "अगला बुधवार"
277
+ :wed-narrow:
278
+ :relative:
279
+ -1: "पिछला बुध."
280
+ 0: "इस बुध."
281
+ 1: "अगला बुध."
282
+ :wed-short:
283
+ :relative:
284
+ -1: "पिछला बुध."
285
+ 0: "इस बुध."
286
+ 1: "अगला बुध."
79
287
  :week:
80
- :default:
81
- :one: "{0} सप्ताह"
82
- :other: "{0} सप्ताह"
83
- :short:
84
- :one: "{0} सप्त."
85
- :other: "{0} सप्त."
86
- :week-future:
87
- :default:
88
- :one: "{0} सप्ताह में"
89
- :other: "{0} सप्ताह में"
90
- :week-past:
91
- :default:
92
- :one: "{0} सप्ताह पहले"
93
- :other: "{0} सप्ताह पहले"
288
+ :display_name: सप्ताह
289
+ :relative:
290
+ -1: "पिछला सप्ताह"
291
+ 0: "इस सप्ताह"
292
+ 1: "अगला सप्ताह"
293
+ :relative_time:
294
+ :future:
295
+ :one: "{0} सप्ताह में"
296
+ :other: "{0} सप्ताह में"
297
+ :past:
298
+ :one: "{0} सप्ताह पहले"
299
+ :other: "{0} सप्ताह पहले"
300
+ :week-narrow:
301
+ :display_name: सप्ताह
302
+ :relative_time:
303
+ :future:
304
+ :one: "{0} सप्ताह में"
305
+ :other: "{0} सप्ताह में"
306
+ :past:
307
+ :one: "{0} सप्ताह पहले"
308
+ :other: "{0} सप्ताह पहले"
309
+ :week-short:
310
+ :display_name: सप्ताह
311
+ :relative_time:
312
+ :future:
313
+ :one: "{0} सप्ताह में"
314
+ :other: "{0} सप्ताह में"
315
+ :past:
316
+ :one: "{0} सप्ताह पहले"
317
+ :other: "{0} सप्ताह पहले"
318
+ :weekday:
319
+ :display_name: "सप्ताह का दिन"
94
320
  :year:
95
- :default:
96
- :one: "{0} साल"
97
- :other: "{0} साल"
98
- :short:
99
- :one: "{0} साल"
100
- :other: "{0} साल"
101
- :year-future:
102
- :default:
103
- :one: "{0} वर्ष में"
104
- :other: "{0} वर्ष में"
105
- :year-past:
106
- :default:
107
- :one: "{0} वर्ष पहले"
108
- :other: "{0} वर्ष पहले"
321
+ :display_name: वर्ष
322
+ :relative:
323
+ -1: "पिछला वर्ष"
324
+ 0: "इस वर्ष"
325
+ 1: "अगला वर्ष"
326
+ :relative_time:
327
+ :future:
328
+ :one: "{0} वर्ष में"
329
+ :other: "{0} वर्ष में"
330
+ :past:
331
+ :one: "{0} वर्ष पहले"
332
+ :other: "{0} वर्ष पहले"
333
+ :year-narrow:
334
+ :display_name: वर्ष
335
+ :relative_time:
336
+ :future:
337
+ :one: "{0} वर्ष में"
338
+ :other: "{0} वर्ष में"
339
+ :past:
340
+ :one: "{0} वर्ष पहले"
341
+ :other: "{0} वर्ष पहले"
342
+ :year-short:
343
+ :display_name: वर्ष
344
+ :relative_time:
345
+ :future:
346
+ :one: "{0} वर्ष में"
347
+ :other: "{0} वर्ष में"
348
+ :past:
349
+ :one: "{0} वर्ष पहले"
350
+ :other: "{0} वर्ष पहले"
351
+ :zone:
352
+ :display_name: "समय क्षेत्र"