resources/locales/en-ZA/plurals.yml in twitter_cldr-3.0.10 vs resources/locales/en-ZA/plurals.yml in twitter_cldr-3.1.0

- old
+ new

@@ -1,5 +1,19 @@ --- -:en-ZA: ! '{ :''en-ZA'' => { :i18n => { :plural => { :keys => [:one, :other], :rule - => lambda { |n| n = n.respond_to?(:abs) ? n.abs : ((m = n.to_s)[0] == "-" ? m[1,m.length] - : m); (n.to_i == 1 && ((v = n.to_s.split(".")[1]) ? v.length : 0) == 0) ? :one : - :other } } } } }' +:en-ZA: + :cardinal: + :rule: 'lambda { |num, runtime| n = runtime.n(num); i = runtime.i(num); v = runtime.v(num); + w = runtime.w(num); f = runtime.f(num); t = runtime.t(num); ((i == 1 && v == + 0) ? :one : :other) }' + :names: + - :one + - :other + :ordinal: + :rule: 'lambda { |num, runtime| n = runtime.n(num); i = runtime.i(num); v = runtime.v(num); + w = runtime.w(num); f = runtime.f(num); t = runtime.t(num); ((n % 10 == 3 && + n % 100 != 13) ? :few : ((n % 10 == 1 && n % 100 != 11) ? :one : ((n % 10 == + 2 && n % 100 != 12) ? :two : :other))) }' + :names: + - :few + - :one + - :two + - :other