rails-i18n 0.7.2 → 0.7.3

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.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ ## 0.7.3 (2013-03-19)
2
+ - Fix number delimiter and separator for Italian (it)
3
+ - Fix currency delimiter and separator for Romanian (ro)
4
+ - Fix time formats for Portuguese/Brazil (pt-BR)
5
+ - Fix several translations for Estonian (et)
6
+ - Fix several translations for Spanish/Colombia (es-CO)
7
+ - Fix the translation of half_a_minute for Tagalog (tl)
8
+ - Fix separators for Russian (ru)
9
+ - Add Afrikaans locale (af)
10
+ - Fix some spelling mistakes for Catalan (ca)
11
+ - Use secure Rubygems URL
12
+ - Change capitalization rules for Italian (it)
13
+ - Fix abbreviations, currency format, etc. for Greek (el)
14
+ - Fix the translation of submit for Portuguese (pt)
15
+
1
16
  ## 0.7.2 (2012-12-28)
2
17
  - Remove spurious `mis` from Welsh month names
3
18
  - Add OneOther default pluralization rule and create corresponding locale pluralization files
@@ -0,0 +1,208 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ af:
5
+ date:
6
+ abbr_day_names:
7
+ - Son
8
+ - Maan
9
+ - Dins
10
+ - Woe
11
+ - Don
12
+ - Vry
13
+ - Sat
14
+ abbr_month_names:
15
+ -
16
+ - Jan
17
+ - Feb
18
+ - Mar
19
+ - Apr
20
+ - Mei
21
+ - Jun
22
+ - Jul
23
+ - Aug
24
+ - Sep
25
+ - Okt
26
+ - Nov
27
+ - Des
28
+ day_names:
29
+ - Sondag
30
+ - Maandag
31
+ - Dinsdag
32
+ - Woensdag
33
+ - Donderdag
34
+ - Vrydag
35
+ - Saterdag
36
+ formats:
37
+ default: ! '%Y-%m-%d'
38
+ long: ! '%B %d, %Y'
39
+ short: ! '%b %d'
40
+ month_names:
41
+ -
42
+ - Januarie
43
+ - Februarie
44
+ - Maart
45
+ - April
46
+ - Mai
47
+ - Junie
48
+ - Julie
49
+ - Augustus
50
+ - September
51
+ - Oktober
52
+ - November
53
+ - Desember
54
+ order:
55
+ - :year
56
+ - :month
57
+ - :day
58
+ datetime:
59
+ distance_in_words:
60
+ about_x_hours:
61
+ one: ongeveer 1 uur
62
+ other: ongeveer %{count} ure
63
+ about_x_months:
64
+ one: ongeveer 1 maand
65
+ other: ongeveer %{count} maande
66
+ about_x_years:
67
+ one: ongeveer 1 jaar
68
+ other: ongeveer %{count} jaar
69
+ almost_x_years:
70
+ one: sowat 1 jaar
71
+ other: sowat %{count} jaar
72
+ half_a_minute: halfminuut
73
+ less_than_x_minutes:
74
+ one: minder as n minuut
75
+ other: minder as %{count} minute
76
+ less_than_x_seconds:
77
+ one: minder as 1 second
78
+ other: minder as %{count} sekondes
79
+ over_x_years:
80
+ one: meer as 1 jaar
81
+ other: meer as %{count} jaar
82
+ x_days:
83
+ one: 1 dag
84
+ other: ! '%{count} days'
85
+ x_minutes:
86
+ one: 1 minuut
87
+ other: ! '%{count} minute'
88
+ x_months:
89
+ one: 1 maand
90
+ other: ! '%{count} maande'
91
+ x_seconds:
92
+ one: 1 sekonde
93
+ other: ! '%{count} sekondes'
94
+ prompts:
95
+ day: Dag
96
+ hour: Uur
97
+ minute: Minuut
98
+ month: Maand
99
+ second: Sekondes
100
+ year: Jaar
101
+ errors: &errors
102
+ format: ! '%{attribute} %{message}'
103
+ messages:
104
+ accepted: moet aanvaar word
105
+ blank: mag nie leeg wees nie
106
+ confirmation: pas nie by bevestiging nie
107
+ empty: mag nie leeg wees nie
108
+ equal_to: moet gelyk wees aan %{count}
109
+ even: moet gelykstaande wees
110
+ exclusion: is bespreek
111
+ greater_than: moet meer wees as %{count}
112
+ greater_than_or_equal_to: moet meer of gelykstaande wees aan %{count}
113
+ inclusion: is nie by die lys ingesluit nie
114
+ invalid: is ongeldig
115
+ less_than: moet minder wees as %{count}
116
+ less_than_or_equal_to: moet minder of gelykstaande wees aan %{count}
117
+ not_a_number: is nie n getal nie
118
+ not_an_integer: moet n integer wees
119
+ odd: moet onewe wees
120
+ record_invalid: ! 'Validation failed: %{errors}'
121
+ taken: is reeds geneem
122
+ too_long:
123
+ one: is te lank (maksimum is 1 karakter)
124
+ other: is te lank (maksimum is %{count} karakters)
125
+ too_short:
126
+ one: is te kort (minimum is 1 karakter)
127
+ other: is te kort (minimum is %{count} karakters)
128
+ wrong_length:
129
+ one: is die verkeerde lengte (moet 1 karakter wees)
130
+ other: is die verkeerde lengte (moet %{count} karakters wees)
131
+ template:
132
+ body: ! 'There were problems with the following fields:'
133
+ header:
134
+ one: 1 fout het verhoed dat hierdie %{model} gestoor kon word
135
+ other: ! '%{count} foute het verhoed dat hierdie %{model} gestoor kon word'
136
+ helpers:
137
+ select:
138
+ prompt: Kies asseblief
139
+ submit:
140
+ create: Skep %{model}
141
+ submit: Stoor %{model}
142
+ update: Dateer %{model} op
143
+ number:
144
+ currency:
145
+ format:
146
+ delimiter: ! ','
147
+ format: ! '%u%n'
148
+ precision: 2
149
+ separator: .
150
+ significant: vals
151
+ strip_insignificant_zeros: vals
152
+ unit: $
153
+ format:
154
+ delimiter: ! ','
155
+ precision: 3
156
+ separator: .
157
+ significant: vals
158
+ strip_insignificant_zeros: vals
159
+ human:
160
+ decimal_units:
161
+ format: ! '%n %u'
162
+ units:
163
+ billion: miljard
164
+ million: miljoen
165
+ quadrillion: kwadriljon
166
+ thousand: duisend
167
+ trillion: biljoen
168
+ unit: ''
169
+ format:
170
+ delimiter: ''
171
+ precision: 3
172
+ significant: waar
173
+ strip_insignificant_zeros: waar
174
+ storage_units:
175
+ format: ! '%n %u'
176
+ units:
177
+ byte:
178
+ one: Byte
179
+ other: Bytes
180
+ gb: GB
181
+ kb: KB
182
+ mb: MB
183
+ tb: TB
184
+ percentage:
185
+ format:
186
+ delimiter: ''
187
+ precision:
188
+ format:
189
+ delimiter: ''
190
+ support:
191
+ array:
192
+ last_word_connector: ! ', en '
193
+ two_words_connector: ! ' en '
194
+ words_connector: ! ', '
195
+ time:
196
+ am: vm
197
+ formats:
198
+ default: ! '%a, %d %b %Y %H:%M:%S %z'
199
+ long: ! '%B %d, %Y %H:%M'
200
+ short: ! '%d %b %H:%M'
201
+ pm: nm
202
+ # remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
203
+ activemodel:
204
+ errors:
205
+ <<: *errors
206
+ activerecord:
207
+ errors:
208
+ <<: *errors
data/rails/locale/ca.yml CHANGED
@@ -64,8 +64,8 @@ ca:
64
64
  one: aproximadament 1 any
