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,86 +1,135 @@
1
1
  ur:
2
2
  units:
3
3
  day:
4
- 0: "0 دن"
5
- 1: "1 دن"
6
- other: "{0} دن"
4
+ default:
5
+ 0: "0 دن"
6
+ 1: "1 دن"
7
+ other: "{0} دن"
8
+ short:
9
+ 0: "0 دن"
10
+ 1: "1 دن"
11
+ other: "{0} دن"
7
12
  day-future:
8
- 0: "0 دن میں"
9
- 1: "1 دن میں"
10
- other: "{0} دن میں"
13
+ default:
14
+ 0: "0 دن میں"
15
+ 1: "1 دن میں"
16
+ other: "{0} دن میں"
11
17
  day-past:
12
- 0: "0 دن پہلے"
13
- 1: "1 دن پہلے"
14
- other: "{0} دن پہلے"
18
+ default:
19
+ 0: "0 دن پہلے"
20
+ 1: "1 دن پہلے"
21
+ other: "{0} دن پہلے"
15
22
  hour:
16
- 0: "0 گھنٹے"
17
- 1: "1 گھنٹہ"
18
- other: "{0} گھنٹے"
23
+ default:
24
+ 0: "0 گھنٹے"
25
+ 1: "1 گھنٹہ"
26
+ other: "{0} گھنٹے"
27
+ short:
28
+ 0: "0 گھنٹے"
29
+ 1: "1 گھنٹہ"
30
+ other: "{0} گھنٹے"
19
31
  hour-future:
20
- 0: "0 گھنٹے میں"
21
- 1: "1 گھنٹہ میں"
22
- other: "{0} گھنٹے میں"
32
+ default:
33
+ 0: "0 گھنٹے میں"
34
+ 1: "1 گھنٹہ میں"
35
+ other: "{0} گھنٹے میں"
23
36
  hour-past:
24
- 0: "0 گھنٹے پہلے"
25
- 1: "1 گھنٹہ پہلے"
26
- other: "{0} گھنٹے پہلے"
37
+ default:
38
+ 0: "0 گھنٹے پہلے"
39
+ 1: "1 گھنٹہ پہلے"
40
+ other: "{0} گھنٹے پہلے"
27
41
  minute:
28
- 0: "0 منٹ"
29
- 1: "1 منٹ"
30
- other: "{0} منٹ"
42
+ default:
43
+ 0: "0 منٹ"
44
+ 1: "1 منٹ"
45
+ other: "{0} منٹ"
46
+ short:
47
+ 0: "0 منٹ"
48
+ 1: "1 منٹ"
49
+ other: "{0} منٹ"
31
50
  minute-future:
32
- 0: "0 منٹ میں"
33
- 1: "1 منٹ میں"
34
- other: "{0} منٹ میں"
51
+ default:
52
+ 0: "0 منٹ میں"
53
+ 1: "1 منٹ میں"
54
+ other: "{0} منٹ میں"
35
55
  minute-past:
36
- 0: "0 منٹ پہلے"
37
- 1: "1 منٹ پہلے"
38
- other: "{0} منٹ پہلے"
56
+ default:
57
+ 0: "0 منٹ پہلے"
58
+ 1: "1 منٹ پہلے"
59
+ other: "{0} منٹ پہلے"
39
60
  month:
40
- 0: "0 مہینے"
41
- 1: "1 مہینہ"
42
- other: "{0} مہینے"
61
+ default:
62
+ 0: "0 مہینے"
63
+ 1: "1 مہینہ"
64
+ other: "{0} مہینے"
65
+ short:
66
+ 0: "0 مہینے"
67
+ 1: "1 مہینہ"
68
+ other: "{0} مہینے"
43
69
  month-future:
44
- 0: "0 مہینے میں"
45
- 1: "1 مہینہ میں"
46
- other: "{0} مہینے میں"
70
+ default:
71
+ 0: "0 مہینے میں"
72
+ 1: "1 مہینہ میں"
73
+ other: "{0} مہینے میں"
47
74
  month-past:
48
- 0: "0 مہینے پہلے"
49
- 1: "1 مہینہ پہلے"
50
- other: "{0} مہینے پہلے"
75
+ default:
76
+ 0: "0 مہینے پہلے"
77
+ 1: "1 مہینہ پہلے"
78
+ other: "{0} مہینے پہلے"
51
79
  second:
