twitter_cldr 1.8.1 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (280) hide show
  1. data/Gemfile +3 -2
  2. data/History.txt +7 -1
  3. data/README.md +55 -0
  4. data/lib/twitter_cldr/core_ext.rb +1 -1
  5. data/lib/twitter_cldr/formatters/list_formatter.rb +64 -0
  6. data/lib/twitter_cldr/formatters.rb +4 -2
  7. data/lib/twitter_cldr/localized/localized_array.rb +19 -1
  8. data/lib/twitter_cldr/localized/localized_hash.rb +20 -0
  9. data/lib/twitter_cldr/localized/localized_string.rb +46 -1
  10. data/lib/twitter_cldr/localized/localized_symbol.rb +4 -0
  11. data/lib/twitter_cldr/localized.rb +1 -0
  12. data/lib/twitter_cldr/resources/bidi_test_importer.rb +118 -0
  13. data/lib/twitter_cldr/resources/locales_resources_importer.rb +1 -1
  14. data/lib/twitter_cldr/resources.rb +1 -0
  15. data/lib/twitter_cldr/shared/bidi.rb +526 -0
  16. data/lib/twitter_cldr/shared/languages.rb +5 -0
  17. data/lib/twitter_cldr/shared.rb +1 -0
  18. data/lib/twitter_cldr/utils/code_points.rb +1 -1
  19. data/lib/twitter_cldr/utils/yaml.rb +390 -0
  20. data/lib/twitter_cldr/utils.rb +1 -0
  21. data/lib/twitter_cldr/version.rb +1 -1
  22. data/lib/twitter_cldr.rb +2 -0
  23. data/resources/custom/locales/en/units.yml +19 -18
  24. data/resources/locales/af/calendars.yml +67 -66
  25. data/resources/locales/af/languages.yml +22 -22
  26. data/resources/locales/af/layout.yml +5 -0
  27. data/resources/locales/af/lists.yml +7 -0
  28. data/resources/locales/af/numbers.yml +36 -36
  29. data/resources/locales/af/plurals.yml +2 -3
  30. data/resources/locales/af/units.yml +75 -75
  31. data/resources/locales/ar/calendars.yml +149 -148
  32. data/resources/locales/ar/languages.yml +501 -501
  33. data/resources/locales/ar/layout.yml +5 -0
  34. data/resources/locales/ar/lists.yml +7 -0
  35. data/resources/locales/ar/numbers.yml +31 -31
  36. data/resources/locales/ar/plurals.yml +2 -9
  37. data/resources/locales/ar/units.yml +220 -220
  38. data/resources/locales/ca/calendars.yml +78 -77
  39. data/resources/locales/ca/languages.yml +199 -199
  40. data/resources/locales/ca/layout.yml +5 -0
  41. data/resources/locales/ca/lists.yml +7 -0
  42. data/resources/locales/ca/numbers.yml +36 -36
  43. data/resources/locales/ca/plurals.yml +2 -3
  44. data/resources/locales/ca/units.yml +108 -108
  45. data/resources/locales/cs/calendars.yml +141 -140
  46. data/resources/locales/cs/languages.yml +399 -399
  47. data/resources/locales/cs/layout.yml +5 -0
  48. data/resources/locales/cs/lists.yml +7 -0
  49. data/resources/locales/cs/numbers.yml +41 -41
  50. data/resources/locales/cs/plurals.yml +2 -3
  51. data/resources/locales/cs/units.yml +142 -142
  52. data/resources/locales/da/calendars.yml +73 -73
  53. data/resources/locales/da/languages.yml +36 -36
  54. data/resources/locales/da/layout.yml +5 -0
  55. data/resources/locales/da/lists.yml +7 -0
  56. data/resources/locales/da/numbers.yml +37 -37
  57. data/resources/locales/da/plurals.yml +2 -3
  58. data/resources/locales/da/units.yml +97 -97
  59. data/resources/locales/de/calendars.yml +71 -71
  60. data/resources/locales/de/languages.yml +51 -51
  61. data/resources/locales/de/layout.yml +5 -0
  62. data/resources/locales/de/lists.yml +7 -0
  63. data/resources/locales/de/numbers.yml +36 -36
  64. data/resources/locales/de/plurals.yml +2 -3
  65. data/resources/locales/de/units.yml +108 -108
  66. data/resources/locales/el/calendars.yml +213 -212
  67. data/resources/locales/el/languages.yml +520 -520
  68. data/resources/locales/el/layout.yml +5 -0
  69. data/resources/locales/el/lists.yml +7 -0
  70. data/resources/locales/el/numbers.yml +39 -39
  71. data/resources/locales/el/plurals.yml +2 -3
  72. data/resources/locales/el/units.yml +143 -143
  73. data/resources/locales/en/calendars.yml +66 -65
  74. data/resources/locales/en/languages.yml +24 -24
  75. data/resources/locales/en/layout.yml +5 -0
  76. data/resources/locales/en/lists.yml +7 -0
  77. data/resources/locales/en/numbers.yml +27 -27
  78. data/resources/locales/en/plurals.yml +2 -3
  79. data/resources/locales/en/units.yml +94 -94
  80. data/resources/locales/es/calendars.yml +80 -79
  81. data/resources/locales/es/languages.yml +139 -139
  82. data/resources/locales/es/layout.yml +5 -0
  83. data/resources/locales/es/lists.yml +7 -0
  84. data/resources/locales/es/numbers.yml +36 -36
  85. data/resources/locales/es/plurals.yml +2 -3
  86. data/resources/locales/es/units.yml +96 -96
  87. data/resources/locales/eu/calendars.yml +68 -67
  88. data/resources/locales/eu/languages.yml +11 -11
  89. data/resources/locales/eu/layout.yml +5 -0
  90. data/resources/locales/eu/lists.yml +7 -0
  91. data/resources/locales/eu/numbers.yml +36 -36
  92. data/resources/locales/eu/plurals.yml +2 -3
  93. data/resources/locales/eu/units.yml +80 -80
  94. data/resources/locales/fa/calendars.yml +223 -222
  95. data/resources/locales/fa/languages.yml +489 -489
  96. data/resources/locales/fa/layout.yml +5 -0
  97. data/resources/locales/fa/lists.yml +7 -0
  98. data/resources/locales/fa/numbers.yml +26 -26
  99. data/resources/locales/fa/plurals.yml +2 -3
  100. data/resources/locales/fa/units.yml +122 -122
  101. data/resources/locales/fi/calendars.yml +87 -87
  102. data/resources/locales/fi/languages.yml +86 -86
  103. data/resources/locales/fi/layout.yml +5 -0
  104. data/resources/locales/fi/lists.yml +7 -0
  105. data/resources/locales/fi/numbers.yml +41 -41
  106. data/resources/locales/fi/plurals.yml +2 -3
  107. data/resources/locales/fi/units.yml +124 -124
  108. data/resources/locales/fil/calendars.yml +68 -67
  109. data/resources/locales/fil/languages.yml +19 -19
  110. data/resources/locales/fil/layout.yml +5 -0
  111. data/resources/locales/fil/lists.yml +7 -0
  112. data/resources/locales/fil/numbers.yml +27 -27
  113. data/resources/locales/fil/plurals.yml +2 -3
  114. data/resources/locales/fil/units.yml +80 -80
  115. data/resources/locales/fr/calendars.yml +83 -83
  116. data/resources/locales/fr/languages.yml +117 -117
  117. data/resources/locales/fr/layout.yml +5 -0
  118. data/resources/locales/fr/lists.yml +7 -0
  119. data/resources/locales/fr/numbers.yml +37 -37
  120. data/resources/locales/fr/plurals.yml +2 -3
  121. data/resources/locales/fr/units.yml +80 -80
  122. data/resources/locales/he/calendars.yml +155 -154
  123. data/resources/locales/he/languages.yml +282 -282
  124. data/resources/locales/he/layout.yml +5 -0
  125. data/resources/locales/he/lists.yml +7 -0
  126. data/resources/locales/he/numbers.yml +27 -27
  127. data/resources/locales/he/plurals.yml +2 -3
  128. data/resources/locales/he/units.yml +122 -122
  129. data/resources/locales/hi/calendars.yml +132 -131
  130. data/resources/locales/hi/languages.yml +511 -511
  131. data/resources/locales/hi/layout.yml +5 -0
  132. data/resources/locales/hi/lists.yml +7 -0
  133. data/resources/locales/hi/numbers.yml +27 -27
  134. data/resources/locales/hi/plurals.yml +2 -3
  135. data/resources/locales/hi/units.yml +122 -122
  136. data/resources/locales/hu/calendars.yml +121 -120
  137. data/resources/locales/hu/languages.yml +214 -214
  138. data/resources/locales/hu/layout.yml +5 -0
  139. data/resources/locales/hu/lists.yml +7 -0
  140. data/resources/locales/hu/numbers.yml +39 -39
  141. data/resources/locales/hu/plurals.yml +2 -3
  142. data/resources/locales/hu/units.yml +102 -102
  143. data/resources/locales/id/calendars.yml +68 -67
  144. data/resources/locales/id/languages.yml +21 -21
  145. data/resources/locales/id/layout.yml +5 -0
  146. data/resources/locales/id/lists.yml +7 -0
  147. data/resources/locales/id/numbers.yml +37 -37
  148. data/resources/locales/id/plurals.yml +2 -3
  149. data/resources/locales/id/units.yml +73 -73
  150. data/resources/locales/it/calendars.yml +81 -80
  151. data/resources/locales/it/languages.yml +20 -20
  152. data/resources/locales/it/layout.yml +5 -0
  153. data/resources/locales/it/lists.yml +7 -0
  154. data/resources/locales/it/numbers.yml +36 -36
  155. data/resources/locales/it/plurals.yml +2 -3
  156. data/resources/locales/it/units.yml +94 -94
  157. data/resources/locales/ja/calendars.yml +123 -122
  158. data/resources/locales/ja/languages.yml +516 -516
  159. data/resources/locales/ja/layout.yml +5 -0
  160. data/resources/locales/ja/lists.yml +7 -0
  161. data/resources/locales/ja/numbers.yml +38 -38
  162. data/resources/locales/ja/plurals.yml +2 -3
  163. data/resources/locales/ja/units.yml +108 -108
  164. data/resources/locales/ko/calendars.yml +141 -140
  165. data/resources/locales/ko/languages.yml +509 -509
  166. data/resources/locales/ko/layout.yml +5 -0
  167. data/resources/locales/ko/lists.yml +7 -0
  168. data/resources/locales/ko/numbers.yml +37 -37
  169. data/resources/locales/ko/plurals.yml +2 -3
  170. data/resources/locales/ko/units.yml +108 -108
  171. data/resources/locales/ms/calendars.yml +68 -67
  172. data/resources/locales/ms/languages.yml +19 -19
  173. data/resources/locales/ms/layout.yml +5 -0
  174. data/resources/locales/ms/lists.yml +7 -0
  175. data/resources/locales/ms/numbers.yml +26 -26
  176. data/resources/locales/ms/plurals.yml +2 -3
  177. data/resources/locales/ms/units.yml +73 -73
  178. data/resources/locales/nb/calendars.yml +78 -78
  179. data/resources/locales/nb/languages.yml +93 -93
  180. data/resources/locales/nb/layout.yml +5 -0
  181. data/resources/locales/nb/lists.yml +7 -0
  182. data/resources/locales/nb/numbers.yml +37 -37
  183. data/resources/locales/nb/plurals.yml +2 -3
  184. data/resources/locales/nb/units.yml +99 -99
  185. data/resources/locales/nl/calendars.yml +67 -67
  186. data/resources/locales/nl/languages.yml +30 -30
  187. data/resources/locales/nl/layout.yml +5 -0
  188. data/resources/locales/nl/lists.yml +7 -0
  189. data/resources/locales/nl/numbers.yml +36 -36
  190. data/resources/locales/nl/plurals.yml +2 -3
  191. data/resources/locales/nl/units.yml +87 -87
  192. data/resources/locales/pl/calendars.yml +102 -101
  193. data/resources/locales/pl/languages.yml +139 -139
  194. data/resources/locales/pl/layout.yml +5 -0
  195. data/resources/locales/pl/lists.yml +7 -0
  196. data/resources/locales/pl/numbers.yml +41 -41
  197. data/resources/locales/pl/plurals.yml +2 -5
  198. data/resources/locales/pl/units.yml +149 -149
  199. data/resources/locales/pt/calendars.yml +83 -83
  200. data/resources/locales/pt/languages.yml +161 -161
  201. data/resources/locales/pt/layout.yml +5 -0
  202. data/resources/locales/pt/lists.yml +7 -0
  203. data/resources/locales/pt/numbers.yml +39 -39
  204. data/resources/locales/pt/plurals.yml +2 -3
  205. data/resources/locales/pt/units.yml +110 -110
  206. data/resources/locales/ru/calendars.yml +213 -212
  207. data/resources/locales/ru/languages.yml +511 -511
  208. data/resources/locales/ru/layout.yml +5 -0
  209. data/resources/locales/ru/lists.yml +7 -0
  210. data/resources/locales/ru/numbers.yml +40 -40
  211. data/resources/locales/ru/plurals.yml +2 -5
  212. data/resources/locales/ru/units.yml +192 -192
  213. data/resources/locales/sv/calendars.yml +85 -85
  214. data/resources/locales/sv/languages.yml +108 -108
  215. data/resources/locales/sv/layout.yml +5 -0
  216. data/resources/locales/sv/lists.yml +7 -0
  217. data/resources/locales/sv/numbers.yml +39 -39
  218. data/resources/locales/sv/plurals.yml +2 -3
  219. data/resources/locales/sv/units.yml +116 -116
  220. data/resources/locales/th/calendars.yml +172 -171
  221. data/resources/locales/th/languages.yml +510 -510
  222. data/resources/locales/th/layout.yml +5 -0
  223. data/resources/locales/th/lists.yml +7 -0
  224. data/resources/locales/th/numbers.yml +38 -38
  225. data/resources/locales/th/plurals.yml +2 -3
  226. data/resources/locales/th/units.yml +107 -107
  227. data/resources/locales/tr/calendars.yml +117 -116
  228. data/resources/locales/tr/languages.yml +143 -143
  229. data/resources/locales/tr/layout.yml +5 -0
  230. data/resources/locales/tr/lists.yml +7 -0
  231. data/resources/locales/tr/numbers.yml +37 -37
  232. data/resources/locales/tr/plurals.yml +2 -3
  233. data/resources/locales/tr/units.yml +98 -98
  234. data/resources/locales/uk/calendars.yml +187 -186
  235. data/resources/locales/uk/languages.yml +520 -520
  236. data/resources/locales/uk/layout.yml +5 -0
  237. data/resources/locales/uk/lists.yml +7 -0
  238. data/resources/locales/uk/numbers.yml +44 -44
  239. data/resources/locales/uk/plurals.yml +2 -5
  240. data/resources/locales/uk/units.yml +192 -192
  241. data/resources/locales/ur/calendars.yml +112 -111
  242. data/resources/locales/ur/languages.yml +164 -164
  243. data/resources/locales/ur/layout.yml +5 -0
  244. data/resources/locales/ur/lists.yml +7 -0
  245. data/resources/locales/ur/numbers.yml +27 -27
  246. data/resources/locales/ur/plurals.yml +2 -3
  247. data/resources/locales/ur/units.yml +136 -136
  248. data/resources/locales/zh/calendars.yml +212 -211
  249. data/resources/locales/zh/languages.yml +506 -506
  250. data/resources/locales/zh/layout.yml +5 -0
  251. data/resources/locales/zh/lists.yml +7 -0
  252. data/resources/locales/zh/numbers.yml +37 -37
  253. data/resources/locales/zh/plurals.yml +2 -3
  254. data/resources/locales/zh/units.yml +108 -108
  255. data/resources/locales/zh-Hant/calendars.yml +159 -158
  256. data/resources/locales/zh-Hant/languages.yml +510 -510
  257. data/resources/locales/zh-Hant/layout.yml +5 -0
  258. data/resources/locales/zh-Hant/lists.yml +7 -0
  259. data/resources/locales/zh-Hant/numbers.yml +38 -38
  260. data/resources/locales/zh-Hant/plurals.yml +2 -3
  261. data/resources/locales/zh-Hant/units.yml +108 -108
  262. data/spec/bidi/bidi_spec.rb +72 -0
  263. data/spec/bidi/classpath_bidi_test.txt +217202 -0
  264. data/spec/collation/tailoring_tests/da.txt +1 -1
  265. data/spec/collation/tailoring_tests/fi.txt +1 -7
  266. data/spec/collation/tailoring_tests/zh-Hant.txt +1 -1
  267. data/spec/formatters/list_formatter_spec.rb +119 -0
  268. data/spec/localized/localized_array_spec.rb +28 -0
  269. data/spec/localized/localized_hash_spec.rb +22 -0
  270. data/spec/localized/localized_number_spec.rb +3 -3
  271. data/spec/localized/localized_string_spec.rb +52 -1
  272. data/spec/localized/localized_symbol_spec.rb +7 -0
  273. data/spec/normalization/base_spec.rb +2 -4
  274. data/spec/shared/languages_spec.rb +21 -0
  275. data/spec/shared/numbers_spec.rb +4 -4
  276. data/spec/spec_helper.rb +3 -1
  277. data/spec/utils/yaml/t.gif +0 -0
  278. data/spec/utils/yaml/t.yaml +5 -0
  279. data/spec/utils/yaml/yaml_spec.rb +426 -0
  280. metadata +82 -2
