twitter_cldr 1.9.1 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (403) hide show
  1. data/Gemfile +7 -0
  2. data/History.txt +11 -0
  3. data/README.md +93 -13
  4. data/Rakefile +27 -6
  5. data/lib/twitter_cldr/formatters.rb +15 -12
  6. data/lib/twitter_cldr/formatters/base.rb +1 -1
  7. data/lib/twitter_cldr/formatters/calendars/datetime_formatter.rb +18 -3
  8. data/lib/twitter_cldr/formatters/calendars/timespan_formatter.rb +24 -26
  9. data/lib/twitter_cldr/formatters/numbers/abbreviated/abbreviated_number_formatter.rb +47 -0
  10. data/lib/twitter_cldr/formatters/numbers/abbreviated/long_decimal_formatter.rb +18 -0
  11. data/lib/twitter_cldr/formatters/numbers/abbreviated/short_decimal_formatter.rb +18 -0
  12. data/lib/twitter_cldr/formatters/numbers/currency_formatter.rb +22 -17
  13. data/lib/twitter_cldr/formatters/numbers/decimal_formatter.rb +0 -9
  14. data/lib/twitter_cldr/formatters/numbers/helpers/base.rb +1 -1
  15. data/lib/twitter_cldr/formatters/numbers/number_formatter.rb +25 -10
  16. data/lib/twitter_cldr/formatters/numbers/percent_formatter.rb +9 -6
  17. data/lib/twitter_cldr/localized/localized_datetime.rb +6 -2
  18. data/lib/twitter_cldr/localized/localized_number.rb +9 -3
  19. data/lib/twitter_cldr/localized/localized_timespan.rb +1 -1
  20. data/lib/twitter_cldr/resources.rb +13 -12
  21. data/lib/twitter_cldr/resources/custom_locales_resources_importer.rb +1 -1
  22. data/lib/twitter_cldr/resources/download.rb +1 -1
  23. data/lib/twitter_cldr/resources/locales_resources_importer.rb +10 -6
  24. data/lib/twitter_cldr/shared/bidi.rb +27 -27
  25. data/lib/twitter_cldr/shared/currencies.rb +20 -13
  26. data/lib/twitter_cldr/tokenizers.rb +10 -9
  27. data/lib/twitter_cldr/tokenizers/base.rb +33 -21
  28. data/lib/twitter_cldr/tokenizers/calendars/additional_date_format_selector.rb +86 -0
  29. data/lib/twitter_cldr/tokenizers/calendars/date_tokenizer.rb +20 -11
  30. data/lib/twitter_cldr/tokenizers/calendars/datetime_tokenizer.rb +50 -13
  31. data/lib/twitter_cldr/tokenizers/calendars/time_tokenizer.rb +19 -10
  32. data/lib/twitter_cldr/tokenizers/calendars/timespan_tokenizer.rb +32 -32
  33. data/lib/twitter_cldr/tokenizers/numbers/number_tokenizer.rb +45 -22
  34. data/lib/twitter_cldr/utils.rb +16 -1
  35. data/lib/twitter_cldr/version.rb +1 -1
  36. data/resources/collation/tailoring/af.yml +1 -0
  37. data/resources/collation/tailoring/ar.yml +3 -2
  38. data/resources/collation/tailoring/be.yml +7 -0
  39. data/resources/collation/tailoring/bg.yml +5 -0
  40. data/resources/collation/tailoring/bn.yml +9 -0
  41. data/resources/collation/tailoring/ca.yml +3 -2
  42. data/resources/collation/tailoring/cs.yml +3 -2
  43. data/resources/collation/tailoring/cy.yml +51 -0
  44. data/resources/collation/tailoring/da.yml +3 -2
  45. data/resources/collation/tailoring/de.yml +1 -0
  46. data/resources/collation/tailoring/el.yml +1 -0
  47. data/resources/collation/tailoring/en.yml +1 -0
  48. data/resources/collation/tailoring/es.yml +3 -2
  49. data/resources/collation/tailoring/eu.yml +1 -0
  50. data/resources/collation/tailoring/fa.yml +3 -2
  51. data/resources/collation/tailoring/fi.yml +3 -2
  52. data/resources/collation/tailoring/fil.yml +3 -2
  53. data/resources/collation/tailoring/fr.yml +1 -0
  54. data/resources/collation/tailoring/ga.yml +5 -0
  55. data/resources/collation/tailoring/gl.yml +5 -0
  56. data/resources/collation/tailoring/he.yml +1 -0
  57. data/resources/collation/tailoring/hi.yml +3 -2
  58. data/resources/collation/tailoring/hu.yml +3 -2
  59. data/resources/collation/tailoring/id.yml +1 -0
  60. data/resources/collation/tailoring/it.yml +1 -0
  61. data/resources/collation/tailoring/ja.yml +107 -54
  62. data/resources/collation/tailoring/ko.yml +3 -2
  63. data/resources/collation/tailoring/lv.yml +35 -0
  64. data/resources/collation/tailoring/ms.yml +1 -0
  65. data/resources/collation/tailoring/nb.yml +3 -2
  66. data/resources/collation/tailoring/nl.yml +1 -0
  67. data/resources/collation/tailoring/pl.yml +3 -2
  68. data/resources/collation/tailoring/pt.yml +1 -0
  69. data/resources/collation/tailoring/ro.yml +31 -0
  70. data/resources/collation/tailoring/ru.yml +1 -0
  71. data/resources/collation/tailoring/sk.yml +35 -0
  72. data/resources/collation/tailoring/sq.yml +65 -0
  73. data/resources/collation/tailoring/sr.yml +5 -0
  74. data/resources/collation/tailoring/sv.yml +3 -2
  75. data/resources/collation/tailoring/ta.yml +57 -0
  76. data/resources/collation/tailoring/th.yml +3 -2
  77. data/resources/collation/tailoring/tr.yml +3 -2
  78. data/resources/collation/tailoring/uk.yml +3 -2
  79. data/resources/collation/tailoring/ur.yml +3 -2
  80. data/resources/collation/tailoring/zh-Hant.yml +3 -2
  81. data/resources/collation/tailoring/zh.yml +3 -2
  82. data/resources/collation/tries/be.dump +0 -0
  83. data/resources/collation/tries/bg.dump +0 -0
  84. data/resources/collation/tries/bn.dump +0 -0
  85. data/resources/collation/tries/cy.dump +0 -0
  86. data/resources/collation/tries/ga.dump +0 -0
  87. data/resources/collation/tries/gl.dump +0 -0
  88. data/resources/collation/tries/lv.dump +0 -0
  89. data/resources/collation/tries/ro.dump +0 -0
  90. data/resources/collation/tries/sk.dump +0 -0
  91. data/resources/collation/tries/sq.dump +0 -0
  92. data/resources/collation/tries/sr.dump +0 -0
  93. data/resources/collation/tries/ta.dump +0 -0
  94. data/resources/custom/locales/ar/units.yml +6 -6
  95. data/resources/custom/locales/be/units.yml +27 -0
  96. data/resources/custom/locales/bg/units.yml +19 -0
  97. data/resources/custom/locales/bn/units.yml +7 -0
  98. data/resources/custom/locales/cs/units.yml +3 -3
  99. data/resources/custom/locales/cy/units.yml +35 -0
  100. data/resources/custom/locales/fil/units.yml +2 -2
  101. data/resources/custom/locales/ga/units.yml +24 -0
  102. data/resources/custom/locales/gl/units.yml +19 -0
  103. data/resources/custom/locales/hu/plurals.yml +3 -0
  104. data/resources/custom/locales/hu/units.yml +4 -0
  105. data/resources/custom/locales/lv/units.yml +23 -0
  106. data/resources/custom/locales/ms/units.yml +1 -1
  107. data/resources/custom/locales/ro/units.yml +23 -0
  108. data/resources/custom/locales/sk/units.yml +23 -0
  109. data/resources/custom/locales/sr/units.yml +27 -0
  110. data/resources/custom/locales/ta/units.yml +11 -0
  111. data/resources/custom/locales/th/calendars.yml +14 -0
  112. data/resources/locales/af/calendars.yml +56 -0
  113. data/resources/locales/af/currencies.yml +358 -0
  114. data/resources/locales/af/languages.yml +23 -3
  115. data/resources/locales/af/numbers.yml +22 -8
  116. data/resources/locales/af/units.yml +26 -54
  117. data/resources/locales/ar/calendars.yml +99 -6
  118. data/resources/locales/ar/currencies.yml +1491 -0
  119. data/resources/locales/ar/languages.yml +33 -6
  120. data/resources/locales/ar/numbers.yml +27 -14
  121. data/resources/locales/ar/units.yml +31 -31
  122. data/resources/locales/be/calendars.yml +229 -0
  123. data/resources/locales/be/currencies.yml +66 -0
  124. data/resources/locales/be/languages.yml +149 -0
  125. data/resources/locales/be/layout.yml +4 -0
  126. data/resources/locales/be/lists.yml +7 -0
  127. data/resources/locales/be/numbers.yml +43 -0
  128. data/resources/locales/be/plurals.yml +5 -0
  129. data/resources/locales/be/units.yml +87 -0
  130. data/resources/locales/bg/calendars.yml +220 -0
  131. data/resources/locales/bg/currencies.yml +773 -0
  132. data/resources/locales/bg/languages.yml +513 -0
  133. data/resources/locales/bg/layout.yml +4 -0
  134. data/resources/locales/bg/lists.yml +7 -0
  135. data/resources/locales/bg/numbers.yml +57 -0
  136. data/resources/locales/bg/plurals.yml +3 -0
  137. data/resources/locales/bg/units.yml +108 -0
  138. data/resources/locales/bn/calendars.yml +205 -0
  139. data/resources/locales/bn/currencies.yml +564 -0
  140. data/resources/locales/bn/languages.yml +513 -0
  141. data/resources/locales/bn/layout.yml +4 -0
  142. data/resources/locales/bn/lists.yml +7 -0
  143. data/resources/locales/bn/numbers.yml +57 -0
  144. data/resources/locales/bn/plurals.yml +3 -0
  145. data/resources/locales/bn/units.yml +108 -0
  146. data/resources/locales/ca/calendars.yml +70 -21
  147. data/resources/locales/ca/currencies.yml +904 -0
  148. data/resources/locales/ca/languages.yml +70 -5
  149. data/resources/locales/ca/numbers.yml +19 -6
  150. data/resources/locales/ca/units.yml +0 -28
  151. data/resources/locales/cs/calendars.yml +73 -27
  152. data/resources/locales/cs/currencies.yml +1063 -0
  153. data/resources/locales/cs/languages.yml +113 -31
  154. data/resources/locales/cs/numbers.yml +17 -4
  155. data/resources/locales/cs/units.yml +0 -28
  156. data/resources/locales/cy/calendars.yml +266 -0
  157. data/resources/locales/cy/currencies.yml +54 -0
  158. data/resources/locales/cy/languages.yml +92 -0
  159. data/resources/locales/cy/layout.yml +4 -0
  160. data/resources/locales/cy/lists.yml +7 -0
  161. data/resources/locales/cy/numbers.yml +49 -0
  162. data/resources/locales/cy/plurals.yml +4 -0
  163. data/resources/locales/cy/units.yml +73 -0
  164. data/resources/locales/da/calendars.yml +117 -16
  165. data/resources/locales/da/currencies.yml +814 -0
  166. data/resources/locales/da/languages.yml +66 -5
  167. data/resources/locales/da/numbers.yml +16 -3
  168. data/resources/locales/da/units.yml +21 -35
  169. data/resources/locales/de/calendars.yml +115 -17
  170. data/resources/locales/de/currencies.yml +843 -0
  171. data/resources/locales/de/languages.yml +5 -3
  172. data/resources/locales/de/numbers.yml +18 -5
  173. data/resources/locales/de/units.yml +0 -28
  174. data/resources/locales/el/calendars.yml +61 -8
  175. data/resources/locales/el/currencies.yml +866 -0
  176. data/resources/locales/el/languages.yml +61 -5
  177. data/resources/locales/el/numbers.yml +18 -5
  178. data/resources/locales/el/units.yml +7 -42
  179. data/resources/locales/en/calendars.yml +43 -4
  180. data/resources/locales/en/currencies.yml +912 -0
  181. data/resources/locales/en/languages.yml +26 -6
  182. data/resources/locales/en/numbers.yml +17 -4
  183. data/resources/locales/es/calendars.yml +60 -0
  184. data/resources/locales/es/currencies.yml +820 -0
  185. data/resources/locales/es/languages.yml +66 -1
  186. data/resources/locales/es/numbers.yml +20 -7
  187. data/resources/locales/es/units.yml +0 -28
  188. data/resources/locales/eu/calendars.yml +43 -2
  189. data/resources/locales/eu/currencies.yml +378 -0
  190. data/resources/locales/eu/languages.yml +29 -13
  191. data/resources/locales/eu/numbers.yml +17 -4
  192. data/resources/locales/eu/units.yml +22 -43
  193. data/resources/locales/fa/calendars.yml +57 -0
  194. data/resources/locales/fa/currencies.yml +449 -0
  195. data/resources/locales/fa/languages.yml +8 -3
  196. data/resources/locales/fa/numbers.yml +20 -7
  197. data/resources/locales/fa/units.yml +0 -42
  198. data/resources/locales/fi/calendars.yml +49 -1
  199. data/resources/locales/fi/currencies.yml +903 -0
  200. data/resources/locales/fi/languages.yml +58 -2
  201. data/resources/locales/fi/numbers.yml +25 -12
  202. data/resources/locales/fi/units.yml +0 -28
  203. data/resources/locales/fil/calendars.yml +51 -0
  204. data/resources/locales/fil/currencies.yml +357 -0
  205. data/resources/locales/fil/languages.yml +25 -8
  206. data/resources/locales/fil/numbers.yml +18 -5
  207. data/resources/locales/fil/units.yml +14 -28
  208. data/resources/locales/fr/calendars.yml +114 -12
  209. data/resources/locales/fr/currencies.yml +884 -0
  210. data/resources/locales/fr/languages.yml +43 -9
  211. data/resources/locales/fr/numbers.yml +22 -9
  212. data/resources/locales/fr/units.yml +2 -30
  213. data/resources/locales/ga/calendars.yml +187 -0
  214. data/resources/locales/ga/currencies.yml +513 -0
  215. data/resources/locales/ga/languages.yml +147 -0
  216. data/resources/locales/ga/layout.yml +4 -0
  217. data/resources/locales/ga/lists.yml +7 -0
  218. data/resources/locales/ga/numbers.yml +43 -0
  219. data/resources/locales/ga/plurals.yml +4 -0
  220. data/resources/locales/ga/units.yml +66 -0
  221. data/resources/locales/gl/calendars.yml +216 -0
  222. data/resources/locales/gl/currencies.yml +476 -0
  223. data/resources/locales/gl/languages.yml +213 -0
  224. data/resources/locales/gl/layout.yml +4 -0
  225. data/resources/locales/gl/lists.yml +7 -0
  226. data/resources/locales/gl/numbers.yml +57 -0
  227. data/resources/locales/gl/plurals.yml +3 -0
  228. data/resources/locales/gl/units.yml +108 -0
  229. data/resources/locales/he/calendars.yml +70 -18
  230. data/resources/locales/he/currencies.yml +497 -0
  231. data/resources/locales/he/languages.yml +301 -7
  232. data/resources/locales/he/lists.yml +2 -2
  233. data/resources/locales/he/numbers.yml +23 -8
  234. data/resources/locales/he/plurals.yml +3 -2
  235. data/resources/locales/he/units.yml +72 -30
  236. data/resources/locales/hi/calendars.yml +54 -1
  237. data/resources/locales/hi/currencies.yml +388 -0
  238. data/resources/locales/hi/languages.yml +2 -0
  239. data/resources/locales/hi/numbers.yml +21 -8
  240. data/resources/locales/hi/units.yml +15 -29
  241. data/resources/locales/hu/calendars.yml +52 -5
  242. data/resources/locales/hu/currencies.yml +640 -0
  243. data/resources/locales/hu/languages.yml +60 -4
  244. data/resources/locales/hu/numbers.yml +25 -12
  245. data/resources/locales/hu/units.yml +1 -29
  246. data/resources/locales/id/calendars.yml +125 -21
  247. data/resources/locales/id/currencies.yml +603 -0
  248. data/resources/locales/id/languages.yml +113 -51
  249. data/resources/locales/id/numbers.yml +16 -3
  250. data/resources/locales/id/units.yml +0 -28
  251. data/resources/locales/it/calendars.yml +59 -6
  252. data/resources/locales/it/currencies.yml +722 -0
  253. data/resources/locales/it/languages.yml +77 -5
  254. data/resources/locales/it/numbers.yml +22 -9
  255. data/resources/locales/it/units.yml +0 -14
  256. data/resources/locales/ja/calendars.yml +55 -5
  257. data/resources/locales/ja/currencies.yml +602 -0
  258. data/resources/locales/ja/languages.yml +103 -43
  259. data/resources/locales/ja/numbers.yml +18 -5
  260. data/resources/locales/ja/units.yml +6 -34
  261. data/resources/locales/ko/calendars.yml +50 -0
  262. data/resources/locales/ko/currencies.yml +596 -0
  263. data/resources/locales/ko/languages.yml +75 -8
  264. data/resources/locales/ko/numbers.yml +17 -4
  265. data/resources/locales/ko/units.yml +0 -28
  266. data/resources/locales/lv/calendars.yml +275 -0
  267. data/resources/locales/lv/currencies.yml +765 -0
  268. data/resources/locales/lv/languages.yml +576 -0
  269. data/resources/locales/lv/layout.yml +4 -0
  270. data/resources/locales/lv/lists.yml +7 -0
  271. data/resources/locales/lv/numbers.yml +58 -0
  272. data/resources/locales/lv/plurals.yml +4 -0
  273. data/resources/locales/lv/units.yml +136 -0
  274. data/resources/locales/ms/calendars.yml +86 -4
  275. data/resources/locales/ms/currencies.yml +341 -0
  276. data/resources/locales/ms/languages.yml +25 -3
  277. data/resources/locales/ms/numbers.yml +19 -6
  278. data/resources/locales/ms/units.yml +0 -56
  279. data/resources/locales/nb/calendars.yml +48 -1
  280. data/resources/locales/nb/currencies.yml +846 -0
  281. data/resources/locales/nb/languages.yml +44 -2
  282. data/resources/locales/nb/numbers.yml +16 -3
  283. data/resources/locales/nb/units.yml +6 -28
  284. data/resources/locales/nl/calendars.yml +110 -9
  285. data/resources/locales/nl/currencies.yml +640 -0
  286. data/resources/locales/nl/languages.yml +68 -8
  287. data/resources/locales/nl/numbers.yml +25 -12
  288. data/resources/locales/nl/units.yml +14 -28
  289. data/resources/locales/pl/calendars.yml +53 -6
  290. data/resources/locales/pl/currencies.yml +1100 -0
  291. data/resources/locales/pl/languages.yml +13 -6
  292. data/resources/locales/pl/lists.yml +2 -2
  293. data/resources/locales/pl/numbers.yml +18 -5
  294. data/resources/locales/pl/units.yml +51 -92
  295. data/resources/locales/pt/calendars.yml +121 -9
  296. data/resources/locales/pt/currencies.yml +904 -0
  297. data/resources/locales/pt/languages.yml +5 -3
  298. data/resources/locales/pt/numbers.yml +17 -4
  299. data/resources/locales/pt/units.yml +0 -28
  300. data/resources/locales/ro/calendars.yml +278 -0
  301. data/resources/locales/ro/currencies.yml +946 -0
  302. data/resources/locales/ro/languages.yml +576 -0
  303. data/resources/locales/ro/layout.yml +4 -0
  304. data/resources/locales/ro/lists.yml +7 -0
  305. data/resources/locales/ro/numbers.yml +58 -0
  306. data/resources/locales/ro/plurals.yml +3 -0
  307. data/resources/locales/ro/units.yml +136 -0
  308. data/resources/locales/ru/calendars.yml +72 -12
  309. data/resources/locales/ru/currencies.yml +1061 -0
  310. data/resources/locales/ru/languages.yml +51 -6
  311. data/resources/locales/ru/numbers.yml +21 -5
  312. data/resources/locales/ru/units.yml +0 -28
  313. data/resources/locales/sk/calendars.yml +275 -0
  314. data/resources/locales/sk/currencies.yml +713 -0
  315. data/resources/locales/sk/languages.yml +576 -0
  316. data/resources/locales/sk/layout.yml +4 -0
  317. data/resources/locales/sk/lists.yml +7 -0
  318. data/resources/locales/sk/numbers.yml +58 -0
  319. data/resources/locales/sk/plurals.yml +3 -0
  320. data/resources/locales/sk/units.yml +136 -0
  321. data/resources/locales/sq/calendars.yml +188 -0
  322. data/resources/locales/sq/currencies.yml +56 -0
  323. data/resources/locales/sq/languages.yml +17 -0
  324. data/resources/locales/sq/layout.yml +4 -0
  325. data/resources/locales/sq/lists.yml +7 -0
  326. data/resources/locales/sq/numbers.yml +43 -0
  327. data/resources/locales/sq/plurals.yml +3 -0
  328. data/resources/locales/sq/units.yml +73 -0
  329. data/resources/locales/sr/calendars.yml +285 -0
  330. data/resources/locales/sr/currencies.yml +1494 -0
  331. data/resources/locales/sr/languages.yml +513 -0
  332. data/resources/locales/sr/layout.yml +4 -0
  333. data/resources/locales/sr/lists.yml +7 -0
  334. data/resources/locales/sr/numbers.yml +59 -0
  335. data/resources/locales/sr/plurals.yml +5 -0
  336. data/resources/locales/sr/units.yml +164 -0
  337. data/resources/locales/sv/calendars.yml +59 -1
  338. data/resources/locales/sv/currencies.yml +919 -0
  339. data/resources/locales/sv/languages.yml +47 -2
  340. data/resources/locales/sv/numbers.yml +27 -12
  341. data/resources/locales/sv/units.yml +4 -32
  342. data/resources/locales/ta/calendars.yml +264 -0
  343. data/resources/locales/ta/currencies.yml +346 -0
  344. data/resources/locales/ta/languages.yml +512 -0
  345. data/resources/locales/ta/layout.yml +4 -0
  346. data/resources/locales/ta/lists.yml +7 -0
  347. data/resources/locales/ta/numbers.yml +57 -0
  348. data/resources/locales/ta/plurals.yml +3 -0
  349. data/resources/locales/ta/units.yml +108 -0
  350. data/resources/locales/th/calendars.yml +125 -27
  351. data/resources/locales/th/currencies.yml +602 -0
  352. data/resources/locales/th/languages.yml +70 -5
  353. data/resources/locales/th/numbers.yml +24 -11
  354. data/resources/locales/th/units.yml +0 -28
  355. data/resources/locales/tr/calendars.yml +62 -12
  356. data/resources/locales/tr/currencies.yml +571 -0
  357. data/resources/locales/tr/languages.yml +94 -29
  358. data/resources/locales/tr/numbers.yml +19 -6
  359. data/resources/locales/tr/units.yml +1 -29
  360. data/resources/locales/uk/calendars.yml +52 -0
  361. data/resources/locales/uk/currencies.yml +799 -0
  362. data/resources/locales/uk/languages.yml +57 -2
  363. data/resources/locales/uk/numbers.yml +18 -5
  364. data/resources/locales/uk/units.yml +0 -28
  365. data/resources/locales/ur/calendars.yml +96 -32
  366. data/resources/locales/ur/currencies.yml +360 -0
  367. data/resources/locales/ur/languages.yml +49 -32
  368. data/resources/locales/ur/numbers.yml +13 -13
  369. data/resources/locales/ur/units.yml +28 -56
  370. data/resources/locales/zh-Hant/calendars.yml +59 -1
  371. data/resources/locales/zh-Hant/currencies.yml +602 -0
  372. data/resources/locales/zh-Hant/languages.yml +74 -8
  373. data/resources/locales/zh-Hant/numbers.yml +17 -4
  374. data/resources/locales/zh-Hant/units.yml +0 -28
  375. data/resources/locales/zh/calendars.yml +95 -35
  376. data/resources/locales/zh/currencies.yml +602 -0
  377. data/resources/locales/zh/languages.yml +116 -46
  378. data/resources/locales/zh/numbers.yml +20 -7
  379. data/resources/locales/zh/units.yml +6 -34
  380. data/resources/shared/currency_digits_and_rounding.yml +187 -0
  381. data/spec/bidi/bidi_spec.rb +1 -1
  382. data/spec/collation/tailoring_spec.rb +29 -25
  383. data/spec/formatters/calendars/datetime_formatter_spec.rb +50 -2
  384. data/spec/formatters/calendars/timespan_formatter_spec.rb +52 -8
  385. data/spec/formatters/numbers/abbreviated/abbreviated_number_formatter_spec.rb +81 -0
  386. data/spec/formatters/numbers/abbreviated/long_decimal_formatter_spec.rb +37 -0
  387. data/spec/formatters/numbers/abbreviated/short_decimal_formatter_spec.rb +37 -0
  388. data/spec/formatters/numbers/currency_formatter_spec.rb +10 -1
  389. data/spec/localized/localized_date_spec.rb +11 -11
  390. data/spec/localized/localized_datetime_spec.rb +27 -3
  391. data/spec/localized/localized_number_spec.rb +34 -6
  392. data/spec/localized/localized_time_spec.rb +1 -1
  393. data/spec/readme_spec.rb +24 -3
  394. data/spec/shared/currencies_spec.rb +7 -9
  395. data/spec/spec_helper.rb +7 -0
  396. data/spec/tokenizers/base_spec.rb +71 -21
  397. data/spec/tokenizers/calendars/additional_date_format_selector_spec.rb +131 -0
  398. data/spec/tokenizers/calendars/datetime_tokenizer_spec.rb +54 -27
  399. data/spec/tokenizers/calendars/time_tokenizer_spec.rb +16 -16
  400. data/spec/tokenizers/numbers/number_tokenizer_spec.rb +9 -21
  401. data/spec/utils/yaml/yaml_spec.rb +21 -16
  402. data/spec/utils_spec.rb +6 -2
  403. metadata +218 -37