52
- 0: "0 سیکنڈ"
53
- 1: "1 سیکنڈ"
54
- other: "{0} سیکنڈ"
80
+ default:
81
+ 0: "0 سیکنڈ"
82
+ 1: "1 سیکنڈ"
83
+ other: "{0} سیکنڈ"
84
+ short:
85
+ 0: "0 سیکنڈ"
86
+ 1: "1 سیکنڈ"
87
+ other: "{0} سیکنڈ"
55
88
  second-future:
56
- 0: "0 سیکنڈ میں"
57
- 1: "1 سیکنڈ میں"
58
- other: "{0} سیکنڈ میں"
89
+ default:
90
+ 0: "0 سیکنڈ میں"
91
+ 1: "1 سیکنڈ میں"
92
+ other: "{0} سیکنڈ میں"
59
93
  second-past:
60
- 0: "0 سیکنڈ پہلے"
61
- 1: "1 سیکنڈ پہلے"
62
- other: "{0} سیکنڈ پہلے"
94
+ default:
95
+ 0: "0 سیکنڈ پہلے"
96
+ 1: "1 سیکنڈ پہلے"
97
+ other: "{0} سیکنڈ پہلے"
63
98
  week:
64
- 0: "0 ہفتے"
65
- 1: "1 ہفتہ"
66
- other: "{0} ہفتے"
99
+ default:
100
+ 0: "0 ہفتے"
101
+ 1: "1 ہفتہ"
102
+ other: "{0} ہفتے"
103
+ short:
104
+ 0: "0 ہفتے"
105
+ 1: "1 ہفتہ"
106
+ other: "{0} ہفتے"
67
107
  week-future:
68
- 0: "0 ہفتے میں"
69
- 1: "1 ہفتہ میں"
70
- other: "{0} ہفتے میں"
108
+ default:
109
+ 0: "0 ہفتے میں"
110
+ 1: "1 ہفتہ میں"
111
+ other: "{0} ہفتے میں"
71
112
  week-past:
72
- 0: "0 ہفتے پہلے"
73
- 1: "1 ہفتہ پہلے"
74
- other: "{0} ہفتے پہلے"
113
+ default:
114
+ 0: "0 ہفتے پہلے"
115
+ 1: "1 ہفتہ پہلے"
116
+ other: "{0} ہفتے پہلے"
75
117
  year:
76
- 0: "0 سال"
77
- 1: "1 سال"
78
- other: "{0} سال"
118
+ default:
119
+ 0: "0 سال"
120
+ 1: "1 سال"
121
+ other: "{0} سال"
122
+ short:
123
+ 0: "0 سال"
124
+ 1: "1 سال"
125
+ other: "{0} سال"
79
126
  year-future:
80
- 0: "0 سال میں"
81
- 1: "1 سال میں"
82
- other: "{0} سال میں"
127
+ default:
128
+ 0: "0 سال میں"
129
+ 1: "1 سال میں"
130
+ other: "{0} سال میں"
83
131
  year-past:
84
- 0: "0 سال پہلے"
85
- 1: "1 سال پہلے"
86
- other: "{0} سال پہلے"
132
+ default:
133
+ 0: "0 سال پہلے"
134
+ 1: "1 سال پہلے"
135
+ other: "{0} سال پہلے"
@@ -1,72 +1,107 @@
1
1
  zh-Hant:
2
2
  units:
3
3
  day:
4
- other: "{0}日"
4
+ default:
5
+ other: "{0}日"
6
+ short:
7
+ other: "{0}日"
5
8
  day-future:
6
- 0: "0 天後"
7
- 1: "1 天後"
8
- other: "{0} 天後"
9
+ default:
10
+ 0: "0 天後"
11
+ 1: "1 天後"
12
+ other: "{0} 天後"
9
13
  day-past:
10
- 0: "0 天前"
11
- 1: "1 天前"
12
- other: "{0} 天前"
14
+ default:
15
+ 0: "0 天前"
16
+ 1: "1 天前"
17
+ other: "{0} 天前"
13
18
  hour:
14
- other: "{0}小時"
19
+ default:
20
+ other: "{0}小時"
21
+ short:
22
+ other: "{0}小時"
15
23
  hour-future:
16
- 0: "0 小時後"
17
- 1: "1 小時後"
18
- other: "{0} 小時後"
24
+ default:
25
+ 0: "0 小時後"
26
+ 1: "1 小時後"
27
+ other: "{0} 小時後"
19
28
  hour-past:
20
- 0: "0 小時前"
21
- 1: "1 小時前"
22
- other: "{0} 小時前"
29
+ default:
30
+ 0: "0 小時前"
31
+ 1: "1 小時前"
32
+ other: "{0} 小時前"
23
33
  minute:
24
- other: "{0}分"
34
+ default:
35
+ other: "{0}分"
36
+ short:
37
+ other: "{0}分"
25
38
  minute-future:
26
- 0: "0 分鐘後"
27
- 1: "1 分鐘後"
28
- other: "{0} 分鐘後"
39
+ default:
40
+ 0: "0 分鐘後"
41
+ 1: "1 分鐘後"
42
+ other: "{0} 分鐘後"
29
43
  minute-past:
30
- 0: "0 分鐘前"
31
- 1: "1 分鐘前"
32
- other: "{0} 分鐘前"
44
+ default:
45
+ 0: "0 分鐘前"
46
+ 1: "1 分鐘前"
47
+ other: "{0} 分鐘前"
33
48
  month:
34
- other: "{0}月"
49
+ default:
50
+ other: "{0}月"
51
+ short:
52
+ other: "{0}月"
35
53
  month-future:
36
- 0: "0 個月後"
37
- 1: "1 個月後"
38
- other: "{0} 個月後"
54
+ default:
55
+ 0: "0 個月後"
56
+ 1: "1 個月後"
57
+ other: "{0} 個月後"
39
58
  month-past:
40
- 0: "0 個月前"
41
- 1: "1 個月前"
42
- other: "{0} 個月前"
59
+ default:
60
+ 0: "0 個月前"
61
+ 1: "1 個月前"
62
+ other: "{0} 個月前"
43
63
  second:
44
- other: "{0}秒"
64
+ default:
65
+ other: "{0}秒"
66
+ short:
67
+ other: "{0}秒"
45
68
  second-future:
46
- 0: "0 秒後"
47
- 1: "1 秒後"
48
- other: "{0} 秒後"
69
+ default:
70
+ 0: "0 秒後"
71
+ 1: "1 秒後"
72
+ other: "{0} 秒後"
49
73
  second-past:
50
- 0: "0 秒前"
51
- 1: "1 秒前"
52
- other: "{0} 秒前"
74
+ default:
75
+ 0: "0 秒前"
76
+ 1: "1 秒前"
77
+ other: "{0} 秒前"
53
78
  week:
54
- other: "{0}週"
79
+ default:
80
+ other: "{0}週"
81
+ short:
82
+ other: "{0}週"
55
83
  week-future:
56
- 0: "0 週後"
57
- 1: "1 週後"
58
- other: "{0} 週後"
84
+ default:
85
+ 0: "0 週後"
86
+ 1: "1 週後"
87
+ other: "{0} 週後"
59
88
  week-past:
60
- 0: "0 週前"
61
- 1: "1 週前"
62
- other: "{0} 週前"
89
+ default:
90
+ 0: "0 週前"
91
+ 1: "1 週前"
92
+ other: "{0} 週前"
63
93
  year:
64
- other: "{0}年"
94
+ default:
95
+ other: "{0}年"
96
+ short:
97
+ other: "{0}年"
65
98
  year-future:
66
- 0: "0 年後"
67
- 1: "1 年後"
68
- other: "{0} 年後"
99
+ default:
100
+ 0: "0 年後"
101
+ 1: "1 年後"
102
+ other: "{0} 年後"
69
103
  year-past:
70
- 0: "0 年前"
71
- 1: "1 年前"
72
- other: "{0} 年前"
104
+ default:
105
+ 0: "0 年前"
106
+ 1: "1 年前"
107
+ other: "{0} 年前"
@@ -1,72 +1,107 @@
1
1
  zh:
2
2
  units:
3
3
  day:
4
- other: "{0}日"
4
+ default:
5
+ other: "{0}日"
6
+ short:
7
+ other: "{0}日"
5
8
  day-future:
6
- 0: 0天后
7
- 1: 1天后
8
- other: "{0}天后"
9
+ default:
10
+ 0: 0天后
11
+ 1: 1天后
12
+ other: "{0}天后"
9
13
  day-past:
10
- 0: 0天前
11
- 1: 1天前
12
- other: "{0}天前"
14
+ default:
15
+ 0: 0天前
16
+ 1: 1天前
17
+ other: "{0}天前"
13
18
  hour:
14
- other: "{0}小时"
19
+ default:
20
+ other: "{0}小时"
21
+ short:
22
+ other: "{0}小时"
15
23
  hour-future:
16
- 0: 0小时后
17
- 1: 1小时后
18
- other: "{0}小时后"
24
+ default:
25
+ 0: 0小时后
26
+ 1: 1小时后
27
+ other: "{0}小时后"
19
28
  hour-past:
20
- 0: 0小时前
21
- 1: 1小时前
22
- other: "{0}小时前"
29
+ default:
30
+ 0: 0小时前
31
+ 1: 1小时前
32
+ other: "{0}小时前"
23
33
  minute:
24
- other: "{0}分"
34
+ default:
35
+ other: "{0}分"
36
+ short:
37
+ other: "{0}分"
25
38
  minute-future:
26
- 0: 0分钟后
27
- 1: 1分钟后
28
- other: "{0}分钟后"
39
+ default:
40
+ 0: 0分钟后
41
+ 1: 1分钟后
42
+ other: "{0}分钟后"
29
43
  minute-past:
30
- 0: 0分钟前
31
- 1: 1分钟前
32
- other: "{0}分钟前"
44
+ default:
45
+ 0: 0分钟前
46
+ 1: 1分钟前
47
+ other: "{0}分钟前"
33
48
  month:
34
- other: "{0}月"
49
+ default:
50
+ other: "{0}月"
51
+ short:
52
+ other: "{0}月"
35
53
  month-future:
36
- 0: 0个月后
37
- 1: 1个月后
38
- other: "{0}个月后"
54
+ default:
55
+ 0: 0个月后
56
+ 1: 1个月后
57
+ other: "{0}个月后"
39
58
  month-past:
40
- 0: 0个月前
41
- 1: 1个月前
42
- other: "{0}个月前"
59
+ default:
60
+ 0: 0个月前
61
+ 1: 1个月前
62
+ other: "{0}个月前"
43
63
  second:
44
- other: "{0}秒"
64
+ default:
65
+ other: "{0}秒"
66
+ short:
67
+ other: "{0}秒"
45
68
  second-future:
46
- 0: 0秒钟后
47
- 1: 1秒钟后
48
- other: "{0}秒钟后"
69
+ default:
70
+ 0: 0秒钟后
71
+ 1: 1秒钟后
72
+ other: "{0}秒钟后"
49
73
  second-past:
50
- 0: 0秒钟前
51
- 1: 1秒钟前
52
- other: "{0}秒钟前"
74
+ default:
75
+ 0: 0秒钟前
76
+ 1: 1秒钟前
77
+ other: "{0}秒钟前"
53
78
  week:
54
- other: "{0}周"
79
+ default:
80
+ other: "{0}周"
81
+ short:
82
+ other: "{0}周"
55
83
  week-future:
56
- 0: 0周后
57
- 1: 1周后
58
- other: "{0}周后"
84
+ default:
85
+ 0: 0周后
86
+ 1: 1周后
87
+ other: "{0}周后"
59
88
  week-past:
60
- 0: 0周前
61
- 1: 1周前
62
- other: "{0}周前"
89
+ default:
90
+ 0: 0周前
91
+ 1: 1周前
92
+ other: "{0}周前"
63
93
  year:
64
- other: "{0}年"
94
+ default:
95
+ other: "{0}年"
96
+ short:
97
+ other: "{0}年"
65
98
  year-future:
66
- 0: 0年后
67
- 1: 1年后
68
- other: "{0}年后"
99
+ default:
100
+ 0: 0年后
101
+ 1: 1年后
102
+ other: "{0}年后"
69
103
  year-past:
70
- 0: 0年前
71
- 1: 1年前
72
- other: "{0}年前"
104
+ default:
105
+ 0: 0年前
106
+ 1: 1年前
107
+ other: "{0}年前"