@@ -1,6 +1,6 @@
1
- ---
2
- :en:
3
- :languages:
1
+ ---
2
+ :en:
3
+ :languages:
4
4
  :aa: Afar
5
5
  :ab: Abkhazian
6
6
  :ace: Achinese
@@ -24,7 +24,7 @@
24
24
  :anp: Angika
25
25
  :apa: Apache Language
26
26
  :ar: Arabic
27
- :ar-001: Modern Standard Arabic
27
+ :"ar-001": Modern Standard Arabic
28
28
  :arc: Aramaic
29
29
  :arn: Araucanian
30
30
  :arp: Arapaho
@@ -113,8 +113,8 @@
113
113
  :dav: Taita
114
114
  :day: Dayak
115
115
  :de: German
116
- :de-AT: Austrian German
117
- :de-CH: Swiss High German
116
+ :"de-AT": Austrian German
117
+ :"de-CH": Swiss High German
118
118
  :del: Delaware
119
119
  :den: Slave
120
120
  :dgr: Dogrib
@@ -137,15 +137,15 @@
137
137
  :el: Greek
138
138
  :elx: Elamite
139
139
  :en: English
140
- :en-AU: Australian English
141
- :en-CA: Canadian English
142
- :en-GB: British English
143
- :en-US: U.S. English
140
+ :"en-AU": Australian English
141
+ :"en-CA": Canadian English
142
+ :"en-GB": British English
143
+ :"en-US": U.S. English
144
144
  :enm: Middle English
