rails-i18n 0.3.0.beta2 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  Rails Locale Data Repository
2
2
  ============================
3
3
 
4
+ [![Build Status](https://secure.travis-ci.org/svenfuchs/rails-i18n.png)](http://travis-ci.org/svenfuchs/rails-i18n)
5
+
4
6
  Central point to collect locale data for use in Ruby on Rails.
5
7
 
6
8
  ## Gem installation
@@ -36,12 +38,12 @@ Available locales are:
36
38
  Note that all locale files are not yet ready for Rails 3. Currently, following locales are ready for Rails 2 and 3:
37
39
 
38
40
  > ar, az, bg, bs, ca, cs, csb, cy, da, de, de-AT, de-CH, el, en-AU, en-GB, en-US, eo, es, es-AR, es-CL, es-CO, es-MX, et,
39
- > eu, fa, fi, fr, fr-CA, fr-CH, gsw-CH, he, hi, hi-IN, hu, is, it, ja, kn, ko, lv, nb,
41
+ > eu, fa, fi, fr, fr-CA, fr-CH, fur, gsw-CH, he, hi, hi-IN, hu, is, it, ja, kn, ko, lv, nb,
40
42
  > nl, pl, pt-BR, pt-PT, ro, ru, sk, sv-SE, sw, th, uk, zh-CN, zh-TW
41
43
 
42
44
  Not-yet-ready locales are:
43
45
 
44
- > bn-IN, dsb, en-IN, es-PE, fur, gl-ES, hr, hsb, id, lo, lt, mk, mn, nn, rm, sl, sr, sr-Latn, tr, vi
46
+ > bn-IN, dsb, en-IN, es-PE, gl-ES, hr, hsb, id, lo, lt, mk, mn, nn, rm, sl, sr, sr-Latn, tr, vi
45
47
 
46
48
  We always welcome your contributions!
47
49
 
@@ -82,21 +84,9 @@ If you are not,
82
84
 
83
85
  ### Test your locale file
84
86
 
85
- Before commit and push your changes, test the integrity of your locale file.
86
-
87
- Make sure you have the <code>i18n</code> and <code>thor</code> installed. If you haven't, install them:
88
-
89
- sudo gem install i18n thor
90
-
91
- You can test your locale by running following command on the root directory of this repository:
92
-
93
- thor locales:test [your-locale]
94
-
95
- Assuming that there is a file <code>rails/locale/[your-locale].{rb,yml}</code> you will get a list of keys missing from your locale data.
96
-
97
- Invoke following command to test all locale files:
87
+ Before committing and pushing your changes, test the integrity of your locale file.
98
88
 
99
- thor locales:test_all
89
+ rake spec
100
90
 
101
91
  You can list all locales that are ready both for Rails version 2 and 3:
102
92
 
@@ -156,11 +156,11 @@ de-AT:
156
156
  million: Millionen
157
157
  billion:
158
158
  one: Milliarde
159
- others: Milliarden
159
+ other: Milliarden
160
160
  trillion: Billionen
161
161
  quadrillion:
162
162
  one: Billiarde
163
- others: Billiarden
163
+ other: Billiarden
164
164
 
165
165
  support:
166
166
  array:
@@ -156,11 +156,11 @@ de-CH:
156
156
  million: Millionen
157
157
  billion:
158
158
  one: Milliarde
159
- others: Milliarden
159
+ other: Milliarden
160
160
  trillion: Billionen
161
161
  quadrillion:
162
162
  one: Billiarde
163
- others: Billiarden
163
+ other: Billiarden
164
164
 
165
165
  support:
166
166
  array:
data/rails/locale/fur.yml CHANGED
@@ -14,8 +14,8 @@ fur:
14
14
  format:
15
15
  format: "%n %u"
16
16
  unit: "€"
17
- separator: "."
18
- delimiter: ","
17
+ separator: ","
18
+ delimiter: "."
19
19
  precision: 2
20
20
  significant: false
21
21
  strip_insignificant_zeros: false
@@ -52,6 +52,11 @@ fur:
52
52
  format: "%n %u"
53
53
  units:
54
54
  unit: ""
55
+ thousand: miâr
56
+ million: milion
57
+ billion: bilion
58
+ trillion: trilion
59
+ quadrillion: cuadrilion
55
60
 
56
61
  date:
57
62
  formats:
@@ -113,7 +118,7 @@ fur:
113
118
  formats:
114
119
  default: "%a %d di %b dal %Y, %H:%M:%S %z"
115
120
  short: "%d di %b %H:%M"
116
- long: "%d di %B %Y %H:%M"
121
+ long: "%d di %B dal %Y %H:%M"
117
122
 
118
123
  am: 'am'
119
124
  pm: 'pm'
@@ -151,19 +156,34 @@ fur:
151
156
  over_x_years:
152
157
  one: "plui di un an"
153
158
  other: "plui di %{count} agns"
159
+ almost_x_years:
160
+ one: "cuasi un an"
161
+ other: "cuasi %{count} agns"
154
162
  prompts:
155
163
  year: "An"
156
164
  month: "Mês"
157
- day: ""
165
+ day: "Zornade"
158
166
  hour: "Ore"
159
167
  minute: "Minût"
160
- second: "Seconts"
168
+ second: "Secont"
169
+
170
+ helpers:
171
+ select:
172
+ prompt: "Sielç par plasê"
173
+
174
+ submit:
175
+ create: 'Cree %{model}'
176
+ update: 'Inzorne %{model}'
177
+ submit: 'Salve %{model}'
161
178
 
162
179
  support:
163
180
  array:
164
181
  words_connector: ", "
165
182
  two_words_connector: " e "
166
- last_word_connector: ", e "
183
+ last_word_connector: " e "
184
+
185
+ select:
186
+ prompt: "Sielç par plasê"
167
187
 
168
188
  errors:
169
189
  format: "%{attribute} %{message}"
@@ -173,7 +193,7 @@ fur:
173
193
  other: "No si pues salvâ chest %{model}: %{count} erôrs."
174
194
  body: "Torne par plasê a controlâ i cjamps ca sot:"
175
195
  messages: &errors_messages
176
- inclusion: "non è includût te liste"
196
+ inclusion: "nol è includût te liste"
177
197
  exclusion: "al è riservât"
178
198
  invalid: "nol è valit"
179
199
  confirmation: "nol è compagn de conferme"
@@ -182,9 +202,10 @@ fur:
182
202
  blank: "nol pues jessi lassât in blanc"
183
203
  too_long: "al è masse lunc (il massim al è %{count} letaris)"
184
204
  too_short: "al è masse curt (il minim al è %{count} letaris)"
185
- wrong_length: "nol à la lungjece juste (al ò di jessi di %{count} letaris)"
205
+ wrong_length: "nol à la lungjece juste (al à di jessi di %{count} letaris)"
186
206
  taken: "al è za doprât"
187
207
  not_a_number: "nol è un numar"
208
+ not_an_integer: "al à di jessi un numar intîr"
188
209
  greater_than: "al à di jessi plui grant di %{count}"
189
210
  greater_than_or_equal_to: "al à di jessi plui grant o compagn di %{count}"
190
211
  equal_to: "al à di jessi compagn di %{count}"
@@ -192,6 +213,7 @@ fur:
192
213
  less_than_or_equal_to: "al à di jessi mancul o compagn di %{count}"
193
214
  odd: "al à di jessi dispar"
194
215
  even: "al à di jessi pâr"
216
+ record_invalid: "Convalide falide: %{errors}"
195
217
 
196
218
  activerecord:
197
219
  errors:
data/rails/locale/pl.yml CHANGED
@@ -225,9 +225,6 @@ pl:
225
225
  body: "Błędy dotyczą następujących pól:"
226
226
 
227
227
  activerecord:
228
- attributes:
229
- created_at: "Stworzony"
230
- updated_at: "Zaktualizowany"
231
228
  errors:
232
229
  messages:
233
230
  <<: *errors_messages
data/rails/locale/ro.yml CHANGED
@@ -183,7 +183,7 @@ ro:
183
183
  empty: "nu poate fi gol"
184
184
  blank: "nu poate fi gol"
185
185
  too_long: "este prea lung (se pot folosi maximum %{count} caractere)"
186
- too_short: "este pre scurt (minumim de caractere este %{count})"
186
+ too_short: "este prea scurt (minumim de caractere este %{count})"
187
187
  wrong_length: "nu are lungimea corectă (trebuie să aiba %{count} caractere)"
188
188
  not_a_number: "nu este un număr"
189
189
  not_an_integer: "trebuie să fie un mumăr întreg"
data/rails/locale/sw.yml CHANGED
@@ -197,11 +197,11 @@ sw:
197
197
  wrong_length: 'idadi ya herufi hazilingani (inatakiwa %{count})'
198
198
  not_a_number: 'inaruhusiwa namba tu'
199
199
  not_an_integer: 'inaruhusiwa namba tu'
200
- greater_than: 'z/iwe zaidi ya {{count}}'
201
- greater_than_or_equal_to: 'z/iwe sawa ama zaidi ya {{count}}'
202
- equal_to: 'z/iwe sawa na {{count}}'
203
- less_than: 'z/isizidi {{count}}'
204
- less_than_or_equal_to: 'z/iwe sawa na, ama chini ya {{count}}'
200
+ greater_than: 'z/iwe zaidi ya %{count}'
201
+ greater_than_or_equal_to: 'z/iwe sawa ama zaidi ya %{count}'
202
+ equal_to: 'z/iwe sawa na %{count}'
203
+ less_than: 'z/isizidi %{count}'
204
+ less_than_or_equal_to: 'z/iwe sawa na, ama chini ya %{count}'
205
205
  odd: 'z/iwe witiri'
206
206
  even: 'z/iwe shufwa'
207
207
  taken: 'imesajiliwa'
@@ -0,0 +1,19 @@
1
+ "sk":
2
+ will_paginate:
3
+ previous_label: "&#8592; Predošlá"
4
+ next_label: "Ďalšia &#8594;"
5
+ page_gap: "&hellip;"
6
+
7
+ page_entries_info:
8
+ single_page:
9
+ zero: "Nenájdený žiadny %{model}"
10
+ one: "Zobrazujem 1 %{model}"
11
+ other: "Zobrazujem všetkých %{count} %{model}"
12
+ single_page_html:
13
+ zero: "Nenájdený žiadny %{model}"
14
+ one: "Zobrazujem <b>1</b> %{model}"
15
+ other: "Zobrazujem <b>všetkých&nbsp;%{count}</b> %{model}"
16
+
17
+ multi_page: "Zobrazujem %{model} %{from} - %{to} z celkovo %{count}"
18
+ multi_page_html: "Zobrazujem %{model} <b>%{from}&nbsp;-&nbsp;%{to}</b> z celkovo <b>%{count}</b>"
19
+
metadata CHANGED
@@ -1,167 +1,186 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rails-i18n
3
- version: !ruby/object:Gem::Version
4
- hash: 62196375
5
- prerelease: 6
6
- segments:
7
- - 0
8
- - 3
9
- - 0
10
- - beta
11
- - 2
12
- version: 0.3.0.beta2
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.0
5
+ prerelease:
13
6
  platform: ruby
14
- authors:
7
+ authors:
15
8
  - Rails I18n Group
16
9
  autorequire:
17
10
  bindir: bin
18
11
  cert_chain: []
19
-
20
- date: 2011-12-30 00:00:00 Z
21
- dependencies:
22
- - !ruby/object:Gem::Dependency
12
+ date: 2012-01-10 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
23
15
  name: i18n
24
- prerelease: false
25
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &5792200 !ruby/object:Gem::Requirement
26
17
  none: false
27
- requirements:
18
+ requirements:
28
19
  - - ~>
29
- - !ruby/object:Gem::Version
30
- hash: 1
31
- segments:
32
- - 0
33
- - 5
34
- version: "0.5"
20
+ - !ruby/object:Gem::Version
21
+ version: '0.5'
35
22
  type: :runtime
36
- version_requirements: *id001
37
- description: A set of common locale data and translations to internationalize and/or localize your Rails applications.
23
+ prerelease: false
24
+ version_requirements: *5792200
25
+ - !ruby/object:Gem::Dependency
26
+ name: rails
27
+ requirement: &5877680 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: 3.0.0
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *5877680
36
+ - !ruby/object:Gem::Dependency
37
+ name: rspec-rails
38
+ requirement: &5876520 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: 2.7.0
44
+ type: :development
45
+ prerelease: false
46
+ version_requirements: *5876520
47
+ - !ruby/object:Gem::Dependency
48
+ name: i18n-spec
49
+ requirement: &5875220 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: 0.1.0
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *5875220
58
+ - !ruby/object:Gem::Dependency
59
+ name: will_paginate
60
+ requirement: &5873940 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: 3.0.0
66
+ type: :development
67
+ prerelease: false
68
+ version_requirements: *5873940
69
+ description: A set of common locale data and translations to internationalize and/or
70
+ localize your Rails applications.
38
71
  email: rails-i18n@googlegroups.com
39
72
  executables: []
40
-
41
73
  extensions: []
42
-
43
74
  extra_rdoc_files: []
44
-
45
- files:
46
- - lib/rails-i18n.rb
75
+ files:
47
76
  - lib/rails_i18n/railtie.rb
48
77
  - lib/rails_i18n.rb
49
- - rails/locale/hi-IN.yml
78
+ - lib/rails-i18n.rb
79
+ - rails/locale/cs.yml
80
+ - rails/locale/sr.yml
50
81
  - rails/locale/en-AU.yml
51
- - rails/locale/vi.yml
52
- - rails/locale/sr-Latn.yml
53
- - rails/locale/lv.yml
54
- - rails/locale/es-CO.yml
55
82
  - rails/locale/pl.yml
56
- - rails/locale/nl.yml
57
- - rails/locale/de.yml
58
- - rails/locale/tr.yml
83
+ - rails/locale/th.yml
59
84
  - rails/locale/pt-BR.yml
85
+ - rails/locale/it.yml
86
+ - rails/locale/ru.yml
60
87
  - rails/locale/mn.yml
61
- - rails/locale/eo.yml
62
- - rails/locale/cy.yml
88
+ - rails/locale/en-IN.yml
89
+ - rails/locale/uk.yml
90
+ - rails/locale/fr-CA.yml
63
91
  - rails/locale/en-US.yml
64
92
  - rails/locale/sw.yml
65
- - rails/locale/ja.yml
66
- - rails/locale/es.yml
67
- - rails/locale/bn-IN.yml
68
- - rails/locale/es-MX.yml
69
- - rails/locale/kn.yml
70
- - rails/locale/fi.yml
71
- - rails/locale/eu.yml
72
- - rails/locale/de-CH.yml
73
- - rails/locale/gl-ES.yml
74
- - rails/locale/ar.yml
75
- - rails/locale/nn.yml
76
- - rails/locale/hi.yml
77
- - rails/locale/zh-TW.yml
78
- - rails/locale/th.yml
79
- - rails/locale/el.yml
80
- - rails/locale/bg.yml
81
- - rails/locale/ko.yml
82
- - rails/locale/rm.yml
83
- - rails/locale/hr.yml
84
- - rails/locale/fr-CH.yml
85
- - rails/locale/da.yml
86
- - rails/locale/fr-CA.yml
87
- - rails/locale/is.yml
93
+ - rails/locale/id.yml
88
94
  - rails/locale/ro.yml
89
- - rails/locale/pt-PT.yml
90
- - rails/locale/nb.yml
91
- - rails/locale/uk.yml
92
- - rails/locale/sr.yml
93
- - rails/locale/csb.yml
95
+ - rails/locale/nn.yml
96
+ - rails/locale/sl.yml
94
97
  - rails/locale/lo.yml
95
- - rails/locale/en-IN.yml
96
- - rails/locale/mk.yml
97
- - rails/locale/hu.yml
98
- - rails/locale/sk.yml
99
- - rails/locale/zh-CN.yml
100
- - rails/locale/es-AR.yml
101
98
  - rails/locale/en-GB.yml
102
- - rails/locale/fa.yml
103
- - rails/locale/es-CL.yml
104
- - rails/locale/ca.yml
105
- - rails/locale/az.yml
106
- - rails/locale/id.yml
99
+ - rails/locale/fr-CH.yml
107
100
  - rails/locale/de-AT.yml
108
- - rails/locale/cs.yml
109
- - rails/locale/dsb.yml
101
+ - rails/locale/da.yml
102
+ - rails/locale/vi.yml
110
103
  - rails/locale/hsb.yml
111
- - rails/locale/it.yml
112
- - rails/locale/gsw-CH.yml
104
+ - rails/locale/fa.yml
105
+ - rails/locale/kn.yml
106
+ - rails/locale/gl-ES.yml
107
+ - rails/locale/eu.yml
108
+ - rails/locale/rm.yml
109
+ - rails/locale/lv.yml
110
+ - rails/locale/mk.yml
113
111
  - rails/locale/es-PE.yml
114
- - rails/locale/ru.yml
115
112
  - rails/locale/sv-SE.yml
116
- - rails/locale/sl.yml
117
- - rails/locale/fr.yml
118
- - rails/locale/et.yml
119
- - rails/locale/he.yml
113
+ - rails/locale/ja.yml
114
+ - rails/locale/es.yml
115
+ - rails/locale/bg.yml
116
+ - rails/locale/hr.yml
117
+ - rails/locale/es-AR.yml
120
118
  - rails/locale/bs.yml
119
+ - rails/locale/de-CH.yml
120
+ - rails/locale/he.yml
121
+ - rails/locale/eo.yml
122
+ - rails/locale/sk.yml
123
+ - rails/locale/pt-PT.yml
124
+ - rails/locale/et.yml
125
+ - rails/locale/fr.yml
126
+ - rails/locale/de.yml
127
+ - rails/locale/es-CL.yml
128
+ - rails/locale/el.yml
129
+ - rails/locale/nl.yml
121
130
  - rails/locale/lt.yml
131
+ - rails/locale/is.yml
132
+ - rails/locale/zh-TW.yml
133
+ - rails/locale/sr-Latn.yml
134
+ - rails/locale/hi-IN.yml
135
+ - rails/locale/tr.yml
136
+ - rails/locale/bn-IN.yml
122
137
  - rails/locale/fur.yml
123
- - will_paginate/nl.yml
138
+ - rails/locale/ar.yml
139
+ - rails/locale/fi.yml
140
+ - rails/locale/es-CO.yml
141
+ - rails/locale/gsw-CH.yml
142
+ - rails/locale/zh-CN.yml
143
+ - rails/locale/nb.yml
144
+ - rails/locale/hu.yml
145
+ - rails/locale/ca.yml
146
+ - rails/locale/dsb.yml
147
+ - rails/locale/cy.yml
148
+ - rails/locale/hi.yml
149
+ - rails/locale/es-MX.yml
150
+ - rails/locale/az.yml
151
+ - rails/locale/ko.yml
152
+ - rails/locale/csb.yml
124
153
  - will_paginate/en-US.yml
154
+ - will_paginate/en-GB.yml
125
155
  - will_paginate/ja.yml
126
156
  - will_paginate/bg.yml
157
+ - will_paginate/sk.yml
158
+ - will_paginate/nl.yml
127
159
  - will_paginate/hu.yml
128
- - will_paginate/en-GB.yml
129
160
  - README.md
130
161
  - MIT-LICENSE.txt
131
162
  homepage: http://github.com/svenfuchs/rails-i18n
132
163
  licenses: []
133
-
134
164
  post_install_message:
135
165
  rdoc_options: []
136
-
137
- require_paths:
166
+ require_paths:
138
167
  - lib
139
- required_ruby_version: !ruby/object:Gem::Requirement
168
+ required_ruby_version: !ruby/object:Gem::Requirement
140
169
  none: false
141
- requirements:
142
- - - ">="
143
- - !ruby/object:Gem::Version
144
- hash: 3
145
- segments:
146
- - 0
147
- version: "0"
148
- required_rubygems_version: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ! '>='
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ required_rubygems_version: !ruby/object:Gem::Requirement
149
175
  none: false
150
- requirements:
151
- - - ">="
152
- - !ruby/object:Gem::Version
153
- hash: 17
154
- segments:
155
- - 1
156
- - 3
157
- - 5
176
+ requirements:
177
+ - - ! '>='
178
+ - !ruby/object:Gem::Version
158
179
  version: 1.3.5
159
180
  requirements: []
160
-
161
- rubyforge_project: "[none]"
181
+ rubyforge_project: ! '[none]'
162
182
  rubygems_version: 1.8.10
163
183
  signing_key:
164
184
  specification_version: 3
165
185
  summary: Common locale data and translations for Rails i18n.
166
186
  test_files: []
167
-