rails-i18n 7.0.3 → 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 +6 -0
- data/README.md +3 -4
- data/lib/rails_i18n/common_pluralizations/east_slavic.rb +1 -1
- data/lib/rails_i18n/common_pluralizations/{serbian.rb → one_few_other.rb} +8 -2
- data/lib/rails_i18n/railtie.rb +0 -2
- data/rails/locale/ar.yml +1 -1
- data/rails/locale/fr-CH.yml +2 -2
- data/rails/locale/fr-FR.yml +2 -2
- data/rails/locale/fr.yml +15 -15
- data/rails/locale/fy.yml +215 -0
- data/rails/locale/kk.yml +225 -0
- data/rails/locale/sk.yml +1 -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 -2
- metadata +7 -3
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,5 +1,11 @@
|
|
1
1
|
## unreleased
|
2
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
|
+
|
3
9
|
## 7.0.2 (2022-02-12)
|
4
10
|
|
5
11
|
- Fix long date format for many locales #939 #943
|
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
|
@@ -1,12 +1,18 @@
|
|
1
1
|
module RailsI18n
|
2
2
|
module Pluralization
|
3
|
-
module
|
3
|
+
module OneFewOther
|
4
4
|
FROM_2_TO_4 = (2..4).to_a.freeze
|
5
5
|
FROM_12_TO_14 = (12..14).to_a.freeze
|
6
6
|
|
7
7
|
def self.rule
|
8
8
|
lambda do |n|
|
9
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
|
+
|
10
16
|
mod10 = n % 10
|
11
17
|
mod100 = n % 100
|
12
18
|
|
@@ -29,4 +35,4 @@ module RailsI18n
|
|
29
35
|
end
|
30
36
|
end
|
31
37
|
end
|
32
|
-
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/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} غير صالح
|
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,13 +120,13 @@ 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
|
@@ -136,7 +136,7 @@ fr:
|
|
136
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
|
data/rails/locale/fy.yml
ADDED
@@ -0,0 +1,215 @@
|
|
1
|
+
---
|
2
|
+
fy:
|
3
|
+
activerecord:
|
4
|
+
errors:
|
5
|
+
messages:
|
6
|
+
record_invalid: 'Falidaasje mislearre: %{errors}'
|
7
|
+
restrict_dependent_destroy:
|
8
|
+
has_one: Kin de registraasje net wiskje om't der in %{record} ôfhinklik is
|
9
|
+
has_many: Kin de registraasje net wiskje om't der %{record} ôfhinklik binne
|
10
|
+
date:
|
11
|
+
abbr_day_names:
|
12
|
+
- si
|
13
|
+
- mo
|
14
|
+
- ti
|
15
|
+
- wo
|
16
|
+
- to
|
17
|
+
- fr
|
18
|
+
- so
|
19
|
+
abbr_month_names:
|
20
|
+
-
|
21
|
+
- jan
|
22
|
+
- feb
|
23
|
+
- mrt
|
24
|
+
- apr
|
25
|
+
- mai
|
26
|
+
- jun
|
27
|
+
- jul
|
28
|
+
- aug
|
29
|
+
- sep
|
30
|
+
- okt
|
31
|
+
- nov
|
32
|
+
- des
|
33
|
+
day_names:
|
34
|
+
- snein
|
35
|
+
- moandei
|
36
|
+
- tiisdei
|
37
|
+
- woansdei
|
38
|
+
- tongersdei
|
39
|
+
- freed
|
40
|
+
- sneon
|
41
|
+
formats:
|
42
|
+
default: "%d-%m-%Y"
|
43
|
+
long: "%e %B %Y"
|
44
|
+
short: "%e %b"
|
45
|
+
month_names:
|
46
|
+
-
|
47
|
+
- jannewaris
|
48
|
+
- febrewaris
|
49
|
+
- maart
|
50
|
+
- april
|
51
|
+
- maaie
|
52
|
+
- juny
|
53
|
+
- july
|
54
|
+
- augustus
|
55
|
+
- septimber
|
56
|
+
- oktober
|
57
|
+
- novimber
|
58
|
+
- desimber
|
59
|
+
order:
|
60
|
+
- :day
|
61
|
+
- :month
|
62
|
+
- :year
|
63
|
+
datetime:
|
64
|
+
distance_in_words:
|
65
|
+
about_x_hours:
|
66
|
+
one: likernôch 1 oere
|
67
|
+
other: likernôch %{count} oeren
|
68
|
+
about_x_months:
|
69
|
+
one: likernôch 1 moanne
|
70
|
+
other: likernôch %{count} moannen
|
71
|
+
about_x_years:
|
72
|
+
one: likernôch 1 jier
|
73
|
+
other: likernôch %{count} jier
|
74
|
+
almost_x_years:
|
75
|
+
one: hast 1 jier
|
76
|
+
other: hast %{count} jier
|
77
|
+
half_a_minute: in heale minút
|
78
|
+
less_than_x_seconds:
|
79
|
+
one: minder as 1 sekonde
|
80
|
+
other: minder as %{count} sekonden
|
81
|
+
less_than_x_minutes:
|
82
|
+
one: minder as in minút
|
83
|
+
other: minder as %{count} minuten
|
84
|
+
over_x_years:
|
85
|
+
one: mear as 1 jier
|
86
|
+
other: mear as %{count} jier
|
87
|
+
x_seconds:
|
88
|
+
one: 1 sekonde
|
89
|
+
other: "%{count} sekonden"
|
90
|
+
x_minutes:
|
91
|
+
one: 1 minút
|
92
|
+
other: "%{count} minuten"
|
93
|
+
x_days:
|
94
|
+
one: 1 dei
|
95
|
+
other: "%{count} dagen"
|
96
|
+
x_months:
|
97
|
+
one: 1 moanne
|
98
|
+
other: "%{count} moannen"
|
99
|
+
x_years:
|
100
|
+
one: 1 jier
|
101
|
+
other: "%{count} jier"
|
102
|
+
prompts:
|
103
|
+
second: sekonde
|
104
|
+
minute: minút
|
105
|
+
hour: oere
|
106
|
+
day: dei
|
107
|
+
month: moanne
|
108
|
+
year: jier
|
109
|
+
errors:
|
110
|
+
format: "%{attribute} %{message}"
|
111
|
+
messages:
|
112
|
+
accepted: moat akseptearre wurde
|
113
|
+
blank: kin net blanko wêze
|
114
|
+
confirmation: komt net oerien mei %{attribute}
|
115
|
+
empty: kin net leech wêze
|
116
|
+
equal_to: moat lyk wêze oan %{count}
|
117
|
+
even: moat even wêze
|
118
|
+
exclusion: is reservearre
|
119
|
+
greater_than: moat grutter wêze as %{count}
|
120
|
+
greater_than_or_equal_to: moat grutter wêze as, of lyk oan %{count}
|
121
|
+
inclusion: stiet net yn 'e list
|
122
|
+
invalid: is ûnjildich
|
123
|
+
less_than: moat lytser wêze as %{count}
|
124
|
+
less_than_or_equal_to: moat lytser wêze as, of lyk oan %{count}
|
125
|
+
model_invalid: 'Falidaasje mislearre: %{errors}'
|
126
|
+
not_a_number: is gjin getal
|
127
|
+
not_an_integer: moat in hiel getal wêze
|
128
|
+
odd: moat ûneven wêze
|
129
|
+
other_than: moat oars wêze as %{count}
|
130
|
+
present: moat blanko wêze
|
131
|
+
required: moat der wêze
|
132
|
+
taken: is al ynnommen
|
133
|
+
too_long:
|
134
|
+
one: is te lang (maksimum is 1 teken)
|
135
|
+
other: is te lang (maksimum is %{count} tekens)
|
136
|
+
too_short:
|
137
|
+
one: is te koart (minimum is 1 teken)
|
138
|
+
other: is te koart (minimum is %{count} tekens)
|
139
|
+
wrong_length:
|
140
|
+
one: hat de ferkearde lingte (moat 1 teken wêze)
|
141
|
+
other: hat de ferkearde lingte (moat %{count} tekens wêze)
|
142
|
+
template:
|
143
|
+
body: 'Der binne problemen mei de neikommende fjilden:'
|
144
|
+
header:
|
145
|
+
one: 1 flater behinderet it fêstlizzen fan %{model}
|
146
|
+
other: "%{count} flaters behinderje it fêstlizzen fan %{model}"
|
147
|
+
helpers:
|
148
|
+
select:
|
149
|
+
prompt: Meitsje in kar
|
150
|
+
submit:
|
151
|
+
create: "%{model} oanmeitsje"
|
152
|
+
submit: "%{model} fêstlizze"
|
153
|
+
update: "%{model} bywurkje"
|
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: "€"
|
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: miljard
|
175
|
+
million: miljoen
|
176
|
+
quadrillion: biljard
|
177
|
+
thousand: tûzen
|
178
|
+
trillion: biljoen
|
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
|
+
eb: EB
|
192
|
+
gb: GB
|
193
|
+
kb: KB
|
194
|
+
mb: MB
|
195
|
+
pb: PB
|
196
|
+
tb: TB
|
197
|
+
percentage:
|
198
|
+
format:
|
199
|
+
delimiter: ''
|
200
|
+
format: "%n%"
|
201
|
+
precision:
|
202
|
+
format:
|
203
|
+
delimiter: ''
|
204
|
+
support:
|
205
|
+
array:
|
206
|
+
last_word_connector: " en "
|
207
|
+
two_words_connector: " en "
|
208
|
+
words_connector: ", "
|
209
|
+
time:
|
210
|
+
am: fm.
|
211
|
+
formats:
|
212
|
+
default: "%a %e %b %Y %H.%M:%S %z"
|
213
|
+
long: "%e %B %Y om %H.%M oere"
|
214
|
+
short: "%e %b, %H.%M o."
|
215
|
+
pm: nm.
|
data/rails/locale/kk.yml
ADDED
@@ -0,0 +1,225 @@
|
|
1
|
+
---
|
2
|
+
kk:
|
3
|
+
activerecord:
|
4
|
+
errors:
|
5
|
+
messages:
|
6
|
+
record_invalid: 'Тексеру сәтсіз аяқталды: %{errors}'
|
7
|
+
restrict_dependent_destroy:
|
8
|
+
has_one: 'Жазбаны жою мүмкін емес, тәуелділік бар: %{record}'
|
9
|
+
has_many: 'Жазбаны жою мүмкін емес, тәуелділіктер бар: %{record}'
|
10
|
+
date:
|
11
|
+
abbr_day_names:
|
12
|
+
- Жс
|
13
|
+
- Дс
|
14
|
+
- Сс
|
15
|
+
- Ср
|
16
|
+
- Бс
|
17
|
+
- Жм
|
18
|
+
- Сб
|
19
|
+
abbr_month_names:
|
20
|
+
-
|
21
|
+
- қаң.
|
22
|
+
- ақп.
|
23
|
+
- нау.
|
24
|
+
- сәу.
|
25
|
+
- мам.
|
26
|
+
- мау.
|
27
|
+
- шіл.
|
28
|
+
- там.
|
29
|
+
- қыр.
|
30
|
+
- қаз.
|
31
|
+
- қар.
|
32
|
+
- жел.
|
33
|
+
day_names:
|
34
|
+
- жексенбі
|
35
|
+
- дүйсенбі
|
36
|
+
- сейсенбі
|
37
|
+
- сәрсенбі
|
38
|
+
- бейсенбі
|
39
|
+
- жұма
|
40
|
+
- сенбі
|
41
|
+
formats:
|
42
|
+
default: '%d.%m.%Y'
|
43
|
+
long: '%-d %B %Y'
|
44
|
+
short: '%-d %b'
|
45
|
+
month_names:
|
46
|
+
-
|
47
|
+
- каңтар
|
48
|
+
- ақпан
|
49
|
+
- наурыз
|
50
|
+
- сәуір
|
51
|
+
- мамыр
|
52
|
+
- маусым
|
53
|
+
- шілде
|
54
|
+
- тамыз
|
55
|
+
- қыркүйек
|
56
|
+
- қазан
|
57
|
+
- қараша
|
58
|
+
- желтоқсан
|
59
|
+
order:
|
60
|
+
- :day
|
61
|
+
- :month
|
62
|
+
- :year
|
63
|
+
datetime:
|
64
|
+
distance_in_words:
|
65
|
+
about_x_hours:
|
66
|
+
one: шамамен %{count} сағат
|
67
|
+
other: шамамен %{count} сағат
|
68
|
+
about_x_months:
|
69
|
+
one: шамамен %{count} ай
|
70
|
+
other: шамамен %{count} ай
|
71
|
+
about_x_years:
|
72
|
+
one: шамамен %{count} жыл
|
73
|
+
other: шамамен %{count} жыл
|
74
|
+
almost_x_years:
|
75
|
+
one: '%{count} жылға жуық'
|
76
|
+
other: '%{count} жылға жуық'
|
77
|
+
half_a_minute: жарты минут
|
78
|
+
less_than_x_seconds:
|
79
|
+
one: '%{count} секундтан аз'
|
80
|
+
other: '%{count} секундтан аз'
|
81
|
+
less_than_x_minutes:
|
82
|
+
one: '%{count} минуттан аз'
|
83
|
+
other: '%{count} минуттан аз'
|
84
|
+
over_x_years:
|
85
|
+
one: '%{count} жылдан астам'
|
86
|
+
other: '%{count} жылдан астам'
|
87
|
+
x_seconds:
|
88
|
+
one: '%{count} секунд'
|
89
|
+
other: '%{count} секунд'
|
90
|
+
x_minutes:
|
91
|
+
one: '%{count} минут'
|
92
|
+
other: '%{count} минут'
|
93
|
+
x_days:
|
94
|
+
one: '%{count} күн'
|
95
|
+
other: '%{count} күн'
|
96
|
+
x_months:
|
97
|
+
one: '%{count} ай'
|
98
|
+
other: '%{count} ай'
|
99
|
+
x_years:
|
100
|
+
one: '%{count} жыл'
|
101
|
+
other: '%{count} жыл'
|
102
|
+
prompts:
|
103
|
+
second: Секунд
|
104
|
+
minute: Минут
|
105
|
+
hour: Сағат
|
106
|
+
day: Күн
|
107
|
+
month: Ай
|
108
|
+
year: Жыл
|
109
|
+
errors:
|
110
|
+
format: '%{attribute} %{message}'
|
111
|
+
messages:
|
112
|
+
accepted: расталуы тиіс
|
113
|
+
blank: бос болуы мүмкін емес
|
114
|
+
confirmation: '%{attribute} мәніне сәйкес келмейді'
|
115
|
+
empty: бос болуы мүмкін емес
|
116
|
+
equal_to: тек %{count} тең мәнге ие болуы мүмкін
|
117
|
+
even: тек жұп мәнге ие бола алады
|
118
|
+
exclusion: сақталған мағына
|
119
|
+
greater_than: мәні %{count} санынан жоғары болуы керек
|
120
|
+
greater_than_or_equal_to: мәні %{count} санынан жоғары немесе тең болуы керек
|
121
|
+
inclusion: күтпеген мағына
|
122
|
+
invalid: қате мағына
|
123
|
+
less_than: мәні %{count} санынан кем болуы керек
|
124
|
+
less_than_or_equal_to: мәні %{count} санынан кем немесе тең болуы керек
|
125
|
+
model_invalid: 'Тексеру сәтсіз аяқталды: %{errors}'
|
126
|
+
not_a_number: сан емес
|
127
|
+
not_an_integer: бүтін сан емес
|
128
|
+
odd: тек тақ мәнге ие бола алады
|
129
|
+
other_than: '%{count} санынан өзгеше болуы тиіс'
|
130
|
+
present: бос қалуы тиіс
|
131
|
+
required: жоқ болуы мүмкін емес
|
132
|
+
taken: бұрыннан бар
|
133
|
+
too_long:
|
134
|
+
one: тым ұзын (%{count} таңбадан асырмаңыз)
|
135
|
+
other: тым ұзын (%{count} таңбадан асырмаңыз)
|
136
|
+
too_short:
|
137
|
+
one: тым қысқа (%{count} таңбадан көп немесе тең болуы тиіс)
|
138
|
+
other: тым қысқа (%{count} таңбадан көп немесе тең болуы тиіс)
|
139
|
+
wrong_length:
|
140
|
+
one: ұзындығы дұрыс емес (дәл %{count} таңба болуы тиіс)
|
141
|
+
other: ұзындығы дұрыс емес (дәл %{count} таңба болуы тиіс)
|
142
|
+
template:
|
143
|
+
body: 'Келесі өрістермен проблемалар туындады:'
|
144
|
+
header:
|
145
|
+
one: '%{model}: %{count} қатеге байланысты сақтау сәтсіз аяқталды'
|
146
|
+
other: '%{model}: %{count} қатеге байланысты сақтау сәтсіз аяқталды'
|
147
|
+
helpers:
|
148
|
+
select:
|
149
|
+
prompt: 'Таңдаңыз: '
|
150
|
+
submit:
|
151
|
+
create: Құру %{model}
|
152
|
+
submit: Сақтау %{model}
|
153
|
+
update: Өзгерту %{model}
|
154
|
+
number:
|
155
|
+
currency:
|
156
|
+
format:
|
157
|
+
delimiter: ' '
|
158
|
+
format: '%n %u'
|
159
|
+
precision: 2
|
160
|
+
separator: ','
|
161
|
+
significant: false
|
162
|
+
strip_insignificant_zeros: false
|
163
|
+
unit: теңге
|
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:
|
175
|
+
one: миллиард
|
176
|
+
other: миллиард
|
177
|
+
million:
|
178
|
+
one: миллион
|
179
|
+
other: миллион
|
180
|
+
quadrillion:
|
181
|
+
one: квадриллион
|
182
|
+
other: квадриллион
|
183
|
+
thousand:
|
184
|
+
one: мың
|
185
|
+
other: мың
|
186
|
+
trillion:
|
187
|
+
one: триллион
|
188
|
+
other: триллион
|
189
|
+
unit: ''
|
190
|
+
format:
|
191
|
+
delimiter: ''
|
192
|
+
precision: 1
|
193
|
+
significant: false
|
194
|
+
strip_insignificant_zeros: false
|
195
|
+
storage_units:
|
196
|
+
format: '%n %u'
|
197
|
+
units:
|
198
|
+
byte:
|
199
|
+
one: байт
|
200
|
+
other: байт
|
201
|
+
eb: ЭБ
|
202
|
+
gb: ГБ
|
203
|
+
kb: КБ
|
204
|
+
mb: МБ
|
205
|
+
pb: ПБ
|
206
|
+
tb: ТБ
|
207
|
+
percentage:
|
208
|
+
format:
|
209
|
+
delimiter: ''
|
210
|
+
format: '%n%'
|
211
|
+
precision:
|
212
|
+
format:
|
213
|
+
delimiter: ''
|
214
|
+
support:
|
215
|
+
array:
|
216
|
+
last_word_connector: ' және '
|
217
|
+
two_words_connector: ' және '
|
218
|
+
words_connector: ', '
|
219
|
+
time:
|
220
|
+
am: таңғы
|
221
|
+
formats:
|
222
|
+
default: '%a, %d %b %Y, %H:%M:%S %z'
|
223
|
+
long: '%d %B %Y, %H:%M'
|
224
|
+
short: '%d %b, %H:%M'
|
225
|
+
pm: кешкі
|
data/rails/locale/sk.yml
CHANGED
@@ -130,6 +130,7 @@ sk:
|
|
130
130
|
not_a_number: nie je číslo
|
131
131
|
not_an_integer: musí byť celé číslo
|
132
132
|
odd: musí byť nepárne číslo
|
133
|
+
required: musí existovať
|
133
134
|
taken: ste už použili
|
134
135
|
too_long: je príliš dlhá/ý (max. %{count} znakov)
|
135
136
|
too_short: je príliš krátky/a (min. %{count} znakov)
|
data/rails/pluralization/bs.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
require 'rails_i18n/common_pluralizations/
|
1
|
+
require 'rails_i18n/common_pluralizations/one_few_other'
|
2
2
|
|
3
|
-
::RailsI18n::Pluralization::
|
3
|
+
::RailsI18n::Pluralization::OneFewOther.with_locale(:bs)
|
data/rails/pluralization/hr.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
require 'rails_i18n/common_pluralizations/
|
1
|
+
require 'rails_i18n/common_pluralizations/one_few_other'
|
2
2
|
|
3
|
-
::RailsI18n::Pluralization::
|
3
|
+
::RailsI18n::Pluralization::OneFewOther.with_locale(:hr)
|
data/rails/pluralization/sh.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
require 'rails_i18n/common_pluralizations/
|
1
|
+
require 'rails_i18n/common_pluralizations/one_few_other'
|
2
2
|
|
3
|
-
::RailsI18n::Pluralization::
|
3
|
+
::RailsI18n::Pluralization::OneFewOther.with_locale(:sh)
|
data/rails/pluralization/sr.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
require 'rails_i18n/common_pluralizations/
|
1
|
+
require 'rails_i18n/common_pluralizations/one_few_other'
|
2
2
|
|
3
|
-
::RailsI18n::Pluralization::
|
3
|
+
::RailsI18n::Pluralization::OneFewOther.with_locale(:sr)
|
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.5
|
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: 2022-03
|
11
|
+
date: 2022-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|
@@ -105,13 +105,13 @@ files:
|
|
105
105
|
- lib/rails-i18n.rb
|
106
106
|
- lib/rails_i18n.rb
|
107
107
|
- lib/rails_i18n/common_pluralizations/east_slavic.rb
|
108
|
+
- lib/rails_i18n/common_pluralizations/one_few_other.rb
|
108
109
|
- lib/rails_i18n/common_pluralizations/one_other.rb
|
109
110
|
- lib/rails_i18n/common_pluralizations/one_two_other.rb
|
110
111
|
- lib/rails_i18n/common_pluralizations/one_upto_two_other.rb
|
111
112
|
- lib/rails_i18n/common_pluralizations/one_with_zero_other.rb
|
112
113
|
- lib/rails_i18n/common_pluralizations/other.rb
|
113
114
|
- lib/rails_i18n/common_pluralizations/romanian.rb
|
114
|
-
- lib/rails_i18n/common_pluralizations/serbian.rb
|
115
115
|
- lib/rails_i18n/common_pluralizations/west_slavic.rb
|
116
116
|
- lib/rails_i18n/railtie.rb
|
117
117
|
- rails/locale/af.yml
|
@@ -165,6 +165,7 @@ files:
|
|
165
165
|
- rails/locale/fr-CH.yml
|
166
166
|
- rails/locale/fr-FR.yml
|
167
167
|
- rails/locale/fr.yml
|
168
|
+
- rails/locale/fy.yml
|
168
169
|
- rails/locale/gl.yml
|
169
170
|
- rails/locale/he.yml
|
170
171
|
- rails/locale/hi-IN.yml
|
@@ -177,6 +178,7 @@ files:
|
|
177
178
|
- rails/locale/it.yml
|
178
179
|
- rails/locale/ja.yml
|
179
180
|
- rails/locale/ka.yml
|
181
|
+
- rails/locale/kk.yml
|
180
182
|
- rails/locale/km.yml
|
181
183
|
- rails/locale/kn.yml
|
182
184
|
- rails/locale/ko.yml
|
@@ -286,6 +288,7 @@ files:
|
|
286
288
|
- rails/pluralization/fr-CH.rb
|
287
289
|
- rails/pluralization/fr-FR.rb
|
288
290
|
- rails/pluralization/fr.rb
|
291
|
+
- rails/pluralization/fy.rb
|
289
292
|
- rails/pluralization/ga.rb
|
290
293
|
- rails/pluralization/gd.rb
|
291
294
|
- rails/pluralization/gl.rb
|
@@ -310,6 +313,7 @@ files:
|
|
310
313
|
- rails/pluralization/kab.rb
|
311
314
|
- rails/pluralization/kde.rb
|
312
315
|
- rails/pluralization/kea.rb
|
316
|
+
- rails/pluralization/kk.rb
|
313
317
|
- rails/pluralization/km.rb
|
314
318
|
- rails/pluralization/kn.rb
|
315
319
|
- rails/pluralization/ko.rb
|