rails-i18n 7.0.1 → 7.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +68 -1
- data/README.md +3 -4
- data/lib/rails_i18n/common_pluralizations/east_slavic.rb +1 -1
- data/lib/rails_i18n/common_pluralizations/one_few_other.rb +38 -0
- data/lib/rails_i18n/railtie.rb +0 -2
- data/rails/locale/af.yml +3 -3
- data/rails/locale/ar.yml +3 -3
- 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/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-CH.yml +2 -2
- data/rails/locale/fr-FR.yml +2 -2
- data/rails/locale/fr.yml +16 -16
- data/rails/locale/fy.yml +215 -0
- 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/kk.yml +225 -0
- 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/sk.yml +1 -0
- 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/bs.rb +2 -2
- data/rails/pluralization/fy.rb +3 -0
- data/rails/pluralization/hr.rb +2 -2
- data/rails/pluralization/kk.rb +3 -0
- data/rails/pluralization/sh.rb +2 -2
- data/rails/pluralization/sr.rb +2 -29
- data/rails/pluralization/ta.rb +3 -0
- data/rails/pluralization/tr.rb +1 -1
- metadata +19 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef7cee06deda3f23eeb1c88e22c6c84705d1c13df6b93692142d694e658fd7f7
|
4
|
+
data.tar.gz: 7fabe1deed31d62c9715fc22a884072d4ea50e1d1eb283f9956e073ffd573c79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95859f3f8678e70e4480f7076298082ab77f497aa7c659928fe09ffd824e9d2220a984283cdaebc8a679213cb0c185899a6371cf2f8654a8e89cb8bc2339cd47
|
7
|
+
data.tar.gz: 6876dc5a2e2243fa86e5a13b45e72cf9c9d26099847fb051423ce42020045f8486acbc1a3028851dce5fc57da3f6edc3720ce48aa222d98255ca391902dae885
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,71 @@
|
|
1
|
-
##
|
1
|
+
## unreleased
|
2
|
+
|
3
|
+
- Remove eager loading of translations during boot phase (this is now done by Rails).
|
4
|
+
|
5
|
+
## 7.0.3 (2022-03-01)
|
6
|
+
|
7
|
+
- Revert long date formats on default "en" locale #980
|
8
|
+
|
9
|
+
## 7.0.2 (2022-02-12)
|
10
|
+
|
11
|
+
- Fix long date format for many locales #939 #943
|
12
|
+
- Update following locales:
|
13
|
+
- Chinese (zh-TW) #941
|
14
|
+
- Croatian (hr) #940
|
15
|
+
- Danish (da) #802 #946 #947 #948
|
16
|
+
- Finnish (fi) #949
|
17
|
+
- French (fr) #968
|
18
|
+
- Galician (gl) #961
|
19
|
+
- Papiamento (pap-AW, pap-CW) #974 #975
|
20
|
+
- Serbian (sr) #972
|
21
|
+
- Spanish (es, es-CL, es-ES) #936
|
22
|
+
- Swedish (sv) #935
|
23
|
+
- Tamil (ta) #953
|
24
|
+
- Fix require statement in `rails/pluralization/tr` #964
|
25
|
+
- Add rails/ordinals to s.files in Gemspec #969
|
26
|
+
- Update i18n-tasks to be ActiveSupport 7+ ready #970
|
27
|
+
|
28
|
+
## 7.0.1 (2021-12-24)
|
29
|
+
|
30
|
+
- Fix ordinals loading.
|
31
|
+
|
32
|
+
## 7.0.0 (2021-12-23)
|
33
|
+
|
34
|
+
- Support Rails 7
|
35
|
+
- Drop support for Ruby 1.8
|
36
|
+
- Eager load translations during boot phase if possible.
|
37
|
+
- Translate ordinals (fr, fr-FR, fr-CA, fr-BE)
|
38
|
+
- Update following locales:
|
39
|
+
- Albanian (sq)
|
40
|
+
- Catalan (ca)
|
41
|
+
- Chinese (zh-CN, zh-TW)
|
42
|
+
- Croatian (hr)
|
43
|
+
- Danish (da)
|
44
|
+
- Finnish (fi)
|
45
|
+
- French (fr, fr-FR, fr-CA, fr-BE)
|
46
|
+
- Georgian (ka)
|
47
|
+
- German (de)
|
48
|
+
- Greek (el, el-CY)
|
49
|
+
- Italian (it, it-CH)
|
50
|
+
- Latvian (lv)
|
51
|
+
- Lithuanian (lt)
|
52
|
+
- Norwegian (nb)
|
53
|
+
- Polish (pl)
|
54
|
+
- Portuguese (pt-BR)
|
55
|
+
- Romanian (ro)
|
56
|
+
- Serbian (sr)
|
57
|
+
- Spanish (es-CO, es-AR)
|
58
|
+
- Swedish (sv)
|
59
|
+
- Turkish (tr)
|
60
|
+
- Ukrainian (uk)
|
61
|
+
- Vietnamese (vi)
|
62
|
+
- Add following locales:
|
63
|
+
- English Trinidad & Tobago (en-TT)
|
64
|
+
- Papiamento (pap-AW, pap-CW)
|
65
|
+
- Sesotho (st)
|
66
|
+
|
67
|
+
## 6.0.0 (2019-08-17)
|
68
|
+
|
2
69
|
- Update rails-i18n.gemspec to use Railties 6.0.0
|
3
70
|
- Add Malagasy (mg) locale
|
4
71
|
- Update following locales:
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@ Rails Locale Data Repository
|
|
2
2
|
============================
|
3
3
|
|
4
4
|
[![Gem Version](https://badge.fury.io/rb/rails-i18n.svg)](http://badge.fury.io/rb/rails-i18n)
|
5
|
-
[![
|
5
|
+
[![CI](https://github.com/svenfuchs/rails-i18n/actions/workflows/ci.yml/badge.svg)](https://github.com/svenfuchs/rails-i18n/actions/workflows/ci.yml)
|
6
6
|
|
7
7
|
Centralization of locale data collection for Ruby on Rails.
|
8
8
|
|
@@ -66,7 +66,7 @@ Available locales:
|
|
66
66
|
> af, ar, az, be, bg, bn, bs, ca, cs, cy, da, de, de-AT, de-CH, de-DE, el, el-CY,
|
67
67
|
> en, en-AU, en-CA, en-GB, en-IE, en-IN, en-NZ, en-US, en-ZA, en-CY, en-TT, eo, es,
|
68
68
|
> es-419, es-AR, es-CL, es-CO, es-CR, es-EC, es-ES, es-MX, es-NI, es-PA, es-PE, es-US, es-VE,
|
69
|
-
> et, eu, fa, fi, fr, fr-CA, fr-CH, fr-FR, gl, he, hi, hi-IN, hr, hu, id, is, it,
|
69
|
+
> et, eu, fa, fi, fr, fr-CA, fr-CH, fr-FR, fy, gl, he, hi, hi-IN, hr, hu, id, is, it,
|
70
70
|
> it-CH, ja, ka, km, kn, ko, lb, lo, lt, lv, mk, ml, mn, mr-IN, ms, nb, ne, nl, nn, oc, or,
|
71
71
|
> pa, pl, pt, pt-BR, rm, ro, ru, sk, sl, sq, sr, st, sw, ta, te, th, tl, tr, tt, ug,
|
72
72
|
> ur, uz, vi, wo, zh-CN, zh-HK, zh-TW, zh-YUE
|
@@ -74,7 +74,7 @@ Available locales:
|
|
74
74
|
Complete locales:
|
75
75
|
|
76
76
|
> af, da, de, de-AT, de-CH, de-DE, en-US, es, es-419, es-AR, es-CL, es-CO, es-CR, es-EC,
|
77
|
-
> es-ES, es-MX, es-NI, es-PA, es-PE, es-US, es-VE, et, fa, fr, fr-CA, fr-CH, fr-FR, id, it, ja, ka, ml, nb,
|
77
|
+
> es-ES, es-MX, es-NI, es-PA, es-PE, es-US, es-VE, et, fa, fr, fr-CA, fr-CH, fr-FR, fy, id, it, ja, ka, ml, nb,
|
78
78
|
> nl, nn, pt, pt-BR, sv, sv-SE, tr, zh-CN, zh-HK, zh-TW, zh-YUE, uk
|
79
79
|
|
80
80
|
Currently, most locales are incomplete. Typically they lack the following keys:
|
@@ -219,7 +219,6 @@ To run the other commands described above:
|
|
219
219
|
|
220
220
|
```
|
221
221
|
docker run railsi18n bundle exec rake i18n-spec:completeness rails/locale/en.yml rails/locale/YOUR_NEW_LOCALE.yml
|
222
|
-
|
223
222
|
```
|
224
223
|
|
225
224
|
## See also
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# Originally was implemented by Yaroslav Markin in "russian" gem
|
2
2
|
# (http://github.com/yaroslav/russian)
|
3
3
|
#
|
4
|
-
# Used for Belarusian,
|
4
|
+
# Used for Belarusian, Russian, Ukrainian.
|
5
5
|
|
6
6
|
module RailsI18n
|
7
7
|
module Pluralization
|
@@ -0,0 +1,38 @@
|
|
1
|
+
module RailsI18n
|
2
|
+
module Pluralization
|
3
|
+
module OneFewOther
|
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
|
+
frac = (n.to_d % 1)
|
11
|
+
|
12
|
+
if frac.nonzero?
|
13
|
+
n = frac.to_s.split('.').last.to_i
|
14
|
+
end
|
15
|
+
|
16
|
+
mod10 = n % 10
|
17
|
+
mod100 = n % 100
|
18
|
+
|
19
|
+
if mod10 == 1 && mod100 != 11
|
20
|
+
:one
|
21
|
+
elsif FROM_2_TO_4.include?(mod10) && !FROM_12_TO_14.include?(mod100)
|
22
|
+
:few
|
23
|
+
else
|
24
|
+
:other
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
def self.with_locale(locale)
|
30
|
+
{ locale => {
|
31
|
+
:i18n => {
|
32
|
+
:plural => {
|
33
|
+
:keys => [:one, :few, :other],
|
34
|
+
:rule => rule }}}}
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
data/lib/rails_i18n/railtie.rb
CHANGED
@@ -3,8 +3,6 @@ require 'rails'
|
|
3
3
|
module RailsI18n
|
4
4
|
class Railtie < ::Rails::Railtie #:nodoc:
|
5
5
|
initializer 'rails-i18n' do |app|
|
6
|
-
app.config.eager_load_namespaces << ::I18n if ::I18n.respond_to?(:eager_load!)
|
7
|
-
|
8
6
|
RailsI18n::Railtie.instance_eval do
|
9
7
|
pattern = pattern_from app.config.i18n.available_locales
|
10
8
|
|
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
@@ -157,7 +157,7 @@ ar:
|
|
157
157
|
equal_to: يجب أن يساوي طول %{attribute} %{count}
|
158
158
|
even: يجب أن يكون عدد %{attribute} زوجياً
|
159
159
|
exclusion: حقل %{attribute} محجوز
|
160
|
-
greater_than:
|
160
|
+
greater_than: يجب أن يكون عدد %{attribute} أكبر من %{count}
|
161
161
|
greater_than_or_equal_to: يجب أن يكون عدد %{attribute} أكبر أو يساوي %{count}
|
162
162
|
inclusion: "%{attribute} غير وارد في القائمة"
|
163
163
|
invalid: محتوى %{attribute} غير صالح
|
@@ -272,7 +272,7 @@ ar:
|
|
272
272
|
time:
|
273
273
|
am: صباحًا
|
274
274
|
formats:
|
275
|
-
default: "%a %b %
|
276
|
-
long: "%d %B
|
275
|
+
default: "%a %d %b %Y %H:%M:%S %Z"
|
276
|
+
long: "%d %B %Y %H:%M"
|
277
277
|
short: "%d %b %H:%M"
|
278
278
|
pm: مساءً
|
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/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-CH.yml
CHANGED
data/rails/locale/fr-FR.yml
CHANGED
data/rails/locale/fr.yml
CHANGED
@@ -42,8 +42,8 @@ fr:
|
|
42
42
|
- samedi
|
43
43
|
formats:
|
44
44
|
default: "%d/%m/%Y"
|
45
|
-
long: "
|
46
|
-
short: "
|
45
|
+
long: "%-d %B %Y"
|
46
|
+
short: "%-d %b"
|
47
47
|
month_names:
|
48
48
|
-
|
49
49
|
- janvier
|
@@ -75,19 +75,19 @@ fr:
|
|
75
75
|
other: environ %{count} ans
|
76
76
|
almost_x_years:
|
77
77
|
one: presqu'un an
|
78
|
-
other: presque %{count}
|
78
|
+
other: presque %{count} ans
|
79
79
|
half_a_minute: une demi‑minute
|
80
80
|
less_than_x_seconds:
|
81
81
|
zero: moins d'une seconde
|
82
82
|
one: moins d'une seconde
|
83
|
-
other: moins de %{count}
|
83
|
+
other: moins de %{count} secondes
|
84
84
|
less_than_x_minutes:
|
85
85
|
zero: moins d'une minute
|
86
86
|
one: moins d'une minute
|
87
|
-
other: moins de %{count}
|
87
|
+
other: moins de %{count} minutes
|
88
88
|
over_x_years:
|
89
|
-
one: plus d'un
|
90
|
-
other: plus de %{count}
|
89
|
+
one: plus d'un an
|
90
|
+
other: plus de %{count} ans
|
91
91
|
x_seconds:
|
92
92
|
one: 1 seconde
|
93
93
|
other: "%{count} secondes"
|
@@ -120,23 +120,23 @@ fr:
|
|
120
120
|
equal_to: doit être égal à %{count}
|
121
121
|
even: doit être pair
|
122
122
|
exclusion: n'est pas disponible
|
123
|
-
greater_than: doit être supérieur à
|
124
|
-
greater_than_or_equal_to: doit être supérieur ou égal à
|
123
|
+
greater_than: doit être supérieur à %{count}
|
124
|
+
greater_than_or_equal_to: doit être supérieur ou égal à %{count}
|
125
125
|
inclusion: n'est pas inclus(e) dans la liste
|
126
126
|
invalid: n'est pas valide
|
127
|
-
less_than: doit être inférieur à
|
128
|
-
less_than_or_equal_to: doit être inférieur ou égal à
|
129
|
-
model_invalid: 'Validation échouée
|
127
|
+
less_than: doit être inférieur à %{count}
|
128
|
+
less_than_or_equal_to: doit être inférieur ou égal à %{count}
|
129
|
+
model_invalid: 'Validation échouée : %{errors}'
|
130
130
|
not_a_number: n'est pas un nombre
|
131
131
|
not_an_integer: doit être un nombre entier
|
132
132
|
odd: doit être impair
|
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
|
-
other: est trop long (pas plus de %{count}
|
139
|
+
other: est trop long (pas plus de %{count} caractères)
|
140
140
|
too_short:
|
141
141
|
one: est trop court (au moins un caractère)
|
142
142
|
other: est trop court (au moins %{count} caractères)
|
@@ -146,8 +146,8 @@ fr:
|
|
146
146
|
template:
|
147
147
|
body: 'Veuillez vérifier les champs suivants : '
|
148
148
|
header:
|
149
|
-
one: 'Impossible d''enregistrer ce(tte) %{model}
|
150
|
-
other: 'Impossible d''enregistrer ce(tte) %{model}
|
149
|
+
one: 'Impossible d''enregistrer ce(tte) %{model} : 1 erreur'
|
150
|
+
other: 'Impossible d''enregistrer ce(tte) %{model} : %{count} erreurs'
|
151
151
|
helpers:
|
152
152
|
select:
|
153
153
|
prompt: Veuillez sélectionner
|