Skip to content

Commit

Permalink
Add debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
amatsuda committed Dec 18, 2008
1 parent 9e01671 commit 36d2fc1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions generators/i18n/i18n_generator.rb
Expand Up @@ -35,10 +35,13 @@ def manifest
record do |m|
m.directory 'config/locales'
unless options[:generate_translation_only]
logger.debug 'updating environment.rb ...'
m.generate_configuration
if defined_in_rails_i18n_repository?
logger.debug "fetching #{locale_name}.yml from rails-i18n repository..."
m.fetch_from_rails_i18n_repository
else
logger.debug "generating #{locale_name} YAML files for Rails..."
m.active_support_yaml
m.active_record_yaml
m.action_view_yaml
Expand Down

0 comments on commit 36d2fc1

Please sign in to comment.