resources/locales/sq/plurals.yml in twitter_cldr-3.0.10 vs resources/locales/sq/plurals.yml in twitter_cldr-3.1.0
- old
+ new
@@ -1,4 +1,17 @@
---
-:sq: ! '{ :''sq'' => { :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_f == 1 ? :one : :other } } } } }'
+:sq:
+ :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); (n == 1 ? :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 == 4 &&
+ n % 100 != 14) ? :many : (n == 1 ? :one : :other)) }'
+ :names:
+ - :many
+ - :one
+ - :other