twitter_cldr 4.1.0 → 4.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -1
  3. data/lib/twitter_cldr/data_readers/number_data_reader.rb +2 -0
  4. data/lib/twitter_cldr/formatters/numbers/currency_formatter.rb +2 -1
  5. data/lib/twitter_cldr/version.rb +1 -1
  6. data/resources/locales/ar/currencies.yml +155 -90
  7. data/resources/locales/ar/plurals.yml +4 -3
  8. data/resources/locales/be/currencies.yml +806 -82
  9. data/resources/locales/be/plurals.yml +8 -6
  10. data/resources/locales/bg/currencies.yml +1 -1
  11. data/resources/locales/bn/currencies.yml +8 -8
  12. data/resources/locales/bn/plurals.yml +2 -2
  13. data/resources/locales/bo/plurals.yml +1 -1
  14. data/resources/locales/ca/currencies.yml +1 -1
  15. data/resources/locales/ca/plurals.yml +2 -2
  16. data/resources/locales/cs/currencies.yml +5 -5
  17. data/resources/locales/cs/plurals.yml +3 -3
  18. data/resources/locales/cy/currencies.yml +1485 -782
  19. data/resources/locales/da/currencies.yml +4 -4
  20. data/resources/locales/da/plurals.yml +2 -2
  21. data/resources/locales/de/currencies.yml +2 -2
  22. data/resources/locales/de/plurals.yml +2 -2
  23. data/resources/locales/de-CH/currencies.yml +3 -3
  24. data/resources/locales/de-CH/plurals.yml +2 -2
  25. data/resources/locales/el/currencies.yml +2 -2
  26. data/resources/locales/en/currencies.yml +13 -12
  27. data/resources/locales/en/plurals.yml +5 -5
  28. data/resources/locales/en-150/calendars.yml +18 -17
  29. data/resources/locales/en-150/currencies.yml +27 -26
  30. data/resources/locales/en-150/plurals.yml +5 -5
  31. data/resources/locales/en-150/units.yml +122 -122
  32. data/resources/locales/en-AU/calendars.yml +17 -16
  33. data/resources/locales/en-AU/currencies.yml +68 -66
  34. data/resources/locales/en-AU/plurals.yml +5 -5
  35. data/resources/locales/en-AU/units.yml +76 -76
  36. data/resources/locales/en-CA/calendars.yml +1 -1
  37. data/resources/locales/en-CA/currencies.yml +26 -25
  38. data/resources/locales/en-CA/plurals.yml +5 -5
  39. data/resources/locales/en-CA/units.yml +82 -82
  40. data/resources/locales/en-GB/calendars.yml +18 -17
  41. data/resources/locales/en-GB/currencies.yml +106 -252
  42. data/resources/locales/en-GB/plurals.yml +5 -5
  43. data/resources/locales/en-GB/units.yml +122 -122
  44. data/resources/locales/en-IE/calendars.yml +12 -11
  45. data/resources/locales/en-IE/currencies.yml +27 -26
  46. data/resources/locales/en-IE/plurals.yml +5 -5
  47. data/resources/locales/en-IE/units.yml +122 -122
  48. data/resources/locales/en-SG/calendars.yml +17 -16
  49. data/resources/locales/en-SG/currencies.yml +27 -26
  50. data/resources/locales/en-SG/plurals.yml +5 -5
  51. data/resources/locales/en-SG/units.yml +122 -122
  52. data/resources/locales/en-ZA/calendars.yml +6 -5
  53. data/resources/locales/en-ZA/currencies.yml +27 -26
  54. data/resources/locales/en-ZA/plurals.yml +5 -5
  55. data/resources/locales/en-ZA/units.yml +122 -122
  56. data/resources/locales/es/currencies.yml +32 -32
  57. data/resources/locales/es-419/currencies.yml +25 -25
  58. data/resources/locales/es-CO/calendars.yml +55 -55
  59. data/resources/locales/es-CO/currencies.yml +40 -40
  60. data/resources/locales/es-CO/fields.yml +1 -1
  61. data/resources/locales/es-CO/languages.yml +6 -6
  62. data/resources/locales/es-CO/numbers.yml +12 -12
  63. data/resources/locales/es-CO/territories.yml +3 -3
  64. data/resources/locales/es-CO/units.yml +23 -23
  65. data/resources/locales/es-MX/calendars.yml +52 -51
  66. data/resources/locales/es-MX/currencies.yml +24 -51
  67. data/resources/locales/es-MX/fields.yml +2 -2
  68. data/resources/locales/es-MX/languages.yml +5 -5
  69. data/resources/locales/es-MX/numbers.yml +9 -9
  70. data/resources/locales/es-MX/territories.yml +1 -1
  71. data/resources/locales/es-MX/units.yml +15 -15
  72. data/resources/locales/es-US/calendars.yml +61 -60
  73. data/resources/locales/es-US/currencies.yml +40 -40
  74. data/resources/locales/es-US/fields.yml +2 -2
  75. data/resources/locales/es-US/languages.yml +6 -6
  76. data/resources/locales/es-US/numbers.yml +15 -15
  77. data/resources/locales/es-US/territories.yml +3 -3
  78. data/resources/locales/es-US/units.yml +36 -36
  79. data/resources/locales/fa/currencies.yml +296 -83
  80. data/resources/locales/fa/plurals.yml +2 -2
  81. data/resources/locales/fi/currencies.yml +9 -8
  82. data/resources/locales/fi/plurals.yml +2 -2
  83. data/resources/locales/fil/currencies.yml +109 -67
  84. data/resources/locales/fil/plurals.yml +4 -4
  85. data/resources/locales/fr/currencies.yml +5 -5
  86. data/resources/locales/fr-BE/currencies.yml +5 -5
  87. data/resources/locales/fr-CA/currencies.yml +27 -27
  88. data/resources/locales/fr-CH/currencies.yml +5 -5
  89. data/resources/locales/ga/plurals.yml +3 -3
  90. data/resources/locales/gl/currencies.yml +2 -2
  91. data/resources/locales/gl/plurals.yml +2 -2
  92. data/resources/locales/gu/currencies.yml +8 -8
  93. data/resources/locales/gu/plurals.yml +2 -2
  94. data/resources/locales/he/currencies.yml +4 -4
  95. data/resources/locales/he/plurals.yml +4 -3
  96. data/resources/locales/hi/currencies.yml +18 -18
  97. data/resources/locales/hi/plurals.yml +2 -2
  98. data/resources/locales/hr/plurals.yml +7 -4
  99. data/resources/locales/hu/currencies.yml +3 -3
  100. data/resources/locales/id/currencies.yml +5 -5
  101. data/resources/locales/is/currencies.yml +11 -11
  102. data/resources/locales/is/plurals.yml +2 -2
  103. data/resources/locales/it/currencies.yml +154 -154
  104. data/resources/locales/it/plurals.yml +2 -2
  105. data/resources/locales/it-CH/currencies.yml +154 -154
  106. data/resources/locales/it-CH/plurals.yml +2 -2
  107. data/resources/locales/ja/currencies.yml +30 -30
  108. data/resources/locales/kn/currencies.yml +27 -27
  109. data/resources/locales/kn/plurals.yml +2 -2
  110. data/resources/locales/ko/currencies.yml +3 -3
  111. data/resources/locales/lv/currencies.yml +3 -3
  112. data/resources/locales/lv/plurals.yml +6 -4
  113. data/resources/locales/mr/currencies.yml +31 -31
  114. data/resources/locales/mr/plurals.yml +2 -2
  115. data/resources/locales/ms/currencies.yml +3 -3
  116. data/resources/locales/nb/currencies.yml +13 -13
  117. data/resources/locales/nl/currencies.yml +11 -11
  118. data/resources/locales/nl/plurals.yml +2 -2
  119. data/resources/locales/pl/currencies.yml +3 -1
  120. data/resources/locales/pl/plurals.yml +8 -4
  121. data/resources/locales/pt/currencies.yml +3 -3
  122. data/resources/locales/pt/plurals.yml +2 -2
  123. data/resources/locales/ro/plurals.yml +4 -3
  124. data/resources/locales/ru/currencies.yml +2 -2
  125. data/resources/locales/ru/plurals.yml +8 -4
  126. data/resources/locales/sk/currencies.yml +17 -16
  127. data/resources/locales/sk/plurals.yml +3 -3
  128. data/resources/locales/sq/currencies.yml +22 -21
  129. data/resources/locales/sq/plurals.yml +2 -2
  130. data/resources/locales/sr/currencies.yml +53 -53
  131. data/resources/locales/sr/plurals.yml +7 -4
  132. data/resources/locales/sv/currencies.yml +4 -4
  133. data/resources/locales/sv/plurals.yml +4 -4
  134. data/resources/locales/ta/currencies.yml +34 -34
  135. data/resources/locales/uk/currencies.yml +12 -9
  136. data/resources/locales/uk/plurals.yml +10 -6
  137. data/resources/locales/ur/currencies.yml +8 -8
  138. data/resources/locales/ur/plurals.yml +2 -2
  139. data/resources/locales/vi/currencies.yml +155 -155
  140. data/resources/locales/zh/currencies.yml +1 -1
  141. data/resources/locales/zh-Hant/calendars.yml +0 -4
  142. data/resources/locales/zh-Hant/currencies.yml +16 -16
  143. data/resources/locales/zh-Hant/languages.yml +0 -13
  144. data/resources/locales/zh-Hant/units.yml +1 -2
  145. data/spec/localized/localized_number_spec.rb +7 -1
  146. metadata +2 -2