65
65
  other: aproximadament %{count} anys
66
66
  almost_x_years:
67
- one: casi 1 any
68
- other: casi %{count} anys
67
+ one: quasi 1 any
68
+ other: quasi %{count} anys
69
69
  half_a_minute: mig minut
70
70
  less_than_x_minutes:
71
71
  one: menys d'1 minut
@@ -89,12 +89,12 @@ ca:
89
89
  one: 1 segon
90
90
  other: ! '%{count} segons'
91
91
  prompts:
92
- day: Dia
93
- hour: Hora
94
- minute: Minut
95
- month: Mes
96
- second: Segun
97
- year: Any
92
+ day: dia
93
+ hour: hora
94
+ minute: minut
95
+ month: mes
96
+ second: segon
97
+ year: any
98
98
  errors: &errors
99
99
  format: ! '%{attribute} %{message}'
100
100
  messages:
@@ -113,12 +113,12 @@ ca:
113
113
  less_than_or_equal_to: ha de ser menor o igual a %{count}
114
114
  not_a_number: no és un número
115
115
  not_an_integer: ha de ser un enter
116
- odd: ha de ser imparell
116
+ odd: ha de ser senar
117
117
  record_invalid: ! 'La validació ha fallat: %{errors}'
118
118
  taken: no està disponible