145
145
  :eo: Esperanto
146
146
  :es: Spanish
147
- :es-419: Latin American Spanish
148
- :es-ES: Iberian Spanish
147
+ :"es-419": Latin American Spanish
148
+ :"es-ES": Iberian Spanish
149
149
  :et: Estonian
150
150
  :eu: Basque
151
151
  :ewo: Ewondo
@@ -160,8 +160,8 @@
160
160
  :fo: Faroese
161
161
  :fon: Fon
162
162
  :fr: French
163
- :fr-CA: Canadian French
164
- :fr-CH: Swiss French
163
+ :"fr-CA": Canadian French
164
+ :"fr-CH": Swiss French
165
165
  :frm: Middle French
166
166
  :fro: Old French
167
167
  :frr: Northern Frisian
@@ -189,7 +189,7 @@
189
189
  :gu: Gujarati
190
190
  :guz: Gusii
191
191
  :gv: Manx
192
- :gwi: Gwichʼin
192
+ :gwi: "Gwich\xCA\xBCin"
193
193
  :ha: Hausa
194
194
  :hai: Haida
195
195
  :haw: Hawaiian
@@ -345,7 +345,7 @@
345
345
  :nai: North American Indian Language
346
346
  :nap: Neapolitan
347
347
  :naq: Nama
