Sha256: d6ffbab3021134a19fb51c64b96fa6432047b3f99466bdac0471f5ead27fbf7f
Contents?: true
Size: 604 Bytes
Versions: 43
Compression:
Stored size: 604 Bytes
Contents
ActiveSupport::Inflector.inflections(:es) do |inflect| inflect.plural(/$/, 's') inflect.plural(/([^aeéiou])$/i, '\1es') inflect.plural(/([aeiou]s)$/i, '\1') inflect.plural(/z$/i, 'ces') inflect.plural(/á([sn])$/i, 'a\1es') inflect.plural(/é([sn])$/i, 'e\1es') inflect.plural(/í([sn])$/i, 'i\1es') inflect.plural(/ó([sn])$/i, 'o\1es') inflect.plural(/ú([sn])$/i, 'u\1es') inflect.singular(/s$/, '') inflect.singular(/es$/, '') inflect.irregular('el', 'los') inflect.irregular('Galería de Inicio', 'Galería de Inicio') inflect.irregular('Analytics', 'Analytics') end
Version data entries
43 entries across 43 versions & 1 rubygems