rails-i18n 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,115 +1,21 @@
1
- Rails Locale Data Repository
2
- ============================
1
+ I18n Data Repository for Rails 2.3
2
+ ==================================
3
3
 
4
4
  [![Build Status](https://secure.travis-ci.org/svenfuchs/rails-i18n.png)](http://travis-ci.org/svenfuchs/rails-i18n)
5
5
 
6
- Central point to collect locale data for use in Ruby on Rails.
6
+ Central point to collect locale data for use in Ruby on Rails 2.3.
7
7
 
8
- ## Gem installation
8
+ If your Rails version is 4.0 or above, visit the [master](https://github.com/svenfuchs/rails-i18n) branch.
9
+ If your Rails version is 3.x, visit the [rails-3-x](https://github.com/svenfuchs/rails-i18n/tree/rails-3-x) branch.
9
10
 
10
- Add to your Gemfile:
11
+ ## Installation
11
12
 
12
- gem 'rails-i18n'
13
-
14
- or run this command:
15
-
16
- gem install rails-i18n
17
-
18
- Note that your rails version must be 3.0 or higher if you want to install `rails-i18n` as a gem. For rails 2.x, install it manually as described below.
19
-
20
- ## Manual installation
21
-
22
- Download the locale files that are found in the directory [rails/locale](http://github.com/svenfuchs/rails-i18n/tree/master/rails/locale/) and put them into the `config/locales` directory of your Rails application.
13
+ Download the locale files that are found in the directory [rails/locale](http://github.com/svenfuchs/rails-i18n/tree/rails-2-3/rails/locale/) and put them into the `config/locales` directory of your Rails application.
23
14
 
24
15
  If any translation doesn't suit well to the requirements of your application, edit them or add your own locale files.
25
16
 
26
17
  For more information, visit [Rails Internationalization (I18n) API](http://guides.rubyonrails.org/i18n.html) on the _RailsGuides._
27
18
 
28
- ## Available Locales
29
-
30
- Available locales are:
31
-
32
- > ar, az, bg, bn-IN, bs, ca, cs, csb, cy, da, de, de-AT, de-CH, dsb, el, en-AU, en-GB, en-IN, en-US, eo, es,
33
- > es-AR, es-CL, es-CO, es-MX, es-PE, et, eu, fa, fi, fr, fr-CA, fr-CH, fur, gl-ES,
34
- > gsw-CH, he, hi-IN, hr, hsb, hu, id, is, it, ja, kn, ko, lo, lt, lv, mk, mn, nb,
35
- > nl, nn, pl, pt-BR, pt-PT, rm, ro, ru, sk, sl, sr, sr-Latn, sv-SE, sw, th,
36
- > tr, uk, vi, zh-CN, zh-TW
37
-
38
- Note that all locale files are not yet ready for Rails 3. Currently, following locales are ready for Rails 2 and 3:
39
-
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,
41
- > eu, fa, fi, fr, fr-CA, fr-CH, fur, gsw-CH, he, hi, hi-IN, hu, is, it, ja, kn, ko, lv, nb,
42
- > nl, pl, pt-BR, pt-PT, ro, ru, sk, sv-SE, sw, th, uk, zh-CN, zh-TW
43
-
44
- Not-yet-ready locales are:
45
-
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
47
-
48
- We always welcome your contributions!
49
-
50
- ## Gem translations
51
-
52
- Gems that are often used with Rails may have their own
53
- translations. These translations are kept in the [project root](http://github.com/svenfuchs/rails-i18n/tree/master/).
54
-
55
- If you need one of these, simply copy the appropriate translation files
56
- to `config/locales`.
57
-
58
- cp rails-i18n/will_paginate/nl.yml my_app/config/locales/will_paginate.yml
59
-
60
- ## How to contribute
61
-
62
- ### Quick contribution
63
-
64
- If you are familiar with GitHub operations, follow the procedures described in the subsequent sections.
65
-
66
- If you are not,
67
-
68
- * Save your locale data on the [Gist](http://gist.github.com).
69
- * Open an issue with reference to the Gist you created.
70
-
71
- ### Fetch the `rails-18n` repository
72
-
73
- * Get a github account and Git program if you haven't. See [Help.Github](http://help.github.com/) for instructions.
74
- * Fork `svenfuchs/rails-i18n` repository and clone it into your PC.
75
-
76
- ### Create or edit your locale file
77
-
78
- * Have a look in `rails/locale/en-US.yml`, which can be used as the base of your translation.
79
- This file is a compound of all translation files in the Rails 2 and 3 packages.
80
- Note that we use `&errors_messages` and `<<: *errors_messages` to anchor and merge a part of translation data.
81
- * Create or edit your locale file.
82
- Please include a comment with the language/locale name and your name and email address (or other contact information like your github profile) to the locale file so people can come contact you and ask questions etc.
83
- Also, please pay attention to save your files as UTF-8.
84
-
85
- ### Test your locale file
86
-
87
- Before committing and pushing your changes, test the integrity of your locale file.
88
-
89
- rake spec
90
-
91
- You can list all locales that are ready both for Rails version 2 and 3:
92
-
93
- thor locales:ready
94
-
95
- You can also list the locales ready for a specific version of Rails. For example:
96
-
97
- thor locales:ready_for 3
98
-
99
- Lastly, you can list all available locales:
100
-
101
- thor locales:list
102
-
103
- ### Edit README.md
104
-
105
- Add your locale name to the list in `README.md` if it isn't there.
106
-
107
- ### Send pull request
108
-
109
- If you are ready, push the repository into the Github and send us a pull request.
110
-
111
- We will do the formality check and publish it as quick as we can.
112
-
113
19
  ## License
114
20
 
115
21
  [MIT](https://github.com/svenfuchs/rails-i18n/blob/master/MIT-LICENSE.txt)
@@ -69,50 +69,50 @@ it:
69
69
  long: "%d %B %Y"
70
70
 
71
71
  day_names:
72
- - Domenica
73
- - Lunedì
74
- - Martedì
75
- - Mercoledì
76
- - Giovedì
77
- - Venerdì
78
- - Sabato
72
+ - domenica
73
+ - lunedì
74
+ - martedì
75
+ - mercoledì
76
+ - giovedì
77
+ - venerdì
78
+ - sabato
79
79
  abbr_day_names:
80
- - Dom
81
- - Lun
82
- - Mar
83
- - Mer
84
- - Gio
85
- - Ven
86
- - Sab
80
+ - dom
81
+ - lun
82
+ - mar
83
+ - mer
84
+ - gio
85
+ - ven
86
+ - sab
87
87
 
88
88
  month_names:
89
89
  - ~
90
- - Gennaio
91
- - Febbraio
92
- - Marzo
93
- - Aprile
94
- - Maggio
95
- - Giugno
96
- - Luglio
97
- - Agosto
98
- - Settembre
99
- - Ottobre
100
- - Novembre
101
- - Dicembre
90
+ - gennaio
91
+ - febbraio
92
+ - marzo
93
+ - aprile
94
+ - maggio
95
+ - giugno
96
+ - luglio
97
+ - agosto
98
+ - settembre
99
+ - ottobre
100
+ - novembre
101
+ - dicembre
102
102
  abbr_month_names:
103
103
  - ~
104
- - Gen
105
- - Feb
106
- - Mar
107
- - Apr
108
- - Mag
109
- - Giu
110
- - Lug
111
- - Ago
112
- - Set
113
- - Ott
114
- - Nov
115
- - Dic
104
+ - gen
105
+ - feb
106
+ - mar
107
+ - apr
108
+ - mag
109
+ - giu
110
+ - lug
111
+ - ago
112
+ - set
113
+ - ott
114
+ - nov
115
+ - dic
116
116
  order:
117
117
  - :day
118
118
  - :month
@@ -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 prea scurt (minumim de caractere este %{count})"
186
+ too_short: "este prea scurt (minimum 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"
@@ -209,4 +209,4 @@ ro:
209
209
  template:
210
210
  <<: *errors_template
211
211
  full_messages:
212
- format: "%{attribute} %{message}"
212
+ format: "%{attribute} %{message}"
@@ -0,0 +1,4 @@
1
+ ro:
2
+ will_paginate:
3
+ previous_label: "← anterior"
4
+ next_label: "următor →"
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.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-10 00:00:00.000000000 Z
12
+ date: 2014-01-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: i18n
16
- requirement: &5792200 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: '0.5'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *5792200
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '0.5'
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: rails
27
- requirement: &5877680 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ! '>='
@@ -32,10 +37,15 @@ dependencies:
32
37
  version: 3.0.0
33
38
  type: :development
34
39
  prerelease: false
35
- version_requirements: *5877680
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ! '>='
44
+ - !ruby/object:Gem::Version
45
+ version: 3.0.0
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: rspec-rails
38
- requirement: &5876520 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ! '>='
@@ -43,10 +53,15 @@ dependencies:
43
53
  version: 2.7.0
44
54
  type: :development
45
55
  prerelease: false
46
- version_requirements: *5876520
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: 2.7.0
47
62
  - !ruby/object:Gem::Dependency
48
63
  name: i18n-spec
49
- requirement: &5875220 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
50
65
  none: false
51
66
  requirements:
52
67
  - - ! '>='
@@ -54,10 +69,15 @@ dependencies:
54
69
  version: 0.1.0
55
70
  type: :development
56
71
  prerelease: false
57
- version_requirements: *5875220
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: 0.1.0
58
78
  - !ruby/object:Gem::Dependency
59
79
  name: will_paginate
60
- requirement: &5873940 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
61
81
  none: false
62
82
  requirements:
63
83
  - - ! '>='
@@ -65,7 +85,12 @@ dependencies:
65
85
  version: 3.0.0
66
86
  type: :development
67
87
  prerelease: false
68
- version_requirements: *5873940
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: 3.0.0
69
94
  description: A set of common locale data and translations to internationalize and/or
70
95
  localize your Rails applications.
71
96
  email: rails-i18n@googlegroups.com
@@ -151,6 +176,7 @@ files:
151
176
  - rails/locale/ko.yml
152
177
  - rails/locale/csb.yml
153
178
  - will_paginate/en-US.yml
179
+ - will_paginate/ro.yml
154
180
  - will_paginate/en-GB.yml
155
181
  - will_paginate/ja.yml
156
182
  - will_paginate/bg.yml
@@ -179,7 +205,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
179
205
  version: 1.3.5
180
206
  requirements: []
181
207
  rubyforge_project: ! '[none]'
182
- rubygems_version: 1.8.10
208
+ rubygems_version: 1.8.23
183
209
  signing_key:
184
210
  specification_version: 3
185
211
  summary: Common locale data and translations for Rails i18n.