348
- :nb: Norwegian Bokmål
348
+ :nb: "Norwegian Bokm\xC3\xA5l"
349
349
  :nd: North Ndebele
350
350
  :nds: Low German
351
351
  :ne: Nepali
@@ -355,13 +355,13 @@
355
355
  :nic: Niger-Kordofanian Language
356
356
  :niu: Niuean
357
357
  :nl: Dutch
358
- :nl-BE: Flemish
358
+ :"nl-BE": Flemish
359
359
  :nmg: Kwasio
360
360
  :nn: Norwegian Nynorsk
361
361
  :no: Norwegian
362
362
  :nog: Nogai
363
363
  :non: Old Norse
364
- :nqo: N’Ko
364
+ :nqo: "N\xE2\x80\x99Ko"
365
365
  :nr: South Ndebele
366
366
  :nso: Northern Sotho
367
367
  :nub: Nubian Language
@@ -395,11 +395,11 @@
395
395
  :pl: Polish
396
396
  :pon: Pohnpeian
397
397
  :pra: Prakrit Language
398
- :pro: Old Provençal
398
+ :pro: "Old Proven\xC3\xA7al"
399
399
  :ps: Pushto
400
400
  :pt: Portuguese
401
- :pt-BR: Brazilian Portuguese
402
- :pt-PT: Iberian Portuguese
401
+ :"pt-BR": Brazilian Portuguese
402
+ :"pt-PT": Iberian Portuguese
403
403
  :qu: Quechua
