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,149 +1,219 @@
1
1
  ar:
2
2
  units:
3
3
  day:
4
- few: "{0} أيام"
5
- many: "{0} يوماً"
6
- one: يوم
7
- other: "{0} يوم"
8
- two: يومان
9
- zero: "لا أيام"
4
+ default:
5
+ few: "{0} أيام"
6
+ many: "{0} يوماً"
7
+ one: "يوم"
8
+ other: "{0} يوم"
9
+ two: "يومان"
10
+ zero: "لا أيام"
11
+ short:
12
+ few: "{0} أيام"
13
+ many: "{0} يوماً"
14
+ one: "يوم"
15
+ other: "{0} يوم"
16
+ two: "يومان"
17
+ zero: "لا أيام"
10
18
  day-future:
11
- 0: "خلال 0 يوم"
12
- 1: "خلال يوم واحد"
13
- few: "خلال {0} أيام"
14
- many: "خلال {0} يومًا"
15
- other: "خلال {0} من الأيام"
16
- two: "خلال يومين"
19
+ default:
20
+ 0: "خلال 0 يوم"
21
+ 1: "خلال يوم واحد"
22
+ few: "خلال {0} أيام"
23
+ many: "خلال {0} يومًا"
24
+ other: "خلال {0} من الأيام"
25
+ two: "خلال يومين"
17
26
  day-past:
18
- 0: "قبل 0 يوم"
19
- 1: "قبل يوم واحد"
20
- few: "قبل {0} أيام"
21
- many: "قبل {0} يومًا"
22
- other: "قبل {0} من الأيام"
23
- two: "قبل يومين"
27
+ default:
28
+ 0: "قبل 0 يوم"
29
+ 1: "قبل يوم واحد"
30
+ few: "قبل {0} أيام"
31
+ many: "قبل {0} يومًا"
32
+ other: "قبل {0} من الأيام"
33
+ two: "قبل يومين"
24
34
  hour:
25
- few: "{0} س"
26
- many: "{0} س"
27
- one: ساعة
28
- other: "{0} س"
29
- two: ساعتان
30
- zero: "لا ساعات"
35
+ default:
36
+ few: "{0} ساعات"
37
+ many: "{0} ساعةً"
38
+ one: ساعة
39
+ other: "{0} ساعة"
40
+ two: ساعتان
41
+ zero: "لا ساعات"
42
+ short:
43
+ few: "{0} س"
44
+ many: "{0} س"
45
+ one: ساعة
46
+ other: "{0} س"
47
+ two: ساعتان
48
+ zero: "لا ساعات"
31
49
  hour-future:
32
- 0: "خلال 0 ساعة"
33
- 1: "خلال ساعة واحدة"
34
- few: "خلال {0} ساعات"
35
- many: "خلال {0} ساعة"
36
- other: "خلال {0} من الساعات"
37
- two: "خلال ساعتين"
50
+ default:
51
+ 0: "خلال 0 ساعة"
52
+ 1: "خلال ساعة واحدة"
53
+ few: "خلال {0} ساعات"
54
+ many: "خلال {0} ساعة"
55
+ other: "خلال {0} من الساعات"
56
+ two: "خلال ساعتين"
38
57
  hour-past:
39
- 0: "قبل 0 ساعة"
40
- 1: "قبل ساعة واحدة"
41
- few: "قبل {0} ساعات"
42
- many: "قبل {0} ساعة"
43
- other: "قبل {0} من الساعات"
44
- two: "قبل ساعتين"
58
+ default:
59
+ 0: "قبل 0 ساعة"
60
+ 1: "قبل ساعة واحدة"
61
+ few: "قبل {0} ساعات"
62
+ many: "قبل {0} ساعة"
63
+ other: "قبل {0} من الساعات"
64
+ two: "قبل ساعتين"
45
65
  minute:
46
- few: "{0} د"
47
- many: "{0} د"
48
- one: دقيقة
49
- other: "{0} د"
50
- two: دقيقتان
51
- zero: "لا دقائق"
66
+ default:
67
+ few: "{0} دقائق"
68
+ many: "{0} دقيقةً"
69
+ one: دقيقة
70
+ other: "{0} دقيقة"
71
+ two: دقيقتان
72
+ zero: "لا دقائق"
73
+ short:
74
+ few: "{0} د"
75
+ many: "{0} د"
76
+ one: دقيقة
77
+ other: "{0} د"
78
+ two: دقيقتان
79
+ zero: "لا دقائق"
52
80
  minute-future:
53
- 0: "خلال 0 دقيقة"
54
- 1: "خلال دقيقة واحدة"
55
- few: "خلال {0} دقائق"
56
- many: "خلال {0} دقيقة"
57
- other: "خلال {0} من الدقائق"
58
- two: "خلال دقيقتين"
81
+ default:
82
+ 0: "خلال 0 دقيقة"
83
+ 1: "خلال دقيقة واحدة"
84
+ few: "خلال {0} دقائق"
85
+ many: "خلال {0} دقيقة"
86
+ other: "خلال {0} من الدقائق"
87
+ two: "خلال دقيقتين"
59
88
  minute-past:
60
- 0: "قبل 0 دقيقة"
61
- 1: "قبل دقيقة واحدة"
62
- few: "قبل {0} دقائق"
63
- many: "قبل {0} دقيقة"
64
- other: "قبل {0} من الدقائق"
65
- two: "قبل دقيقتين"
89
+ default:
90
+ 0: "قبل 0 دقيقة"
91
+ 1: "قبل دقيقة واحدة"
92
+ few: "قبل {0} دقائق"
93
+ many: "قبل {0} دقيقة"
94
+ other: "قبل {0} من الدقائق"
95
+ two: "قبل دقيقتين"
66
96
  month:
67
- few: "{0} أشهر"
68
- many: "{0} شهراً"
69
- one: شهر
70
- other: "{0} شهر"
71
- two: شهران
72
- zero: "لا أشهر"
97
+ default:
98
+ few: "{0} أشهر"
99
+ many: "{0} شهراً"
100
+ one: شهر
101
+ other: "{0} شهر"
102
+ two: شهران
103
+ zero: "لا أشهر"
104
+ short:
105
+ few: "{0} أشهر"
106
+ many: "{0} شهراً"
107
+ one: شهر
108
+ other: "{0} شهر"
109
+ two: شهران
110
+ zero: "لا أشهر"
73
111
  month-future:
74
- 0: "خلال 0 شهر"
75
- 1: "خلال شهر واحد"
76
- few: "خلال {0} شهور"
77
- many: "خلال {0} شهرًا"
78
- other: "خلال {0} من الشهور"
79
- two: "خلال شهرين"
112
+ default:
113
+ 0: "خلال 0 شهر"
114
+ 1: "خلال شهر واحد"
115
+ few: "خلال {0} شهور"
116
+ many: "خلال {0} شهرًا"
117
+ other: "خلال {0} من الشهور"
118
+ two: "خلال شهرين"
80
119
  month-past:
81
- 0: "قبل 0 شهر"
82
- 1: "قبل شهر واحد"
83
- few: "قبل {0} أشهر"
84
- many: "قبل {0} شهرًا"
85
- other: "قبل {0} من الشهور"
86
- two: "قبل شهرين"
120
+ default:
121
+ 0: "قبل 0 شهر"
122
+ 1: "قبل شهر واحد"
123
+ few: "قبل {0} أشهر"
124
+ many: "قبل {0} شهرًا"
125
+ other: "قبل {0} من الشهور"
126
+ two: "قبل شهرين"
87
127
  second:
88
- few: "{0} ث"
89
- many: "{0} ث"
90
- one: ثانية
91
- other: "{0} ث"
92
- two: ثانيتان
93
- zero: "لا ثوان"
128
+ default:
129
+ few: "{0} ثوان"
130
+ many: "{0} ثانيةً"
131
+ one: ثانية
132
+ other: "{0} ثانية"
133
+ two: ثانيتان
134
+ zero: "لا ثوان"
135
+ short:
136
+ few: "{0} ث"
137
+ many: "{0} ث"
138
+ one: ثانية
139
+ other: "{0} ث"
140
+ two: ثانيتان
141
+ zero: "لا ثوان"
94
142
  second-future:
95
- 0: "خلال 0 ثانية"
96
- 1: "خلال ثانية واحدة"
97
- few: "خلال {0} ثوانِ"
98
- many: "خلال {0} ثانية"
99
- other: "خلال {0} من الثواني"
100
- two: "خلال ثانيتين"
143
+ default:
144
+ 0: "خلال 0 ثانية"
145
+ 1: "خلال ثانية واحدة"
146
+ few: "خلال {0} ثوانِ"
147
+ many: "خلال {0} ثانية"
148
+ other: "خلال {0} من الثواني"
149
+ two: "خلال ثانيتين"
101
150
  second-past:
102
- 0: "قبل 0 ثانية"
103
- 1: "قبل ثانية واحدة"
104
- few: "قبل {0} ثوانِ"
105
- many: "قبل {0} ثانية"
106
- other: "قبل {0} من الثواني"
107
- two: "قبل ثانيتين"
151
+ default:
152
+ 0: "قبل 0 ثانية"
153
+ 1: "قبل ثانية واحدة"
154
+ few: "قبل {0} ثوانِ"
155
+ many: "قبل {0} ثانية"
156
+ other: "قبل {0} من الثواني"
157
+ two: "قبل ثانيتين"
108
158
  week:
109
- few: "{0} أسابيع"
110
- many: "{0} أسبوعاً"
111
- one: أسبوع
112
- other: "{0} أسبوع"
113
- two: أسبوعان
114
- zero: "لا أسابيع"
159
+ default:
160
+ few: "{0} أسابيع"
161
+ many: "{0} أسبوعاً"
162
+ one: أسبوع
163
+ other: "{0} أسبوع"
164
+ two: أسبوعان
165
+ zero: "لا أسابيع"
166
+ short:
167
+ few: "{0} أسابيع"
168
+ many: "{0} أسبوعاً"
169
+ one: أسبوع
170
+ other: "{0} أسبوع"
171
+ two: أسبوعان
172
+ zero: "لا أسابيع"
115
173
  week-future:
116
- 0: "خلال 0 أسبوع"
117
- 1: "خلال أسبوع واحد"
118
- few: "خلال {0} أسابيع"
119
- many: "خلال {0} أسبوعًا"
120
- other: "خلال {0} من الأسابيع"
121
- two: "خلال أسبوعين"
174
+ default:
175
+ 0: "خلال 0 أسبوع"
176
+ 1: "خلال أسبوع واحد"
177
+ few: "خلال {0} أسابيع"
178
+ many: "خلال {0} أسبوعًا"
179
+ other: "خلال {0} من الأسابيع"
180
+ two: "خلال أسبوعين"
122
181
  week-past:
123
- 0: "قبل 0 أسبوع"
124
- 1: "قبل أسبوع واحد"
125
- few: "قبل {0} أسابيع"
126
- many: "قبل {0} أسبوعًا"
127
- other: "قبل {0} من الأسابيع"
128
- two: "قبل أسبوعين"
182
+ default:
183
+ 0: "قبل 0 أسبوع"
184
+ 1: "قبل أسبوع واحد"
185
+ few: "قبل {0} أسابيع"
186
+ many: "قبل {0} أسبوعًا"
187
+ other: "قبل {0} من الأسابيع"
188
+ two: "قبل أسبوعين"
129
189
  year:
130
- few: "{0} سنوات"
131
- many: "{0} سنةً"
132
- one: سنة
133
- other: "{0} سنة"
134
- two: سنتان
135
- zero: "لا سنوات"
190
+ default:
191
+ few: "{0} سنوات"
192
+ many: "{0} سنةً"
193
+ one: سنة
194
+ other: "{0} سنة"
195
+ two: سنتان
196
+ zero: "لا سنوات"
197
+ short:
198
+ few: "{0} سنوات"
199
+ many: "{0} سنةً"
200
+ one: سنة
201
+ other: "{0} سنة"
202
+ two: سنتان
203
+ zero: "لا سنوات"
136
204
  year-future:
137
- 0: "خلال 0 سنة"
138
- 1: "خلال سنة واحدة"
139
- few: "خلال {0} سنوات"
140
- many: "خلال {0} سنة"
141
- other: "خلال {0} من السنوات"
142
- two: "خلال سنتين"
205
+ default:
206
+ 0: "خلال 0 سنة"
207
+ 1: "خلال سنة واحدة"
208
+ few: "خلال {0} سنوات"
209
+ many: "خلال {0} سنة"
210
+ other: "خلال {0} من السنوات"
211
+ two: "خلال سنتين"
143
212
  year-past:
