Skip to content

Commit

Permalink
Basic generator for installing all locale files.
Browse files Browse the repository at this point in the history
  • Loading branch information
schof committed Sep 5, 2010
1 parent 97a04b9 commit be3fe2e
Show file tree
Hide file tree
Showing 30 changed files with 23,380 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
14 changes: 14 additions & 0 deletions lib/generators/spree_i18n/install_generator.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
module SpreeI18n
module Generators
class InstallGenerator < Rails::Generators::Base
source_root File.expand_path("../../templates", __FILE__)

desc "Installs Spree locale files into your project"

# test method - later we'll copy only the requested locales
def copy_initializer
directory "config/locales"
end
end
end
end
Loading

0 comments on commit be3fe2e

Please sign in to comment.