@@ -0,0 +1,275 @@
1
+ ---
2
+ :sk:
3
+ :calendars:
4
+ :gregorian:
5
+ :additional_formats:
6
+ :Ed: E d.
7
+ :H: H
8
+ :Hm: H:mm
9
+ :Hms: H:mm:ss
10
+ :M: L.
11
+ :MEd: E, d.M.
12
+ :MMM: LLL
13
+ :MMMEd: E, d. MMM.
14
+ :MMMMEd: E, d. MMMM
15
+ :MMMMd: d. MMMM
16
+ :MMMd: d. MMM.
17
+ :Md: d.M.
18
+ :d: d.
19
+ :h: h a
20
+ :hm: h:mm a
21
+ :hms: h:mm:ss a
22
+ :mmss: mm:ss
23
+ :ms: mm:ss
24
+ :y: y
25
+ :yM: M.yyyy
26
+ :yMEd: E d. M. y
27
+ :yMMM: LLL y
28
+ :yMMMEd: E, d. MMM y
29
+ :yMMMM: LLLL y
30
+ :yMMMd: d.M.yyyy
31
+ :yMd: d.M.yyyy
32
+ :yQQQ: QQQ y
33
+ :yQQQQ: QQQQ y
34
+ :yyyyM: M.yyyy
35
+ :yyyyMMMM: LLLL y
36
+ :days:
37
+ :format:
38
+ :abbreviated:
39
+ :fri: pi
40
+ :mon: po
41
+ :sat: so
42
+ :sun: ne
43
+ :thu: št
44
+ :tue: ut
45
+ :wed: st
46
+ :narrow:
47
+ :fri: P
48
+ :mon: P
49
+ :sat: S
50
+ :sun: N
51
+ :thu: Š
52
+ :tue: U
53
+ :wed: S
54
+ :short:
55
+ :fri: Pi
56
+ :mon: Po
57
+ :sat: So
58
+ :sun: Ne
59
+ :thu: Št
60
+ :tue: Ut
61
+ :wed: St
62
+ :wide:
63
+ :fri: piatok
64
+ :mon: pondelok
65
+ :sat: sobota
66
+ :sun: nedeľa
67
+ :thu: štvrtok
68
+ :tue: utorok
69
+ :wed: streda
70
+ :stand-alone:
71
+ :abbreviated:
72
+ :fri: pi
73
+ :mon: po
74
+ :sat: so
75
+ :sun: ne
76
+ :thu: št
77
+ :tue: ut
78
+ :wed: st
79
+ :narrow:
80
+ :fri: P
81
+ :mon: P
82
+ :sat: S
83
+ :sun: N
84
+ :thu: Š
85
+ :tue: U
86
+ :wed: S
87
+ :short:
88
+ :fri: Pi
89
+ :mon: Po
90
+ :sat: So
91
+ :sun: Ne
92
+ :thu: Št
93
+ :tue: Ut
94
+ :wed: St
95
+ :wide:
96
+ :fri: piatok
97
+ :mon: pondelok
98
+ :sat: sobota
99
+ :sun: nedeľa
100
+ :thu: štvrtok
101
+ :tue: utorok
102
+ :wed: streda
103
+ :eras:
104
+ :abbr:
105
+ 0: pred n.l.
106
+ 1: n.l.
107
+ :name:
108
+ 0: ''
109
+ :narrow:
110
+ 0: ''
111
+ :fields:
112
+ :day: Deň
113
+ :dayperiod: Časť dňa
114
+ :era: Éra
115
+ :hour: Hodina
116
+ :minute: Minúta
117
+ :month: Mesiac
118
+ :second: Sekunda
119
+ :week: Týždeň
120
+ :weekday: Deň v týždni
121
+ :year: Rok
122
+ :zone: Časové pásmo
123
+ :formats:
124
+ :date:
125
+ :default: :calendars.gregorian.formats.date.medium
126
+ :full:
127
+ :pattern: EEEE, d. MMMM y
128
+ :long:
129
+ :pattern: d. MMMM y
130
+ :medium:
131
+ :pattern: d.M.yyyy
132
+ :short:
133
+ :pattern: d.M.yyyy
134
+ :datetime:
135
+ :default: :calendars.gregorian.formats.datetime.medium
136
+ :full:
137
+ :pattern: ! '{{date}} {{time}}'
138
+ :long:
139
+ :pattern: ! '{{date}} {{time}}'
140
+ :medium:
141
+ :pattern: ! '{{date}} {{time}}'
142
+ :short:
143
+ :pattern: ! '{{date}} {{time}}'
144
+ :time:
145
+ :default: :calendars.gregorian.formats.time.medium
146
+ :full:
147
+ :pattern: H:mm:ss zzzz
148
+ :long:
149
+ :pattern: H:mm:ss z
150
+ :medium:
151
+ :pattern: H:mm:ss
152
+ :short:
153
+ :pattern: H:mm
154
+ :months:
155
+ :format:
156
+ :abbreviated:
157
+ 1: jan
158
+ 10: okt
159
+ 11: nov
160
+ 12: dec
161
+ 2: feb
162
+ 3: mar
163
+ 4: apr
164
+ 5: máj
165
+ 6: jún
166
+ 7: júl
167
+ 8: aug
168
+ 9: sep
169
+ :narrow:
170
+ 1: j
171
+ 10: o
172
+ 11: n
173
+ 12: d
174
+ 2: f
175
+ 3: m
176
+ 4: a
177
+ 5: m
178
+ 6: j
179
+ 7: j
180
+ 8: a
181
+ 9: s
182
+ :wide:
183
+ 1: január
184
+ 10: október
185
+ 11: november
186
+ 12: december
187
+ 2: február
188
+ 3: marec
189
+ 4: apríl
190
+ 5: máj
191
+ 6: jún
192
+ 7: júl
193
+ 8: august
194
+ 9: september
195
+ :stand-alone:
196
+ :abbreviated:
197
+ 1: jan
198
+ 10: okt
199
+ 11: nov
200
+ 12: dec
201
+ 2: feb
202
+ 3: mar
203
+ 4: apr
204
+ 5: máj
205
+ 6: jún
206
+ 7: júl
207
+ 8: aug
208
+ 9: sep
209
+ :narrow:
210
+ 1: j
211
+ 10: o
212
+ 11: n
213
+ 12: d
214
+ 2: f
215
+ 3: m
216
+ 4: a
217
+ 5: m
218
+ 6: j
219
+ 7: j
220
+ 8: a
221
+ 9: s
222
+ :wide:
223
+ 1: január
224
+ 10: október
225
+ 11: november
226
+ 12: december
227
+ 2: február
228
+ 3: marec
229
+ 4: apríl
230
+ 5: máj
231
+ 6: jún
232
+ 7: júl
233
+ 8: august
234
+ 9: september
235
+ :periods:
236
+ :format:
237
+ :abbreviated: :calendars.gregorian.dayPeriods.format.wide
238
+ :narrow: :calendars.gregorian.dayPeriods.format.abbreviated
239
+ :wide:
240
+ :am: dopoludnia
241
+ :pm: popoludní
242
+ :stand-alone: {}
243
+ :quarters:
244
+ :format:
245
+ :abbreviated:
246
+ 1: Q1
247
+ 2: Q2
248
+ 3: Q3
249
+ 4: Q4
250
+ :narrow:
251
+ 1: 1
252
+ 2: 2
253
+ 3: 3
254
+ 4: 4
255
+ :wide:
256
+ 1: 1. štvrťrok
257
+ 2: 2. štvrťrok
258
+ 3: 3. štvrťrok
259
+ 4: 4. štvrťrok
260
+ :stand-alone:
261
+ :abbreviated:
262
+ 1: 1Q
263
+ 2: 2Q
264
+ 3: 3Q
265
+ 4: 4Q
266
+ :narrow:
267
+ 1: 1
268
+ 2: 2
269
+ 3: 3
270
+ 4: 4
271
+ :wide:
272
+ 1: 1. štvrťrok
273
+ 2: 2. štvrťrok
274
+ 3: 3. štvrťrok
275
+ 4: 4. štvrťrok
@@ -0,0 +1,713 @@
1
+ ---
2
+ :sk:
3
+ :currencies:
4
+ :ADP:
5
+ :one: Andorská peseta
6
+ :AED:
7
+ :few: SAE dirhamy
8
+ :one: SAE dirham
9
+ :other: UAE dirham
10
+ :AFN:
11
+ :one: Afganský afgání
12
+ :ALL:
13
+ :one: Albánsky lek
14
+ :AMD:
15
+ :one: Armenský dram
16
+ :ANG:
17
+ :few: antilské guldeny
18
+ :one: antilský gulden
19
+ :other: Nizozemský Antilský guilder
20
+ :AOA:
21
+ :one: Angolská kwanza
22
+ :AOK:
23
+ :one: Angolská kwanza (1977-1990)
24
+ :AON:
25
+ :one: Angolská nová kwanza (1990-2000)
26
+ :AOR:
27
+ :one: Angolská kwanza Reajustado (1995-1999)
28
+ :ARA:
29
+ :one: Argentinský austral
30
+ :ARP:
31
+ :one: Argentinské peso (1983-1985)
32
+ :ARS:
33
+ :one: Argentinské peso
34
+ :ATS:
35
+ :one: Rakúsky šiling
36
+ :AUD:
37
+ :few: austrálske doláre
38
+ :one: austrálsky dolár
39
+ :other: austrálskych dolárov, austrálskeho dolára
40
+ :symbol: AUD
41
+ :AWG:
42
+ :one: Arubský guilder
43
+ :AZM:
44
+ :one: Azerbaidžanský manat
45
+ :AZN:
46
+ :one: Azerbajdžanský manat
47
+ :BAD:
48
+ :one: Bosnianský dinár
49
+ :BAM:
50
+ :few: Bosnianský konvertibilná marka
51
+ :one: Bosnianský konvertibilná marka
52
+ :other: Bosnianský konvertibilná marka
53
+ :BBD:
54
+ :few: Barbadoský dolár
55
+ :one: Barbadoský dolár
56
+ :other: Barbadoský dolár
57
+ :BDT:
58
+ :one: Bangladéšska taka
59
+ :BEC:
60
+ :one: Belgický frank (konvertibilný)
61
+ :BEF:
62
+ :one: Belgický frank
63
+ :BEL:
64
+ :one: Belgický frank (finančný)
65
+ :BGL:
66
+ :one: Bulharský leva
67
+ :BGN:
68
+ :few: Bulharský leva nový
69
+ :one: Bulharský leva nový
70
+ :other: Bulharský leva nový
71
+ :BHD:
72
+ :few: Bahraiský dinár
73
+ :one: Bahraiský dinár
74
+ :other: Bahraiský dinár
75
+ :BIF:
76
+ :one: Burundský frank
77
+ :BMD:
78
+ :one: Bermudský dolár
79
+ :BND:
80
+ :few: Bruneiský dolár
81
+ :one: Bruneiský dolár
82
+ :other: Bruneiský dolár
83
+ :BOB:
84
+ :one: Bolívijské boliviano
85
+ :BOP:
86
+ :one: Bolivíjske peso
87
+ :BOV:
88
+ :one: Bolivíjske mvdol
89
+ :BRB:
90
+ :one: Bolivíjske Cruzeiro Novo (1967-1986)
91
+ :BRC:
92
+ :one: Bolivíjske cruzado
93
+ :BRE:
94
+ :one: Bolivíjske cruzeiro (1990-1993)
95
+ :BRL:
96
+ :few: brazílske realy
97
+ :one: brazílsky real
98
+ :other: brazílskych realov, brazílskeho realu
99
+ :symbol: BRL
100
+ :BRN:
101
+ :one: Brazílske Cruzado Novo
102
+ :BRR:
103
+ :one: Brazílske cruzeiro
104
+ :BSD:
105
+ :one: Bahamský dolár
106
+ :BTN:
107
+ :few: Bhutansky ngultrum
108
+ :one: Bhutansky ngultrum
109
+ :other: Bhutansky ngultrum
110
+ :BUK:
111
+ :one: Burmese Kyat
112
+ :BWP:
113
+ :few: botswanské puly
114
+ :one: botswanská pula
115
+ :other: Botswanan Pula
116
+ :BYB:
117
+ :few: Belarussian nový rubeľ (1994-1999)
118
+ :one: Belarussian nový rubeľ (1994-1999)
119
+ :other: Belarussian nový rubeľ (1994-1999)
120
+ :BYR:
121
+ :few: Belarussian rubeľ
122
+ :one: Belarussian rubeľ
123
+ :other: Belarussian rubeľ
124
+ :BZD:
125
+ :few: Belize dolár
126
+ :one: Belize dolár
127
+ :other: Belize dolár
128
+ :CAD:
129
+ :few: kanadské doláre
130
+ :one: kanadský dolár
131
+ :other: kanadských dolárov, kanadského dolára
132
+ :symbol: CAD
133
+ :CDF:
134
+ :few: Konžský frank Congolais
135
+ :one: Konžský frank Congolais
136
+ :other: Konžský frank Congolais
137
+ :CHF:
138
+ :few: švajčiarske franky
139
+ :one: švajčiarsky frank
140
+ :other: švajčiarskych frankov, švajčiarskeho franku
141
+ :CLF:
142
+ :one: Čílske Unidades de Fomento
143
+ :CLP:
144
+ :one: Čílske peso
145
+ :CNY:
146
+ :few: čínske jüany
147
+ :one: čínsky jüan
148
+ :other: čínskych jüanov, čínskeho jüana
149
+ :symbol: CNY
150
+ :COP:
151
+ :few: kolumbijské pesos
152
+ :one: kolumbijské peso
153
+ :other: kolumbijských pesos
154
+ :CRC:
155
+ :few: Kostarikský colon
156
+ :one: Kostarikský colon
157
+ :other: Kostarikský colon
158
+ :CSK:
159
+ :one: Československá koruna
160
+ :CUC:
161
+ :one: Kubánske konvertibilné peso
162
+ :CUP:
163
+ :one: Kubánske peso
164
+ :CVE:
165
+ :few: kapverdské escudá
166
+ :one: kapverdské escudo
167
+ :other: Cape Verde eskudo
168
+ :CYP:
169
+ :one: Cypruská libra
170
+ :CZK:
171
+ :few: české koruny
172
+ :one: česká koruna
173
+ :other: českých korún, českej koruny
174
+ :DDM:
175
+ :one: Východonemecká marka
176
+ :DEM:
177
+ :one: Nemecká marka
178
+ :DJF:
179
+ :one: Džibutský frank
180
+ :DKK:
181
+ :few: dánske koruny
182
+ :one: dánska koruna
183
+ :other: dánskych korún, dánskej koruny
184
+ :DOP:
185
+ :one: Dominikánske peso
186
+ :DZD:
187
+ :one: Alžírsky dinár
188
+ :ECS:
189
+ :one: Ekuadorský sucre
190
+ :ECV:
191
+ :one: Ekuadorský Unidad de Valor Constante (UVC)
192
+ :EEK:
193
+ :few: Estónska kroon
194
+ :one: Estónska kroon
195
+ :other: Estónska kroon
196
+ :EGP:
197
+ :one: Egyptská libra
198
+ :ERN:
199
+ :one: Eritrejská nakfa
200
+ :ESP:
201
+ :one: Španielská peseta
202
+ :ETB:
203
+ :one: Ethiopský birr
204
+ :EUR:
205
+ :few: eurá
206
+ :one: euro
207
+ :other: eur, eura
208
+ :symbol: EUR
209
+ :FIM:
210
+ :one: Finská marka
211
+ :FJD:
212
+ :few: fidžijské doláre
213
+ :one: fidžijský dolár
214
+ :other: Fiji dolár
215
+ :FKP:
216
+ :one: Falklandská libra
217
+ :FRF:
218
+ :one: Francúzsky frank
219
+ :GBP:
220
+ :few: britských libier, britskej libry
221
+ :one: britská libra
222
+ :other: britských libier, britskej libry
223
+ :symbol: GBP
224
+ :GEK:
225
+ :one: Gruzínsky Kupon Larit
226
+ :GEL:
227
+ :one: Gruzínsky lari
228
+ :GHC:
229
+ :one: Ghanský cedi (1979-2007)
230
+ :GHS:
231
+ :one: Ghanský cedi
232
+ :GIP:
233
+ :one: Gibraltarská libra
234
+ :GMD:
235
+ :few: Gambský dalasi
236
+ :one: Gambský dalasi
237
+ :other: Gambský dalasi
238
+ :GNF:
239
+ :one: Guinejský frank
240
+ :GNS:
241
+ :one: Guinejský syli
242
+ :GQE:
243
+ :one: Rovníková Guinea Ekwele Guineana
244
+ :GRD:
245
+ :one: Grécka drachma
246
+ :GTQ:
247
+ :one: Guatemalský quetzal
248
+ :GWE:
249
+ :one: Portugalská Guinea eskudo
250
+ :GWP:
251
+ :few: Guinea-Bissau peso
252
+ :one: Guinea-Bissau peso
253
+ :other: Guinea-Bissau peso
254
+ :GYD:
255
+ :one: Guyanský dolár
256
+ :HKD:
257
+ :few: hongkongské doláre
258
+ :one: hongkongský dolár
259
+ :other: hongkongských dolárov, hongkongského dolára
260
+ :symbol: HKD
261
+ :HNL:
262
+ :few: Hoduraská lempira
263
+ :one: Hoduraská lempira
264
+ :other: Hoduraská lempira
265
+ :HRD:
266
+ :one: Chorvátsky dinár
267
+ :HRK:
268
+ :one: Chorvátska kuna
269
+ :HTG:
270
+ :one: Haitské gourde
271
+ :HUF:
272
+ :few: maďarské forinty
273
+ :one: maďarský forint
274
+ :other: maďarských forintov
275
+ :IDR:
276
+ :few: indonézske rupie
277
+ :one: indonézska rupia
278
+ :other: indonézskych rupií
279
+ :IEP:
280
+ :one: Írska libra
281
+ :ILP:
282
+ :one: Izraelská libra
283
+ :ILS:
284
+ :one: Izraelský šekel
285
+ :symbol: ₪
286
+ :INR:
287
+ :few: indické rupie
288
+ :one: indická rupia
289
+ :other: indických rupií, indickej rupie
290
+ :symbol: INR
291
+ :IQD:
292
+ :one: Iracký dinár
293
+ :IRR:
294
+ :one: Iránsky rial
295
+ :ISK:
296
+ :one: Islandská krona
297
+ :ITL:
298
+ :one: Talianská lira
299
+ :JMD:
300
+ :one: Jamajský dolár
301
+ :JOD:
302
+ :one: Jordánsky dinár
303
+ :JPY:
304
+ :few: japonské jeny
305
+ :one: japonský jen
306
+ :other: japonských jenov
307
+ :symbol: JPY
308
+ :KES:
309
+ :one: Keňský šiling
310
+ :KGS:
311
+ :few: kirgizské somy
312
+ :one: kirgizský som
313
+ :other: Kyrgyský som
314
+ :KHR:
315
+ :one: Kambodžský riel
316
+ :KMF:
317
+ :few: komorské franky
318
+ :one: Comoro frank
319
+ :other: komorských frankov
320
+ :KPW:
321
+ :one: Severokórejský won
322
+ :KRW:
323
+ :few: juhokórejské wony
324
+ :one: juhokórejský won
325
+ :other: juhokórejských wonov
326
+ :symbol: KRW
327
+ :KWD:
328
+ :few: Kuvaitský dinár
329
+ :one: Kuvaitský dinár
330
+ :other: Kuvaitský dinár
331
+ :KYD:
332
+ :one: Kajmanský dolár
333
+ :KZT:
334
+ :few: Kazažský tenge
335
+ :one: Kazažský tenge
336
+ :other: Kazažský tenge
337
+ :LAK:
338
+ :one: Laoský kip
339
+ :LBP:
340
+ :one: Libanonská libra
341
+ :LKR:
342
+ :few: Šrilanská rupia
343
+ :one: Šrilanská rupia
344
+ :other: Šrilanská rupia
345
+ :LRD:
346
+ :one: Libérský dolár
347
+ :LSL:
348
+ :one: Lesothský loti
349
+ :LTL:
350
+ :few: litovské litasy
351
+ :one: litovský litas
352
+ :other: litovských litasov, litovského litasa
353
+ :LTT:
354
+ :one: Litevský talonas
355
+ :LUF:
356
+ :one: Luxemburský frank
357
+ :LVL:
358
+ :few: lotyšské laty
359
+ :one: lotyšský lat
360
+ :other: lotyšských latov, lotyšského latu
361
+ :LVR:
362
+ :one: Lotyšský rubeľ
363
+ :LYD:
364
+ :one: Libyjský dinár
365
+ :MAD:
366
+ :one: Marocký dirham
367
+ :MAF:
368
+ :one: Marocký frank
369
+ :MDL:
370
+ :one: Moldavský leu
371
+ :MGA:
372
+ :one: Madagaskarský ariary
373
+ :MGF:
374
+ :one: Madagaskarský frank
375
+ :MKD:
376
+ :one: Macedónsky denár
377
+ :MLF:
378
+ :one: Malský frank
379
+ :MMK:
380
+ :one: Myanmarský kyat
381
+ :MNT:
382
+ :one: Mongolský tugrik
383
+ :MOP:
384
+ :few: Macao Pataca
385
+ :one: Macao Pataca
386
+ :other: Macao Pataca
387
+ :MRO:
388
+ :few: Mauritania Ouguiya
389
+ :one: Mauritania Ouguiya
390
+ :other: Mauritania Ouguiya
391
+ :MTL:
392
+ :one: Maltská lira
393
+ :MTP:
394
+ :one: Maltská libra
395
+ :MUR:
396
+ :few: Mauritská rupia
397
+ :one: Mauritská rupia
398
+ :other: Mauritská rupia
399
+ :MVR:
400
+ :one: Maldivská rufiyaa
401
+ :MWK:
402
+ :few: Malavská kwacha
403
+ :one: Malavská kwacha
404
+ :other: Malavská kwacha
405
+ :MXN:
406
+ :few: mexické pesos
407
+ :one: mexické peso
408
+ :other: mexických pesos, mexického pesa
409
+ :symbol: Mex$
410
+ :MXP:
411
+ :one: Mexické striborné peso (1861-1992)
412
+ :MXV:
413
+ :one: Mexické Unidad de Inversion (UDI)
414
+ :MYR:
415
+ :few: Malajský ringgit
416
+ :one: Malajský ringgit
417
+ :other: Malajský ringgit
418
+ :MZE:
419
+ :few: Mozambijské eskudo
420
+ :one: Mozambijské eskudo
421
+ :other: Mozambijské eskudo
422
+ :MZM:
423
+ :few: Mozambijské metical
424
+ :one: Mozambijské metical
425
+ :other: Mozambijské metical
426
+ :MZN:
427
+ :few: mozambické meticaly
428
+ :one: mozambický metical
429
+ :other: mozambických meticalov, mozambického meticalu
430
+ :NAD:
431
+ :few: Namibský dolár
432
+ :one: Namibský dolár
433
+ :other: Namibský dolár
434
+ :NGN:
435
+ :one: Nigerská naira
436
+ :NIC:
437
+ :one: Nikaragujská cordoba
438
+ :NIO:
439
+ :few: Nikaragujská Cordoba Oro
440
+ :one: Nikaragujská Cordoba Oro
441
+ :other: Nikaragujská Cordoba Oro
442
+ :NLG:
443
+ :one: Nizozemský guilder
444
+ :NOK:
445
+ :few: nórske koruny
446
+ :one: nórska koruna
447
+ :other: nórskych korún, nórskej koruny
448
+ :NPR:
449
+ :one: Nepálska rupia
450
+ :NZD:
451
+ :one: Novozélandský dolár
452
+ :symbol: NZ$
453
+ :OMR:
454
+ :one: Ománský rial
455
+ :PAB:
456
+ :one: Panamská balboa
457
+ :PEI:
458
+ :one: Peruvský inti
459
+ :PEN:
460
+ :few: Peruvský sol Nuevo
461
+ :one: Peruvský sol Nuevo
462
+ :other: Peruvský sol Nuevo
463
+ :PES:
464
+ :one: Peruvský sol
465
+ :PGK:
466
+ :few: Papua Nová Guinea kina
467
+ :one: Papua Nová Guinea kina
468
+ :other: Papua Nová Guinea kina
469
+ :PHP:
470
+ :one: Filipínske peso
471
+ :PKR:
472
+ :one: Pakistanská rupia
473
+ :PLN:
474
+ :few: poľské zloté
475
+ :one: poľský zlotý
476
+ :other: poľských zlotých, poľského zlotého
477
+ :symbol: zl
478
+ :PLZ:
479
+ :one: Polský zloty (1950-1995)
480
+ :PTE:
481
+ :one: Portugalské eskudo
482
+ :PYG:
483
+ :few: Paraguayské guarani
484
+ :one: Paraguayské guarani
485
+ :other: Paraguayské guarani
486
+ :QAR:
487
+ :few: Qatarský rial
488
+ :one: Qatarský rial
489
+ :other: Qatarský rial
490
+ :ROL:
491
+ :one: Rumunský leu
492
+ :RON:
493
+ :few: Rumunský Lei
494
+ :one: Rumunský Lei
495
+ :other: Rumunský Lei
496
+ :RSD:
497
+ :one: Srbský dinár
498
+ :RUB:
499
+ :few: ruské ruble
500
+ :one: ruský rubeľ
501
+ :other: ruských rubľov, ruského rubľa
502
+ :RUR:
503
+ :one: Ruský rubeľ (1991-1998)
504
+ :RWF:
505
+ :one: Rwandský frank
506
+ :SAR:
507
+ :few: saudskoarabské rialy
508
+ :one: saudskoarabský rial
509
+ :other: saudskoarabských rialov, saudskoarabského rialu
510
+ :SBD:
511
+ :few: Solomon Islands dolár
512
+ :one: Solomon Islands dolár
513
+ :other: Solomon Islands dolár
514
+ :SCR:
515
+ :few: Sejšelská rupia
516
+ :one: Sejšelská rupia
517
+ :other: Sejšelská rupia
518
+ :SDD:
519
+ :one: Sudánsky dinár
520
+ :SDG:
521
+ :one: Sudánska libra
522
+ :SDP:
523
+ :one: Sudánska libra (1957-1998)
524
+ :SEK:
525
+ :few: švédske koruny
526
+ :one: švédska koruna
527
+ :other: Švédska koruna
528
+ :SGD:
529
+ :one: Singapúrsky dolár
530
+ :SHP:
531
+ :few: Libra
532
+ :one: Libra
533
+ :other: Libra
534
+ :SIT:
535
+ :one: Slovinský Tolar
536
+ :SKK:
537
+ :one: Slovenská koruna
538
+ :SLL:
539
+ :few: Sierra Leone Leone
540
+ :one: Sierra Leone Leone
541
+ :other: Sierra Leone Leone
542
+ :SOS:
543
+ :one: Somálsky šiling
544
+ :SRD:
545
+ :one: Surinamský dolár
546
+ :SRG:
547
+ :one: Surinamský guilder
548
+ :SSP:
549
+ :few: Juhosudánske libry
550
+ :one: Juhosudánska libra
551
+ :other: Juhosudánskych libier
552
+ :STD:
553
+ :few: Sao Tome a Principe dobra
554
+ :one: Sao Tome a Principe dobra
555
+ :other: Sao Tome a Principe dobra
556
+ :SUR:
557
+ :one: Sovietský rubeľ
558
+ :SVC:
559
+ :few: El Salvadorský colon
560
+ :one: El Salvadorský colon
561
+ :other: El Salvadorský colon
562
+ :SYP:
563
+ :one: Syrská libra
564
+ :SZL:
565
+ :few: Swaziland lilangeni
566
+ :one: Swaziland lilangeni
567
+ :other: Swaziland lilangeni
568
+ :THB:
569
+ :few: thajské bahty
570
+ :one: thajský baht
571
+ :other: thajských bahtov, thajského bahtu
572
+ :symbol: THB
573
+ :TJR:
574
+ :one: Tadžikistanský rubeľ
575
+ :TJS:
576
+ :few: Tadžikistanský somoni
577
+ :one: Tadžikistanský somoni
578
+ :other: Tadžikistanský somoni
579
+ :TMM:
580
+ :one: Turkménsky manat (1993-2009)
581
+ :TMT:
582
+ :one: Turkménsky manat
583
+ :TND:
584
+ :one: Tuniský dinár
585
+ :TOP:
586
+ :few: Tonga Paʻanga
587
+ :one: Tonga Paʻanga
588
+ :other: Tonga Paʻanga
589
+ :TPE:
590
+ :one: Timorské eskudo
591
+ :TRL:
592
+ :one: Turecká lira
593
+ :TRY:
594
+ :few: nové turecké líry
595
+ :one: nová turecká líra
596
+ :other: nových tureckých lír, novej tureckej líry
597
+ :TTD:
598
+ :few: Trinidad a Tobago dolár
599
+ :one: Trinidad a Tobago dolár
600
+ :other: Trinidad a Tobago dolár
601
+ :TWD:
602
+ :few: nové taiwanské doláre
603
+ :one: nový taiwanský dolár
604
+ :other: nových taiwanských dolárov, nového taiwanského dolára
605
+ :symbol: TWD
606
+ :TZS:
607
+ :one: Tanzanský šiling
608
+ :UAH:
609
+ :few: Ukrainská hrivna
610
+ :one: Ukrainská hrivna
611
+ :other: Ukrainská hrivna
612
+ :UAK:
613
+ :one: Ukrainský karbovanetz
614
+ :UGS:
615
+ :one: Ugandan šiling (1966-1987)
616
+ :UGX:
617
+ :one: Ugandský šiling
618
+ :USD:
619
+ :few: americké doláre
620
+ :one: americký dolár
621
+ :other: amerických dolárov, amerického dolára
622
+ :symbol: USD
623
+ :USN:
624
+ :one: US dolár (Next day)
625
+ :USS:
626
+ :one: US dolár (Same day)
627
+ :UYP:
628
+ :one: Uruguajské peso (1975-1993)
629
+ :UYU:
630
+ :few: Uruguajské peso Uruguayo
631
+ :one: Uruguajské peso Uruguayo
632
+ :other: Uruguajské peso Uruguayo
633
+ :UZS:
634
+ :few: Uzbekistanský sum
635
+ :one: Uzbekistanský sum
636
+ :other: Uzbekistanský sum
637
+ :VEB:
638
+ :one: Venezuelský bolívar (1871-2008)
639
+ :VEF:
640
+ :one: Venezuelský bolívar
641
+ :VND:
642
+ :one: Vietnamský dong
643
+ :symbol: ₫
644
+ :VUV:
645
+ :few: Vanuatu vatu
646
+ :one: Vanuatu vatu
647
+ :other: Vanuatu vatu
648
+ :WST:
649
+ :few: Západná Samoa tala
650
+ :one: Západná Samoa tala
651
+ :other: Západná Samoa tala
652
+ :XAF:
653
+ :one: CFA frank BEAC
654
+ :symbol: FCFA
655
+ :XAU:
656
+ :one: Zlato
657
+ :XCD:
658
+ :few: East Caribbean dolár
659
+ :one: East Caribbean dolár
660
+ :other: East Caribbean dolár
661
+ :symbol: EC$
662
+ :XDR:
663
+ :one: Špeciálne práva čerpania
664
+ :XFO:
665
+ :one: Francúzsky zlatý frank
666
+ :XFU:
667
+ :one: Francúzsky UIC-frank
668
+ :XOF:
669
+ :one: CFA frank BCEAO
670
+ :symbol: CFA
671
+ :XPF:
672
+ :one: CFP frank
673
+ :symbol: CFPF
674
+ :XXX:
675
+ :few: Neznáma mena
676
+ :one: Neznáma mena
677
+ :other: Neznáma mena
678
+ :YDD:
679
+ :one: Jemenský dinár
680
+ :YER:
681
+ :one: Jemenský rial
682
+ :YUD:
683
+ :one: Juhoslávsky dinár [YUD]
684
+ :YUM:
685
+ :one: Juhoslávsky Noviy dinár
686
+ :YUN:
687
+ :one: Juhoslávsky dinár
688
+ :ZAL:
689
+ :one: Juhoafrický rand (financial)
690
+ :ZAR:
691
+ :few: juhoafrické randy
692
+ :one: juhoafrický rand
693
+ :other: juhoafrických randov, juhoafrického randu
694
+ :ZMK:
695
+ :few: Zambská kwacha
696
+ :one: Zambská kwacha
697
+ :other: Zambská kwacha
698
+ :ZRN:
699
+ :one: Zairský nový zaire
700
+ :ZRZ:
701
+ :one: Zairský Zaire
702
+ :ZWD:
703
+ :few: Zimbabský dolár
704
+ :one: Zimbabský dolár
705
+ :other: Zimbabský dolár
706
+ :ZWL:
707
+ :few: zimbabwianske doláre (2009)
708
+ :one: zimbabwiansky dolár (2009)
709
+ :other: zimbabwianskych dolárov (2009), zimbabwianskeho dolára (2009)
710
+ :ZWR:
711
+ :few: zimbabwianske doláre (2008)
712
+ :one: zimbabwiansky dolár (2008)
713
+ :other: zimbabwianskych dolárov (2008), zimbabwianskeho dolára (2008)