rails-i18n 7.0.5 → 7.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +57 -2
  3. data/README.md +48 -12
  4. data/lib/rails_i18n/railtie.rb +9 -4
  5. data/lib/rails_i18n.rb +10 -0
  6. data/rails/locale/bn.yml +19 -19
  7. data/rails/locale/de-AT.yml +3 -0
  8. data/rails/locale/de-CH.yml +3 -0
  9. data/rails/locale/de-DE.yml +3 -0
  10. data/rails/locale/de.yml +3 -0
  11. data/rails/locale/dz.yml +213 -0
  12. data/rails/locale/en.yml +2 -0
  13. data/rails/locale/es-419.yml +1 -0
  14. data/rails/locale/es-AR.yml +1 -0
  15. data/rails/locale/es-CL.yml +1 -0
  16. data/rails/locale/es-CO.yml +1 -0
  17. data/rails/locale/es-CR.yml +1 -0
  18. data/rails/locale/es-EC.yml +1 -0
  19. data/rails/locale/es-ES.yml +1 -0
  20. data/rails/locale/es-MX.yml +1 -0
  21. data/rails/locale/es-NI.yml +1 -0
  22. data/rails/locale/es-PA.yml +1 -0
  23. data/rails/locale/es-PE.yml +1 -0
  24. data/rails/locale/es-US.yml +1 -0
  25. data/rails/locale/es-VE.yml +1 -0
  26. data/rails/locale/es.yml +1 -0
  27. data/rails/locale/fr-CA.yml +3 -1
  28. data/rails/locale/fr-CH.yml +3 -1
  29. data/rails/locale/fr-FR.yml +3 -1
  30. data/rails/locale/fr.yml +3 -1
  31. data/rails/locale/gl.yml +1 -1
  32. data/rails/locale/ja.yml +13 -39
  33. data/rails/locale/ko.yml +27 -53
  34. data/rails/locale/lo.yml +13 -85
  35. data/rails/locale/lv.yml +11 -0
  36. data/rails/locale/sc.yml +223 -0
  37. data/rails/locale/sv-FI.yml +207 -0
  38. data/rails/locale/sv-SE.yml +4 -1
  39. data/rails/locale/sv.yml +4 -1
  40. data/rails/locale/vi.yml +13 -37
  41. data/rails/locale/zh-CN.yml +30 -30
  42. data/rails/locale/zh-HK.yml +28 -60
  43. data/rails/locale/zh-TW.yml +30 -62
  44. data/rails/locale/zh-YUE.yml +23 -55
  45. data/rails/pluralization/el-CY.rb +3 -0
  46. data/rails/pluralization/en-CY.rb +3 -0
  47. data/rails/pluralization/en-IE.rb +3 -0
  48. data/rails/pluralization/en-TT.rb +3 -0
  49. data/rails/pluralization/en-US.rb +3 -0
  50. data/rails/pluralization/en-ZA.rb +3 -0
  51. data/rails/pluralization/sc.rb +3 -0
  52. data/rails/transliteration/de.yml +1 -0
  53. metadata +12 -51
  54. data/rails/locale/cy.yml +0 -246
  55. data/rails/pluralization/ak.rb +0 -3
  56. data/rails/pluralization/am.rb +0 -3
  57. data/rails/pluralization/bh.rb +0 -3
  58. data/rails/pluralization/bm.rb +0 -3
  59. data/rails/pluralization/bo.rb +0 -3
  60. data/rails/pluralization/br.rb +0 -31
  61. data/rails/pluralization/by.rb +0 -3
  62. data/rails/pluralization/cy.rb +0 -24
  63. data/rails/pluralization/dz.rb +0 -3
  64. data/rails/pluralization/ff.rb +0 -3
  65. data/rails/pluralization/ga.rb +0 -27
  66. data/rails/pluralization/gd.rb +0 -25
  67. data/rails/pluralization/guw.rb +0 -3
  68. data/rails/pluralization/gv.rb +0 -22
  69. data/rails/pluralization/ig.rb +0 -3
  70. data/rails/pluralization/ii.rb +0 -3
  71. data/rails/pluralization/iu.rb +0 -3
  72. data/rails/pluralization/jv.rb +0 -3
  73. data/rails/pluralization/kab.rb +0 -3
  74. data/rails/pluralization/kde.rb +0 -3
  75. data/rails/pluralization/kea.rb +0 -3
  76. data/rails/pluralization/ksh.rb +0 -23
  77. data/rails/pluralization/kw.rb +0 -3
  78. data/rails/pluralization/lag.rb +0 -24
  79. data/rails/pluralization/ln.rb +0 -3
  80. data/rails/pluralization/mo.rb +0 -3
  81. data/rails/pluralization/mt.rb +0 -28
  82. data/rails/pluralization/my.rb +0 -3
  83. data/rails/pluralization/naq.rb +0 -3
  84. data/rails/pluralization/nso.rb +0 -3
  85. data/rails/pluralization/root.rb +0 -3
  86. data/rails/pluralization/sah.rb +0 -3
  87. data/rails/pluralization/se.rb +0 -3
  88. data/rails/pluralization/ses.rb +0 -3
  89. data/rails/pluralization/sg.rb +0 -3
  90. data/rails/pluralization/sh.rb +0 -3
  91. data/rails/pluralization/shi.rb +0 -3
  92. data/rails/pluralization/sma.rb +0 -3
  93. data/rails/pluralization/smi.rb +0 -3
  94. data/rails/pluralization/smj.rb +0 -3
  95. data/rails/pluralization/smn.rb +0 -3
  96. data/rails/pluralization/sms.rb +0 -3
  97. data/rails/pluralization/ti.rb +0 -3
  98. data/rails/pluralization/to.rb +0 -3
  99. data/rails/pluralization/tzm.rb +0 -21
  100. data/rails/pluralization/wa.rb +0 -3
  101. data/rails/pluralization/yo.rb +0 -3
  102. data/rails/pluralization/zh.rb +0 -3