119
119
  too_long: és massa llarg (%{count} caràcters màxim)
120
120
  too_short: és massa curt (%{count} caràcters mínim)
121
- wrong_length: no té la longitud correcte (%{count} caràcters exactament)
121
+ wrong_length: no té la longitud correcta (%{count} caràcters exactament)
122
122
  template:
123
123
  body: ! 'Hi ha hagut problemes amb els següents camps:'
124
124
  header:
@@ -130,7 +130,7 @@ ca:
130
130
  submit:
131
131
  create: Crear %{model}
132
132
  submit: Guardar %{model}
133
- update: Actualizar %{model}
133
+ update: Actualitzar %{model}
134
134
  number:
135
135
  currency:
136
136
  format:
@@ -151,11 +151,11 @@ ca:
151
151
  decimal_units:
152
152
  format: ! '%n %u'
153
153
  units:
154
- billion: Bilió
155
- million: Milió
156
- quadrillion: Quatrilió
157
- thousand: Mil
158
- trillion: Trilió
154
+ billion: mil milions
155
+ million: milió
156
+ quadrillion: quadrilió
157
+ thousand: mil
158
+ trillion: trilió
159
159
  unit: ''
160
160
  format:
161
161
  delimiter: ''
data/rails/locale/el.yml CHANGED
@@ -3,25 +3,25 @@ el:
3
3
  abbr_day_names:
4
4
  - Κυρ
5
5
  - Δευ
6
- - Τρι
6
+ - Τρί
7
7
  - Τετ
8
- - Πεμ
8
+ - Πέμ
9
9
  - Παρ
10
- - Σαβ
10
+ - Σάβ
11
11
  abbr_month_names:
12
12
  -
13
- - Ιαν.
14
- - Φεβ.
15
- - Μαρ.
16
- - Απρ.
17
- - Μαι.
18
- - Ιουν.
19
- - Ιούλ.
20
- - Αυγ.
21
- - Σεπ.
22
- - Οκτ.
23
- - Νοε.
24
- - Δεκ.
13
+ - Ιαν
14
+ - Φεβ
15
+ - Μαρ
16
+ - Απρ
17
+ - Μαϊ
18
+ - Ιουν
19
+ - Ιουλ
20
+ - Αυγ
21
+ - Σεπ
22
+ - Οκτ
23
+ - Νοε
24
+ - Δεκ
25
25
  day_names:
26
26
  - Κυριακή
27
27
  - Δευτέρα
@@ -128,7 +128,7 @@ el:
128
128
  template:
129
129
  body: ! 'Υπήρξαν προβλήματα με τα ακόλουθα πεδία:'
130
130
  header:
131
- one: 1 λάθος εμπόδισε αυτό το %{model} να αποθηκευθεί.
131
+ one: 1 λάθος εμπόδισε αυτό το %{model} να αποθηκευτεί.
132
132
  other: ! '%{count} λάθη εμπόδισαν αυτό το %{model} να αποθηκευτεί.'
133
133
  helpers:
134
134
  select:
@@ -140,10 +140,10 @@ el:
140
140
  number:
141
141
  currency:
142
142
  format:
143
- delimiter: ! ','
143
+ delimiter: .
144
144
  format: ! '%n %u'
145
145
  precision: 2
146
- separator: .
146
+ separator: ! ','
147
147
  significant: false
148
148
  strip_insignificant_zeros: false
149
149
  unit: €
@@ -190,12 +190,12 @@ el:
190
190
  two_words_connector: ! ' και '
191
191
  words_connector: ! ', '
192
192
  time:
193
- am: πμ
193
+ am: π.μ.
194
194
  formats:
195
195
  default: ! '%d %B %Y %H:%M'
196
196
  long: ! '%A %d %B %Y %H:%M:%S %Z'
