rails-i18n 0.7.4 → 3.0.0.pre
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 +3 -0
- data/README.md +8 -10
- metadata +13 -7
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
I18n Data Repository for Rails 3.x
|
2
|
+
==================================
|
3
3
|
|
4
4
|
[](http://travis-ci.org/svenfuchs/rails-i18n)
|
5
5
|
|
@@ -9,13 +9,15 @@ Central point to collect locale data for use in Ruby on Rails.
|
|
9
9
|
|
10
10
|
Add to your Gemfile:
|
11
11
|
|
12
|
-
gem 'rails-i18n'
|
12
|
+
gem 'rails-i18n', '~> 3.0.0.pre'
|
13
13
|
|
14
14
|
or run this command:
|
15
15
|
|
16
|
-
gem install rails-i18n
|
16
|
+
gem install rails-i18n --version '~> 3.0.0.pre'
|
17
17
|
|
18
|
-
Note that your rails version must be 3.
|
18
|
+
Note that your rails version must be 3.x if you want to install `rails-i18n` this way.
|
19
|
+
If your Rails is version 4.0 or above, visit the [master](https://github.com/svenfuchs/rails-i18n) branch.
|
20
|
+
Developers on Rails 2.x should go to the [rails-2-3](https://github.com/svenfuchs/rails-i18n/tree/rails-2-3) branch.
|
19
21
|
|
20
22
|
## Configuration
|
21
23
|
|
@@ -32,16 +34,12 @@ or
|
|
32
34
|
|
33
35
|
## Manual installation
|
34
36
|
|
35
|
-
Download the locale files that are found in the directory [rails/locale](http://github.com/svenfuchs/rails-i18n/tree/
|
37
|
+
Download the locale files that are found in the directory [rails/locale](http://github.com/svenfuchs/rails-i18n/tree/rails-3-x/rails/locale/) and put them into the `config/locales` directory of your Rails application.
|
36
38
|
|
37
39
|
If any translation doesn't suit well to the requirements of your application, edit them or add your own locale files.
|
38
40
|
|
39
41
|
For more information, visit [Rails Internationalization (I18n) API](http://guides.rubyonrails.org/i18n.html) on the _RailsGuides._
|
40
42
|
|
41
|
-
## Usage on Rails 2.3
|
42
|
-
|
43
|
-
Locale data whose structure is compatible with Rails 2.3 are available on the separate branch [rails-2-3](https://github.com/svenfuchs/rails-i18n/tree/rails-2-3).
|
44
|
-
|
45
43
|
## Available Locales
|
46
44
|
|
47
45
|
Available locales are:
|
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-i18n
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 3.0.0.pre
|
5
|
+
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Rails I18n Group
|
@@ -32,17 +32,23 @@ dependencies:
|
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
33
33
|
none: false
|
34
34
|
requirements:
|
35
|
-
- - '
|
35
|
+
- - ! '>='
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: 3.
|
38
|
-
|
37
|
+
version: 3.0.0
|
38
|
+
- - <
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 4.0.0
|
41
|
+
type: :runtime
|
39
42
|
prerelease: false
|
40
43
|
version_requirements: !ruby/object:Gem::Requirement
|
41
44
|
none: false
|
42
45
|
requirements:
|
43
|
-
- - '
|
46
|
+
- - ! '>='
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: 3.0.0
|
49
|
+
- - <
|
44
50
|
- !ruby/object:Gem::Version
|
45
|
-
version:
|
51
|
+
version: 4.0.0
|
46
52
|
- !ruby/object:Gem::Dependency
|
47
53
|
name: rspec-rails
|
48
54
|
requirement: !ruby/object:Gem::Requirement
|