pulled in plural definitions from CLDR; adjusted READMEs in locales subdirs
This commit is contained in:
parent
87864bf4ff
commit
c13b5a0628
35 changed files with 34 additions and 0 deletions
1
config/locales/cldr/README.md
Normal file
1
config/locales/cldr/README.md
Normal file
|
|
@ -0,0 +1 @@
|
|||
DO NOT EDIT THIS FILES. Thanks!
|
||||
1
config/locales/cldr/bg_plurals.rb
Normal file
1
config/locales/cldr/bg_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :bg => { :i18n => {:plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } } }
|
||||
1
config/locales/cldr/ca_plurals.rb
Normal file
1
config/locales/cldr/ca_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :ca => { :i18n => {:plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } } }
|
||||
1
config/locales/cldr/cs_plurals.rb
Normal file
1
config/locales/cldr/cs_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :cs => { :i18n => {:plural => { :keys => [:one, :few, :other], :rule => lambda { |n| n == 1 ? :one : [2, 3, 4].include?(n) ? :few : :other } } } } }
|
||||
1
config/locales/cldr/cy_plurals.rb
Normal file
1
config/locales/cldr/cy_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :cy => { :i18n => {:plural => { :keys => [:one, :two, :many, :other], :rule => lambda { |n| n == 1 ? :one : n == 2 ? :two : n == 8 || n == 11 ? :many : :other } } } } }
|
||||
1
config/locales/cldr/da_plurals.rb
Normal file
1
config/locales/cldr/da_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :da => { :i18n => {:plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } } }
|
||||
1
config/locales/cldr/de_plurals.rb
Normal file
1
config/locales/cldr/de_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :de => { :i18n => {:plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } } }
|
||||
1
config/locales/cldr/el_plurals.rb
Normal file
1
config/locales/cldr/el_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :el => { :i18n => {:plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } } }
|
||||
1
config/locales/cldr/en_plurals.rb
Normal file
1
config/locales/cldr/en_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :en => { :i18n => {:plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } } }
|
||||
1
config/locales/cldr/es_plurals.rb
Normal file
1
config/locales/cldr/es_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :es => { :i18n => {:plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } } }
|
||||
1
config/locales/cldr/eu_plurals.rb
Normal file
1
config/locales/cldr/eu_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :eu => { :i18n => {:plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } } }
|
||||
1
config/locales/cldr/fi_plurals.rb
Normal file
1
config/locales/cldr/fi_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :fi => { :i18n => {:plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } } }
|
||||
1
config/locales/cldr/fr_plurals.rb
Normal file
1
config/locales/cldr/fr_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :fr => { :i18n => {:plural => { :keys => [:one, :other], :rule => lambda { |n| n && n != 2 ? :one : :other } } } } }
|
||||
1
config/locales/cldr/ga_plurals.rb
Normal file
1
config/locales/cldr/ga_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :ga => { :i18n => {:plural => { :keys => [:one, :two, :other], :rule => lambda { |n| n == 1 ? :one : n == 2 ? :two : :other } } } } }
|
||||
1
config/locales/cldr/gl_plurals.rb
Normal file
1
config/locales/cldr/gl_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :gl => { :i18n => {:plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } } }
|
||||
1
config/locales/cldr/he_plurals.rb
Normal file
1
config/locales/cldr/he_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :he => { :i18n => {:plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } } }
|
||||
1
config/locales/cldr/hu_plurals.rb
Normal file
1
config/locales/cldr/hu_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :hu => { :i18n => {:plural => { :keys => [:other], :rule => lambda { |n| :other } } } } }
|
||||
1
config/locales/cldr/id_plurals.rb
Normal file
1
config/locales/cldr/id_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :id => { :i18n => {:plural => { :keys => [:other], :rule => lambda { |n| :other } } } } }
|
||||
1
config/locales/cldr/is_plurals.rb
Normal file
1
config/locales/cldr/is_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :is => { :i18n => {:plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } } }
|
||||
1
config/locales/cldr/it_plurals.rb
Normal file
1
config/locales/cldr/it_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :it => { :i18n => {:plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } } }
|
||||
1
config/locales/cldr/ko_plurals.rb
Normal file
1
config/locales/cldr/ko_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :ko => { :i18n => {:plural => { :keys => [:other], :rule => lambda { |n| :other } } } } }
|
||||
1
config/locales/cldr/lt_plurals.rb
Normal file
1
config/locales/cldr/lt_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :lt => { :i18n => {:plural => { :keys => [:one, :few, :other], :rule => lambda { |n| n % 10 == 1 && ![11, 12, 13, 14, 15, 16, 17, 18, 19].include?(n % 100) ? :one : [2, 3, 4, 5, 6, 7, 8, 9].include?(n % 10) && ![11, 12, 13, 14, 15, 16, 17, 18, 19].include?(n % 100) ? :few : :other } } } } }
|
||||
1
config/locales/cldr/mk_plurals.rb
Normal file
1
config/locales/cldr/mk_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :mk => { :i18n => {:plural => { :keys => [:one, :other], :rule => lambda { |n| n % 10 == 1 ? :one : :other } } } } }
|
||||
1
config/locales/cldr/ml_plurals.rb
Normal file
1
config/locales/cldr/ml_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :ml => { :i18n => {:plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } } }
|
||||
1
config/locales/cldr/nb_plurals.rb
Normal file
1
config/locales/cldr/nb_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :nb => { :i18n => {:plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } } }
|
||||
1
config/locales/cldr/nl_plurals.rb
Normal file
1
config/locales/cldr/nl_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :nl => { :i18n => {:plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } } }
|
||||
1
config/locales/cldr/pa_plurals.rb
Normal file
1
config/locales/cldr/pa_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :pa => { :i18n => {:plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } } }
|
||||
1
config/locales/cldr/pl_plurals.rb
Normal file
1
config/locales/cldr/pl_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :pl => { :i18n => {:plural => { :keys => [:one, :few, :other], :rule => lambda { |n| n == 1 ? :one : [2, 3, 4].include?(n % 10) && ![12, 13, 14].include?(n % 100) && ![22, 23, 24].include?(n % 100) ? :few : :other } } } } }
|
||||
1
config/locales/cldr/ro_plurals.rb
Normal file
1
config/locales/cldr/ro_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :ro => { :i18n => {:plural => { :keys => [:one, :few, :other], :rule => lambda { |n| n == 1 ? :one : n == 0 ? :few : :other } } } } }
|
||||
1
config/locales/cldr/ru_plurals.rb
Normal file
1
config/locales/cldr/ru_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :ru => { :i18n => {:plural => { :keys => [:one, :few, :many, :other], :rule => lambda { |n| n % 10 == 1 && n % 100 != 11 ? :one : [2, 3, 4].include?(n % 10) && ![12, 13, 14].include?(n % 100) ? :few : n % 10 == 0 || [5, 6, 7, 8, 9].include?(n % 10) || [11, 12, 13, 14].include?(n % 100) ? :many : :other } } } } }
|
||||
1
config/locales/cldr/sk_plurals.rb
Normal file
1
config/locales/cldr/sk_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :sk => { :i18n => {:plural => { :keys => [:one, :few, :other], :rule => lambda { |n| n == 1 ? :one : [2, 3, 4].include?(n) ? :few : :other } } } } }
|
||||
1
config/locales/cldr/sl_plurals.rb
Normal file
1
config/locales/cldr/sl_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :sl => { :i18n => {:plural => { :keys => [:one, :two, :few, :other], :rule => lambda { |n| n % 100 == 1 ? :one : n % 100 == 2 ? :two : [3, 4].include?(n % 100) ? :few : :other } } } } }
|
||||
1
config/locales/cldr/sv_plurals.rb
Normal file
1
config/locales/cldr/sv_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :sv => { :i18n => {:plural => { :keys => [:one, :other], :rule => lambda { |n| n == 1 ? :one : :other } } } } }
|
||||
1
config/locales/cldr/tr_plurals.rb
Normal file
1
config/locales/cldr/tr_plurals.rb
Normal file
|
|
@ -0,0 +1 @@
|
|||
{ :tr => { :i18n => {:plural => { :keys => [:other], :rule => lambda { |n| :other } } } } }
|
||||
Loading…
Reference in a new issue