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
@@ -6,25 +6,26 @@
6
6
  :E: ccc
7
7
  :EHm: "E HH:mm"
8
8
  :EHms: "E HH:mm:ss"
9
- :Ed: "d E"
9
+ :Ed: "E d"
10
10
  :Ehm: "E h:mm a"
11
11
  :Ehms: "E h:mm:ss a"
12
12
  :Gy: "y G"
13
13
  :GyMMM: "MMM y G"
14
- :GyMMMEd: "E, MMM d, y G"
15
- :GyMMMd: "MMM d, y G"
14
+ :GyMMMEd: "E, d MMM y G"
15
+ :GyMMMd: "d MMM y G"
16
16
  :H: HH
17
17
  :Hm: "HH:mm"
18
18
  :Hms: "HH:mm:ss"
19
19
  :Hmsv: "HH:mm:ss v"
20
20
  :Hmv: "HH:mm v"
21
21
  :M: L
22
- :MEd: "E, M/d"
22
+ :MEd: "E, dd/MM"
23
23
  :MMM: LLL
24
- :MMMEd: "E, MMM d"
25
- :MMMMd: "MMMM d"
26
- :MMMd: "MMM d"
27
- :Md: M/d
24
+ :MMMEd: "E, d MMM"
25
+ :MMMMd: "d MMMM"
26
+ :MMMd: "d MMM"
27
+ :MMdd: dd/MM
28
+ :Md: dd/MM
28
29
  :d: d
29
30
  :h: "h a"
30
31
  :hm: "h:mm a"
@@ -34,13 +35,13 @@
34
35
  :ms: "mm:ss"
35
36
  ? !ruby/symbol "y"
36
37
  : "y"
37
- :yM: M/y
38
- :yMEd: "E, M/d/y"
38
+ :yM: MM/y
39
+ :yMEd: "E, dd/MM/y"
39
40
  :yMMM: "MMM y"
40
- :yMMMEd: "E, MMM d, y"
41
+ :yMMMEd: "E, d MMM y"
41
42
  :yMMMM: "MMMM y"
42
- :yMMMd: "MMM d, y"
43
- :yMd: M/d/y
43
+ :yMMMd: "d MMM y"
44
+ :yMd: dd/MM/y
44
45
  :yQQQ: "QQQ y"
45
46
  :yQQQQ: "QQQQ y"
46
47
  :days:
@@ -116,11 +117,11 @@
116
117
  :formats:
117
118
  :date:
118
119
  :full:
119
- :pattern: "EEEE, MMMM d, y"
120
+ :pattern: "EEEE, d MMMM y"
120
121
  :long:
121
- :pattern: "MMMM d, y"
122
+ :pattern: "d MMMM y"
122
123
  :medium:
123
- :pattern: "MMM d, y"
124
+ :pattern: "d MMM y"
124
125
  :short:
125
126
  :pattern: d/M/yy
126
127
  :datetime:
@@ -173,11 +173,11 @@
173
173
  :other: "Botswanan pulas"
174
174
  :symbol: P
175
175
  :BYB:
176
- :one: "Belarusian new ruble (1994–1999)"
177
- :other: "Belarusian new rubles (1994–1999)"
176
+ :one: "Belarusian new rouble (1994–1999)"
177
+ :other: "Belarusian new roubles (1994–1999)"
178
178
  :BYR:
179
- :one: "Belarusian ruble"
180
- :other: "Belarusian rubles"
179
+ :one: "Belarusian rouble"
180
+ :other: "Belarusian roubles"
181
181
  :symbol: р.
182
182
  :BZD:
183
183
  :one: "Belize dollar"
@@ -319,8 +319,8 @@
319
319
  :one: "French franc"
320
320
  :other: "French francs"
321
321
  :GBP:
322
- :one: "British pound sterling"
323
- :other: "British pounds sterling"
322
+ :one: "British pound"
323
+ :other: "British pounds"
324
324
  :symbol: £
325
325
  :GEK:
326
326
  :one: "Georgian kupon larit"
@@ -328,6 +328,7 @@
328
328
  :GEL:
329
329
  :one: "Georgian lari"
330
330
  :other: "Georgian laris"
331
+ :symbol: ₾
331
332
  :GHC:
332
333
  :one: "Ghanaian cedi (1979–2007)"
333
334
  :other: "Ghanaian cedis (1979–2007)"
@@ -437,7 +438,7 @@
437
438
  :JPY:
438
439
  :one: "Japanese yen"
439
440
  :other: "Japanese yen"
440
- :symbol: ¥
441
+ :symbol: JP¥
441
442
  :KES:
442
443
  :one: "Kenyan shilling"
443
444
  :other: "Kenyan shillings"
@@ -517,8 +518,8 @@
517
518
  :other: "Latvian lati"
518
519
  :symbol: Ls
519
520
  :LVR:
520
- :one: "Latvian ruble"
521
- :other: "Latvian rubles"
521
+ :one: "Latvian rouble"
522
+ :other: "Latvian roubles"
522
523
  :LYD:
523
524
  :one: "Libyan dinar"
524
525
  :other: "Libyan dinars"
@@ -538,8 +539,8 @@
538
539
  :one: "Moldovan leu"
539
540
  :other: "Moldovan lei"
540
541
  :MGA:
541
- :one: "Malagasy Ariary"
542
- :other: "Malagasy Ariaries"
542
+ :one: "Malagasy ariary"
543
+ :other: "Malagasy ariaries"
543
544
  :symbol: Ar
544
545
  :MGF:
545
546
  :one: "Malagasy franc"
@@ -584,8 +585,8 @@
584
585
  :one: "Maldivian rufiyaa"
585
586
  :other: "Maldivian rufiyaas"
586
587
  :MWK:
587
- :one: "Malawian Kwacha"
588
- :other: "Malawian Kwachas"
588
+ :one: "Malawian kwacha"
589
+ :other: "Malawian kwachas"
589
590
  :MXN:
590
591
  :one: "Mexican peso"
591
592
  :other: "Mexican pesos"
@@ -695,12 +696,12 @@
695
696
  :one: "Serbian dinar"
696
697
  :other: "Serbian dinars"
697
698
  :RUB:
698
- :one: "Russian ruble"
699
- :other: "Russian rubles"
699
+ :one: "Russian rouble"
700
+ :other: "Russian roubles"
700
701
  :symbol: ₽
701
702
  :RUR:
702
- :one: "Russian ruble (1991–1998)"
703
- :other: "Russian rubles (1991–1998)"
703
+ :one: "Russian rouble (1991–1998)"
704
+ :other: "Russian roubles (1991–1998)"
704
705
  :symbol: р.
705
706
  :RWF:
706
707
  :one: "Rwandan franc"
@@ -782,8 +783,8 @@
782
783
  :other: "Thai baht"
783
784
  :symbol: ฿
784
785
  :TJR:
785
- :one: "Tajikistani ruble"
786
- :other: "Tajikistani rubles"
786
+ :one: "Tajikistani rouble"
787
+ :other: "Tajikistani roubles"
787
788
  :TJS:
788
789
  :one: "Tajikistani somoni"
789
790
  :other: "Tajikistani somonis"
@@ -837,7 +838,7 @@
837
838
  :USD:
838
839
  :one: "US dollar"
839
840
  :other: "US dollars"
840
- :symbol: $
841
+ :symbol: US$
841
842
  :USN:
842
843
  :one: "US dollar (next day)"
843
844
  :other: "US dollars (next day)"
@@ -855,8 +856,8 @@
855
856
  :other: "Uruguayan pesos"
856
857
  :symbol: $
857
858
  :UZS:
858
- :one: "Uzbekistan som"
859
- :other: "Uzbekistan som"
859
+ :one: "Uzbekistani som"
860
+ :other: "Uzbekistani som"
860
861
  :VEB:
861
862
  :one: "Venezuelan bolívar (1871–2008)"
862
863
  :other: "Venezuelan bolívars (1871–2008)"
@@ -878,8 +879,8 @@
878
879
  :one: "Samoan tala"
879
880
  :other: "Samoan tala"
880
881
  :XAF:
881
- :one: "CFA franc BEAC"
882
- :other: "CFA francs BEAC"
882
+ :one: "Central African CFA franc"
883
+ :other: "Central African CFA francs"
883
884
  :symbol: FCFA
884
885
  :XAG:
885
886
  :one: "troy ounce of silver"
@@ -916,8 +917,8 @@
916
917
  :one: "French UIC-franc"
917
918
  :other: "French UIC-francs"
918
919
  :XOF:
919
- :one: "CFA franc BCEAO"
920
- :other: "CFA francs BCEAO"
920
+ :one: "West African CFA franc"
921
+ :other: "West African CFA francs"
921
922
  :symbol: CFA
922
923
  :XPD:
923
924
  :one: "troy ounce of palladium"
@@ -2,16 +2,16 @@
2
2
  :en-SG:
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
10
10
  :ordinal:
11
11
  :rule: 'lambda { |num, runtime| n = runtime.n(num); i = runtime.i(num); v = runtime.v(num);
12
- w = runtime.w(num); f = runtime.f(num); t = runtime.t(num); ((n % 10 == 3 &&
13
- n % 100 != 13) ? :few : ((n % 10 == 1 && n % 100 != 11) ? :one : ((n % 10 ==
14
- 2 && n % 100 != 12) ? :two : :other))) }'
12
+ w = runtime.w(num); f = runtime.f(num); t = runtime.t(num); (((n % 10 == 3)
13
+ && (n % 100 != 13)) ? :few : (((n % 10 == 1) && (n % 100 != 11)) ? :one : (((n
14
+ % 10 == 2) && (n % 100 != 12)) ? :two : :other))) }'
15
15
  :names:
16
16
  - :few
17
17
  - :one