rails-i18n 6.0.0 → 7.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +62 -1
- data/README.md +52 -6
- 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 +3 -3
- data/rails/locale/ar.yml +2 -2
- data/rails/locale/ca.yml +31 -7
- data/rails/locale/cy.yml +3 -3
- data/rails/locale/da.yml +17 -9
- 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-CA.yml +1 -1
- data/rails/locale/en-IN.yml +3 -3
- data/rails/locale/en-TT.yml +213 -0
- data/rails/locale/en-ZA.yml +3 -3
- data/rails/locale/es-AR.yml +1 -1
- data/rails/locale/es-CL.yml +1 -1
- data/rails/locale/es-CO.yml +7 -7
- data/rails/locale/es-ES.yml +1 -1
- data/rails/locale/es.yml +1 -1
- data/rails/locale/fi.yml +13 -13
- data/rails/locale/fr-CA.yml +2 -2
- data/rails/locale/fr.yml +15 -15
- 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 +14 -5
- data/rails/locale/it-CH.yml +14 -1
- data/rails/locale/it.yml +7 -6
- data/rails/locale/kn.yml +3 -3
- data/rails/locale/lt.yml +8 -8
- data/rails/locale/lv.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/nb.yml +11 -5
- data/rails/locale/ne.yml +3 -3
- data/rails/locale/pa.yml +3 -3
- 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/sr.yml +2 -2
- data/rails/locale/st.yml +215 -0
- data/rails/locale/sv.yml +4 -4
- data/rails/locale/ta.yml +3 -3
- data/rails/locale/te.yml +3 -3
- data/rails/locale/uk.yml +4 -4
- data/rails/locale/ur.yml +2 -2
- data/rails/locale/vi.yml +1 -0
- data/rails/locale/wo.yml +3 -3
- data/rails/locale/zh-CN.yml +1 -1
- data/rails/locale/zh-TW.yml +2 -2
- 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/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/transliteration/da.yml +10 -0
- data/rails/transliteration/ka.yml +37 -0
- data/rails/transliteration/uk.rb +5 -21
- metadata +24 -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: 2c6fa09a4b3826f78df6a977ed76cba1c256f56fd1b541d0d466538809fa28ea
|
4
|
+
data.tar.gz: d60cebc84da40cfa4ca1372e294f4744a9d4056fb1dd1ad3caa0b447db458c0b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea7fdb00931000219950b3f1f01ba810e8aa7731806da9cbb2b204e675072703bbe0a800f7ad27eafc761ca48a5847e473685f284cc62ee54515fad50260249f
|
7
|
+
data.tar.gz: 1bfc65beb552a2cd3303e059fa385bebfb5b851caae52f900550c473a4a8ffaacad4f488d4b7509164c42e8ae4a5618c060c7ec323564878c97fd86eae899eaf
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,65 @@
|
|
1
|
-
##
|
1
|
+
## unreleased
|
2
|
+
|
3
|
+
## 7.0.2 (2022-02-12)
|
4
|
+
|
5
|
+
- Fix long date format for many locales #939 #943
|
6
|
+
- Update following locales:
|
7
|
+
- Chinese (zh-TW) #941
|
8
|
+
- Croatian (hr) #940
|
9
|
+
- Danish (da) #802 #946 #947 #948
|
10
|
+
- Finnish (fi) #949
|
11
|
+
- French (fr) #968
|
12
|
+
- Galician (gl) #961
|
13
|
+
- Papiamento (pap-AW, pap-CW) #974 #975
|
14
|
+
- Serbian (sr) #972
|
15
|
+
- Spanish (es, es-CL, es-ES) #936
|
16
|
+
- Swedish (sv) #935
|
17
|
+
- Tamil (ta) #953
|
18
|
+
- Fix require statement in `rails/pluralization/tr` #964
|
19
|
+
- Add rails/ordinals to s.files in Gemspec #969
|
20
|
+
- Update i18n-tasks to be ActiveSupport 7+ ready #970
|
21
|
+
|
22
|
+
## 7.0.1 (2021-12-24)
|
23
|
+
|
24
|
+
- Fix ordinals loading.
|
25
|
+
|
26
|
+
## 7.0.0 (2021-12-23)
|
27
|
+
|
28
|
+
- Support Rails 7
|
29
|
+
- Drop support for Ruby 1.8
|
30
|
+
- Eager load translations during boot phase if possible.
|
31
|
+
- Translate ordinals (fr, fr-FR, fr-CA, fr-BE)
|
32
|
+
- Update following locales:
|
33
|
+
- Albanian (sq)
|
34
|
+
- Catalan (ca)
|
35
|
+
- Chinese (zh-CN, zh-TW)
|
36
|
+
- Croatian (hr)
|
37
|
+
- Danish (da)
|
38
|
+
- Finnish (fi)
|
39
|
+
- French (fr, fr-FR, fr-CA, fr-BE)
|
40
|
+
- Georgian (ka)
|
41
|
+
- German (de)
|
42
|
+
- Greek (el, el-CY)
|
43
|
+
- Italian (it, it-CH)
|
44
|
+
- Latvian (lv)
|
45
|
+
- Lithuanian (lt)
|
46
|
+
- Norwegian (nb)
|
47
|
+
- Polish (pl)
|
48
|
+
- Portuguese (pt-BR)
|
49
|
+
- Romanian (ro)
|
50
|
+
- Serbian (sr)
|
51
|
+
- Spanish (es-CO, es-AR)
|
52
|
+
- Swedish (sv)
|
53
|
+
- Turkish (tr)
|
54
|
+
- Ukrainian (uk)
|
55
|
+
- Vietnamese (vi)
|
56
|
+
- Add following locales:
|
57
|
+
- English Trinidad & Tobago (en-TT)
|
58
|
+
- Papiamento (pap-AW, pap-CW)
|
59
|
+
- Sesotho (st)
|
60
|
+
|
61
|
+
## 6.0.0 (2019-08-17)
|
62
|
+
|
2
63
|
- Update rails-i18n.gemspec to use Railties 6.0.0
|
3
64
|
- Add Malagasy (mg) locale
|
4
65
|
- Update following locales:
|
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
|
@@ -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/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/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/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/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: ''
|
@@ -195,7 +203,7 @@ da:
|
|
195
203
|
percentage:
|
196
204
|
format:
|
197
205
|
delimiter: ''
|
198
|
-
format: "%n%"
|
206
|
+
format: "%n %"
|
199
207
|
precision:
|
200
208
|
format:
|
201
209
|
delimiter: ''
|
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: ''
|
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
|