404
404
  :raj: Rajasthani
405
405
  :rap: Rapanui
@@ -524,7 +524,7 @@
524
524
  :vai: Vai
525
525
  :ve: Venda
526
526
  :vi: Vietnamese
527
- :vo: Volapük
527
+ :vo: "Volap\xC3\xBCk"
528
528
  :vot: Votic
529
529
  :vun: Vunjo
530
530
  :wa: Walloon
@@ -550,8 +550,8 @@
550
550
  :zbl: Blissymbols
551
551
  :zen: Zenaga
552
552
  :zh: Chinese
553
- :zh-Hans: Simplified Chinese
554
- :zh-Hant: Traditional Chinese
553
+ :"zh-Hans": Simplified Chinese
554
+ :"zh-Hant": Traditional Chinese
555
555
  :znd: Zande
556
556
  :zu: Zulu
557
557
  :zun: Zuni
@@ -0,0 +1,5 @@
1
+ ---
2
+ :en:
3
+ :layout:
4
+ :orientation: {}
5
+
@@ -0,0 +1,7 @@
1
+ ---
2
+ :en:
3
+ :lists:
4
+ 2: "{0} and {1}"
5
+ :end: "{0}, and {1}"
6
+ :middle: "{0}, {1}"
7
+ :start: "{0}, {1}"
@@ -1,17 +1,17 @@
1
- ---
2
- :en:
3
- :numbers:
4
- :formats:
5
- :currency:
6
- :patterns:
7
- :default: ¤#,##0.00;(¤#,##0.00)
8
- :unit:
9
- :one: ! '{0} {1}'
10
- :other: ! '{0} {1}'
11
- :decimal:
12
- :patterns:
13
- :default: ! '#,##0.###'
14
- :short:
1
+ ---
2
+ :en:
3
+ :numbers:
4
+ :formats:
5
+ :currency:
6
+ :patterns:
7
+ :default: "\xC2\xA4#,##0.00;(\xC2\xA4#,##0.00)"
8
+ :unit:
9
+ :one: "{0} {1}"
10
+ :other: "{0} {1}"
11
+ :decimal:
12
+ :patterns:
13
+ :default: "#,##0.###"
14
+ :short:
15
15
  1000: 0.0K
16
16
  10000: 00K
17
17
  100000: 000K
@@ -24,21 +24,21 @@
24
24
  1000000000000: 0.0T
25
25
  10000000000000: 00T
26
26
  100000000000000: 000T
27
- :percent:
28
- :patterns:
29
- :default: ! '#,##0%'
30
- :scientific:
31
- :patterns:
32
- :default: ! '#E0'
33
- :symbols:
34
- :alias: ''
27
+ :percent:
28
+ :patterns:
29
+ :default: "#,##0%"
30
+ :scientific:
31
+ :patterns:
32
+ :default: "#E0"
33
+ :symbols:
34
+ :alias: ""
35
35
  :decimal: .