197
197
  short: ! '%d %b %H:%M'
198
- pm: μμ
198
+ pm: μ.μ.
199
199
  # remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
200
200
  activemodel:
201
201
  errors:
@@ -55,14 +55,14 @@ es-CO:
55
55
  datetime:
56
56
  distance_in_words:
57
57
  about_x_hours:
58
- one: cerca de 1 hora
59
- other: cerca de %{count} horas
58
+ one: hace 1 hora
59
+ other: hace %{count} horas
60
60
  about_x_months:
61
- one: cerca de 1 mes
62
- other: cerca de %{count} meses
61
+ one: hace 1 mes
62
+ other: hace %{count} meses
63
63
  about_x_years:
64
- one: cerca de 1 año
65
- other: cerca de %{count} años
64
+ one: hace 1 año
65
+ other: hace %{count} años
66
66
  almost_x_years:
67
67
  one: casi 1 año
68
68
  other: casi %{count} años
data/rails/locale/et.yml CHANGED
@@ -75,7 +75,7 @@ et:
75
75
  other: vähem kui %{count} sekundit
76
76
  over_x_years:
77
77
  one: üle %{count} aasta
78
- other: üle %{count} aastat
78
+ other: üle %{count} aasta
79
79
  x_days:
80
80
  one: ! '%{count} päev'
81
81
  other: ! '%{count} päeva'
@@ -102,7 +102,7 @@ et:
102
102
  blank: on täitmata
103
103
  confirmation: ei vasta kinnitusele
104
104
  empty: on tühi
105
- equal_to: peab võrdne arvuga %{count}
105
+ equal_to: peab olema võrdne arvuga %{count}
106
106
  even: peab olema paarisarv
107
107
  exclusion: on reserveeritud
108
108
  greater_than: ei tohi olla suurem kui %{count}
data/rails/locale/it.yml CHANGED
@@ -1,53 +1,53 @@
1
1
  it:
2
2
  date:
3
3
  abbr_day_names:
4
- - Dom
5
- - Lun
6
- - Mar
7
- - Mer
8
- - Gio
9
- - Ven
10
- - Sab
4
+ - dom
5
+ - lun
6
+ - mar
7
+ - mer
8
+ - gio
9
+ - ven
10
+ - sab
11
11
  abbr_month_names:
12
12
  -
13
- - Gen
14
- - Feb
15
- - Mar
16
- - Apr
17
- - Mag
18
- - Giu
19
- - Lug
20
- - Ago
21
- - Set
22
- - Ott
23
- - Nov
24
- - Dic
13
+ - gen
14
+ - feb
15
+ - mar
16
+ - apr
17
+ - mag
18
+ - giu
19
+ - lug
20
+ - ago
21
+ - set
22
+ - ott
23
+ - nov
24
+ - dic
25
25
  day_names:
26
- - Domenica
27
- - Lunedì
28
- - Martedì
29
- - Mercoledì
30
- - Giovedì
31
- - Venerdì
32
- - Sabato
26
+ - domenica
27
+ - lunedì
28
+ - martedì
29
+ - mercoledì
30
+ - giovedì
31
+ - venerdì
32
+ - sabato
33
33
  formats:
34
34
  default: ! '%d-%m-%Y'
35
35
  long: ! '%d %B %Y'
36
36
  short: ! '%d %b'
37
37
  month_names:
38
38
  -
39
- - Gennaio
40
- - Febbraio
41
- - Marzo
42
- - Aprile
43
- - Maggio
44
- - Giugno
45
- - Luglio
46
- - Agosto
47
- - Settembre
48
- - Ottobre
49
- - Novembre
50
- - Dicembre
39
+ - gennaio
40
+ - febbraio
41
+ - marzo
42
+ - aprile
43
+ - maggio
44
+ - giugno
45
+ - luglio
46
+ - agosto
47
+ - settembre
48
+ - ottobre
49
+ - novembre
50
+ - dicembre
51
51
  order:
52
52
  - :day
53
53
  - :month
@@ -140,17 +140,17 @@ it:
140
140
  number:
141
141
  currency:
142
142
  format:
143
- delimiter: ! ','
143
+ delimiter: .
144
144
  format: ! '%n %u'
145
145
  precision: 2
146
- separator: .
146
+ separator: ! ','
147
147
  significant: false
