rails-i18n 7.0.1 → 7.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +43 -1
- data/lib/rails_i18n/common_pluralizations/serbian.rb +32 -0
- data/rails/locale/af.yml +3 -3
- data/rails/locale/ar.yml +2 -2
- data/rails/locale/cy.yml +3 -3
- data/rails/locale/da.yml +16 -8
- data/rails/locale/en-CA.yml +1 -1
- data/rails/locale/en-IN.yml +3 -3
- data/rails/locale/en-TT.yml +3 -3
- data/rails/locale/en-ZA.yml +3 -3
- data/rails/locale/en.yml +3 -3
- data/rails/locale/es-CL.yml +1 -1
- data/rails/locale/es-ES.yml +1 -1
- data/rails/locale/es.yml +1 -1
- data/rails/locale/fi.yml +1 -1
- data/rails/locale/fr.yml +1 -1
- data/rails/locale/gl.yml +4 -4
- data/rails/locale/hi-IN.yml +3 -3
- data/rails/locale/hi.yml +3 -3
- data/rails/locale/hr.yml +1 -1
- data/rails/locale/kn.yml +3 -3
- data/rails/locale/lt.yml +1 -1
- data/rails/locale/mk.yml +2 -2
- data/rails/locale/ml.yml +2 -2
- data/rails/locale/mr-IN.yml +3 -3
- data/rails/locale/ne.yml +3 -3
- data/rails/locale/pa.yml +3 -3
- data/rails/locale/pap-AW.yml +6 -6
- data/rails/locale/pap-CW.yml +6 -6
- data/rails/locale/sr.yml +2 -2
- data/rails/locale/st.yml +3 -3
- data/rails/locale/sv.yml +2 -2
- data/rails/locale/ta.yml +3 -3
- data/rails/locale/te.yml +3 -3
- data/rails/locale/ur.yml +2 -2
- data/rails/locale/wo.yml +3 -3
- data/rails/locale/zh-TW.yml +1 -1
- data/rails/ordinals/fr-CA.rb +19 -0
- data/rails/ordinals/fr-CH.rb +19 -0
- data/rails/ordinals/fr-FR.rb +19 -0
- data/rails/ordinals/fr.rb +19 -0
- data/rails/pluralization/sr.rb +2 -29
- data/rails/pluralization/ta.rb +3 -0
- data/rails/pluralization/tr.rb +1 -1
- metadata +11 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 734f31dff6b40961b95b90d211ce9184d9628586030eaa74c10281799751428b
|
4
|
+
data.tar.gz: 28f3184814163a9bcc057b7a312aeb425bda0534cef5ad85b968e43760d41af4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c90ef6bd2aec15bca7967cbd7b79dd149e43690321febaf549e1eb7107fb8843ee8cfe25655418e251fc45f5b372898ef1cb4691eb6cfdd250f2f5e0ad61c1c9
|
7
|
+
data.tar.gz: f3d949f10171bdc2ee55d2d82a5185f65698a6396193d858f75e8b94e139dc6c74f989ffb4fac8d25f9346ad7495867f546b98699cb300dbf6ce51ae5edeb625
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,46 @@
|
|
1
|
-
##
|
1
|
+
## unreleased
|
2
|
+
|
3
|
+
## 7.0.1 (2021-12-24)
|
4
|
+
|
5
|
+
- Fix ordinals loading.
|
6
|
+
|
7
|
+
## 7.0.0 (2021-12-23)
|
8
|
+
|
9
|
+
- Support Rails 7
|
10
|
+
- Drop support for Ruby 1.8
|
11
|
+
- Eager load translations during boot phase if possible.
|
12
|
+
- Translate ordinals (fr, fr-FR, fr-CA, fr-BE)
|
13
|
+
- Update following locales:
|
14
|
+
- Albanian (sq)
|
15
|
+
- Catalan (ca)
|
16
|
+
- Chinese (zh-CN, zh-TW)
|
17
|
+
- Croatian (hr)
|
18
|
+
- Danish (da)
|
19
|
+
- Finnish (fi)
|
20
|
+
- French (fr, fr-FR, fr-CA, fr-BE)
|
21
|
+
- Georgian (ka)
|
22
|
+
- German (de)
|
23
|
+
- Greek (el, el-CY)
|
24
|
+
- Italian (it, it-CH)
|
25
|
+
- Latvian (lv)
|
26
|
+
- Lithuanian (lt)
|
27
|
+
- Norwegian (nb)
|
28
|
+
- Polish (pl)
|
29
|
+
- Portuguese (pt-BR)
|
30
|
+
- Romanian (ro)
|
31
|
+
- Serbian (sr)
|
32
|
+
- Spanish (es-CO, es-AR)
|
33
|
+
- Swedish (sv)
|
34
|
+
- Turkish (tr)
|
35
|
+
- Ukrainian (uk)
|
36
|
+
- Vietnamese (vi)
|
37
|
+
- Add following locales:
|
38
|
+
- English Trinidad & Tobago (en-TT)
|
39
|
+
- Papiamento (pap-AW, pap-CW)
|
40
|
+
- Sesotho (st)
|
41
|
+
|
42
|
+
## 6.0.0 (2019-08-17)
|
43
|
+
|
2
44
|
- Update rails-i18n.gemspec to use Railties 6.0.0
|
3
45
|
- Add Malagasy (mg) locale
|
4
46
|
- Update following locales:
|
@@ -0,0 +1,32 @@
|
|
1
|
+
module RailsI18n
|
2
|
+
module Pluralization
|
3
|
+
module Serbian
|
4
|
+
FROM_2_TO_4 = (2..4).to_a.freeze
|
5
|
+
FROM_12_TO_14 = (12..14).to_a.freeze
|
6
|
+
|
7
|
+
def self.rule
|
8
|
+
lambda do |n|
|
9
|
+
n ||= 0
|
10
|
+
mod10 = n % 10
|
11
|
+
mod100 = n % 100
|
12
|
+
|
13
|
+
if mod10 == 1 && mod100 != 11
|
14
|
+
:one
|
15
|
+
elsif FROM_2_TO_4.include?(mod10) && !FROM_12_TO_14.include?(mod100)
|
16
|
+
:few
|
17
|
+
else
|
18
|
+
:other
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
def self.with_locale(locale)
|
24
|
+
{ locale => {
|
25
|
+
:i18n => {
|
26
|
+
:plural => {
|
27
|
+
:keys => [:one, :few, :other],
|
28
|
+
:rule => rule }}}}
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
data/rails/locale/af.yml
CHANGED
@@ -40,8 +40,8 @@ af:
|
|
40
40
|
- Saterdag
|
41
41
|
formats:
|
42
42
|
default: "%Y-%m-%d"
|
43
|
-
long: "%
|
44
|
-
short: "%
|
43
|
+
long: "%d %B %Y"
|
44
|
+
short: "%d %b"
|
45
45
|
month_names:
|
46
46
|
-
|
47
47
|
- Januarie
|
@@ -208,6 +208,6 @@ af:
|
|
208
208
|
am: vm
|
209
209
|
formats:
|
210
210
|
default: "%a, %d %b %Y %H:%M:%S %z"
|
211
|
-
long: "%
|
211
|
+
long: "%d %B %Y %H:%M"
|
212
212
|
short: "%d %b %H:%M"
|
213
213
|
pm: nm
|
data/rails/locale/ar.yml
CHANGED
data/rails/locale/cy.yml
CHANGED
@@ -37,8 +37,8 @@ cy:
|
|
37
37
|
- Dydd Sadwrn
|
38
38
|
formats:
|
39
39
|
default: "%d-%m-%Y"
|
40
|
-
long: "%
|
41
|
-
short: "%
|
40
|
+
long: "%d %B %Y"
|
41
|
+
short: "%d %b"
|
42
42
|
month_names:
|
43
43
|
-
|
44
44
|
- Ionawr
|
@@ -241,6 +241,6 @@ cy:
|
|
241
241
|
am: yb
|
242
242
|
formats:
|
243
243
|
default: "%a, %d %b %Y %H:%M:%S %z"
|
244
|
-
long: "%
|
244
|
+
long: "%d %B %Y %H:%M"
|
245
245
|
short: "%d %b %H:%M"
|
246
246
|
pm: yh
|
data/rails/locale/da.yml
CHANGED
@@ -111,24 +111,24 @@ da:
|
|
111
111
|
messages:
|
112
112
|
accepted: skal accepteres
|
113
113
|
blank: skal udfyldes
|
114
|
-
confirmation: stemmer ikke overens med
|
114
|
+
confirmation: stemmer ikke overens med %{attribute}
|
115
115
|
empty: må ikke udelades
|
116
116
|
equal_to: skal være %{count}
|
117
117
|
even: skal være et lige tal
|
118
118
|
exclusion: er reserveret
|
119
119
|
greater_than: skal være større end %{count}
|
120
|
-
greater_than_or_equal_to: skal være større end
|
120
|
+
greater_than_or_equal_to: skal være større end eller lig med %{count}
|
121
121
|
inclusion: er ikke på listen
|
122
122
|
invalid: er ikke gyldig
|
123
123
|
less_than: skal være mindre end %{count}
|
124
|
-
less_than_or_equal_to: skal være mindre end
|
124
|
+
less_than_or_equal_to: skal være mindre end eller lig med %{count}
|
125
125
|
model_invalid: 'Godkendelse gik galt: %{errors}'
|
126
126
|
not_a_number: er ikke et tal
|
127
127
|
not_an_integer: er ikke et heltal
|
128
128
|
odd: skal være et ulige tal
|
129
129
|
other_than: skal være forskellig fra %{count}
|
130
130
|
present: skal være tom
|
131
|
-
required: skal
|
131
|
+
required: skal udfyldes
|
132
132
|
taken: er allerede brugt
|
133
133
|
too_long:
|
134
134
|
one: er for lang (højst 1 tegn)
|
@@ -171,11 +171,19 @@ da:
|
|
171
171
|
decimal_units:
|
172
172
|
format: "%n %u"
|
173
173
|
units:
|
174
|
-
billion:
|
175
|
-
|
176
|
-
|
174
|
+
billion:
|
175
|
+
one: Milliard
|
176
|
+
other: Milliarder
|
177
|
+
million:
|
178
|
+
one: Million
|
179
|
+
other: Millioner
|
180
|
+
quadrillion:
|
181
|
+
one: Billiard
|
182
|
+
other: Billiarder
|
177
183
|
thousand: Tusind
|
178
|
-
trillion:
|
184
|
+
trillion:
|
185
|
+
one: Billion
|
186
|
+
other: Billioner
|
179
187
|
unit: ''
|
180
188
|
format:
|
181
189
|
delimiter: ''
|
data/rails/locale/en-CA.yml
CHANGED
data/rails/locale/en-IN.yml
CHANGED
@@ -40,8 +40,8 @@ en-IN:
|
|
40
40
|
- Saturday
|
41
41
|
formats:
|
42
42
|
default: "%d-%m-%Y"
|
43
|
-
long: "%
|
44
|
-
short: "%
|
43
|
+
long: "%d %B %Y"
|
44
|
+
short: "%d %b"
|
45
45
|
month_names:
|
46
46
|
-
|
47
47
|
- January
|
@@ -210,6 +210,6 @@ en-IN:
|
|
210
210
|
am: am
|
211
211
|
formats:
|
212
212
|
default: "%a, %d %b %Y %H:%M:%S %z"
|
213
|
-
long: "%
|
213
|
+
long: "%d %B %Y %H:%M"
|
214
214
|
short: "%d %b %H:%M"
|
215
215
|
pm: pm
|
data/rails/locale/en-TT.yml
CHANGED
@@ -40,8 +40,8 @@ en-TT:
|
|
40
40
|
- Saturday
|
41
41
|
formats:
|
42
42
|
default: "%Y-%m-%d"
|
43
|
-
long: "%
|
44
|
-
short: "%
|
43
|
+
long: "%d %B %Y"
|
44
|
+
short: "%d %b"
|
45
45
|
month_names:
|
46
46
|
-
|
47
47
|
- January
|
@@ -208,6 +208,6 @@ en-TT:
|
|
208
208
|
am: am
|
209
209
|
formats:
|
210
210
|
default: "%a, %d %b %Y %H:%M:%S %z"
|
211
|
-
long: "%
|
211
|
+
long: "%d %B %Y %H:%M"
|
212
212
|
short: "%d %b %H:%M"
|
213
213
|
pm: pm
|
data/rails/locale/en-ZA.yml
CHANGED
@@ -40,8 +40,8 @@ en-ZA:
|
|
40
40
|
- Saturday
|
41
41
|
formats:
|
42
42
|
default: "%Y-%m-%d"
|
43
|
-
long: "%
|
44
|
-
short: "%
|
43
|
+
long: "%d %B %Y"
|
44
|
+
short: "%d %b"
|
45
45
|
month_names:
|
46
46
|
-
|
47
47
|
- January
|
@@ -210,6 +210,6 @@ en-ZA:
|
|
210
210
|
am: am
|
211
211
|
formats:
|
212
212
|
default: "%a, %d %b %Y %H:%M:%S %z"
|
213
|
-
long: "%
|
213
|
+
long: "%d %B %Y %H:%M"
|
214
214
|
short: "%d %b %H:%M"
|
215
215
|
pm: pm
|
data/rails/locale/en.yml
CHANGED
@@ -40,8 +40,8 @@ en:
|
|
40
40
|
- Saturday
|
41
41
|
formats:
|
42
42
|
default: "%Y-%m-%d"
|
43
|
-
long: "%
|
44
|
-
short: "%
|
43
|
+
long: "%d %B %Y"
|
44
|
+
short: "%d %b"
|
45
45
|
month_names:
|
46
46
|
-
|
47
47
|
- January
|
@@ -210,6 +210,6 @@ en:
|
|
210
210
|
am: am
|
211
211
|
formats:
|
212
212
|
default: "%a, %d %b %Y %H:%M:%S %z"
|
213
|
-
long: "%
|
213
|
+
long: "%d %B %Y %H:%M"
|
214
214
|
short: "%d %b %H:%M"
|
215
215
|
pm: pm
|
data/rails/locale/es-CL.yml
CHANGED
data/rails/locale/es-ES.yml
CHANGED
data/rails/locale/es.yml
CHANGED
data/rails/locale/fi.yml
CHANGED
data/rails/locale/fr.yml
CHANGED
@@ -133,7 +133,7 @@ fr:
|
|
133
133
|
other_than: doit être différent de %{count}
|
134
134
|
present: doit être vide
|
135
135
|
required: doit exister
|
136
|
-
taken:
|
136
|
+
taken: est déjà utilisé(e)
|
137
137
|
too_long:
|
138
138
|
one: est trop long (pas plus d'un caractère)
|
139
139
|
other: est trop long (pas plus de %{count} caractères)
|
data/rails/locale/gl.yml
CHANGED
@@ -93,9 +93,9 @@ gl:
|
|
93
93
|
format: "%{attribute} %{message}"
|
94
94
|
messages:
|
95
95
|
accepted: debe ser aceptado
|
96
|
-
blank: non pode estar en
|
96
|
+
blank: non pode estar en branco
|
97
97
|
confirmation: non coincide coa confirmación
|
98
|
-
empty: non pode estar
|
98
|
+
empty: non pode estar baleiro
|
99
99
|
equal_to: debe ser igual a %{count}
|
100
100
|
even: debe ser impar
|
101
101
|
exclusion: xa existe
|
@@ -114,8 +114,8 @@ gl:
|
|
114
114
|
template:
|
115
115
|
body: 'Atopáronse os seguintes problemas:'
|
116
116
|
header:
|
117
|
-
one: 1 erro evitou que se
|
118
|
-
other: "%{count} erros evitaron que se
|
117
|
+
one: 1 erro evitou que se puidese gardar o %{model}
|
118
|
+
other: "%{count} erros evitaron que se puidese gardar o %{model}"
|
119
119
|
number:
|
120
120
|
currency:
|
121
121
|
format:
|
data/rails/locale/hi-IN.yml
CHANGED
@@ -37,8 +37,8 @@ hi-IN:
|
|
37
37
|
- शनिवार
|
38
38
|
formats:
|
39
39
|
default: "%d-%m-%Y"
|
40
|
-
long: "%
|
41
|
-
short: "%
|
40
|
+
long: "%d %B %Y"
|
41
|
+
short: "%d %b"
|
42
42
|
month_names:
|
43
43
|
-
|
44
44
|
- जनवरी
|
@@ -191,6 +191,6 @@ hi-IN:
|
|
191
191
|
am: am
|
192
192
|
formats:
|
193
193
|
default: "%a, %d %b %Y %H:%M:%S %z"
|
194
|
-
long: "%
|
194
|
+
long: "%d %B %Y %H:%M"
|
195
195
|
short: "%d %b %H:%M"
|
196
196
|
pm: pm
|
data/rails/locale/hi.yml
CHANGED
@@ -37,8 +37,8 @@ hi:
|
|
37
37
|
- शनिवार
|
38
38
|
formats:
|
39
39
|
default: "%d-%m-%Y"
|
40
|
-
long: "%
|
41
|
-
short: "%
|
40
|
+
long: "%d %B %Y"
|
41
|
+
short: "%d %b"
|
42
42
|
month_names:
|
43
43
|
-
|
44
44
|
- जनवरी
|
@@ -191,6 +191,6 @@ hi:
|
|
191
191
|
am: पूर्वाह्न
|
192
192
|
formats:
|
193
193
|
default: "%a, %d %b %Y %H:%M:%S %z"
|
194
|
-
long: "%
|
194
|
+
long: "%d %B %Y %H:%M"
|
195
195
|
short: "%d %b %H:%M"
|
196
196
|
pm: अपराह्न
|
data/rails/locale/hr.yml
CHANGED
data/rails/locale/kn.yml
CHANGED
@@ -37,8 +37,8 @@ kn:
|
|
37
37
|
- ಶನಿವಾರ
|
38
38
|
formats:
|
39
39
|
default: "%Y-%m-%d"
|
40
|
-
long: "%
|
41
|
-
short: "%
|
40
|
+
long: "%d %B %Y"
|
41
|
+
short: "%d %b"
|
42
42
|
month_names:
|
43
43
|
-
|
44
44
|
- ಜನವರಿ
|
@@ -191,6 +191,6 @@ kn:
|
|
191
191
|
am: ಪ್ರಾತಃಕಾಲ
|
192
192
|
formats:
|
193
193
|
default: "%a, %d %b %Y %H:%M:%S %z"
|
194
|
-
long: "%
|
194
|
+
long: "%d %B %Y %H:%M"
|
195
195
|
short: "%d %b %H:%M"
|
196
196
|
pm: ಅಪರನ್ನಃ
|
data/rails/locale/lt.yml
CHANGED
data/rails/locale/mk.yml
CHANGED
data/rails/locale/ml.yml
CHANGED
@@ -41,7 +41,7 @@ ml:
|
|
41
41
|
formats:
|
42
42
|
default: "%d-%m-%Y"
|
43
43
|
long: "%d %B, %Y"
|
44
|
-
short: "%
|
44
|
+
short: "%d %b"
|
45
45
|
month_names:
|
46
46
|
-
|
47
47
|
- ജനുവരി
|
@@ -205,6 +205,6 @@ ml:
|
|
205
205
|
am: രാവിലെ
|
206
206
|
formats:
|
207
207
|
default: "%a, %d %b %Y %H:%M:%S %z"
|
208
|
-
long: "%B %d
|
208
|
+
long: "%Y, %B %d %H:%M"
|
209
209
|
short: "%d %b %H:%M"
|
210
210
|
pm: വൈകിട്ട്
|
data/rails/locale/mr-IN.yml
CHANGED
@@ -40,8 +40,8 @@ mr-IN:
|
|
40
40
|
- रविवार
|
41
41
|
formats:
|
42
42
|
default: "%d-%m-%Y"
|
43
|
-
long: "%
|
44
|
-
short: "%
|
43
|
+
long: "%d %B %Y"
|
44
|
+
short: "%d %b"
|
45
45
|
month_names:
|
46
46
|
-
|
47
47
|
- जानेवारी
|
@@ -202,6 +202,6 @@ mr-IN:
|
|
202
202
|
am: म.पू.
|
203
203
|
formats:
|
204
204
|
default: "%a, %d %b %Y %H:%M:%S %z"
|
205
|
-
long: "%
|
205
|
+
long: "%d %B %Y %H:%M"
|
206
206
|
short: "%d %b %H:%M"
|
207
207
|
pm: म.नं.
|
data/rails/locale/ne.yml
CHANGED
@@ -40,8 +40,8 @@ ne:
|
|
40
40
|
- शनिबार
|
41
41
|
formats:
|
42
42
|
default: "%Y-%m-%d"
|
43
|
-
long: "%
|
44
|
-
short: "%
|
43
|
+
long: "%d %B %Y"
|
44
|
+
short: "%d %b"
|
45
45
|
month_names:
|
46
46
|
-
|
47
47
|
- जनवरी
|
@@ -200,6 +200,6 @@ ne:
|
|
200
200
|
am: बिहान
|
201
201
|
formats:
|
202
202
|
default: "%a, %d %b %Y %H:%M:%S %z"
|
203
|
-
long: "%
|
203
|
+
long: "%d %B %Y %H:%M"
|
204
204
|
short: "%d %b %H:%M"
|
205
205
|
pm: बेलुका
|
data/rails/locale/pa.yml
CHANGED
@@ -40,8 +40,8 @@ pa:
|
|
40
40
|
- ਸ਼ਨਿੱਚਰਵਾਰ
|
41
41
|
formats:
|
42
42
|
default: "%Y-%m-%d"
|
43
|
-
long: "%
|
44
|
-
short: "%
|
43
|
+
long: "%d %B %Y"
|
44
|
+
short: "%d %b"
|
45
45
|
month_names:
|
46
46
|
-
|
47
47
|
- ਜਨਵਰੀ
|
@@ -203,6 +203,6 @@ pa:
|
|
203
203
|
am: ਸਵੇਰ
|
204
204
|
formats:
|
205
205
|
default: "%a, %d %b %Y %H:%M:%S %z"
|
206
|
-
long: "%
|
206
|
+
long: "%d %B %Y %H:%M"
|
207
207
|
short: "%d %b %H:%M"
|
208
208
|
pm: ਸ਼ਾਮ
|
data/rails/locale/pap-AW.yml
CHANGED
@@ -57,9 +57,9 @@ pap-AW:
|
|
57
57
|
- novèmber
|
58
58
|
- desèmber
|
59
59
|
order:
|
60
|
-
- :
|
61
|
-
- :
|
62
|
-
- :
|
60
|
+
- :year
|
61
|
+
- :month
|
62
|
+
- :day
|
63
63
|
datetime:
|
64
64
|
distance_in_words:
|
65
65
|
about_x_hours:
|
@@ -165,8 +165,8 @@ pap-AW:
|
|
165
165
|
delimiter: '.'
|
166
166
|
precision: 3
|
167
167
|
separator: ','
|
168
|
-
significant:
|
169
|
-
strip_insignificant_zeros:
|
168
|
+
significant: false
|
169
|
+
strip_insignificant_zeros: false
|
170
170
|
human:
|
171
171
|
decimal_units:
|
172
172
|
format: '%n %u'
|
@@ -210,6 +210,6 @@ pap-AW:
|
|
210
210
|
am: am
|
211
211
|
formats:
|
212
212
|
default: '%a, %d %b %Y %H.%M.%S %z'
|
213
|
-
long: '%
|
213
|
+
long: '%d %B %Y %H.%M'
|
214
214
|
short: '%d %b %H.%M'
|
215
215
|
pm: pm
|
data/rails/locale/pap-CW.yml
CHANGED
@@ -57,9 +57,9 @@ pap-CW:
|
|
57
57
|
- novèmber
|
58
58
|
- desèmber
|
59
59
|
order:
|
60
|
-
- :
|
61
|
-
- :
|
62
|
-
- :
|
60
|
+
- :year
|
61
|
+
- :month
|
62
|
+
- :day
|
63
63
|
datetime:
|
64
64
|
distance_in_words:
|
65
65
|
about_x_hours:
|
@@ -165,8 +165,8 @@ pap-CW:
|
|
165
165
|
delimiter: '.'
|
166
166
|
precision: 3
|
167
167
|
separator: ','
|
168
|
-
significant:
|
169
|
-
strip_insignificant_zeros:
|
168
|
+
significant: false
|
169
|
+
strip_insignificant_zeros: false
|
170
170
|
human:
|
171
171
|
decimal_units:
|
172
172
|
format: '%n %u'
|
@@ -210,6 +210,6 @@ pap-CW:
|
|
210
210
|
am: am
|
211
211
|
formats:
|
212
212
|
default: '%a, %d %b %Y %H.%M.%S %z'
|
213
|
-
long: '%
|
213
|
+
long: '%d %B %Y %H.%M'
|
214
214
|
short: '%d %b %H.%M'
|
215
215
|
pm: pm
|
data/rails/locale/sr.yml
CHANGED
data/rails/locale/st.yml
CHANGED
@@ -40,8 +40,8 @@ st:
|
|
40
40
|
- Moqebelo
|
41
41
|
formats:
|
42
42
|
default: "%Y-%m-%d"
|
43
|
-
long: "%
|
44
|
-
short: "%
|
43
|
+
long: "%d %B %Y"
|
44
|
+
short: "%d %b"
|
45
45
|
month_names:
|
46
46
|
-
|
47
47
|
- Pherekhong
|
@@ -210,6 +210,6 @@ st:
|
|
210
210
|
am: am
|
211
211
|
formats:
|
212
212
|
default: "%a, %d %b %Y %H:%M:%S %z"
|
213
|
-
long: "%
|
213
|
+
long: "%d %B %Y %H:%M"
|
214
214
|
short: "%d %b %H:%M"
|
215
215
|
pm: pm
|
data/rails/locale/sv.yml
CHANGED
data/rails/locale/ta.yml
CHANGED
@@ -40,8 +40,8 @@ ta:
|
|
40
40
|
- சனிக்கிழமை
|
41
41
|
formats:
|
42
42
|
default: "%d-%m-%Y"
|
43
|
-
long: "%
|
44
|
-
short: "%
|
43
|
+
long: "%d %B %Y"
|
44
|
+
short: "%d %b"
|
45
45
|
month_names:
|
46
46
|
-
|
47
47
|
- ஜனவரி
|
@@ -203,6 +203,6 @@ ta:
|
|
203
203
|
am: மு.ப.
|
204
204
|
formats:
|
205
205
|
default: "%a, %d %b %Y %H:%M:%S %z"
|
206
|
-
long: "%
|
206
|
+
long: "%d %B %Y %H:%M"
|
207
207
|
short: "%d %b %H:%M"
|
208
208
|
pm: பி.ப.
|
data/rails/locale/te.yml
CHANGED
@@ -40,8 +40,8 @@ te:
|
|
40
40
|
- శనివారం
|
41
41
|
formats:
|
42
42
|
default: "%d-%m-%Y"
|
43
|
-
long: "%
|
44
|
-
short: "%
|
43
|
+
long: "%d %B %Y"
|
44
|
+
short: "%d %b"
|
45
45
|
month_names:
|
46
46
|
-
|
47
47
|
- జనవరి
|
@@ -208,6 +208,6 @@ te:
|
|
208
208
|
am: am
|
209
209
|
formats:
|
210
210
|
default: "%a, %d %b %Y %H:%M:%S %z"
|
211
|
-
long: "%
|
211
|
+
long: "%d %B %Y %H:%M"
|
212
212
|
short: "%d %b %H:%M"
|
213
213
|
pm: pm
|
data/rails/locale/ur.yml
CHANGED
@@ -42,7 +42,7 @@ ur:
|
|
42
42
|
- ہفتہ
|
43
43
|
formats:
|
44
44
|
default: "%d %B %Y"
|
45
|
-
long: "%
|
45
|
+
long: "%d %B، %Y"
|
46
46
|
short: "%d %b"
|
47
47
|
month_names:
|
48
48
|
-
|
@@ -205,6 +205,6 @@ ur:
|
|
205
205
|
am: صبح
|
206
206
|
formats:
|
207
207
|
default: "%a، %d %b %Y، %p %l:%M %Z"
|
208
|
-
long: "%
|
208
|
+
long: "%d %B، %Y %p %H:%M"
|
209
209
|
short: "%d %b، %H:%M"
|
210
210
|
pm: شام
|
data/rails/locale/wo.yml
CHANGED
@@ -40,8 +40,8 @@ wo:
|
|
40
40
|
- Gaawu
|
41
41
|
formats:
|
42
42
|
default: "%Y-%m-%d"
|
43
|
-
long: "%
|
44
|
-
short: "%
|
43
|
+
long: "%d %B, %Y"
|
44
|
+
short: "%d %b"
|
45
45
|
month_names:
|
46
46
|
-
|
47
47
|
- Tamkharit
|
@@ -203,6 +203,6 @@ wo:
|
|
203
203
|
am: am
|
204
204
|
formats:
|
205
205
|
default: "%a, %d %b %Y %H:%M:%S %z"
|
206
|
-
long: "%
|
206
|
+
long: "%d %B, %Y %H:%M"
|
207
207
|
short: "%d %b %H:%M"
|
208
208
|
pm: pm
|
data/rails/locale/zh-TW.yml
CHANGED
@@ -0,0 +1,19 @@
|
|
1
|
+
{
|
2
|
+
"fr-CA": {
|
3
|
+
number: {
|
4
|
+
nth: {
|
5
|
+
ordinals: -> (_key, number:, **_options) {
|
6
|
+
if number.to_i.abs == 1
|
7
|
+
'er'
|
8
|
+
else
|
9
|
+
'e'
|
10
|
+
end
|
11
|
+
},
|
12
|
+
|
13
|
+
ordinalized: -> (_key, number:, **_options) {
|
14
|
+
"#{number}#{ActiveSupport::Inflector.ordinal(number)}"
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
{
|
2
|
+
"fr-CH": {
|
3
|
+
number: {
|
4
|
+
nth: {
|
5
|
+
ordinals: -> (_key, number:, **_options) {
|
6
|
+
if number.to_i.abs == 1
|
7
|
+
'er'
|
8
|
+
else
|
9
|
+
'e'
|
10
|
+
end
|
11
|
+
},
|
12
|
+
|
13
|
+
ordinalized: -> (_key, number:, **_options) {
|
14
|
+
"#{number}#{ActiveSupport::Inflector.ordinal(number)}"
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
{
|
2
|
+
"fr-FR": {
|
3
|
+
number: {
|
4
|
+
nth: {
|
5
|
+
ordinals: -> (_key, number:, **_options) {
|
6
|
+
if number.to_i.abs == 1
|
7
|
+
'er'
|
8
|
+
else
|
9
|
+
'e'
|
10
|
+
end
|
11
|
+
},
|
12
|
+
|
13
|
+
ordinalized: -> (_key, number:, **_options) {
|
14
|
+
"#{number}#{ActiveSupport::Inflector.ordinal(number)}"
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
{
|
2
|
+
fr: {
|
3
|
+
number: {
|
4
|
+
nth: {
|
5
|
+
ordinals: -> (_key, number:, **_options) {
|
6
|
+
if number.to_i.abs == 1
|
7
|
+
'er'
|
8
|
+
else
|
9
|
+
'e'
|
10
|
+
end
|
11
|
+
},
|
12
|
+
|
13
|
+
ordinalized: -> (_key, number:, **_options) {
|
14
|
+
"#{number}#{ActiveSupport::Inflector.ordinal(number)}"
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
data/rails/pluralization/sr.rb
CHANGED
@@ -1,30 +1,3 @@
|
|
1
|
-
|
2
|
-
module Pluralization
|
3
|
-
module Serbian
|
4
|
-
FROM_2_TO_4 = (2..4).to_a.freeze
|
5
|
-
FROM_12_TO_14 = (12..14).to_a.freeze
|
1
|
+
require 'rails_i18n/common_pluralizations/serbian'
|
6
2
|
|
7
|
-
|
8
|
-
lambda do |n|
|
9
|
-
n ||= 0
|
10
|
-
mod10 = n % 10
|
11
|
-
mod100 = n % 100
|
12
|
-
|
13
|
-
if mod10 == 1 && mod100 != 11
|
14
|
-
:one
|
15
|
-
elsif FROM_2_TO_4.include?(mod10) && !FROM_12_TO_14.include?(mod100)
|
16
|
-
:few
|
17
|
-
else
|
18
|
-
:other
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
25
|
-
|
26
|
-
{ :sr => {
|
27
|
-
:i18n => {
|
28
|
-
:plural => {
|
29
|
-
:keys => [:one, :few, :other],
|
30
|
-
:rule => RailsI18n::Pluralization::Serbian.rule }}}}
|
3
|
+
::RailsI18n::Pluralization::Serbian.with_locale(:sr)
|
data/rails/pluralization/tr.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-i18n
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.0.
|
4
|
+
version: 7.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rails I18n Group
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|
@@ -84,14 +84,14 @@ dependencies:
|
|
84
84
|
requirements:
|
85
85
|
- - "~>"
|
86
86
|
- !ruby/object:Gem::Version
|
87
|
-
version: 0.9.
|
87
|
+
version: 0.9.37
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
90
|
version_requirements: !ruby/object:Gem::Requirement
|
91
91
|
requirements:
|
92
92
|
- - "~>"
|
93
93
|
- !ruby/object:Gem::Version
|
94
|
-
version: 0.9.
|
94
|
+
version: 0.9.37
|
95
95
|
description: A set of common locale data and translations to internationalize and/or
|
96
96
|
localize your Rails applications.
|
97
97
|
email: rails-i18n@googlegroups.com
|
@@ -111,6 +111,7 @@ files:
|
|
111
111
|
- lib/rails_i18n/common_pluralizations/one_with_zero_other.rb
|
112
112
|
- lib/rails_i18n/common_pluralizations/other.rb
|
113
113
|
- lib/rails_i18n/common_pluralizations/romanian.rb
|
114
|
+
- lib/rails_i18n/common_pluralizations/serbian.rb
|
114
115
|
- lib/rails_i18n/common_pluralizations/west_slavic.rb
|
115
116
|
- lib/rails_i18n/railtie.rb
|
116
117
|
- rails/locale/af.yml
|
@@ -228,6 +229,10 @@ files:
|
|
228
229
|
- rails/locale/zh-HK.yml
|
229
230
|
- rails/locale/zh-TW.yml
|
230
231
|
- rails/locale/zh-YUE.yml
|
232
|
+
- rails/ordinals/fr-CA.rb
|
233
|
+
- rails/ordinals/fr-CH.rb
|
234
|
+
- rails/ordinals/fr-FR.rb
|
235
|
+
- rails/ordinals/fr.rb
|
231
236
|
- rails/pluralization/ak.rb
|
232
237
|
- rails/pluralization/am.rb
|
233
238
|
- rails/pluralization/ar.rb
|
@@ -359,6 +364,7 @@ files:
|
|
359
364
|
- rails/pluralization/sv-SE.rb
|
360
365
|
- rails/pluralization/sv.rb
|
361
366
|
- rails/pluralization/sw.rb
|
367
|
+
- rails/pluralization/ta.rb
|
362
368
|
- rails/pluralization/th.rb
|
363
369
|
- rails/pluralization/ti.rb
|
364
370
|
- rails/pluralization/tl.rb
|
@@ -413,7 +419,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
413
419
|
- !ruby/object:Gem::Version
|
414
420
|
version: 1.8.11
|
415
421
|
requirements: []
|
416
|
-
rubygems_version: 3.
|
422
|
+
rubygems_version: 3.1.4
|
417
423
|
signing_key:
|
418
424
|
specification_version: 4
|
419
425
|
summary: Common locale data and translations for Rails i18n.
|