144
- 0: "قبل 0 سنة"
145
- 1: "قبل سنة واحدة"
146
- few: "قبل {0} سنوات"
147
- many: "قبل {0} سنة"
148
- other: "قبل {0} من السنوات"
149
- two: "قبل سنتين"
213
+ default:
214
+ 0: "قبل 0 سنة"
215
+ 1: "قبل سنة واحدة"
216
+ few: "قبل {0} سنوات"
217
+ many: "قبل {0} سنة"
218
+ other: "قبل {0} من السنوات"
219
+ two: "قبل سنتين"
@@ -1,93 +1,135 @@
1
1
  ca:
2
2
  units:
3
3
  day:
4
- one: "{0} dia"
5
- other: "{0} dies"
4
+ default:
5
+ one: "{0} dia"
6
+ other: "{0} dies"
7
+ short:
8
+ one: "{0} dia"
9
+ other: "{0} dies"
6
10
  day-future:
7
- 0: "D'aquí a 0 dies"
8
- 1: "D'aquí a 1 dia"
9
- one: "D'aquí a {0} dia"
10
- other: "D'aquí a {0} dies"
11
+ default:
12
+ 0: "D'aquí a 0 dies"
13
+ 1: "D'aquí a 1 dia"
14
+ one: "D'aquí a {0} dia"
15
+ other: "D'aquí a {0} dies"
11
16
  day-past:
12
- 0: "Fa 0 dies"
13
- 1: "Fa 1 dia"
14
- one: "Fa {0} dia"
15
- other: "Fa {0} dies"
17
+ default:
18
+ 0: "Fa 0 dies"
19
+ 1: "Fa 1 dia"
20
+ one: "Fa {0} dia"
21
+ other: "Fa {0} dies"
16
22
  hour:
17
- one: "{0} h"
18
- other: "{0} h"
23
+ default:
24
+ one: "{0} hora"
25
+ other: "{0} hores"
26
+ short:
27
+ one: "{0} h"
28
+ other: "{0} h"
19
29
  hour-future:
20
- 0: "D'aquí a 0 hores"
21
- 1: "D'aquí a 1 hora"
22
- one: "D'aquí a {0} hora"
23
- other: "D'aquí a {0} hores"
30
+ default:
31
+ 0: "D'aquí a 0 hores"
32
+ 1: "D'aquí a 1 hora"
33
+ one: "D'aquí a {0} hora"
34
+ other: "D'aquí a {0} hores"
24
35
  hour-past:
25
- 0: "Fa 0 hores"
26
- 1: "Fa 1 hora"
27
- one: "Fa {0} hora"
28
- other: "Fa {0} hores"
36
+ default:
37
+ 0: "Fa 0 hores"
38
+ 1: "Fa 1 hora"
39
+ one: "Fa {0} hora"
40
+ other: "Fa {0} hores"
29
41
  minute:
30
- one: "{0} m"
31
- other: "{0} m"
42
+ default:
43
+ one: "{0} minut"
44
+ other: "{0} minuts"
45
+ short:
46
+ one: "{0} m"
47
+ other: "{0} m"
32
48
  minute-future:
33
- 0: "D'aquí a 0 minuts"
34
- 1: "D'aquí a 1 minut"
35
- one: "D'aquí a {0} minut"
36
- other: "D'aquí a {0} minuts"
49
+ default:
50
+ 0: "D'aquí a 0 minuts"
51
+ 1: "D'aquí a 1 minut"
52
+ one: "D'aquí a {0} minut"
53
+ other: "D'aquí a {0} minuts"
37
54
  minute-past:
38
- 0: "Fa 0 minuts"
39
- 1: "Fa 1 minut"
40
- one: "Fa {0} minut"
41
- other: "Fa {0} minuts"
55
+ default:
56
+ 0: "Fa 0 minuts"
57
+ 1: "Fa 1 minut"
58
+ one: "Fa {0} minut"
59
+ other: "Fa {0} minuts"
42
60
  month:
43
- one: "{0} mes"
44
- other: "{0} mesos"
61
+ default:
62
+ one: "{0} mes"
63
+ other: "{0} mesos"
64
+ short:
65
+ one: "{0} mes"
66
+ other: "{0} mesos"
45
67
  month-future:
46
- 0: "D'aquí a 0 mesos"
47
- 1: "D'aquí a 1 mes"
48
- one: "D'aquí a {0} mes"
49
- other: "D'aquí a {0} mesos"
68
+ default:
69
+ 0: "D'aquí a 0 mesos"
70
+ 1: "D'aquí a 1 mes"
71
+ one: "D'aquí a {0} mes"
72
+ other: "D'aquí a {0} mesos"
50
73
  month-past:
51
- 0: "Fa 0 mesos"
52
- 1: "Fa 1 mes"
53
- one: "Fa {0} mes"
54
- other: "Fa {0} mesos"
74
+ default:
75
+ 0: "Fa 0 mesos"
76
+ 1: "Fa 1 mes"
77
+ one: "Fa {0} mes"
78
+ other: "Fa {0} mesos"
55
79
  second:
56
- one: "{0} s"
57
- other: "{0} s"
80
+ default:
81
+ one: "{0} segon"
82
+ other: "{0} segons"
83
+ short:
84
+ one: "{0} s"
85
+ other: "{0} s"
58
86
  second-future:
59
- 0: "D'aquí a 0 segons"
60
- 1: "D'aquí a 1 segon"
61
- one: "D'aquí a {0} segon"
62
- other: "D'aquí a {0} segons"
87
+ default:
88
+ 0: "D'aquí a 0 segons"
89
+ 1: "D'aquí a 1 segon"
90
+ one: "D'aquí a {0} segon"
91
+ other: "D'aquí a {0} segons"
63
92
  second-past:
64
- 0: "Fa 0 segons"
65
- 1: "Fa 1 segon"
66
- one: "Fa {0} segon"
67
- other: "Fa {0} segons"
93
+ default:
94
+ 0: "Fa 0 segons"
95
+ 1: "Fa 1 segon"
96
+ one: "Fa {0} segon"
97
+ other: "Fa {0} segons"
68
98
  week:
69
- one: "{0} setmana"
70
- other: "{0} setmanes"
99
+ default:
100
+ one: "{0} setmana"
101
+ other: "{0} setmanes"
102
+ short:
103
+ one: "{0} setmana"
104
+ other: "{0} setmanes"
71
105
  week-future:
72
- 0: "D'aquí a 0 setmanes"
73
- 1: "D'aquí a 1 setmana"
74
- one: "D'aquí a {0} setmana"
75
- other: "D'aquí a {0} setmanes"
106
+ default:
107
+ 0: "D'aquí a 0 setmanes"
108
+ 1: "D'aquí a 1 setmana"
109
+ one: "D'aquí a {0} setmana"
110
+ other: "D'aquí a {0} setmanes"
76
111
  week-past:
77
- 0: "Fa 0 setmanes"
78
- 1: "Fa 1 setmana"
79
- one: "Fa {0} setmana"
80
- other: "Fa {0} setmanes"
112
+ default:
113
+ 0: "Fa 0 setmanes"
114
+ 1: "Fa 1 setmana"
115
+ one: "Fa {0} setmana"
116
+ other: "Fa {0} setmanes"
81
117
  year:
82
- one: "{0} any"
83
- other: "{0} anys"
118
+ default:
119
+ one: "{0} any"
120
+ other: "{0} anys"
121
+ short:
122
+ one: "{0} any"
123
+ other: "{0} anys"
84
124
  year-future:
85
- 0: "D'aquí a 0 anys"
86
- 1: "D'aquí a 1 any"
87
- one: "D'aquí a {0} any"
88
- other: "D'aquí a {0} anys"
125
+ default:
126
+ 0: "D'aquí a 0 anys"
127
+ 1: "D'aquí a 1 any"
128
+ one: "D'aquí a {0} any"
129
+ other: "D'aquí a {0} anys"
89
130
  year-past:
90
- 0: "Fa 0 anys"
91
- 1: "Fa 1 any"
92
- one: "Fa {0} any"
93
- other: "Fa {0} anys"
131
+ default:
132
+ 0: "Fa 0 anys"
133
+ 1: "Fa 1 any"
134
+ one: "Fa {0} any"
135
+ other: "Fa {0} anys"