148
148
  strip_insignificant_zeros: false
149
149
  unit: €
150
150
  format:
151
- delimiter: ! ','
151
+ delimiter: .
152
152
  precision: 2
153
- separator: .
153
+ separator: ! ','
154
154
  significant: false
155
155
  strip_insignificant_zeros: false
156
156
  human:
@@ -194,9 +194,9 @@ pt-BR:
194
194
  time:
195
195
  am: ''
196
196
  formats:
197
- default: ! '%A, %d de %B de %Y, %H:%M h'
198
- long: ! '%A, %d de %B de %Y, %H:%M h'
199
- short: ! '%d/%m, %H:%M h'
197
+ default: ! '%a, %d de %B de %Y, %H:%M:%S %z'
198
+ long: ! '%d de %B de %Y, %H:%M'
199
+ short: ! '%d de %B, %H:%M'
200
200
  pm: ''
201
201
  # remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
202
202
  activemodel:
data/rails/locale/pt.yml CHANGED
@@ -129,7 +129,7 @@ pt:
129
129
  prompt: Por favor seleccione
130
130
  submit:
131
131
  create: Criar %{model}
132
- submit: Salvar %{model}
132
+ submit: Gravar %{model}
133
133
  update: Actualizar %{model}
134
134
  number:
135
135
  currency:
data/rails/locale/ro.yml CHANGED
@@ -146,10 +146,10 @@ ro:
146
146
  number:
147
147
  currency:
148
148
  format:
149
- delimiter: ! ','
149
+ delimiter: ! '.'
150
150
  format: ! '%n %u'
151
151
  precision: 2
152
- separator: .
152
+ separator: ! ','
153
153
  significant: false
154
154
  strip_insignificant_zeros: false
155
155
  unit: RON
data/rails/locale/ru.yml CHANGED
@@ -173,14 +173,14 @@ ru:
173
173
  delimiter: ! ' '
174
174
  format: ! '%n %u'
175
175
  precision: 2
176
- separator: .
176
+ separator: ','
177
177
  significant: false
178
178
  strip_insignificant_zeros: false
179
179
  unit: руб.
180
180
  format:
181
181
  delimiter: ! ' '
182
182
  precision: 3
183
- separator: .
183
+ separator: ','
184
184
  significant: false
185
185
  strip_insignificant_zeros: false
186
186
  human:
data/rails/locale/tl.yml CHANGED
@@ -4,6 +4,7 @@
4
4
  # - Patrick CHEW - https://github.com/pchew-change (pchew@change.org)
5
5
  # - Jose BUSTAMANTE - (josebust@cisco.com)
6
6
  # Corrected by Christine Roque : christine@change.org
7
+ # Additional correction by: https://github.com/Lioness8257
7
8
 
8
9
  "tl":
9
10
  date:
@@ -133,7 +134,7 @@
133
134
 
134
135
  datetime:
135
136
  distance_in_words:
136
- half_a_minute: "kalahating isang minuto"
137
+ half_a_minute: "kalahating minuto"
137
138
  less_than_x_seconds:
138
139
  one: mas mababa sa isang segundo
139
140
  other: "mas mababa sa %{count} segundo"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails-i18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-28 00:00:00.000000000 Z
12
+ date: 2013-03-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: i18n
@@ -34,7 +34,7 @@ dependencies:
34
34
  requirements:
35
35
  - - '='
36
36
  - !ruby/object:Gem::Version
37
- version: 3.2.9
37
+ version: 3.2.13
38
38
  type: :development
39
39
  prerelease: false
40
40
  version_requirements: !ruby/object:Gem::Requirement
@@ -42,7 +42,7 @@ dependencies:
42
42
  requirements:
43
43
  - - '='
44
44
  - !ruby/object:Gem::Version
45
- version: 3.2.9
45
+ version: 3.2.13
46
46
  - !ruby/object:Gem::Dependency
47
47
  name: rspec-rails
48
48
  requirement: !ruby/object:Gem::Requirement
@@ -159,6 +159,7 @@ files:
159
159
  - rails/locale/eo.yml
160
160
  - rails/locale/sv.yml
161
161
  - rails/locale/sk.yml
162
+ - rails/locale/af.yml
162
163
  - rails/locale/et.yml
163
164
  - rails/locale/fr.yml
164
165
  - rails/locale/de.yml