i18n_rails_helpers 0.7.3 → 0.7.4

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -22,7 +22,7 @@ begin
22
22
  s.author = AUTHOR
23
23
 
24
24
  s.require_path = 'lib'
25
- s.files = %w(MIT-LICENSE README.markdown Rakefile init.rb) + Dir.glob("{lib,test,config}/**/*")
25
+ s.files = %w(MIT-LICENSE README.markdown Rakefile) + Dir.glob("{lib,test,config,rails}/**/*")
26
26
 
27
27
  # Runtime dependencies: When installing i18n_rails_helpers these will be checked if they are installed.
28
28
  # Will be offered to install these if they are not already installed.
@@ -0,0 +1,21 @@
1
+ de:
2
+ messages:
3
+ confirm_delete: "%{model} %{record} wirklich löschen?"
4
+
5
+ crud:
6
+ title:
7
+ index: "%{model} Liste"
8
+ edit: "%{model} bearbeiten"
9
+ show: "%{model} anzeigen"
10
+ new: "%{model} anlegen"
11
+ delete: "%{model} löschen"
12
+ back: "Zurück"
13
+ action:
14
+ index: "Liste"
15
+ edit: "Bearbeiten"
16
+ show: "Anzeigen"
17
+ new: "Anlegen"
18
+ delete: "Löschen"
19
+ back: "Zurück"
20
+
21
+
data/rails/init.rb ADDED
@@ -0,0 +1,3 @@
1
+ # Register helpers for Rails < 3
2
+ require File.join(File.dirname(__FILE__), *%w[.. lib i18n_rails_helpers])
3
+ ActionView::Base.send :include, I18nRailsHelpers
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 7
8
- - 3
9
- version: 0.7.3
8
+ - 4
9
+ version: 0.7.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - "Simon H\xC3\xBCrlimann"
@@ -53,10 +53,11 @@ files:
53
53
  - MIT-LICENSE
54
54
  - README.markdown
55
55
  - Rakefile
56
+ - config/locales/de-CH.yml
56
57
  - config/locales/de.yml
57
- - init.rb
58
58
  - lib/i18n_rails_helpers.rb
59
59
  - lib/i18n_rails_helpers/railtie.rb
60
+ - rails/init.rb
60
61
  - test/i18n_rails_helpers_test.rb
61
62
  - test/test_helper.rb
62
63
  has_rdoc: true
data/init.rb DELETED
@@ -1,2 +0,0 @@
1
- # Include hook code here
2
- ActionView::Base.send :include, I18nRailsHelpers