36
36
  :exponential: E
37
- :group: ! ','
38
- :infinity:
37
+ :group: ","
38
+ :infinity: "\xE2\x88\x9E"
39
39
  :list: ;
40
- :minus_sign: ! '-'
40
+ :minus_sign: "-"
41
41
  :nan: NaN
42
- :per_mille:
43
- :percent_sign: ! '%'
42
+ :per_mille: "\xE2\x80\xB0"
43
+ :percent_sign: "%"
44
44
  :plus_sign: +
@@ -1,3 +1,2 @@
1
- ---
2
- :en: ! '{ :en => { :i18n => {:plural => { :keys => [:one, :other], :rule => lambda
3
- { |n| n == 1 ? :one : :other } } } } }'
1
+ ---
2
+ :en: "{ :en => { :i18n => {:plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } } }"
@@ -1,108 +1,108 @@
1
- ---
2
- :en:
3
- :units:
4
- :day:
5
- :default:
6
- :one: ! '{0} day'
7
- :other: ! '{0} days'
8
- :short:
9
- :one: ! '{0} day'
10
- :other: ! '{0} days'
11
- :day-future:
12
- :default:
1
+ ---
2
+ :en:
3
+ :units:
4
+ :day:
5
+ :default:
6
+ :one: "{0} day"
7
+ :other: "{0} days"
8
+ :short:
9
+ :one: "{0} day"
10
+ :other: "{0} days"
11
+ :"day-future":
12
+ :default:
13
13
  :one: In {0} day
14
14
  :other: In {0} days
15
- :day-past:
16
- :default:
17
- :one: ! '{0} day ago'
18
- :other: ! '{0} days ago'
19
- :hour:
20
- :default:
21
- :one: ! '{0} hour'
22
- :other: ! '{0} hours'
23
- :short:
24
- :one: ! '{0} hr'
25
- :other: ! '{0} hrs'
26
- :hour-future:
27
- :default:
15
+ :"day-past":
16
+ :default:
17
+ :one: "{0} day ago"
18
+ :other: "{0} days ago"
19
+ :hour:
20
+ :default:
21
+ :one: "{0} hour"
22
+ :other: "{0} hours"
23
+ :short:
24
+ :one: "{0} hr"
25
+ :other: "{0} hrs"
26
+ :"hour-future":
27
+ :default:
28
28
  :one: In {0} hour
29
29
  :other: In {0} hours
30
- :hour-past:
31
- :default:
32
- :one: ! '{0} hour ago'
33
- :other: ! '{0} hours ago'
34
- :minute:
35
- :default:
36
- :one: ! '{0} minute'
37
- :other: ! '{0} minutes'
38
- :short:
39
- :one: ! '{0} min'
40
- :other: ! '{0} mins'
41
- :minute-future:
42
- :default:
30
+ :"hour-past":
31
+ :default:
32
+ :one: "{0} hour ago"
33
+ :other: "{0} hours ago"
34
+ :minute:
35
+ :default:
36
+ :one: "{0} minute"
37
+ :other: "{0} minutes"
38
+ :short:
39
+ :one: "{0} min"
40
+ :other: "{0} mins"
41
+ :"minute-future":
42
+ :default:
43
43
  :one: In {0} minute
44
44
  :other: In {0} minutes
45
- :minute-past:
46
- :default:
47
- :one: ! '{0} minute ago'
48
- :other: ! '{0} minutes ago'
49
- :month:
50
- :default:
51
- :one: ! '{0} month'
52
- :other: ! '{0} months'
53
- :short:
54
- :one: ! '{0} mth'
55
- :other: ! '{0} mths'
56
- :month-future:
57
- :default:
45
+ :"minute-past":
46
+ :default:
47
+ :one: "{0} minute ago"
48
+ :other: "{0} minutes ago"
49
+ :month:
50
+ :default:
51
+ :one: "{0} month"
52
+ :other: "{0} months"
53
+ :short:
54
+ :one: "{0} mth"
55
+ :other: "{0} mths"
56
+ :"month-future":
57
+ :default:
58
58
  :one: In {0} month
59
59
  :other: In {0} months
60
- :month-past:
61
- :default:
62
- :one: ! '{0} month ago'
63
- :other: ! '{0} months ago'
64
- :second:
65
- :default:
66
- :one: ! '{0} second'
67
- :other: ! '{0} seconds'
68
- :short:
69
- :one: ! '{0} sec'
70
- :other: ! '{0} secs'
71
- :second-future:
72
- :default:
60
+ :"month-past":
61
+ :default:
62
+ :one: "{0} month ago"
63
+ :other: "{0} months ago"
64
+ :second:
65
+ :default:
66
+ :one: "{0} second"
67
+ :other: "{0} seconds"
68
+ :short:
69
+ :one: "{0} sec"
70
+ :other: "{0} secs"
71
+ :"second-future":
72
+ :default:
73
73
  :one: In {0} second