@@ -2,10 +2,12 @@
2
2
  :be:
3
3
  :cardinal:
4
4
  :rule: 'lambda { |num, runtime| n = runtime.n(num); i = runtime.i(num); v = runtime.v(num);
5
- w = runtime.w(num); f = runtime.f(num); t = runtime.t(num); (((2..4).include?(n
6
- % 10) && !(12..14).include?(n % 100)) ? :few : (((n % 10 == 0 || (5..9).include?(n
7
- % 10)) || (11..14).include?(n % 100)) ? :many : ((n % 10 == 1 && n % 100 !=
8
- 11) ? :one : :other))) }'
5
+ w = runtime.w(num); f = runtime.f(num); t = runtime.t(num); ((((((n % 10).floor
6
+ == (n % 10)) && ((n % 10) >= 2) && ((n % 10) <= 4))) && (!(((n % 100).floor
7
+ == (n % 100)) && ((n % 100) >= 12) && ((n % 100) <= 14)))) ? :few : (((((n %
8
+ 10 == 0) || ((((n % 10).floor == (n % 10)) && ((n % 10) >= 5) && ((n % 10) <=
9
+ 9))))) || ((((n % 100).floor == (n % 100)) && ((n % 100) >= 11) && ((n % 100)
10
+ <= 14)))) ? :many : (((n % 10 == 1) && (n % 100 != 11)) ? :one : :other))) }'
9
11
  :names:
