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.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/lib/twitter_cldr/data_readers/number_data_reader.rb +2 -0
- data/lib/twitter_cldr/formatters/numbers/currency_formatter.rb +2 -1
- data/lib/twitter_cldr/version.rb +1 -1
- data/resources/locales/ar/currencies.yml +155 -90
- data/resources/locales/ar/plurals.yml +4 -3
- data/resources/locales/be/currencies.yml +806 -82
- data/resources/locales/be/plurals.yml +8 -6
- data/resources/locales/bg/currencies.yml +1 -1
- data/resources/locales/bn/currencies.yml +8 -8
- data/resources/locales/bn/plurals.yml +2 -2
- data/resources/locales/bo/plurals.yml +1 -1
- data/resources/locales/ca/currencies.yml +1 -1
- data/resources/locales/ca/plurals.yml +2 -2
- data/resources/locales/cs/currencies.yml +5 -5
- data/resources/locales/cs/plurals.yml +3 -3
- data/resources/locales/cy/currencies.yml +1485 -782
- data/resources/locales/da/currencies.yml +4 -4
- data/resources/locales/da/plurals.yml +2 -2
- data/resources/locales/de/currencies.yml +2 -2
- data/resources/locales/de/plurals.yml +2 -2
- data/resources/locales/de-CH/currencies.yml +3 -3
- data/resources/locales/de-CH/plurals.yml +2 -2
- data/resources/locales/el/currencies.yml +2 -2
- data/resources/locales/en/currencies.yml +13 -12
- data/resources/locales/en/plurals.yml +5 -5
- data/resources/locales/en-150/calendars.yml +18 -17
- data/resources/locales/en-150/currencies.yml +27 -26
- data/resources/locales/en-150/plurals.yml +5 -5
- data/resources/locales/en-150/units.yml +122 -122
- data/resources/locales/en-AU/calendars.yml +17 -16
- data/resources/locales/en-AU/currencies.yml +68 -66
- data/resources/locales/en-AU/plurals.yml +5 -5
- data/resources/locales/en-AU/units.yml +76 -76
- data/resources/locales/en-CA/calendars.yml +1 -1
- data/resources/locales/en-CA/currencies.yml +26 -25
- data/resources/locales/en-CA/plurals.yml +5 -5
- data/resources/locales/en-CA/units.yml +82 -82
- data/resources/locales/en-GB/calendars.yml +18 -17
- data/resources/locales/en-GB/currencies.yml +106 -252
- data/resources/locales/en-GB/plurals.yml +5 -5
- data/resources/locales/en-GB/units.yml +122 -122
- data/resources/locales/en-IE/calendars.yml +12 -11
- data/resources/locales/en-IE/currencies.yml +27 -26
- data/resources/locales/en-IE/plurals.yml +5 -5
- data/resources/locales/en-IE/units.yml +122 -122
- data/resources/locales/en-SG/calendars.yml +17 -16
- data/resources/locales/en-SG/currencies.yml +27 -26
- data/resources/locales/en-SG/plurals.yml +5 -5
- data/resources/locales/en-SG/units.yml +122 -122
- data/resources/locales/en-ZA/calendars.yml +6 -5
- data/resources/locales/en-ZA/currencies.yml +27 -26
- data/resources/locales/en-ZA/plurals.yml +5 -5
- data/resources/locales/en-ZA/units.yml +122 -122
- data/resources/locales/es/currencies.yml +32 -32
- data/resources/locales/es-419/currencies.yml +25 -25
- data/resources/locales/es-CO/calendars.yml +55 -55
- data/resources/locales/es-CO/currencies.yml +40 -40
- data/resources/locales/es-CO/fields.yml +1 -1
- data/resources/locales/es-CO/languages.yml +6 -6
- data/resources/locales/es-CO/numbers.yml +12 -12
- data/resources/locales/es-CO/territories.yml +3 -3
- data/resources/locales/es-CO/units.yml +23 -23
- data/resources/locales/es-MX/calendars.yml +52 -51
- data/resources/locales/es-MX/currencies.yml +24 -51
- data/resources/locales/es-MX/fields.yml +2 -2
- data/resources/locales/es-MX/languages.yml +5 -5
- data/resources/locales/es-MX/numbers.yml +9 -9
- data/resources/locales/es-MX/territories.yml +1 -1
- data/resources/locales/es-MX/units.yml +15 -15
- data/resources/locales/es-US/calendars.yml +61 -60
- data/resources/locales/es-US/currencies.yml +40 -40
- data/resources/locales/es-US/fields.yml +2 -2
- data/resources/locales/es-US/languages.yml +6 -6
- data/resources/locales/es-US/numbers.yml +15 -15
- data/resources/locales/es-US/territories.yml +3 -3
- data/resources/locales/es-US/units.yml +36 -36
- data/resources/locales/fa/currencies.yml +296 -83
- data/resources/locales/fa/plurals.yml +2 -2
- data/resources/locales/fi/currencies.yml +9 -8
- data/resources/locales/fi/plurals.yml +2 -2
- data/resources/locales/fil/currencies.yml +109 -67
- data/resources/locales/fil/plurals.yml +4 -4
- data/resources/locales/fr/currencies.yml +5 -5
- data/resources/locales/fr-BE/currencies.yml +5 -5
- data/resources/locales/fr-CA/currencies.yml +27 -27
- data/resources/locales/fr-CH/currencies.yml +5 -5
- data/resources/locales/ga/plurals.yml +3 -3
- data/resources/locales/gl/currencies.yml +2 -2
- data/resources/locales/gl/plurals.yml +2 -2
- data/resources/locales/gu/currencies.yml +8 -8
- data/resources/locales/gu/plurals.yml +2 -2
- data/resources/locales/he/currencies.yml +4 -4
- data/resources/locales/he/plurals.yml +4 -3
- data/resources/locales/hi/currencies.yml +18 -18
- data/resources/locales/hi/plurals.yml +2 -2
- data/resources/locales/hr/plurals.yml +7 -4
- data/resources/locales/hu/currencies.yml +3 -3
- data/resources/locales/id/currencies.yml +5 -5
- data/resources/locales/is/currencies.yml +11 -11
- data/resources/locales/is/plurals.yml +2 -2
- data/resources/locales/it/currencies.yml +154 -154
- data/resources/locales/it/plurals.yml +2 -2
- data/resources/locales/it-CH/currencies.yml +154 -154
- data/resources/locales/it-CH/plurals.yml +2 -2
- data/resources/locales/ja/currencies.yml +30 -30
- data/resources/locales/kn/currencies.yml +27 -27
- data/resources/locales/kn/plurals.yml +2 -2
- data/resources/locales/ko/currencies.yml +3 -3
- data/resources/locales/lv/currencies.yml +3 -3
- data/resources/locales/lv/plurals.yml +6 -4
- data/resources/locales/mr/currencies.yml +31 -31
- data/resources/locales/mr/plurals.yml +2 -2
- data/resources/locales/ms/currencies.yml +3 -3
- data/resources/locales/nb/currencies.yml +13 -13
- data/resources/locales/nl/currencies.yml +11 -11
- data/resources/locales/nl/plurals.yml +2 -2
- data/resources/locales/pl/currencies.yml +3 -1
- data/resources/locales/pl/plurals.yml +8 -4
- data/resources/locales/pt/currencies.yml +3 -3
- data/resources/locales/pt/plurals.yml +2 -2
- data/resources/locales/ro/plurals.yml +4 -3
- data/resources/locales/ru/currencies.yml +2 -2
- data/resources/locales/ru/plurals.yml +8 -4
- data/resources/locales/sk/currencies.yml +17 -16
- data/resources/locales/sk/plurals.yml +3 -3
- data/resources/locales/sq/currencies.yml +22 -21
- data/resources/locales/sq/plurals.yml +2 -2
- data/resources/locales/sr/currencies.yml +53 -53
- data/resources/locales/sr/plurals.yml +7 -4
- data/resources/locales/sv/currencies.yml +4 -4
- data/resources/locales/sv/plurals.yml +4 -4
- data/resources/locales/ta/currencies.yml +34 -34
- data/resources/locales/uk/currencies.yml +12 -9
- data/resources/locales/uk/plurals.yml +10 -6
- data/resources/locales/ur/currencies.yml +8 -8
- data/resources/locales/ur/plurals.yml +2 -2
- data/resources/locales/vi/currencies.yml +155 -155
- data/resources/locales/zh/currencies.yml +1 -1
- data/resources/locales/zh-Hant/calendars.yml +0 -4
- data/resources/locales/zh-Hant/currencies.yml +16 -16
- data/resources/locales/zh-Hant/languages.yml +0 -13
- data/resources/locales/zh-Hant/units.yml +1 -2
- data/spec/localized/localized_number_spec.rb +7 -1
- 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); (((
|
6
|
-
% 10) &&
|
7
|
-
%
|
8
|
-
|
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
|
@@ -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
|
@@ -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:
|
1583
|
-
:many:
|
1584
|
-
:one:
|
1585
|
-
:other:
|
1586
|
-
:symbol:
|
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); (((
|
6
|
-
&& v == 0) ? :few : (v != 0 ? :many : ((i
|
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
|