74
74
  :other: In {0} seconds
75
- :second-past:
76
- :default:
77
- :one: ! '{0} second ago'
78
- :other: ! '{0} seconds ago'
79
- :week:
80
- :default:
81
- :one: ! '{0} week'
82
- :other: ! '{0} weeks'
83
- :short:
84
- :one: ! '{0} wk'
85
- :other: ! '{0} wks'
86
- :week-future:
87
- :default:
75
+ :"second-past":
76
+ :default:
77
+ :one: "{0} second ago"
78
+ :other: "{0} seconds ago"
79
+ :week:
80
+ :default:
81
+ :one: "{0} week"
82
+ :other: "{0} weeks"
83
+ :short:
84
+ :one: "{0} wk"
85
+ :other: "{0} wks"
86
+ :"week-future":
87
+ :default:
88
88
  :one: In {0} week
89
89
  :other: In {0} weeks
90
- :week-past:
91
- :default:
92
- :one: ! '{0} week ago'
93
- :other: ! '{0} weeks ago'
94
- :year:
95
- :default:
96
- :one: ! '{0} year'
97
- :other: ! '{0} years'
98
- :short:
99
- :one: ! '{0} yr'
100
- :other: ! '{0} yrs'
101
- :year-future:
102
- :default:
90
+ :"week-past":
91
+ :default:
92
+ :one: "{0} week ago"
93
+ :other: "{0} weeks ago"
94
+ :year:
95
+ :default:
96
+ :one: "{0} year"
97
+ :other: "{0} years"
98
+ :short:
99
+ :one: "{0} yr"
100
+ :other: "{0} yrs"
101
+ :"year-future":
102
+ :default:
103
103
  :one: In {0} year
104
104
  :other: In {0} years
105
- :year-past:
106
- :default:
107
- :one: ! '{0} year ago'
108
- :other: ! '{0} years ago'
105
+ :"year-past":
106
+ :default:
107
+ :one: "{0} year ago"
108
+ :other: "{0} years ago"
@@ -1,29 +1,29 @@
1
- ---
2
- :es:
3
- :calendars:
4
- :gregorian:
5
- :days:
6
- :format:
7
- :abbreviated:
1
+ ---
2
+ :es:
3
+ :calendars:
4
+ :gregorian:
5
+ :days:
6
+ :format:
7
+ :abbreviated:
8
8
  :fri: vie
9
9
  :mon: lun
10
- :sat: sáb
10
+ :sat: "s\xC3\xA1b"
11
11
  :sun: dom
12
12
  :thu: jue
13
13
  :tue: mar
14
- :wed: mié
15
- :narrow: :calendars.gregorian.days.stand-alone.narrow
16
- :wide:
14
+ :wed: "mi\xC3\xA9"
15
+ :narrow: :"calendars.gregorian.days.stand-alone.narrow"
16
+ :wide:
17
17
  :fri: viernes
18
18
  :mon: lunes
19
- :sat: sábado
19
+ :sat: "s\xC3\xA1bado"
20
20
  :sun: domingo
21
21
  :thu: jueves
22
22
  :tue: martes
23
- :wed: miércoles
24
- :stand-alone:
25
- :abbreviated: :calendars.gregorian.days.format.abbreviated
26
- :narrow:
23
+ :wed: "mi\xC3\xA9rcoles"
24
+ :"stand-alone":
25
+ :abbreviated: :"calendars.gregorian.days.format.abbreviated"
26
+ :narrow:
27
27
  :fri: V
28
28
  :mon: L
29
29
  :sat: S
@@ -31,62 +31,62 @@
31
31
  :thu: J
32
32
  :tue: M
33
33
  :wed: X
34
- :wide: :calendars.gregorian.days.format.wide
35
- :eras:
36
- :abbr:
34
+ :wide: :"calendars.gregorian.days.format.wide"
35
+ :eras:
36
+ :abbr:
37
37
  0: a.C.
38
38
  1: d.C.
39
- :name:
39
+ :name:
40
40
  0: antes de Cristo
41
- 1: anno Dómini
42
- :narrow:
43
- 0: ''
44
- :fields:
45
- :day: día
46
- :dayperiod: periodo del día
41
+ 1: "anno D\xC3\xB3mini"
42
+ :narrow:
43
+ 0: ""
44
+ :fields:
45
+ :day: "d\xC3\xADa"
46
+ :dayperiod: "periodo del d\xC3\xADa"
47
47
  :era: era
48
48
  :hour: hora
49
49
  :minute: minuto
50
50
  :month: mes
51
51
  :second: segundo
52
52
  :week: semana
53
- :weekday: día de la semana
54
- :year: año
53
+ :weekday: "d\xC3\xADa de la semana"
54
+ :year: "a\xC3\xB1o"
55
55
  :zone: zona
56
- :formats:
57
- :date:
58
- :default: :calendars.gregorian.formats.date.medium
59
- :full:
56
+ :formats:
57
+ :date:
58
+ :default: :"calendars.gregorian.formats.date.medium"
59
+ :full:
60
60
  :pattern: EEEE, d 'de' MMMM 'de' y
