i18n_screwdriver 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/i18n_screwdriver.gemspec +1 -1
- data/lib/tasks/i18n.rake +3 -1
- metadata +4 -4
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.3.0
|
data/i18n_screwdriver.gemspec
CHANGED
data/lib/tasks/i18n.rake
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
namespace :i18n do
|
2
|
+
desc 'find all translations in views, helpers and controllers'
|
2
3
|
task :update => :environment do
|
3
4
|
|
4
5
|
translations = {}
|
@@ -42,7 +43,8 @@ namespace :i18n do
|
|
42
43
|
write_translation_file(language, existing_translations)
|
43
44
|
end
|
44
45
|
end
|
45
|
-
|
46
|
+
|
47
|
+
desc 'translate foreign language file line by line'
|
46
48
|
task :translate => :environment do
|
47
49
|
raise "ERROR: usage: TRANSLATE=de rake i18n:translate" unless ENV['TRANSLATE']
|
48
50
|
language = ENV['TRANSLATE']
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: i18n_screwdriver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 3
|
9
|
+
- 0
|
10
|
+
version: 0.3.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Tobias Miesel
|