rails-i18n 6.0.0 → 7.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +52 -6
- data/lib/rails_i18n/common_pluralizations/east_slavic.rb +1 -1
- data/lib/rails_i18n/railtie.rb +3 -0
- data/lib/rails_i18n.rb +0 -1
- data/rails/locale/ca.yml +31 -7
- data/rails/locale/da.yml +1 -1
- data/rails/locale/de.yml +1 -1
- data/rails/locale/el-CY.yml +15 -2
- data/rails/locale/el.yml +13 -0
- data/rails/locale/en-TT.yml +213 -0
- data/rails/locale/es-AR.yml +1 -1
- data/rails/locale/es-CO.yml +7 -7
- data/rails/locale/fi.yml +12 -12
- data/rails/locale/fr-CA.yml +2 -2
- data/rails/locale/fr.yml +14 -14
- data/rails/locale/hr.yml +13 -4
- data/rails/locale/it-CH.yml +14 -1
- data/rails/locale/it.yml +7 -6
- data/rails/locale/lt.yml +7 -7
- data/rails/locale/lv.yml +1 -1
- data/rails/locale/nb.yml +11 -5
- data/rails/locale/pap-AW.yml +215 -0
- data/rails/locale/pap-CW.yml +215 -0
- data/rails/locale/pl.yml +23 -23
- data/rails/locale/ro.yml +55 -55
- data/rails/locale/sq.yml +6 -6
- data/rails/locale/st.yml +215 -0
- data/rails/locale/sv.yml +2 -2
- data/rails/locale/uk.yml +4 -4
- data/rails/locale/vi.yml +1 -0
- data/rails/locale/zh-CN.yml +1 -1
- data/rails/locale/zh-TW.yml +1 -1
- 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 +29 -2
- data/rails/pluralization/st.rb +3 -0
- data/rails/pluralization/tr.rb +1 -1
- data/rails/transliteration/da.yml +10 -0
- data/rails/transliteration/ka.yml +37 -0
- data/rails/transliteration/uk.rb +5 -21
- metadata +18 -10
- data/lib/rails_i18n/unicode.rb +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64db0ab46aa5ba19b123b26cc573ccc8dcb92c3621c574b2c506aca2529e888d
|
4
|
+
data.tar.gz: 7f390e39a5b9ca3ad45997a9109535e1bb9346271dc6dd5d76ef6ac68db48c2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9539c4e1840616800bedadd48ad004e41cff64605de87e6d944b000fac19fff9ee3a3bea6ca5cd27ab92493ceb0234e4d396ec5ba970030042569e9986df7f28
|
7
|
+
data.tar.gz: 2d852dcee634a47cd9be44f474217da359cc95281c52708fa213b620284f20de067531bb56d9a7dd89684b869e0696a35ae918024ed366e0fd36cf5c5a8a78a4
|
data/README.md
CHANGED
@@ -11,7 +11,8 @@ Centralization of locale data collection for Ruby on Rails.
|
|
11
11
|
Include the gem to your Gemfile:
|
12
12
|
|
13
13
|
``` ruby
|
14
|
-
gem 'rails-i18n', '~>
|
14
|
+
gem 'rails-i18n', '~> 7.0.0' # For 7.0.0
|
15
|
+
gem 'rails-i18n', '~> 6.0' # For 6.x
|
15
16
|
gem 'rails-i18n', '~> 5.1' # For 5.0.x, 5.1.x and 5.2.x
|
16
17
|
gem 'rails-i18n', '~> 4.0' # For 4.0.x
|
17
18
|
gem 'rails-i18n', '~> 3.0' # For 3.x
|
@@ -23,7 +24,8 @@ gem 'rails-i18n', github: 'svenfuchs/rails-i18n', branch: 'rails-3-x' # For 3.x
|
|
23
24
|
Alternatively, execute the following command:
|
24
25
|
|
25
26
|
``` shell
|
26
|
-
gem install rails-i18n -v '~>
|
27
|
+
gem install rails-i18n -v '~> 7.0.0' # For 7.0.0
|
28
|
+
gem install rails-i18n -v '~> 6.0' # For 6.x
|
27
29
|
gem install rails-i18n -v '~> 5.1' # For For 5.0.x, 5.1.x and 5.2.x
|
28
30
|
gem install rails-i18n -v '~> 4.0' # For 4.0.x
|
29
31
|
gem install rails-i18n -v '~> 3.0' # For 3.x
|
@@ -62,17 +64,17 @@ Locale data whose structure is compatible with Rails 2.3 are available on the se
|
|
62
64
|
Available locales:
|
63
65
|
|
64
66
|
> af, ar, az, be, bg, bn, bs, ca, cs, cy, da, de, de-AT, de-CH, de-DE, el, el-CY,
|
65
|
-
> en, en-AU, en-CA, en-GB, en-IE, en-IN, en-NZ, en-US, en-ZA, en-CY,eo, es,
|
67
|
+
> en, en-AU, en-CA, en-GB, en-IE, en-IN, en-NZ, en-US, en-ZA, en-CY, en-TT, eo, es,
|
66
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,
|
67
69
|
> et, eu, fa, fi, fr, fr-CA, fr-CH, fr-FR, gl, he, hi, hi-IN, hr, hu, id, is, it,
|
68
70
|
> it-CH, ja, ka, km, kn, ko, lb, lo, lt, lv, mk, ml, mn, mr-IN, ms, nb, ne, nl, nn, oc, or,
|
69
|
-
> pa, pl, pt, pt-BR, rm, ro, ru, sk, sl, sq, sr, sw, ta, te, th, tl, tr, tt, ug,
|
71
|
+
> pa, pl, pt, pt-BR, rm, ro, ru, sk, sl, sq, sr, st, sw, ta, te, th, tl, tr, tt, ug,
|
70
72
|
> ur, uz, vi, wo, zh-CN, zh-HK, zh-TW, zh-YUE
|
71
73
|
|
72
74
|
Complete locales:
|
73
75
|
|
74
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,
|
75
|
-
> es-ES, es-MX, es-NI, es-PA, es-PE, es-US, es-VE, et, fa, fr, fr-CA, fr-CH, fr-FR, id, 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, id, it, ja, ka, ml, nb,
|
76
78
|
> nl, nn, pt, pt-BR, sv, sv-SE, tr, zh-CN, zh-HK, zh-TW, zh-YUE, uk
|
77
79
|
|
78
80
|
Currently, most locales are incomplete. Typically they lack the following keys:
|
@@ -80,6 +82,9 @@ Currently, most locales are incomplete. Typically they lack the following keys:
|
|
80
82
|
- `activerecord.errors.messages.record_invalid`
|
81
83
|
- `activerecord.errors.messages.restrict_dependent_destroy.has_one`
|
82
84
|
- `activerecord.errors.messages.restrict_dependent_destroy.has_many`
|
85
|
+
|
86
|
+
The following keys should NOT be included:
|
87
|
+
|
83
88
|
- `errors.messages.model_invalid`
|
84
89
|
- `errors.messages.required`
|
85
90
|
|
@@ -113,7 +118,7 @@ If you are familiar with GitHub operations, then follow the procedures described
|
|
113
118
|
|
114
119
|
If not,
|
115
120
|
|
116
|
-
* Save your locale data
|
121
|
+
* Save your locale data in a [Gist](http://gist.github.com).
|
117
122
|
* Open an issue with reference to the Gist you created.
|
118
123
|
|
119
124
|
### Fetching the `rails-i18n` Repository
|
@@ -130,6 +135,7 @@ If not,
|
|
130
135
|
### Testing your Locale File
|
131
136
|
|
132
137
|
Before committing and pushing your changes, test the integrity of your locale file.
|
138
|
+
(You can also run the tests using Docker, see below)
|
133
139
|
|
134
140
|
``` shell
|
135
141
|
bundle exec rake spec
|
@@ -176,6 +182,46 @@ If you are ready, push the repository into the Github and send us a pull request
|
|
176
182
|
|
177
183
|
We will do the formality check and publish it as quick as we can.
|
178
184
|
|
185
|
+
### Add an informative title to your pull request or issue
|
186
|
+
|
187
|
+
If your pull request or issue concerns a specific locale - please indicate the relevant locale
|
188
|
+
in the issue or pull request title in order to facilitate triage.
|
189
|
+
|
190
|
+
**Best:**
|
191
|
+
|
192
|
+
*Danish: change da.errors.messages.required to "skal udfyldes"*
|
193
|
+
|
194
|
+
**Good:**
|
195
|
+
|
196
|
+
*Human precision in Swedish locale file is set to 1*
|
197
|
+
|
198
|
+
*Update es-PE.yml, the currency unit is incorrect*
|
199
|
+
|
200
|
+
**Bad:**
|
201
|
+
|
202
|
+
*Changing some string about validation*
|
203
|
+
|
204
|
+
### Docker
|
205
|
+
|
206
|
+
Build the image:
|
207
|
+
|
208
|
+
```
|
209
|
+
docker build --tag=railsi18n .
|
210
|
+
```
|
211
|
+
|
212
|
+
Run the tests:
|
213
|
+
|
214
|
+
```
|
215
|
+
docker run railsi18n
|
216
|
+
```
|
217
|
+
|
218
|
+
To run the other commands described above:
|
219
|
+
|
220
|
+
```
|
221
|
+
docker run railsi18n bundle exec rake i18n-spec:completeness rails/locale/en.yml rails/locale/YOUR_NEW_LOCALE.yml
|
222
|
+
|
223
|
+
```
|
224
|
+
|
179
225
|
## See also
|
180
226
|
|
181
227
|
* [devise-i18n](https://github.com/tigrish/devise-i18n)
|
@@ -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, Bosnian, Croatian, Russian,
|
4
|
+
# Used for Belarusian, Bosnian, Croatian, Russian, Serbo-Croatian, Ukrainian.
|
5
5
|
|
6
6
|
module RailsI18n
|
7
7
|
module Pluralization
|
data/lib/rails_i18n/railtie.rb
CHANGED
@@ -3,11 +3,14 @@ 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
|
+
|
6
8
|
RailsI18n::Railtie.instance_eval do
|
7
9
|
pattern = pattern_from app.config.i18n.available_locales
|
8
10
|
|
9
11
|
add("rails/locale/#{pattern}.yml")
|
10
12
|
add("rails/pluralization/#{pattern}.rb")
|
13
|
+
add("rails/ordinals/#{pattern}.rb")
|
11
14
|
add("rails/transliteration/#{pattern}.{rb,yml}")
|
12
15
|
|
13
16
|
init_pluralization_module
|
data/lib/rails_i18n.rb
CHANGED
data/rails/locale/ca.yml
CHANGED
@@ -4,6 +4,9 @@ ca:
|
|
4
4
|
errors:
|
5
5
|
messages:
|
6
6
|
record_invalid: 'La validació ha fallat: %{errors}'
|
7
|
+
restrict_dependent_destroy:
|
8
|
+
has_one: No es pot eliminar el registre perquè existeix un %{record} dependent
|
9
|
+
has_many: No es pot eliminar el registre perquè existeixen %{record} dependents
|
7
10
|
date:
|
8
11
|
abbr_day_names:
|
9
12
|
- Dg
|
@@ -119,13 +122,23 @@ ca:
|
|
119
122
|
invalid: no és vàlid
|
120
123
|
less_than: ha de ser menor que %{count}
|
121
124
|
less_than_or_equal_to: ha de ser menor o igual a %{count}
|
125
|
+
model_invalid: 'La validació ha fallat: %{errors}'
|
122
126
|
not_a_number: no és un número
|
123
127
|
not_an_integer: ha de ser un enter
|
124
128
|
odd: ha de ser senar
|
129
|
+
other_than: ha de ser diferent de %{count}
|
130
|
+
present: ha d'estar en blanc
|
131
|
+
required: ha d'existir
|
125
132
|
taken: no està disponible
|
126
|
-
too_long:
|
127
|
-
|
128
|
-
|
133
|
+
too_long:
|
134
|
+
one: és massa llarg (1 caràcter màxim)
|
135
|
+
other: és massa llarg (%{count} caràcters màxim)
|
136
|
+
too_short:
|
137
|
+
one: és massa curt (1 caràcter mínim)
|
138
|
+
other: és massa curt (%{count} caràcters mínim)
|
139
|
+
wrong_length:
|
140
|
+
one: no té la longitud correcta (1 caràcter exactament)
|
141
|
+
other: no té la longitud correcta (%{count} caràcters exactament)
|
129
142
|
template:
|
130
143
|
body: 'Hi ha hagut problemes amb els següents camps:'
|
131
144
|
header:
|
@@ -159,10 +172,18 @@ ca:
|
|
159
172
|
format: "%n %u"
|
160
173
|
units:
|
161
174
|
billion: mil milions
|
162
|
-
million:
|
163
|
-
|
164
|
-
|
165
|
-
|
175
|
+
million:
|
176
|
+
one: milió
|
177
|
+
other: milions
|
178
|
+
quadrillion:
|
179
|
+
one: quadrilió
|
180
|
+
other: quadrilions
|
181
|
+
thousand:
|
182
|
+
one: miler
|
183
|
+
other: milers
|
184
|
+
trillion:
|
185
|
+
one: bilió
|
186
|
+
other: bilions
|
166
187
|
unit: ''
|
167
188
|
format:
|
168
189
|
delimiter: ''
|
@@ -175,13 +196,16 @@ ca:
|
|
175
196
|
byte:
|
176
197
|
one: Byte
|
177
198
|
other: Bytes
|
199
|
+
eb: EB
|
178
200
|
gb: GB
|
179
201
|
kb: KB
|
180
202
|
mb: MB
|
203
|
+
pb: PB
|
181
204
|
tb: TB
|
182
205
|
percentage:
|
183
206
|
format:
|
184
207
|
delimiter: ''
|
208
|
+
format: "%n %"
|
185
209
|
precision:
|
186
210
|
format:
|
187
211
|
delimiter: ''
|
data/rails/locale/da.yml
CHANGED
data/rails/locale/de.yml
CHANGED
data/rails/locale/el-CY.yml
CHANGED
@@ -4,6 +4,9 @@ el-CY:
|
|
4
4
|
errors:
|
5
5
|
messages:
|
6
6
|
record_invalid: 'Η επικύρωση απέτυχε: %{errors}'
|
7
|
+
restrict_dependent_destroy:
|
8
|
+
has_one: Η εγγραφή δεν μπορεί να διαγραφεί γιατί υπάρχει εξαρτημένο %{record}
|
9
|
+
has_many: Η εγγραφή δεν μπορεί να διαγραφεί γιατί υπάρχουν εξαρτημένα %{record}
|
7
10
|
date:
|
8
11
|
abbr_day_names:
|
9
12
|
- Κυρ
|
@@ -14,7 +17,7 @@ el-CY:
|
|
14
17
|
- Παρ
|
15
18
|
- Σάβ
|
16
19
|
abbr_month_names:
|
17
|
-
-
|
20
|
+
-
|
18
21
|
- Ιαν
|
19
22
|
- Φεβ
|
20
23
|
- Μαρ
|
@@ -40,7 +43,7 @@ el-CY:
|
|
40
43
|
long: "%e %B %Y"
|
41
44
|
short: "%d %b"
|
42
45
|
month_names:
|
43
|
-
-
|
46
|
+
-
|
44
47
|
- Ιανουάριος
|
45
48
|
- Φεβρουάριος
|
46
49
|
- Μάρτιος
|
@@ -93,6 +96,9 @@ el-CY:
|
|
93
96
|
x_months:
|
94
97
|
one: 1 μήνα
|
95
98
|
other: "%{count} μήνες"
|
99
|
+
x_years:
|
100
|
+
one: 1 χρόνος
|
101
|
+
other: "%{count} χρόνια"
|
96
102
|
prompts:
|
97
103
|
second: Δευτερόλεπτο
|
98
104
|
minute: Λεπτό
|
@@ -116,9 +122,13 @@ el-CY:
|
|
116
122
|
invalid: είναι άκυρο
|
117
123
|
less_than: πρέπει να είναι λιγότερο από %{count}
|
118
124
|
less_than_or_equal_to: πρέπει να είναι λιγότερο ή ίσο με %{count}
|
125
|
+
model_invalid: 'Η επικύρωση απέτυχε: %{errors}'
|
119
126
|
not_a_number: δεν είναι αριθμός
|
120
127
|
not_an_integer: πρέπει να είναι ακέραιος αριθμός
|
121
128
|
odd: πρέπει να είναι περιττός
|
129
|
+
other_than: πρέπει να είναι διάφορο του %{count}
|
130
|
+
present: πρέπει να είναι κενό
|
131
|
+
required: πρέπει να υπάρχει
|
122
132
|
taken: το έχουν ήδη χρησιμοποιήσει
|
123
133
|
too_long:
|
124
134
|
one: είναι πολύ μεγάλο (το μέγιστο μήκος είναι 1 χαρακτήρας)
|
@@ -178,13 +188,16 @@ el-CY:
|
|
178
188
|
byte:
|
179
189
|
one: Byte
|
180
190
|
other: Bytes
|
191
|
+
eb: EB
|
181
192
|
gb: GB
|
182
193
|
kb: KB
|
183
194
|
mb: MB
|
195
|
+
pb: PB
|
184
196
|
tb: TB
|
185
197
|
percentage:
|
186
198
|
format:
|
187
199
|
delimiter: ''
|
200
|
+
format: "%n%"
|
188
201
|
precision:
|
189
202
|
format:
|
190
203
|
delimiter: ''
|
data/rails/locale/el.yml
CHANGED
@@ -4,6 +4,9 @@ el:
|
|
4
4
|
errors:
|
5
5
|
messages:
|
6
6
|
record_invalid: 'Η επικύρωση απέτυχε: %{errors}'
|
7
|
+
restrict_dependent_destroy:
|
8
|
+
has_one: Η εγγραφή δεν μπορεί να διαγραφεί γιατί υπάρχει εξαρτημένο %{record}
|
9
|
+
has_many: Η εγγραφή δεν μπορεί να διαγραφεί γιατί υπάρχουν εξαρτημένα %{record}
|
7
10
|
date:
|
8
11
|
abbr_day_names:
|
9
12
|
- Κυρ
|
@@ -93,6 +96,9 @@ el:
|
|
93
96
|
x_months:
|
94
97
|
one: 1 μήνα
|
95
98
|
other: "%{count} μήνες"
|
99
|
+
x_years:
|
100
|
+
one: 1 χρόνος
|
101
|
+
other: "%{count} χρόνια"
|
96
102
|
prompts:
|
97
103
|
second: Δευτερόλεπτο
|
98
104
|
minute: Λεπτό
|
@@ -116,9 +122,13 @@ el:
|
|
116
122
|
invalid: είναι άκυρο
|
117
123
|
less_than: πρέπει να είναι λιγότερο από %{count}
|
118
124
|
less_than_or_equal_to: πρέπει να είναι λιγότερο ή ίσο με %{count}
|
125
|
+
model_invalid: 'Η επικύρωση απέτυχε: %{errors}'
|
119
126
|
not_a_number: δεν είναι αριθμός
|
120
127
|
not_an_integer: πρέπει να είναι ακέραιος αριθμός
|
121
128
|
odd: πρέπει να είναι περιττός
|
129
|
+
other_than: πρέπει να είναι διάφορο του %{count}
|
130
|
+
present: πρέπει να είναι κενό
|
131
|
+
required: πρέπει να υπάρχει
|
122
132
|
taken: το έχουν ήδη χρησιμοποιήσει
|
123
133
|
too_long:
|
124
134
|
one: είναι πολύ μεγάλο (το μέγιστο μήκος είναι 1 χαρακτήρας)
|
@@ -178,13 +188,16 @@ el:
|
|
178
188
|
byte:
|
179
189
|
one: Byte
|
180
190
|
other: Bytes
|
191
|
+
eb: EB
|
181
192
|
gb: GB
|
182
193
|
kb: KB
|
183
194
|
mb: MB
|
195
|
+
pb: PB
|
184
196
|
tb: TB
|
185
197
|
percentage:
|
186
198
|
format:
|
187
199
|
delimiter: ''
|
200
|
+
format: "%n%"
|
188
201
|
precision:
|
189
202
|
format:
|
190
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: "%B %d, %Y"
|
44
|
+
short: "%b %d"
|
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: "%B %d, %Y %H:%M"
|
212
|
+
short: "%d %b %H:%M"
|
213
|
+
pm: pm
|
data/rails/locale/es-AR.yml
CHANGED
@@ -125,7 +125,7 @@ es-AR:
|
|
125
125
|
model_invalid: 'La validación falló: %{errors}'
|
126
126
|
not_a_number: no es un número
|
127
127
|
not_an_integer: debe ser un entero
|
128
|
-
odd: debe ser un número
|
128
|
+
odd: debe ser un número impar
|
129
129
|
other_than: debe ser distinto de %{count}
|
130
130
|
present: debe estar en blanco
|
131
131
|
required: debe existir
|
data/rails/locale/es-CO.yml
CHANGED
@@ -154,17 +154,17 @@ es-CO:
|
|
154
154
|
number:
|
155
155
|
currency:
|
156
156
|
format:
|
157
|
-
delimiter: "
|
157
|
+
delimiter: "."
|
158
158
|
format: "%u%n"
|
159
159
|
precision: 0
|
160
|
-
separator: "
|
160
|
+
separator: ","
|
161
161
|
significant: false
|
162
162
|
strip_insignificant_zeros: false
|
163
163
|
unit: "$"
|
164
164
|
format:
|
165
|
-
delimiter: "
|
165
|
+
delimiter: "."
|
166
166
|
precision: 2
|
167
|
-
separator: "
|
167
|
+
separator: ","
|
168
168
|
significant: false
|
169
169
|
strip_insignificant_zeros: false
|
170
170
|
human:
|
@@ -182,7 +182,7 @@ es-CO:
|
|
182
182
|
other: billones
|
183
183
|
unit: ''
|
184
184
|
format:
|
185
|
-
delimiter:
|
185
|
+
delimiter: ''
|
186
186
|
precision: 3
|
187
187
|
significant: true
|
188
188
|
strip_insignificant_zeros: true
|
@@ -200,11 +200,11 @@ es-CO:
|
|
200
200
|
tb: TB
|
201
201
|
percentage:
|
202
202
|
format:
|
203
|
-
delimiter:
|
203
|
+
delimiter: ''
|
204
204
|
format: "%n%"
|
205
205
|
precision:
|
206
206
|
format:
|
207
|
-
delimiter:
|
207
|
+
delimiter: ''
|
208
208
|
support:
|
209
209
|
array:
|
210
210
|
last_word_connector: " y "
|