61
- :long:
61
+ :long:
62
62
  :pattern: d 'de' MMMM 'de' y
63
- :medium:
63
+ :medium:
64
64
  :pattern: dd/MM/yyyy
65
- :short:
65
+ :short:
66
66
  :pattern: dd/MM/yy
67
- :datetime:
68
- :default: :calendars.gregorian.formats.datetime.medium
69
- :full:
70
- :pattern: ! '{{date}} {{time}}'
71
- :long:
72
- :pattern: ! '{{date}} {{time}}'
73
- :medium:
74
- :pattern: ! '{{date}} {{time}}'
75
- :short:
76
- :pattern: ! '{{date}} {{time}}'
77
- :time:
78
- :default: :calendars.gregorian.formats.time.medium
79
- :full:
67
+ :datetime:
68
+ :default: :"calendars.gregorian.formats.datetime.medium"
69
+ :full:
70
+ :pattern: "{{date}} {{time}}"
71
+ :long:
72
+ :pattern: "{{date}} {{time}}"
73
+ :medium:
74
+ :pattern: "{{date}} {{time}}"
75
+ :short:
76
+ :pattern: "{{date}} {{time}}"
77
+ :time:
78
+ :default: :"calendars.gregorian.formats.time.medium"
79
+ :full:
80
80
  :pattern: HH:mm:ss zzzz
81
- :long:
81
+ :long:
82
82
  :pattern: HH:mm:ss z
83
- :medium:
83
+ :medium:
84
84
  :pattern: HH:mm:ss
85
- :short:
85
+ :short:
86
86
  :pattern: HH:mm
87
- :months:
88
- :format:
89
- :abbreviated:
87
+ :months:
88
+ :format:
89
+ :abbreviated:
90
90
  1: ene
91
91
  10: oct
92
92
  11: nov
@@ -99,8 +99,8 @@
99
99
  7: jul
100
100
  8: ago
101
101
  9: sep
102
- :narrow: :calendars.gregorian.months.stand-alone.narrow
103
- :wide:
102
+ :narrow: :"calendars.gregorian.months.stand-alone.narrow"
103
+ :wide:
104
104
  1: enero
105
105
  10: octubre
106
106
  11: noviembre
@@ -113,10 +113,10 @@
113
113
  7: julio
114
114
  8: agosto
115
115
  9: septiembre
116
- :stand-alone:
117
- :abbreviated:
116
+ :"stand-alone":
117
+ :abbreviated:
118
118
  5: mayo
119
- :narrow:
119
+ :narrow:
120
120
  1: E
121
121
  10: O
122
122
  11: N
@@ -129,41 +129,42 @@
129
129
  7: J
130
130
  8: A
131
131
  9: S
132
- :wide: :calendars.gregorian.months.format.wide
133
- :periods:
134
- :format:
135
- :abbreviated: :calendars.gregorian.dayPeriods.format.wide
136
- :narrow: :calendars.gregorian.dayPeriods.format.abbreviated
137
- :wide:
132
+ :wide: :"calendars.gregorian.months.format.wide"
133
+ :periods:
134
+ :format:
135
+ :abbreviated: :"calendars.gregorian.dayPeriods.format.wide"
136
+ :narrow: :"calendars.gregorian.dayPeriods.format.abbreviated"
137
+ :wide:
138
138
  :am: a.m.
139
139
  :pm: p.m.
140
- :stand-alone: {}
141
- :quarters:
142
- :format:
143
- :abbreviated:
140
+ :"stand-alone": {}
141
+
142
+ :quarters:
143
+ :format:
144
+ :abbreviated:
144
145
  1: T1
145
146
  2: T2
146
147
  3: T3
147
148
  4: T4
148
- :narrow:
149
+ :narrow:
149
150
  1: 1T
150
151
  2: 2T
151
152
  3: 3T
152
153
  4: 4T
153
- :wide:
154
+ :wide:
154
155
  1: 1er trimestre
155
- 2: 2º trimestre
156
+ 2: "2\xC2\xBA trimestre"
156
157
  3: 3er trimestre
157
- 4: 4º trimestre
158
- :stand-alone:
159
- :abbreviated: :calendars.gregorian.quarters.format.abbreviated
160
- :narrow:
158
+ 4: "4\xC2\xBA trimestre"
159
+ :"stand-alone":
160
+ :abbreviated: :"calendars.gregorian.quarters.format.abbreviated"
161
+ :narrow:
161
162
  1: 1T
162
163
  2: 2T
163
164
  3: 3T
164
165
  4: 4T
165
- :wide:
166
+ :wide:
166
167
  1: 1.er trimestre
167
- 2: 2 trimestre
168
+ 2: "2.\xC2\xBA trimestre"
168
169
  3: 3.er trimestre
169
- 4: 4 trimestre
170
+ 4: "4.\xC2\xBA trimestre"