rails-i18n 5.1.0 → 7.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +185 -3
- data/README.md +118 -47
- data/lib/rails_i18n/common_pluralizations/east_slavic.rb +1 -1
- data/lib/rails_i18n/common_pluralizations/serbian.rb +32 -0
- data/lib/rails_i18n/railtie.rb +3 -0
- data/lib/rails_i18n.rb +0 -1
- data/rails/locale/af.yml +21 -21
- data/rails/locale/ar.yml +59 -59
- data/rails/locale/az.yml +21 -14
- data/rails/locale/be.yml +111 -50
- data/rails/locale/bg.yml +14 -14
- data/rails/locale/bn.yml +24 -24
- data/rails/locale/bs.yml +38 -38
- data/rails/locale/ca.yml +46 -22
- data/rails/locale/cs.yml +25 -25
- data/rails/locale/cy.yml +29 -29
- data/rails/locale/da.yml +44 -30
- data/rails/locale/de-AT.yml +17 -17
- data/rails/locale/de-CH.yml +17 -17
- data/rails/locale/de-DE.yml +17 -17
- data/rails/locale/de.yml +17 -17
- data/rails/locale/el-CY.yml +46 -33
- data/rails/locale/el.yml +48 -35
- data/rails/locale/en-AU.yml +25 -15
- data/rails/locale/en-CA.yml +24 -17
- data/rails/locale/en-CY.yml +24 -17
- data/rails/locale/en-GB.yml +24 -17
- data/rails/locale/en-IE.yml +25 -18
- data/rails/locale/en-IN.yml +27 -20
- data/rails/locale/en-NZ.yml +25 -18
- data/rails/locale/en-TT.yml +213 -0
- data/rails/locale/en-US.yml +22 -20
- data/rails/locale/en-ZA.yml +26 -22
- data/rails/locale/en.yml +22 -20
- data/rails/locale/eo.yml +16 -16
- data/rails/locale/es-419.yml +22 -19
- data/rails/locale/es-AR.yml +21 -19
- data/rails/locale/es-CL.yml +21 -19
- data/rails/locale/es-CO.yml +27 -25
- data/rails/locale/es-CR.yml +20 -18
- data/rails/locale/es-EC.yml +22 -19
- data/rails/locale/es-ES.yml +27 -25
- data/rails/locale/es-MX.yml +20 -18
- data/rails/locale/es-NI.yml +23 -21
- data/rails/locale/es-PA.yml +29 -25
- data/rails/locale/es-PE.yml +21 -19
- data/rails/locale/es-US.yml +20 -18
- data/rails/locale/es-VE.yml +20 -18
- data/rails/locale/es.yml +27 -25
- data/rails/locale/et.yml +19 -19
- data/rails/locale/eu.yml +23 -23
- data/rails/locale/fa.yml +22 -21
- data/rails/locale/fi.yml +24 -24
- data/rails/locale/fr-CA.yml +52 -45
- data/rails/locale/fr-CH.yml +43 -36
- data/rails/locale/fr-FR.yml +28 -21
- data/rails/locale/fr.yml +39 -35
- data/rails/locale/gl.yml +16 -16
- data/rails/locale/he.yml +17 -17
- data/rails/locale/hi-IN.yml +17 -17
- data/rails/locale/hi.yml +17 -17
- data/rails/locale/hr.yml +39 -30
- data/rails/locale/hu.yml +14 -14
- data/rails/locale/id.yml +22 -21
- data/rails/locale/is.yml +16 -16
- data/rails/locale/it-CH.yml +28 -15
- data/rails/locale/it.yml +21 -18
- data/rails/locale/ja.yml +26 -24
- data/rails/locale/ka.yml +20 -21
- data/rails/locale/km.yml +19 -19
- data/rails/locale/kn.yml +17 -17
- data/rails/locale/ko.yml +26 -15
- data/rails/locale/lb.yml +45 -42
- data/rails/locale/lo.yml +54 -47
- data/rails/locale/lt.yml +23 -23
- data/rails/locale/lv.yml +28 -28
- data/rails/locale/mg.yml +219 -0
- data/rails/locale/mk.yml +16 -16
- data/rails/locale/ml.yml +28 -28
- data/rails/locale/mn.yml +14 -14
- data/rails/locale/mr-IN.yml +19 -19
- data/rails/locale/ms.yml +14 -14
- data/rails/locale/nb.yml +27 -21
- data/rails/locale/ne.yml +20 -20
- data/rails/locale/nl.yml +17 -17
- data/rails/locale/nn.yml +16 -16
- data/rails/locale/oc.yml +27 -27
- data/rails/locale/or.yml +14 -14
- data/rails/locale/pa.yml +19 -19
- data/rails/locale/pap-AW.yml +215 -0
- data/rails/locale/pap-CW.yml +215 -0
- data/rails/locale/pl.yml +57 -56
- data/rails/locale/pt-BR.yml +57 -55
- data/rails/locale/pt.yml +61 -58
- data/rails/locale/rm.yml +24 -24
- data/rails/locale/ro.yml +69 -69
- data/rails/locale/ru.yml +45 -43
- data/rails/locale/sk.yml +20 -20
- data/rails/locale/sl.yml +39 -39
- data/rails/locale/sq.yml +87 -79
- data/rails/locale/sr.yml +50 -48
- data/rails/locale/st.yml +215 -0
- data/rails/locale/sv-SE.yml +19 -19
- data/rails/locale/sv.yml +23 -23
- data/rails/locale/sw.yml +14 -14
- data/rails/locale/ta.yml +19 -19
- data/rails/locale/te.yml +213 -0
- data/rails/locale/th.yml +8 -8
- data/rails/locale/tl.yml +132 -132
- data/rails/locale/tr.yml +19 -19
- data/rails/locale/tt.yml +16 -16
- data/rails/locale/ug.yml +16 -16
- data/rails/locale/uk.yml +44 -44
- data/rails/locale/ur.yml +26 -25
- data/rails/locale/uz.yml +37 -37
- data/rails/locale/vi.yml +20 -19
- data/rails/locale/wo.yml +21 -21
- data/rails/locale/zh-CN.yml +30 -62
- data/rails/locale/zh-HK.yml +34 -34
- data/rails/locale/zh-TW.yml +21 -21
- data/rails/locale/zh-YUE.yml +34 -34
- 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/hu.rb +2 -2
- data/rails/pluralization/ka.rb +2 -2
- data/rails/pluralization/pap-AW.rb +3 -0
- data/rails/pluralization/pap-CW.rb +3 -0
- data/rails/pluralization/pt-BR.rb +3 -0
- data/rails/pluralization/sr.rb +2 -2
- data/rails/pluralization/st.rb +3 -0
- data/rails/pluralization/ta.rb +3 -0
- data/rails/pluralization/tr.rb +2 -2
- data/rails/pluralization/zh-CN.rb +2 -2
- data/rails/pluralization/zh-HK.rb +2 -2
- data/rails/pluralization/zh-TW.rb +2 -2
- data/rails/pluralization/zh-YUE.rb +2 -2
- data/rails/pluralization/zh.rb +2 -2
- data/rails/transliteration/az.yml +24 -0
- data/rails/transliteration/da.yml +10 -0
- data/rails/transliteration/fa.yml +47 -0
- data/rails/transliteration/ka.yml +37 -0
- data/rails/transliteration/uk.rb +5 -21
- metadata +31 -14
- data/lib/rails_i18n/unicode.rb +0 -1
- data/rails/pluralization/fil.rb +0 -3
data/rails/locale/en-IE.yml
CHANGED
@@ -3,10 +3,10 @@ en-IE:
|
|
3
3
|
activerecord:
|
4
4
|
errors:
|
5
5
|
messages:
|
6
|
-
record_invalid:
|
6
|
+
record_invalid: 'Validation failed: %{errors}'
|
7
7
|
restrict_dependent_destroy:
|
8
|
-
has_one:
|
9
|
-
has_many:
|
8
|
+
has_one: Cannot delete record because a dependent %{record} exists
|
9
|
+
has_many: Cannot delete record because dependent %{record} exist
|
10
10
|
date:
|
11
11
|
abbr_day_names:
|
12
12
|
- Sun
|
@@ -17,7 +17,7 @@ en-IE:
|
|
17
17
|
- Fri
|
18
18
|
- Sat
|
19
19
|
abbr_month_names:
|
20
|
-
-
|
20
|
+
-
|
21
21
|
- Jan
|
22
22
|
- Feb
|
23
23
|
- Mar
|
@@ -43,7 +43,7 @@ en-IE:
|
|
43
43
|
long: "%d %B, %Y"
|
44
44
|
short: "%d %b"
|
45
45
|
month_names:
|
46
|
-
-
|
46
|
+
-
|
47
47
|
- January
|
48
48
|
- February
|
49
49
|
- March
|
@@ -75,36 +75,36 @@ en-IE:
|
|
75
75
|
one: almost 1 year
|
76
76
|
other: almost %{count} years
|
77
77
|
half_a_minute: half a minute
|
78
|
-
less_than_x_minutes:
|
79
|
-
one: less than a minute
|
80
|
-
other: less than %{count} minutes
|
81
78
|
less_than_x_seconds:
|
82
79
|
one: less than 1 second
|
83
80
|
other: less than %{count} seconds
|
81
|
+
less_than_x_minutes:
|
82
|
+
one: less than a minute
|
83
|
+
other: less than %{count} minutes
|
84
84
|
over_x_years:
|
85
85
|
one: over 1 year
|
86
86
|
other: over %{count} years
|
87
|
-
|
88
|
-
one: 1
|
89
|
-
other: "%{count}
|
87
|
+
x_seconds:
|
88
|
+
one: 1 second
|
89
|
+
other: "%{count} seconds"
|
90
90
|
x_minutes:
|
91
91
|
one: 1 minute
|
92
92
|
other: "%{count} minutes"
|
93
|
+
x_days:
|
94
|
+
one: 1 day
|
95
|
+
other: "%{count} days"
|
93
96
|
x_months:
|
94
97
|
one: 1 month
|
95
98
|
other: "%{count} months"
|
96
99
|
x_years:
|
97
100
|
one: 1 year
|
98
|
-
other: "%{count} years"
|
99
|
-
x_seconds:
|
100
|
-
one: 1 second
|
101
|
-
other: "%{count} seconds"
|
101
|
+
other: "%{count} years"
|
102
102
|
prompts:
|
103
|
-
|
104
|
-
hour: Hour
|
103
|
+
second: Second
|
105
104
|
minute: Minute
|
105
|
+
hour: Hour
|
106
|
+
day: Day
|
106
107
|
month: Month
|
107
|
-
second: Seconds
|
108
108
|
year: Year
|
109
109
|
errors:
|
110
110
|
format: "%{attribute} %{message}"
|
@@ -122,9 +122,13 @@ en-IE:
|
|
122
122
|
invalid: is invalid
|
123
123
|
less_than: must be less than %{count}
|
124
124
|
less_than_or_equal_to: must be less than or equal to %{count}
|
125
|
+
model_invalid: 'Validation failed: %{errors}'
|
125
126
|
not_a_number: is not a number
|
126
127
|
not_an_integer: must be an integer
|
127
128
|
odd: must be odd
|
129
|
+
other_than: must be other than %{count}
|
130
|
+
present: must be blank
|
131
|
+
required: must exist
|
128
132
|
taken: has already been taken
|
129
133
|
too_long:
|
130
134
|
one: is too long (maximum is 1 character)
|
@@ -184,13 +188,16 @@ en-IE:
|
|
184
188
|
byte:
|
185
189
|
one: Byte
|
186
190
|
other: Bytes
|
191
|
+
eb: EB
|
187
192
|
gb: GB
|
188
193
|
kb: KB
|
189
194
|
mb: MB
|
195
|
+
pb: PB
|
190
196
|
tb: TB
|
191
197
|
percentage:
|
192
198
|
format:
|
193
199
|
delimiter: ''
|
200
|
+
format: "%n%"
|
194
201
|
precision:
|
195
202
|
format:
|
196
203
|
delimiter: ''
|
data/rails/locale/en-IN.yml
CHANGED
@@ -5,8 +5,8 @@ en-IN:
|
|
5
5
|
messages:
|
6
6
|
record_invalid: 'Validation failed: %{errors}'
|
7
7
|
restrict_dependent_destroy:
|
8
|
-
has_one:
|
9
|
-
has_many:
|
8
|
+
has_one: Cannot delete record because a dependent %{record} exists
|
9
|
+
has_many: Cannot delete record because dependent %{record} exist
|
10
10
|
date:
|
11
11
|
abbr_day_names:
|
12
12
|
- Sun
|
@@ -17,7 +17,7 @@ en-IN:
|
|
17
17
|
- Fri
|
18
18
|
- Sat
|
19
19
|
abbr_month_names:
|
20
|
-
-
|
20
|
+
-
|
21
21
|
- Jan
|
22
22
|
- Feb
|
23
23
|
- Mar
|
@@ -40,10 +40,10 @@ 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
|
48
48
|
- February
|
49
49
|
- March
|
@@ -75,36 +75,36 @@ en-IN:
|
|
75
75
|
one: almost 1 year
|
76
76
|
other: almost %{count} years
|
77
77
|
half_a_minute: half a minute
|
78
|
-
less_than_x_minutes:
|
79
|
-
one: less than a minute
|
80
|
-
other: less than %{count} minutes
|
81
78
|
less_than_x_seconds:
|
82
79
|
one: less than 1 second
|
83
80
|
other: less than %{count} seconds
|
81
|
+
less_than_x_minutes:
|
82
|
+
one: less than a minute
|
83
|
+
other: less than %{count} minutes
|
84
84
|
over_x_years:
|
85
85
|
one: over 1 year
|
86
86
|
other: over %{count} years
|
87
|
-
|
88
|
-
one: 1
|
89
|
-
other: "%{count}
|
87
|
+
x_seconds:
|
88
|
+
one: 1 second
|
89
|
+
other: "%{count} seconds"
|
90
90
|
x_minutes:
|
91
91
|
one: 1 minute
|
92
92
|
other: "%{count} minutes"
|
93
|
+
x_days:
|
94
|
+
one: 1 day
|
95
|
+
other: "%{count} days"
|
93
96
|
x_months:
|
94
97
|
one: 1 month
|
95
98
|
other: "%{count} months"
|
96
99
|
x_years:
|
97
100
|
one: 1 year
|
98
|
-
other: "%{count} years"
|
99
|
-
x_seconds:
|
100
|
-
one: 1 second
|
101
|
-
other: "%{count} seconds"
|
101
|
+
other: "%{count} years"
|
102
102
|
prompts:
|
103
|
-
|
104
|
-
hour: Hour
|
103
|
+
second: Second
|
105
104
|
minute: Minute
|
105
|
+
hour: Hour
|
106
|
+
day: Day
|
106
107
|
month: Month
|
107
|
-
second: Seconds
|
108
108
|
year: Year
|
109
109
|
errors:
|
110
110
|
format: "%{attribute} %{message}"
|
@@ -122,9 +122,13 @@ en-IN:
|
|
122
122
|
invalid: is invalid
|
123
123
|
less_than: must be less than %{count}
|
124
124
|
less_than_or_equal_to: must be less than or equal to %{count}
|
125
|
+
model_invalid: 'Validation failed: %{errors}'
|
125
126
|
not_a_number: is not a number
|
126
127
|
not_an_integer: must be an integer
|
127
128
|
odd: must be odd
|
129
|
+
other_than: must be other than %{count}
|
130
|
+
present: must be blank
|
131
|
+
required: must exist
|
128
132
|
taken: has already been taken
|
129
133
|
too_long:
|
130
134
|
one: is too long (maximum is 1 character)
|
@@ -184,13 +188,16 @@ en-IN:
|
|
184
188
|
byte:
|
185
189
|
one: Byte
|
186
190
|
other: Bytes
|
191
|
+
eb: EB
|
187
192
|
gb: GB
|
188
193
|
kb: KB
|
189
194
|
mb: MB
|
195
|
+
pb: PB
|
190
196
|
tb: TB
|
191
197
|
percentage:
|
192
198
|
format:
|
193
199
|
delimiter: ''
|
200
|
+
format: "%n%"
|
194
201
|
precision:
|
195
202
|
format:
|
196
203
|
delimiter: ''
|
@@ -203,6 +210,6 @@ en-IN:
|
|
203
210
|
am: am
|
204
211
|
formats:
|
205
212
|
default: "%a, %d %b %Y %H:%M:%S %z"
|
206
|
-
long: "%
|
213
|
+
long: "%d %B %Y %H:%M"
|
207
214
|
short: "%d %b %H:%M"
|
208
215
|
pm: pm
|
data/rails/locale/en-NZ.yml
CHANGED
@@ -3,10 +3,10 @@ en-NZ:
|
|
3
3
|
activerecord:
|
4
4
|
errors:
|
5
5
|
messages:
|
6
|
-
record_invalid:
|
6
|
+
record_invalid: 'Validation failed: %{errors}'
|
7
7
|
restrict_dependent_destroy:
|
8
|
-
has_one:
|
9
|
-
has_many:
|
8
|
+
has_one: Cannot delete record because a dependent %{record} exists
|
9
|
+
has_many: Cannot delete record because dependent %{record} exist
|
10
10
|
date:
|
11
11
|
abbr_day_names:
|
12
12
|
- Sun
|
@@ -17,7 +17,7 @@ en-NZ:
|
|
17
17
|
- Fri
|
18
18
|
- Sat
|
19
19
|
abbr_month_names:
|
20
|
-
-
|
20
|
+
-
|
21
21
|
- Jan
|
22
22
|
- Feb
|
23
23
|
- Mar
|
@@ -43,7 +43,7 @@ en-NZ:
|
|
43
43
|
long: "%d %B, %Y"
|
44
44
|
short: "%d %b"
|
45
45
|
month_names:
|
46
|
-
-
|
46
|
+
-
|
47
47
|
- January
|
48
48
|
- February
|
49
49
|
- March
|
@@ -75,36 +75,36 @@ en-NZ:
|
|
75
75
|
one: almost 1 year
|
76
76
|
other: almost %{count} years
|
77
77
|
half_a_minute: half a minute
|
78
|
-
less_than_x_minutes:
|
79
|
-
one: less than a minute
|
80
|
-
other: less than %{count} minutes
|
81
78
|
less_than_x_seconds:
|
82
79
|
one: less than 1 second
|
83
80
|
other: less than %{count} seconds
|
81
|
+
less_than_x_minutes:
|
82
|
+
one: less than a minute
|
83
|
+
other: less than %{count} minutes
|
84
84
|
over_x_years:
|
85
85
|
one: over 1 year
|
86
86
|
other: over %{count} years
|
87
|
-
|
88
|
-
one: 1
|
89
|
-
other: "%{count}
|
87
|
+
x_seconds:
|
88
|
+
one: 1 second
|
89
|
+
other: "%{count} seconds"
|
90
90
|
x_minutes:
|
91
91
|
one: 1 minute
|
92
92
|
other: "%{count} minutes"
|
93
|
+
x_days:
|
94
|
+
one: 1 day
|
95
|
+
other: "%{count} days"
|
93
96
|
x_months:
|
94
97
|
one: 1 month
|
95
98
|
other: "%{count} months"
|
96
99
|
x_years:
|
97
100
|
one: 1 year
|
98
|
-
other: "%{count} years"
|
99
|
-
x_seconds:
|
100
|
-
one: 1 second
|
101
|
-
other: "%{count} seconds"
|
101
|
+
other: "%{count} years"
|
102
102
|
prompts:
|
103
|
-
|
104
|
-
hour: Hour
|
103
|
+
second: Second
|
105
104
|
minute: Minute
|
105
|
+
hour: Hour
|
106
|
+
day: Day
|
106
107
|
month: Month
|
107
|
-
second: Seconds
|
108
108
|
year: Year
|
109
109
|
errors:
|
110
110
|
format: "%{attribute} %{message}"
|
@@ -122,9 +122,13 @@ en-NZ:
|
|
122
122
|
invalid: is invalid
|
123
123
|
less_than: must be less than %{count}
|
124
124
|
less_than_or_equal_to: must be less than or equal to %{count}
|
125
|
+
model_invalid: 'Validation failed: %{errors}'
|
125
126
|
not_a_number: is not a number
|
126
127
|
not_an_integer: must be an integer
|
127
128
|
odd: must be odd
|
129
|
+
other_than: must be other than %{count}
|
130
|
+
present: must be blank
|
131
|
+
required: must exist
|
128
132
|
taken: has already been taken
|
129
133
|
too_long:
|
130
134
|
one: is too long (maximum is 1 character)
|
@@ -184,13 +188,16 @@ en-NZ:
|
|
184
188
|
byte:
|
185
189
|
one: Byte
|
186
190
|
other: Bytes
|
191
|
+
eb: EB
|
187
192
|
gb: GB
|
188
193
|
kb: KB
|
189
194
|
mb: MB
|
195
|
+
pb: PB
|
190
196
|
tb: TB
|
191
197
|
percentage:
|
192
198
|
format:
|
193
199
|
delimiter: ''
|
200
|
+
format: "%n%"
|
194
201
|
precision:
|
195
202
|
format:
|
196
203
|
delimiter: ''
|
@@ -0,0 +1,213 @@
|
|
1
|
+
---
|
2
|
+
en-TT:
|
3
|
+
activerecord:
|
4
|
+
errors:
|
5
|
+
messages:
|
6
|
+
record_invalid: "Validation failed: %{errors}"
|
7
|
+
restrict_dependent_destroy:
|
8
|
+
has_one: "Cannot delete record because a dependent %{record} exists"
|
9
|
+
has_many: "Cannot delete record because dependent %{record} exist"
|
10
|
+
date:
|
11
|
+
abbr_day_names:
|
12
|
+
- Sun
|
13
|
+
- Mon
|
14
|
+
- Tue
|
15
|
+
- Wed
|
16
|
+
- Thu
|
17
|
+
- Fri
|
18
|
+
- Sat
|
19
|
+
abbr_month_names:
|
20
|
+
-
|
21
|
+
- Jan
|
22
|
+
- Feb
|
23
|
+
- Mar
|
24
|
+
- Apr
|
25
|
+
- May
|
26
|
+
- Jun
|
27
|
+
- Jul
|
28
|
+
- Aug
|
29
|
+
- Sep
|
30
|
+
- Oct
|
31
|
+
- Nov
|
32
|
+
- Dec
|
33
|
+
day_names:
|
34
|
+
- Sunday
|
35
|
+
- Monday
|
36
|
+
- Tuesday
|
37
|
+
- Wednesday
|
38
|
+
- Thursday
|
39
|
+
- Friday
|
40
|
+
- Saturday
|
41
|
+
formats:
|
42
|
+
default: "%Y-%m-%d"
|
43
|
+
long: "%d %B %Y"
|
44
|
+
short: "%d %b"
|
45
|
+
month_names:
|
46
|
+
-
|
47
|
+
- January
|
48
|
+
- February
|
49
|
+
- March
|
50
|
+
- April
|
51
|
+
- May
|
52
|
+
- June
|
53
|
+
- July
|
54
|
+
- August
|
55
|
+
- September
|
56
|
+
- October
|
57
|
+
- November
|
58
|
+
- December
|
59
|
+
order:
|
60
|
+
- :year
|
61
|
+
- :month
|
62
|
+
- :day
|
63
|
+
datetime:
|
64
|
+
distance_in_words:
|
65
|
+
about_x_hours:
|
66
|
+
one: about 1 hour
|
67
|
+
other: about %{count} hours
|
68
|
+
about_x_months:
|
69
|
+
one: about 1 month
|
70
|
+
other: about %{count} months
|
71
|
+
about_x_years:
|
72
|
+
one: about 1 year
|
73
|
+
other: about %{count} years
|
74
|
+
almost_x_years:
|
75
|
+
one: almost 1 year
|
76
|
+
other: almost %{count} years
|
77
|
+
half_a_minute: half a minute
|
78
|
+
less_than_x_minutes:
|
79
|
+
one: less than a minute
|
80
|
+
other: less than %{count} minutes
|
81
|
+
less_than_x_seconds:
|
82
|
+
one: less than 1 second
|
83
|
+
other: less than %{count} seconds
|
84
|
+
over_x_years:
|
85
|
+
one: over 1 year
|
86
|
+
other: over %{count} years
|
87
|
+
x_days:
|
88
|
+
one: 1 day
|
89
|
+
other: "%{count} days"
|
90
|
+
x_minutes:
|
91
|
+
one: 1 minute
|
92
|
+
other: "%{count} minutes"
|
93
|
+
x_months:
|
94
|
+
one: 1 month
|
95
|
+
other: "%{count} months"
|
96
|
+
x_years:
|
97
|
+
one: 1 year
|
98
|
+
other: "%{count} years"
|
99
|
+
x_seconds:
|
100
|
+
one: 1 second
|
101
|
+
other: "%{count} seconds"
|
102
|
+
prompts:
|
103
|
+
day: Day
|
104
|
+
hour: Hour
|
105
|
+
minute: Minute
|
106
|
+
month: Month
|
107
|
+
second: Seconds
|
108
|
+
year: Year
|
109
|
+
errors:
|
110
|
+
format: "%{attribute} %{message}"
|
111
|
+
messages:
|
112
|
+
accepted: must be accepted
|
113
|
+
blank: can't be blank
|
114
|
+
present: must be blank
|
115
|
+
confirmation: doesn't match %{attribute}
|
116
|
+
empty: can't be empty
|
117
|
+
equal_to: must be equal to %{count}
|
118
|
+
even: must be even
|
119
|
+
exclusion: is reserved
|
120
|
+
greater_than: must be greater than %{count}
|
121
|
+
greater_than_or_equal_to: must be greater than or equal to %{count}
|
122
|
+
inclusion: is not included in the list
|
123
|
+
invalid: is invalid
|
124
|
+
less_than: must be less than %{count}
|
125
|
+
less_than_or_equal_to: must be less than or equal to %{count}
|
126
|
+
model_invalid: "Validation failed: %{errors}"
|
127
|
+
not_a_number: is not a number
|
128
|
+
not_an_integer: must be an integer
|
129
|
+
odd: must be odd
|
130
|
+
required: must exist
|
131
|
+
taken: has already been taken
|
132
|
+
too_long:
|
133
|
+
one: is too long (maximum is 1 character)
|
134
|
+
other: is too long (maximum is %{count} characters)
|
135
|
+
too_short:
|
136
|
+
one: is too short (minimum is 1 character)
|
137
|
+
other: is too short (minimum is %{count} characters)
|
138
|
+
wrong_length:
|
139
|
+
one: is the wrong length (should be 1 character)
|
140
|
+
other: is the wrong length (should be %{count} characters)
|
141
|
+
other_than: must be other than %{count}
|
142
|
+
template:
|
143
|
+
body: 'There were problems with the following fields:'
|
144
|
+
header:
|
145
|
+
one: 1 error prohibited this %{model} from being saved
|
146
|
+
other: "%{count} errors prohibited this %{model} from being saved"
|
147
|
+
helpers:
|
148
|
+
select:
|
149
|
+
prompt: Please select
|
150
|
+
submit:
|
151
|
+
create: Create %{model}
|
152
|
+
submit: Save %{model}
|
153
|
+
update: Update %{model}
|
154
|
+
number:
|
155
|
+
currency:
|
156
|
+
format:
|
157
|
+
delimiter: ","
|
158
|
+
format: "%u%n"
|
159
|
+
precision: 2
|
160
|
+
separator: "."
|
161
|
+
significant: false
|
162
|
+
strip_insignificant_zeros: false
|
163
|
+
unit: "TT$"
|
164
|
+
format:
|
165
|
+
delimiter: ","
|
166
|
+
precision: 3
|
167
|
+
separator: "."
|
168
|
+
significant: false
|
169
|
+
strip_insignificant_zeros: false
|
170
|
+
human:
|
171
|
+
decimal_units:
|
172
|
+
format: "%n %u"
|
173
|
+
units:
|
174
|
+
billion: Billion
|
175
|
+
million: Million
|
176
|
+
quadrillion: Quadrillion
|
177
|
+
thousand: Thousand
|
178
|
+
trillion: Trillion
|
179
|
+
unit: ''
|
180
|
+
format:
|
181
|
+
delimiter: ''
|
182
|
+
precision: 3
|
183
|
+
significant: true
|
184
|
+
strip_insignificant_zeros: true
|
185
|
+
storage_units:
|
186
|
+
format: "%n %u"
|
187
|
+
units:
|
188
|
+
byte:
|
189
|
+
one: Byte
|
190
|
+
other: Bytes
|
191
|
+
gb: GB
|
192
|
+
kb: KB
|
193
|
+
mb: MB
|
194
|
+
tb: TB
|
195
|
+
percentage:
|
196
|
+
format:
|
197
|
+
delimiter: ''
|
198
|
+
format: "%n%"
|
199
|
+
precision:
|
200
|
+
format:
|
201
|
+
delimiter: ''
|
202
|
+
support:
|
203
|
+
array:
|
204
|
+
last_word_connector: ", and "
|
205
|
+
two_words_connector: " and "
|
206
|
+
words_connector: ", "
|
207
|
+
time:
|
208
|
+
am: am
|
209
|
+
formats:
|
210
|
+
default: "%a, %d %b %Y %H:%M:%S %z"
|
211
|
+
long: "%d %B %Y %H:%M"
|
212
|
+
short: "%d %b %H:%M"
|
213
|
+
pm: pm
|
data/rails/locale/en-US.yml
CHANGED
@@ -3,10 +3,10 @@ en-US:
|
|
3
3
|
activerecord:
|
4
4
|
errors:
|
5
5
|
messages:
|
6
|
-
record_invalid:
|
6
|
+
record_invalid: 'Validation failed: %{errors}'
|
7
7
|
restrict_dependent_destroy:
|
8
|
-
has_one:
|
9
|
-
has_many:
|
8
|
+
has_one: Cannot delete record because a dependent %{record} exists
|
9
|
+
has_many: Cannot delete record because dependent %{record} exist
|
10
10
|
date:
|
11
11
|
abbr_day_names:
|
12
12
|
- Sun
|
@@ -17,7 +17,7 @@ en-US:
|
|
17
17
|
- Fri
|
18
18
|
- Sat
|
19
19
|
abbr_month_names:
|
20
|
-
-
|
20
|
+
-
|
21
21
|
- Jan
|
22
22
|
- Feb
|
23
23
|
- Mar
|
@@ -43,7 +43,7 @@ en-US:
|
|
43
43
|
long: "%B %d, %Y"
|
44
44
|
short: "%b %d"
|
45
45
|
month_names:
|
46
|
-
-
|
46
|
+
-
|
47
47
|
- January
|
48
48
|
- February
|
49
49
|
- March
|
@@ -75,43 +75,42 @@ en-US:
|
|
75
75
|
one: almost 1 year
|
76
76
|
other: almost %{count} years
|
77
77
|
half_a_minute: half a minute
|
78
|
-
less_than_x_minutes:
|
79
|
-
one: less than a minute
|
80
|
-
other: less than %{count} minutes
|
81
78
|
less_than_x_seconds:
|
82
79
|
one: less than 1 second
|
83
80
|
other: less than %{count} seconds
|
81
|
+
less_than_x_minutes:
|
82
|
+
one: less than a minute
|
83
|
+
other: less than %{count} minutes
|
84
84
|
over_x_years:
|
85
85
|
one: over 1 year
|
86
86
|
other: over %{count} years
|
87
|
-
|
88
|
-
one: 1
|
89
|
-
other: "%{count}
|
87
|
+
x_seconds:
|
88
|
+
one: 1 second
|
89
|
+
other: "%{count} seconds"
|
90
90
|
x_minutes:
|
91
91
|
one: 1 minute
|
92
92
|
other: "%{count} minutes"
|
93
|
+
x_days:
|
94
|
+
one: 1 day
|
95
|
+
other: "%{count} days"
|
93
96
|
x_months:
|
94
97
|
one: 1 month
|
95
98
|
other: "%{count} months"
|
96
99
|
x_years:
|
97
100
|
one: 1 year
|
98
101
|
other: "%{count} years"
|
99
|
-
x_seconds:
|
100
|
-
one: 1 second
|
101
|
-
other: "%{count} seconds"
|
102
102
|
prompts:
|
103
|
-
|
104
|
-
hour: Hour
|
103
|
+
second: Second
|
105
104
|
minute: Minute
|
105
|
+
hour: Hour
|
106
|
+
day: Day
|
106
107
|
month: Month
|
107
|
-
second: Seconds
|
108
108
|
year: Year
|
109
109
|
errors:
|
110
110
|
format: "%{attribute} %{message}"
|
111
111
|
messages:
|
112
112
|
accepted: must be accepted
|
113
113
|
blank: can't be blank
|
114
|
-
present: must be blank
|
115
114
|
confirmation: doesn't match %{attribute}
|
116
115
|
empty: can't be empty
|
117
116
|
equal_to: must be equal to %{count}
|
@@ -123,10 +122,12 @@ en-US:
|
|
123
122
|
invalid: is invalid
|
124
123
|
less_than: must be less than %{count}
|
125
124
|
less_than_or_equal_to: must be less than or equal to %{count}
|
126
|
-
model_invalid:
|
125
|
+
model_invalid: 'Validation failed: %{errors}'
|
127
126
|
not_a_number: is not a number
|
128
127
|
not_an_integer: must be an integer
|
129
128
|
odd: must be odd
|
129
|
+
other_than: must be other than %{count}
|
130
|
+
present: must be blank
|
130
131
|
required: must exist
|
131
132
|
taken: has already been taken
|
132
133
|
too_long:
|
@@ -138,7 +139,6 @@ en-US:
|
|
138
139
|
wrong_length:
|
139
140
|
one: is the wrong length (should be 1 character)
|
140
141
|
other: is the wrong length (should be %{count} characters)
|
141
|
-
other_than: must be other than %{count}
|
142
142
|
template:
|
143
143
|
body: 'There were problems with the following fields:'
|
144
144
|
header:
|
@@ -188,9 +188,11 @@ en-US:
|
|
188
188
|
byte:
|
189
189
|
one: Byte
|
190
190
|
other: Bytes
|
191
|
+
eb: EB
|
191
192
|
gb: GB
|
192
193
|
kb: KB
|
193
194
|
mb: MB
|
195
|
+
pb: PB
|
194
196
|
tb: TB
|
195
197
|
percentage:
|
196
198
|
format:
|