data/rails/locale/cy.yml DELETED
@@ -1,246 +0,0 @@
1
- ---
2
- cy:
3
- activerecord:
4
- errors:
5
- messages:
6
- record_invalid: 'Gwirio wedi methu: %{errors}'
7
- date:
8
- abbr_day_names:
9
- - Sul
10
- - Llun
11
- - Maw
12
- - Mer
13
- - Iau
14
- - Gwe
15
- - Sad
16
- abbr_month_names:
17
- -
18
- - Ion
19
- - Chw
20
- - Maw
21
- - Ebr
22
- - Mai
23
- - Meh
24
- - Gor
25
- - Awst
26
- - Med
27
- - Hyd
28
- - Tach
29
- - Rha
30
- day_names:
31
- - Dydd Sul
32
- - Dydd Llun
33
- - Dydd Mawrth
34
- - Dydd Mercher
35
- - Dydd Iau
36
- - Dydd Gwener
37
- - Dydd Sadwrn
38
- formats:
39
- default: "%d-%m-%Y"
40
- long: "%d %B %Y"
41
- short: "%d %b"
42
- month_names:
43
- -
44
- - Ionawr
45
- - Chwefror
46
- - Mawrth
47
- - Ebrill
48
- - Mai
49
- - Mehefin
50
- - Gorffennaf
51
- - Awst
52
- - Medi
53
- - Hydref
54
- - Tachwedd
55
- - Rhagfyr
56
- order:
57
- - :year
58
- - :month
59
- - :day
60
- datetime:
61
- distance_in_words:
62
- about_x_hours:
63
- zero: tua %{count} awr
64
- one: tuag awr
65
- two: tua %{count} awr
66
- few: tua %{count} awr
67
- many: tua %{count} awr
68
- other: tua %{count} awr
69
- about_x_months:
70
- zero: tua %{count} mis
71
- one: tua mis
72
- two: tua %{count} mis
73
- few: tua %{count} mis
74
- many: tua %{count} mis
75
- other: tua %{count} mis
76
- about_x_years:
77
- zero: tua %{count} blynedd
78
- one: tua blwyddyn
79
- two: tua %{count} blynedd
80
- few: tua %{count} blynedd
81
- many: tua %{count} blynedd
82
- other: tua %{count} blynedd
83
- almost_x_years:
84
- zero: bron yn %{count} blynedd
85
- one: bron yn flwyddyn
86
- two: bron yn %{count} blynedd
87
- few: bron yn %{count} blynedd
88
- many: bron yn %{count} blynedd
89
- other: bron yn %{count} blynedd
90
- half_a_minute: hanner munud
91
- less_than_x_seconds:
92
- zero: llai na %{count} eiliad
93
- one: llai nag eiliad
94
- two: llai na %{count} eiliad
95
- few: llai na %{count} eiliad
96
- many: llai na %{count} eiliad
97
- other: llai na %{count} eiliad
98
- less_than_x_minutes:
99
- zero: llai na %{count} munud
100
- one: llai na munud
101
- two: llai na %{count} munud
102
- few: llai na %{count} munud
103
- many: llai na %{count} munud
104
- other: llai na %{count} munud
105
- over_x_years:
106
- zero: dros %{count} blynedd
107
- one: dros flwyddyn
108
- two: dros %{count} blynedd
109
- few: dros %{count} blynedd
110
- many: dros %{count} blynedd
111
- other: dros %{count} blynedd
112
- x_seconds:
113
- zero: "%{count} o eiliadau"
114
- one: 1 eiliad
115
- two: "%{count} o eiliadau"
116
- few: "%{count} o eiliadau"
117
- many: "%{count} o eiliadau"
118
- other: "%{count} o eiliadau"
119
- x_minutes:
120
- zero: "%{count} o funudau"
121
- one: 1 munud
122
- two: "%{count} o funudau"
123
- few: "%{count} o funudau"
124
- many: "%{count} o funudau"
125
- other: "%{count} o funudau"
126
- x_days:
127
- zero: "%{count} diwrnod"
128
- one: 1 diwrnod
129
- two: "%{count} diwrnod"
130
- few: "%{count} diwrnod"
131
- many: "%{count} diwrnod"
132
- other: "%{count} diwrnod"
133
- x_months:
134
- zero: "%{count} mis"
135
- one: 1 mis
136
- two: "%{count} mis"
137
- few: "%{count} mis"
138
- many: "%{count} mis"
139
- other: "%{count} mis"
140
- prompts:
141
- second: Eiliad
142
- minute: Munud
143
- hour: Awr
144
- day: Diwrnod
145
- month: Mis
146
- year: Blwyddyn
147
- errors:
148
- format: "%{attribute} %{message}"
149
- messages:
150
- accepted: angen ei dderbyn
151
- blank: methu bod yn wag
152
- confirmation: heb fod yn gyfateb
153
- empty: methu bod yn wag
154
- equal_to: angen bod yn %{count}
155
- even: rhaid bod yn eilrif
156
- exclusion: wedi cadw
157
- greater_than: angen bod yn fwy na %{count}
158
- greater_than_or_equal_to: angen bod yr un maint neu fwy na %{count}
159
- inclusion: heb fod yn y rhestr
160
- invalid: heb fod yn nheilwng
161
- less_than: angen bod yn llai na %{count}
162
- less_than_or_equal_to: angen bod yr un maint neu lai na %{count}
163
- not_a_number: heb fod yn rhif
164
- not_an_integer: heb fod yn rhif llawn
165
- odd: rhaid bod yn odrif
166
- taken: wedi'i gymryd yn barod
167
- too_long: yn rhy hir (cewch %{count} llythyren ar y fwyaf)
168
- too_short: yn rhy fyr (rhaid am o leiaf %{count} llythyren)
169
- wrong_length: gyda maint anghywir o lythrennau (dylai fod yn %{count} llythyren)
170
- template:
171
- body: 'Cafwyd broblemau gyda''r meysydd canlynol:'
172
- header:
173
- one: Atalwyd y %{model} hwn rhag ei gadw gan 1 nam
174
- two: Atalwyd y %{model} hwn rhag ei gadw gan %{count} nam
175
- many: Atalwyd y %{model} hwn rhag ei gadw gan %{count} nam
176
- other: Atalwyd y %{model} hwn rhag ei gadw gan %{count} nam
177
- helpers:
178
- select:
179
- prompt: Dewiswch
180
- submit:
181
- create: Creu %{model}
182
- submit: Cadw %{model}
183
- update: Diweddaru %{model}
184
- number:
185
- currency:
186
- format:
187
- delimiter: ","
188
- format: "%u%n"
189
- precision: 2
190
- separator: "."
191
- significant: false
192
- strip_insignificant_zeros: false
193
- unit: "£"
194
- format:
195
- delimiter: ","
196
- precision: 3
197
- separator: "."
198
- significant: false
199
- strip_insignificant_zeros: false
200
- human:
201
- decimal_units:
202
- format: "%n %u"
203
- units:
204
- billion: Biliwn
205
- million: Miliwn
206
- quadrillion: Cwadriliwn
207
- thousand: Mil
208
- trillion: Triliwn
209
- unit: ''
210
- format:
211
- delimiter: ''
212
- precision: 3
213
- significant: true
214
- strip_insignificant_zeros: true
215
- storage_units:
216
- format: "%n %u"
217
- units:
218
- byte:
219
- zero: Bytes
220
- one: Byte
221
- two: Bytes
222
- few: Bytes
223
- many: Bytes
224
- other: Bytes
225
- gb: GB
226
- kb: KB
227
- mb: MB
228
- tb: TB
229
- percentage:
230
- format:
231
- delimiter: ''
232
- precision:
233
- format:
234
- delimiter: ''
235
- support:
236
- array:
237
- last_word_connector: ", a "
238
- two_words_connector: " a "
239
- words_connector: ", "
240
- time:
241
- am: yb
242
- formats:
243
- default: "%a, %d %b %Y %H:%M:%S %z"
244
- long: "%d %B %Y %H:%M"
245
- short: "%d %b %H:%M"
246
- pm: yh
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/one_with_zero_other'
2
-
3
- ::RailsI18n::Pluralization::OneWithZeroOther.with_locale(:ak)
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/one_with_zero_other'
2
-
3
- ::RailsI18n::Pluralization::OneWithZeroOther.with_locale(:am)
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/one_with_zero_other'
2
-
3
- ::RailsI18n::Pluralization::OneWithZeroOther.with_locale(:bh)
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/other'
2
-
3
- ::RailsI18n::Pluralization::Other.with_locale(:bm)
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/other'
2
-
3
- ::RailsI18n::Pluralization::Other.with_locale(:bo)
@@ -1,31 +0,0 @@
1
- module RailsI18n
2
- module Pluralization
3
- module Breton
4
- def self.rule
5
- lambda do |n|
6
- n ||= 0
7
- mod10 = n % 10
8
- mod100 = n % 100
9
-
10
- if mod10 == 1 && ![11,71,91].include?(mod100)
11
- :one
12
- elsif mod10 == 2 && ![12,72,92].include?(mod100)
13
- :two
14
- elsif [3,4,9].include?(mod10) && !((10..19).to_a + (70..79).to_a + (90..99).to_a).include?(mod100)
15
- :few
16
- elsif n % 1000000 == 0 && n != 0
17
- :many
18
- else
19
- :other
20
- end
21
- end
22
- end
23
- end
24
- end
25
- end
26
-
27
- { :br => {
28
- :'i18n' => {
29
- :plural => {
30
- :keys => [:one, :two, :few, :many, :other],
31
- :rule => RailsI18n::Pluralization::Breton.rule }}}}
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/east_slavic'
2
-
3
- ::RailsI18n::Pluralization::EastSlavic.with_locale(:by)
@@ -1,24 +0,0 @@
1
- module RailsI18n
2
- module Pluralization
3
- module Welsh
4
- def self.rule
5
- lambda do |n|
6
- case n
7
- when 0 then :zero
8
- when 1 then :one
9
- when 2 then :two
10
- when 3 then :few
11
- when 6 then :many
12
- else :other
13
- end
14
- end
15
- end
16
- end
17
- end
18
- end
19
-
20
- { :cy => {
21
- :'i18n' => {
22
- :plural => {
23
- :keys => [:zero, :one, :two, :few, :many, :other],
24
- :rule => RailsI18n::Pluralization::Welsh.rule }}}}
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/other'
2
-
3
- ::RailsI18n::Pluralization::Other.with_locale(:dz)
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/one_upto_two_other'
2
-
3
- ::RailsI18n::Pluralization::OneUptoTwoOther.with_locale(:ff)
@@ -1,27 +0,0 @@
1
- module RailsI18n
2
- module Pluralization
3
- module Irish
4
- def self.rule
5
- lambda do |n|
6
- if n == 1
7
- :one
8
- elsif n == 2
9
- :two
10
- elsif (3..6).to_a.include?(n)
11
- :few
12
- elsif (7..10).to_a.include?(n)
13
- :many
14
- else
15
- :other
16
- end
17
- end
18
- end
19
- end
20
- end
21
- end
22
-
23
- { :ga => {
24
- :'i18n' => {
25
- :plural => {
26
- :keys => [:one, :two, :few, :many, :other],
27
- :rule => RailsI18n::Pluralization::Irish.rule }}}}
@@ -1,25 +0,0 @@
1
- module RailsI18n
2
- module Pluralization
3
- module ScottishGaelic
4
- def self.rule
5
- lambda do |n|
6
- if n == 1 || n == 11
7
- :one
8
- elsif n == 2 || n == 12
9
- :two
10
- elsif ((3..10).to_a + (13..19).to_a).include?(n)
11
- :few
12
- else
13
- :other
14
- end
15
- end
16
- end
17
- end
18
- end
19
- end
20
-
21
- { :gd => {
22
- :'i18n' => {
23
- :plural => {
24
- :keys => [:one, :two, :few, :other],
25
- :rule => RailsI18n::Pluralization::ScottishGaelic.rule }}}}
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/one_with_zero_other'
2
-
3
- ::RailsI18n::Pluralization::OneWithZeroOther.with_locale(:guw)
@@ -1,22 +0,0 @@
1
- module RailsI18n
2
- module Pluralization
3
- module Manx
4
- def self.rule
5
- lambda do |n|
6
- n ||= 0
7
- if [1, 2].include?(n % 10) || n % 20 == 0
8
- :one
9
- else
10
- :other
11
- end
12
- end
13
- end
14
- end
15
- end
16
- end
17
-
18
- { :gv => {
19
- :'i18n' => {
20
- :plural => {
21
- :keys => [:one, :other],
22
- :rule => RailsI18n::Pluralization::Manx.rule }}}}
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/other'
2
-
3
- ::RailsI18n::Pluralization::Other.with_locale(:ig)
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/other'
2
-
3
- ::RailsI18n::Pluralization::Other.with_locale(:ii)
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/one_two_other'
2
-
3
- ::RailsI18n::Pluralization::OneTwoOther.with_locale(:iu)
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/other'
2
-
3
- ::RailsI18n::Pluralization::Other.with_locale(:jv)
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/one_upto_two_other'
2
-
3
- ::RailsI18n::Pluralization::OneUptoTwoOther.with_locale(:kab)
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/other'
2
-
3
- ::RailsI18n::Pluralization::Other.with_locale(:kde)
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/other'
2
-
3
- ::RailsI18n::Pluralization::Other.with_locale(:kea)
@@ -1,23 +0,0 @@
1
- module RailsI18n
2
- module Pluralization
3
- module Colognian
4
- def self.rule
5
- lambda do |n|
6
- if n == 0
7
- :zero
8
- elsif n == 1
9
- :one
10
- else
11
- :other
12
- end
13
- end
14
- end
15
- end
16
- end
17
- end
18
-
19
- { :ksh => {
20
- :'i18n' => {
21
- :plural => {
22
- :keys => [:zero, :one, :other],
23
- :rule => RailsI18n::Pluralization::Colognian.rule }}}}
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/one_two_other'
2
-
3
- ::RailsI18n::Pluralization::OneTwoOther.with_locale(:kw)
@@ -1,24 +0,0 @@
1
- module RailsI18n
2
- module Pluralization
3
- module Langi
4
- def self.rule
5
- lambda do |n|
6
- n ||= 0
7
- if n == 0
8
- :zero
9
- elsif n > 0 && n < 2
10
- :one
11
- else
12
- :other
13
- end
14
- end
15
- end
16
- end
17
- end
18
- end
19
-
20
- { :lag => {
21
- :'i18n' => {
22
- :plural => {
23
- :keys => [:zero, :one, :other],
24
- :rule => RailsI18n::Pluralization::Langi.rule }}}}
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/one_with_zero_other'
2
-
3
- ::RailsI18n::Pluralization::OneWithZeroOther.with_locale(:ln)
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/romanian'
2
-
3
- ::RailsI18n::Pluralization::Romanian.with_locale(:mo)
@@ -1,28 +0,0 @@
1
- module RailsI18n
2
- module Pluralization
3
- module Maltese
4
- def self.rule
5
- lambda do |n|
6
- n ||= 0
7
- mod100 = n % 100
8
-
9
- if n == 1
10
- :one
11
- elsif n == 0 || (2..10).to_a.include?(mod100)
12
- :few
13
- elsif (11..19).to_a.include?(mod100)
14
- :many
15
- else
16
- :other
17
- end
18
- end
19
- end
20
- end
21
- end
22
- end
23
-
24
- { :mt => {
25
- :'i18n' => {
26
- :plural => {
27
- :keys => [:one, :few, :many, :other],
28
- :rule => RailsI18n::Pluralization::Maltese.rule }}}}
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/other'
2
-
3
- ::RailsI18n::Pluralization::Other.with_locale(:my)
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/one_two_other'
2
-
3
- ::RailsI18n::Pluralization::OneTwoOther.with_locale(:naq)
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/one_with_zero_other'
2
-
3
- ::RailsI18n::Pluralization::OneWithZeroOther.with_locale(:nso)
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/other'
2
-
3
- ::RailsI18n::Pluralization::Other.with_locale(:root)
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/other'
2
-
3
- ::RailsI18n::Pluralization::Other.with_locale(:sah)
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/one_two_other'
2
-
3
- ::RailsI18n::Pluralization::OneTwoOther.with_locale(:se)
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/other'
2
-
3
- ::RailsI18n::Pluralization::Other.with_locale(:ses)
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/other'
2
-
3
- ::RailsI18n::Pluralization::Other.with_locale(:sg)
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/one_few_other'
2
-
3
- ::RailsI18n::Pluralization::OneFewOther.with_locale(:sh)
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/one_with_zero_other'
2
-
3
- ::RailsI18n::Pluralization::OneWithZeroOther.with_locale(:shi)
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/one_two_other'
2
-
3
- ::RailsI18n::Pluralization::OneTwoOther.with_locale(:sma)
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/one_two_other'
2
-
3
- ::RailsI18n::Pluralization::OneTwoOther.with_locale(:smi)
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/one_two_other'
2
-
3
- ::RailsI18n::Pluralization::OneTwoOther.with_locale(:smj)
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/one_two_other'
2
-
3
- ::RailsI18n::Pluralization::OneTwoOther.with_locale(:smn)
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/one_two_other'
2
-
3
- ::RailsI18n::Pluralization::OneTwoOther.with_locale(:sms)
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/one_with_zero_other'
2
-
3
- ::RailsI18n::Pluralization::OneWithZeroOther.with_locale(:ti)
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/other'
2
-
3
- ::RailsI18n::Pluralization::Other.with_locale(:to)
@@ -1,21 +0,0 @@
1
- module RailsI18n
2
- module Pluralization
3
- module CentralMoroccoTamazight
4
- def self.rule
5
- lambda do |n|
6
- if ([0, 1] + (11..99).to_a).include?(n)
7
- :one
8
- else
9
- :other
10
- end
11
- end
12
- end
13
- end
14
- end
15
- end
16
-
17
- { :tzm => {
18
- :'i18n' => {
19
- :plural => {
20
- :keys => [:one, :other],
21
- :rule => RailsI18n::Pluralization::CentralMoroccoTamazight.rule }}}}
@@ -1,3 +0,0 @@
1
- require 'rails_i18n/common_pluralizations/one_with_zero_other'
2
-
3
- ::RailsI18n::Pluralization::OneWithZeroOther.with_locale(:wa)