i18n-generators 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/README.rdoc +2 -2
- data/lib/generators/i18n/all/USAGE +3 -3
- data/lib/generators/i18n/all/{i18n_generator.rb → all_generator.rb} +0 -0
- data/lib/generators/i18n/locale/USAGE +1 -1
- data/lib/generators/i18n/translation/USAGE +1 -1
- data/lib/i18n_generators/version.rb +1 -1
- metadata +5 -5
data/.gitignore
CHANGED
data/README.rdoc
CHANGED
@@ -3,8 +3,8 @@
|
|
3
3
|
This gem plugin generates a set of locale files for Rails i18n feature.
|
4
4
|
Supports Rails 3.1, 3.0.x, 2.3.x and 2.2.x.
|
5
5
|
|
6
|
-
* http://github.com/
|
7
|
-
* http://rubygems.org/gems/
|
6
|
+
* http://github.com/hauleth/i18n-generators
|
7
|
+
* http://rubygems.org/gems/i18n-generators
|
8
8
|
|
9
9
|
|
10
10
|
== FEATURES
|
@@ -1,12 +1,12 @@
|
|
1
1
|
Description:
|
2
2
|
Generates a config file and locale files and a model/attributes translation file for Rails 3.x i18n.
|
3
|
-
In other words, executes
|
3
|
+
In other words, executes i18n:locale and i18n:translation at once.
|
4
4
|
|
5
5
|
Example:
|
6
|
-
% rails g i18n locale_name (ja, pt-BR, etc.)
|
6
|
+
% rails g i18n locale_name # (ja, pt-BR, etc.)
|
7
7
|
|
8
8
|
This will create:
|
9
9
|
config/locales/ja.yml
|
10
|
-
config/locales/
|
10
|
+
config/locales/translation.ja.yml
|
11
11
|
And update:
|
12
12
|
config/application.rb
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: i18n-generators
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,11 +10,11 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-01-
|
13
|
+
date: 2012-01-06 00:00:00.000000000Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: mechanize
|
17
|
-
requirement: &
|
17
|
+
requirement: &20610780 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,7 +22,7 @@ dependencies:
|
|
22
22
|
version: '0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *20610780
|
26
26
|
description: A Rails generator plugin & gem that generates Rails I18n locale files
|
27
27
|
for almost every known locale.
|
28
28
|
email:
|
@@ -69,7 +69,7 @@ files:
|
|
69
69
|
- generators/i18n_translation/lib/translator.rb
|
70
70
|
- i18n-generators.gemspec
|
71
71
|
- lib/generators/i18n/all/USAGE
|
72
|
-
- lib/generators/i18n/all/
|
72
|
+
- lib/generators/i18n/all/all_generator.rb
|
73
73
|
- lib/generators/i18n/locale/USAGE
|
74
74
|
- lib/generators/i18n/locale/locale_generator.rb
|
75
75
|
- lib/generators/i18n/translation/USAGE
|