rails-i18n 4.0.5 → 4.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/README.md +29 -11
- data/rails/locale/de.yml +1 -1
- data/rails/locale/es.yml +9 -3
- data/rails/locale/id.yml +25 -13
- data/rails/locale/nl.yml +8 -8
- data/rails/locale/ru.yml +12 -12
- data/rails/locale/tr.yml +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 629e70f58e5a98bce204af9f5678f62d715a2fa3
|
4
|
+
data.tar.gz: b7db2cf59077343e2a0d245821a26000d0e4ef95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7924c316fb8815a4b0b4ef43c8c342c433d59435a7d853fbad4cb14626ebb0b2c91974b12576cce037902cecfd68173836a008a2cd0cddba14f07a711ee7d83d
|
7
|
+
data.tar.gz: 642a3735ca3e64851e565491da7997e5b7ccbc014a78c580038733a1a38f0f0edac872bda50628cc1849d1282eb48c1fa762444ef3107d00ac266cedc6770a0e
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
## 4.0.6 (2015-10-23)
|
2
|
+
- Depend on i18n (~> 0.7)
|
3
|
+
- Update Indonesian (id)
|
4
|
+
- Update German (de)
|
5
|
+
- Update Spanish (es)
|
6
|
+
- Update Russian (ru) - Revert "bringing the month names to uppercase"
|
7
|
+
- Update Turkish (tr) - Use turkish lira symbol instead of TL
|
8
|
+
- Update Dutch (nl)
|
9
|
+
|
1
10
|
## 4.0.5 (2015-09-06)
|
2
11
|
- Update Portuguese (pt)
|
3
12
|
- Update Korean (ko)
|
data/README.md
CHANGED
@@ -51,22 +51,40 @@ Locale data whose structure is compatible with Rails 2.3 are available on the se
|
|
51
51
|
|
52
52
|
Available locales are:
|
53
53
|
|
54
|
-
> af, ar, az, bg, bn, bs, ca, cs, cy, da, de, de-AT, de-CH, el,
|
55
|
-
>
|
56
|
-
>
|
57
|
-
>
|
58
|
-
>
|
54
|
+
> af, ar, az, be, bg, bn, bs, ca, cs, cy, da, de, de-AT, de-CH, el,
|
55
|
+
> en, en-AU, en-CA, en-GB, en-IE, en-IN, en-NZ, en-US, en-ZA, eo, es,
|
56
|
+
> es-419, es-AR, es-CL, es-CO, es-CR, es-EC, es-MX, es-PA, es-PE, es-US, es-VE,
|
57
|
+
> et, eu, fa, fi, fr, fr-CA, fr-CH, gl, he, hi, hi-IN, hr, hu, id, is, it,
|
58
|
+
> it-CH, ja, km, kn, ko, lb, lo, lt, lv, mk, mn, mr-IN, ms, nb, ne, nl, nn, or,
|
59
|
+
> pl, pt, pt-BR, rm, ro, ru, sk, sl, sr, sv, sw, ta, th, tl, tr, tt, ug, uk, ur,
|
60
|
+
> uz, vi, wo, zh-CN, zh-HK, zh-TW, zh-YUE
|
59
61
|
|
60
|
-
Currently,
|
62
|
+
Currently, no locales are complete. Typically they lack the following keys:
|
61
63
|
|
62
64
|
- `activerecord.errors.messages.record_invalid`
|
63
65
|
- `activerecord.errors.messages.restrict_dependent_destroy`
|
64
66
|
|
65
|
-
|
67
|
+
We always welcome your contributions!
|
66
68
|
|
67
|
-
|
69
|
+
## Currency symbols
|
68
70
|
|
69
|
-
|
71
|
+
Some locales have the symbol of the currency (e.g. `€`) under the key `number.currency.format.unit`,
|
72
|
+
while others have the code (e.g. `CHF`). The value of the key depends on the widespread adoption of
|
73
|
+
the unicode currency symbols by fonts.
|
74
|
+
|
75
|
+
For example the Turkish Lira sign (`₺`) was recently added in Unicode 6.2 and while most popular
|
76
|
+
fonts have a glyph, there are still many fonts that will not render the character correctly.
|
77
|
+
|
78
|
+
If you want to provide a different value, in a Rails app, you can create your own locale file under
|
79
|
+
`config/locales/tr.yml` and override the respective key:
|
80
|
+
|
81
|
+
```YAML
|
82
|
+
tr:
|
83
|
+
number:
|
84
|
+
currency:
|
85
|
+
format:
|
86
|
+
unit: TL
|
87
|
+
```
|
70
88
|
|
71
89
|
## How to contribute
|
72
90
|
|
@@ -95,11 +113,11 @@ If you are not,
|
|
95
113
|
|
96
114
|
Before committing and pushing your changes, test the integrity of your locale file.
|
97
115
|
|
98
|
-
rake spec
|
116
|
+
bundle exec rake spec
|
99
117
|
|
100
118
|
Make sure you have included all translations with:
|
101
119
|
|
102
|
-
rake i18n-spec:completeness rails/locale/en.yml rails/locale/YOUR_NEW_LOCALE.yml
|
120
|
+
bundle exec rake i18n-spec:completeness rails/locale/en.yml rails/locale/YOUR_NEW_LOCALE.yml
|
103
121
|
|
104
122
|
You can list all complete and incomplete locales:
|
105
123
|
|
data/rails/locale/de.yml
CHANGED
data/rails/locale/es.yml
CHANGED
@@ -121,9 +121,15 @@ es:
|
|
121
121
|
one: No se puede eliminar el registro porque existe un %{record} dependiente
|
122
122
|
many: No se puede eliminar el registro porque existen %{record} dependientes
|
123
123
|
taken: ya está en uso
|
124
|
-
too_long:
|
125
|
-
|
126
|
-
|
124
|
+
too_long:
|
125
|
+
one: "es demasiado largo (1 carácter máximo)"
|
126
|
+
other: "es demasiado largo (%{count} caracteres máximo)"
|
127
|
+
too_short:
|
128
|
+
one: "es demasiado corto (1 carácter mínimo)"
|
129
|
+
other: "es demasiado corto (%{count} caracteres mínimo)"
|
130
|
+
wrong_length:
|
131
|
+
one: "no tiene la longitud correcta (1 carácter exactos)"
|
132
|
+
other: "no tiene la longitud correcta (%{count} caracteres exactos)"
|
127
133
|
other_than: debe ser distinto de %{count}
|
128
134
|
template:
|
129
135
|
body: 'Se encontraron problemas con los siguientes campos:'
|
data/rails/locale/id.yml
CHANGED
@@ -29,7 +29,7 @@ id:
|
|
29
29
|
- Selasa
|
30
30
|
- Rabu
|
31
31
|
- Kamis
|
32
|
-
-
|
32
|
+
- Jumat
|
33
33
|
- Sabtu
|
34
34
|
formats:
|
35
35
|
default: "%d %B %Y"
|
@@ -62,7 +62,7 @@ id:
|
|
62
62
|
one: sekitar sebulan
|
63
63
|
other: sekitar %{count} bulan
|
64
64
|
about_x_years:
|
65
|
-
one: setahun
|
65
|
+
one: sekitar setahun
|
66
66
|
other: sekitar %{count} tahun
|
67
67
|
almost_x_years:
|
68
68
|
one: hampir setahun
|
@@ -102,9 +102,10 @@ id:
|
|
102
102
|
format: "%{attribute} %{message}"
|
103
103
|
messages:
|
104
104
|
accepted: harus diterima
|
105
|
-
blank: tidak
|
105
|
+
blank: tidak boleh kosong
|
106
|
+
present: harus kosong
|
106
107
|
confirmation: tidak sesuai dengan %{attribute}
|
107
|
-
empty: tidak
|
108
|
+
empty: tidak boleh kosong
|
108
109
|
equal_to: harus sama dengan %{count}
|
109
110
|
even: harus genap
|
110
111
|
exclusion: sudah digunakan
|
@@ -115,12 +116,23 @@ id:
|
|
115
116
|
less_than: harus lebih kecil dari %{count}
|
116
117
|
less_than_or_equal_to: harus sama atau lebih kecil dari %{count}
|
117
118
|
not_a_number: bukan angka
|
119
|
+
not_an_integer: harus bilangan bulat
|
118
120
|
odd: harus ganjil
|
119
|
-
record_invalid: '
|
121
|
+
record_invalid: 'Validasi gagal: %{errors}'
|
122
|
+
restrict_dependent_destroy:
|
123
|
+
one: Tidak bisa menghapus record karena terdapat satu %{record} yang bergantung
|
124
|
+
many: Tidak bisa menghapus record karena terdapat %{record} yang bergantung
|
120
125
|
taken: sudah digunakan
|
121
|
-
too_long:
|
122
|
-
|
123
|
-
|
126
|
+
too_long:
|
127
|
+
one: terlalu panjang (maksimum 1 karakter)
|
128
|
+
other: terlalu panjang (maksimum %{count} karakter)
|
129
|
+
too_short:
|
130
|
+
one: terlalu pendek (minimum 1 karakter)
|
131
|
+
other: terlalu pendek (minimum %{count} karakter)
|
132
|
+
wrong_length:
|
133
|
+
one: jumlah karakter salah (seharusnya 1 karakter)
|
134
|
+
other: jumlah karakter salah (seharusnya %{count} karakter)
|
135
|
+
other_than: harus selain %{count}
|
124
136
|
template:
|
125
137
|
body: 'Ada masalah dengan field berikut:'
|
126
138
|
header:
|
@@ -128,11 +140,11 @@ id:
|
|
128
140
|
other: "%{count} kesalahan mengakibatkan %{model} ini tidak bisa disimpan"
|
129
141
|
helpers:
|
130
142
|
select:
|
131
|
-
prompt:
|
143
|
+
prompt: Silakan pilih
|
132
144
|
submit:
|
133
145
|
create: Buat %{model}
|
134
146
|
submit: Simpan %{model}
|
135
|
-
update:
|
147
|
+
update: Perbarui %{model}
|
136
148
|
number:
|
137
149
|
currency:
|
138
150
|
format:
|
@@ -142,7 +154,7 @@ id:
|
|
142
154
|
separator: ","
|
143
155
|
significant: false
|
144
156
|
strip_insignificant_zeros: false
|
145
|
-
unit: Rp
|
157
|
+
unit: "Rp"
|
146
158
|
format:
|
147
159
|
delimiter: "."
|
148
160
|
precision: 3
|
@@ -182,8 +194,8 @@ id:
|
|
182
194
|
delimiter: ''
|
183
195
|
support:
|
184
196
|
array:
|
185
|
-
last_word_connector: " dan "
|
186
|
-
two_words_connector: "
|
197
|
+
last_word_connector: ", dan "
|
198
|
+
two_words_connector: " dan "
|
187
199
|
words_connector: ", "
|
188
200
|
time:
|
189
201
|
am: am
|
data/rails/locale/nl.yml
CHANGED
@@ -10,7 +10,7 @@ nl:
|
|
10
10
|
- vr
|
11
11
|
- za
|
12
12
|
abbr_month_names:
|
13
|
-
-
|
13
|
+
-
|
14
14
|
- jan
|
15
15
|
- feb
|
16
16
|
- mrt
|
@@ -36,7 +36,7 @@ nl:
|
|
36
36
|
long: "%e %B %Y"
|
37
37
|
short: "%e %b"
|
38
38
|
month_names:
|
39
|
-
-
|
39
|
+
-
|
40
40
|
- januari
|
41
41
|
- februari
|
42
42
|
- maart
|
@@ -106,7 +106,7 @@ nl:
|
|
106
106
|
empty: moet opgegeven zijn
|
107
107
|
equal_to: moet gelijk zijn aan %{count}
|
108
108
|
even: moet even zijn
|
109
|
-
exclusion: is
|
109
|
+
exclusion: is gereserveerd
|
110
110
|
greater_than: moet groter zijn dan %{count}
|
111
111
|
greater_than_or_equal_to: moet groter dan of gelijk zijn aan %{count}
|
112
112
|
inclusion: is niet in de lijst opgenomen
|
@@ -128,11 +128,11 @@ nl:
|
|
128
128
|
one: is te kort (minimaal %{count} teken)
|
129
129
|
other: is te kort (minimaal %{count} tekens)
|
130
130
|
wrong_length:
|
131
|
-
one: heeft onjuiste lengte (moet
|
131
|
+
one: heeft onjuiste lengte (moet 1 teken lang zijn)
|
132
132
|
other: heeft onjuiste lengte (moet %{count} tekens lang zijn)
|
133
133
|
other_than: moet anders zijn dan %{count}
|
134
134
|
template:
|
135
|
-
body: '
|
135
|
+
body: 'Er zijn problemen met de volgende velden:'
|
136
136
|
header:
|
137
137
|
one: "%{model} niet opgeslagen: 1 fout gevonden"
|
138
138
|
other: "%{model} niet opgeslagen: %{count} fouten gevonden"
|
@@ -165,9 +165,9 @@ nl:
|
|
165
165
|
units:
|
166
166
|
billion: miljard
|
167
167
|
million: miljoen
|
168
|
-
quadrillion:
|
168
|
+
quadrillion: quadriljoen
|
169
169
|
thousand: duizend
|
170
|
-
trillion:
|
170
|
+
trillion: triljoen
|
171
171
|
unit: ''
|
172
172
|
format:
|
173
173
|
delimiter: ''
|
@@ -181,7 +181,7 @@ nl:
|
|
181
181
|
one: byte
|
182
182
|
other: bytes
|
183
183
|
gb: GB
|
184
|
-
kb:
|
184
|
+
kb: KB
|
185
185
|
mb: MB
|
186
186
|
tb: TB
|
187
187
|
percentage:
|
data/rails/locale/ru.yml
CHANGED
@@ -37,18 +37,18 @@ ru:
|
|
37
37
|
short: "%-d %b"
|
38
38
|
month_names:
|
39
39
|
-
|
40
|
-
-
|
41
|
-
-
|
42
|
-
-
|
43
|
-
-
|
44
|
-
-
|
45
|
-
-
|
46
|
-
-
|
47
|
-
-
|
48
|
-
-
|
49
|
-
-
|
50
|
-
-
|
51
|
-
-
|
40
|
+
- января
|
41
|
+
- февраля
|
42
|
+
- марта
|
43
|
+
- апреля
|
44
|
+
- мая
|
45
|
+
- июня
|
46
|
+
- июля
|
47
|
+
- августа
|
48
|
+
- сентября
|
49
|
+
- октября
|
50
|
+
- ноября
|
51
|
+
- декабря
|
52
52
|
order:
|
53
53
|
- :day
|
54
54
|
- :month
|
data/rails/locale/tr.yml
CHANGED
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: 4.0.
|
4
|
+
version: 4.0.6
|
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: 2015-
|
11
|
+
date: 2015-10-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0.
|
26
|
+
version: '0.7'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: railties
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|