10
12
  - :few
11
13
  - :many
@@ -13,8 +15,8 @@
13
15
  - :other
14
16
  :ordinal:
15
17
  :rule: 'lambda { |num, runtime| n = runtime.n(num); i = runtime.i(num); v = runtime.v(num);
16
- w = runtime.w(num); f = runtime.f(num); t = runtime.t(num); ((((n % 10 == 2)
17
- || (n % 10 == 3)) && ((n % 100 != 12) && (n % 100 != 13))) ? :few : :other)
18
+ w = runtime.w(num); f = runtime.f(num); t = runtime.t(num); (((((n % 10 == 2)
19
+ || (n % 10 == 3))) && (((n % 100 != 12) && (n % 100 != 13)))) ? :few : :other)
18
20
  }'
19
21
  :names:
20
22
  - :few
@@ -653,7 +653,7 @@
653
653
  :RUB:
654
654
  :one: "руска рубла"
655
655
  :other: "руски рубли"
656
- :symbol: руб.
656
+ :symbol: RUB
657
657
  :RUR:
658
658
  :one: "руска рубла (1991–1998)"
659
659
  :other: "руски рубли (1991–1998)"
@@ -409,8 +409,8 @@
409
409
  :other: "কেম্যান দ্বীপপুঞ্জের ডলার"
410
410
  :symbol: KYD
411
411
  :KZT:
412
- :one: "কাজাক্সটান টেঙ্গে"
413
- :other: "কাজাক্সটান টেঙ্গে"
412
+ :one: "কাজাখাস্তানি টেঙ্গে"
413
+ :other: "কাজাখাস্তানি টেঙ্গে"
414
414
  :symbol: KZT
415
415
  :LAK:
416
416
  :one: "লেউশান কিপ"
@@ -704,8 +704,8 @@
704
704
  :TMM:
705
705
  :one: "তুর্কমেনিস্টানি মানাত"
706
706
  :TMT:
707
- :one: "তুর্কমেনিস্তান নতুন মানত"
708
- :other: "তুর্কমেনিস্তান নতুন মানত"
707
+ :one: "তুর্কমেনিস্তান মানত"
708
+ :other: "তুর্কমেনিস্তান মানত"
709
709
  :symbol: TMT
710
710
  :TND:
711
711
  :one: "তিউনেশিয়ান দিনার"
@@ -786,8 +786,8 @@
786
786
  :other: "সামোয়ান টালা"
787
787
  :symbol: WST
788
788
  :XAF:
789
- :one: "সিএফএ ফ্র্যাঙ্ক বিইএসি"
790
- :other: "সিএফএ ফ্র্যাঙ্ক বিইএসি"
789
+ :one: "মধ্য আফ্রিকান [CFA] ফ্র্যাঙ্ক"
790
+ :other: "মধ্য আফ্রিকান [CFA] ফ্র্যাঙ্ক"
791
791
  :symbol: FCFA
792
792
  :XAG:
793
793
  :one: সিলভার
@@ -806,8 +806,8 @@
806
806
  :XFU:
807
807
  :one: "ফরাসি ইউআইসি - ফ্রাঙ্ক"
808
808
  :XOF:
809
- :one: "সিএফএ ফ্র্যাঙ্ক বিসিইএও"
810
- :other: "সিএফএ ফ্র্যাঙ্ক বিসিইএও"
809
+ :one: "পশ্চিম আফ্রিকান [CFA] ফ্র্যাঙ্ক"
810
+ :other: "পশ্চিম আফ্রিকান [CFA] ফ্র্যাঙ্ক"
811
811
  :symbol: CFA
812
812
  :XPD:
813
813
  :one: প্যালেডিয়াম
@@ -2,8 +2,8 @@
2
2
  :bn:
3
3
  :cardinal:
4
4
  :rule: 'lambda { |num, runtime| n = runtime.n(num); i = runtime.i(num); v = runtime.v(num);
5
- w = runtime.w(num); f = runtime.f(num); t = runtime.t(num); ((i == 0 || n ==
6
- 1) ? :one : :other) }'
5
+ w = runtime.w(num); f = runtime.f(num); t = runtime.t(num); (((i == 0) || (n
6
+ == 1)) ? :one : :other) }'
7
7
  :names:
8
8
  - :one
9
9
  - :other
@@ -1,5 +1,5 @@
1
1
  ---
2
- bo:
2
+ :bo:
3
3
  :cardinal:
4
4
  :rule: lambda { |num, runtime| n = runtime.n(num); i = runtime.i(num); v = runtime.v(num);
5
5
  w = runtime.w(num); f = runtime.f(num); t = runtime.t(num); :other }
@@ -1088,7 +1088,7 @@
1088
1088
  :XOF:
1089
1089
  :one: "franc CFA BCEAO"
1090
1090
  :other: "francs CFA BCEAO"
1091
- :symbol: XOF
1091
+ :symbol: CFA
1092
1092
  :XPD:
1093
1093
  :one: pal·ladi
1094
1094
  :other: pal·ladi
@@ -2,8 +2,8 @@
2
2
  :ca:
3
3
  :cardinal:
4
4
  :rule: 'lambda { |num, runtime| n = runtime.n(num); i = runtime.i(num); v = runtime.v(num);
5
- w = runtime.w(num); f = runtime.f(num); t = runtime.t(num); ((i == 1 && v ==
6
- 0) ? :one : :other) }'
5
+ w = runtime.w(num); f = runtime.f(num); t = runtime.t(num); (((i == 1) && (v
6
+ == 0)) ? :one : :other) }'
7
7
  :names:
8
8
  - :one
9
9
  - :other
@@ -1579,11 +1579,11 @@
1579
1579
  :other: "evropských smíšených jednotek"
1580
1580
  :symbol: XBA
1581
1581
  :XBB:
1582
- :few: EMU
1583
- :many: EMU
1584
- :one: EMU
1585
- :other: EMU
1586
- :symbol: EMU
1582
+ :few: "evropské peněžní jednotky"
1583
+ :many: "evropské peněžní jednotky"
1584
+ :one: "evropská peněžní jednotka"
1585
+ :other: "evropských peněžních jednotek"
1586
+ :symbol: XBB
1587
1587
  :XBC:
1588
1588
  :few: "evropské jednotky účtu 9 (XBC)"
1589
1589
  :many: "evropské jednotky účtu 9 (XBC)"
@@ -2,9 +2,9 @@
2
2
  :cs:
3
3
  :cardinal:
4
4
  :rule: 'lambda { |num, runtime| n = runtime.n(num); i = runtime.i(num); v = runtime.v(num);
5
- w = runtime.w(num); f = runtime.f(num); t = runtime.t(num); (((2..4).include?(i)
6
- && v == 0) ? :few : (v != 0 ? :many : ((i == 1 && v == 0) ? :one : :other)))
7
- }'
5
+ w = runtime.w(num); f = runtime.f(num); t = runtime.t(num); ((((((i).floor ==
6
+ (i)) && ((i) >= 2) && ((i) <= 4))) && (v == 0)) ? :few : (v != 0 ? :many : (((i
7
+ == 1) && (v == 0)) ? :one : :other))) }'
8
8
  :names:
9
9
  - :few
10
10
  - :many