rails/pluralization/gd.rb in rails-i18n-7.0.9 vs rails/pluralization/gd.rb in rails-i18n-7.0.10
- old
+ new
@@ -1,27 +1,5 @@
-module RailsI18n
- module Pluralization
- module ScottishGaelic
- def self.rule
- lambda do |n|
- return :other unless n.is_a?(Numeric)
-
- floorn = n.floor
-
- if floorn == 1 || floorn == 11
- :one
- elsif floorn == 2 || floorn == 12
- :two
- elsif (3..19).member?(floorn)
- :few
- else
- :other
- end
- end
- end
- end
- end
-end
+require 'rails_i18n/pluralization'
{ :gd => {
:'i18n' => {
:plural => {
:keys => [:one, :two, :few, :other],