Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/karmi/i18n_demo_app into ka…
Browse files Browse the repository at this point in the history
…rmi/master
  • Loading branch information
akitaonrails committed Sep 2, 2008
2 parents 54fd0ab + 9fb79a4 commit ce01f93
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions vendor/plugins/localized_dates/init.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@

#TODO: clean up so that only responds to current locale - load order dependent.
# load all ruby and YML hash locales
Dir["#{locales_dir}/*.rb", "#{locales_dir}/*.yml"].uniq.each do |locale|
I18n.load_translations locale
end
Dir["#{locales_dir}/*.{rb,yml}"].each { |locale| I18n.load_translations locale }

puts '** [localized_dates] locales loaded from config/locales.'

# set default locale to en-US
Expand Down

0 comments on commit ce01f93

Please sign in to comment.