Skip to content

Commit

Permalink
Generate a stub config/locales/blacklight.yml.en into the application;
Browse files Browse the repository at this point in the history
…fixes #558
  • Loading branch information
cbeer committed Feb 5, 2014
1 parent 67c3df9 commit 575fc78
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/generators/blacklight/install_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,5 +88,9 @@ def add_sass_configuration
EOF
end
end

def inject_blacklight_i18n_strings
copy_file "blacklight.en.yml", "config/locales/blacklight.en.yml"
end
end
end
3 changes: 3 additions & 0 deletions lib/generators/blacklight/templates/blacklight.en.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
en:
blacklight:
application_name: 'Blacklight'

0 comments on commit 575fc78

Please sign in to comment.