First stage of i18n. Some migrations and extra plugins.
This commit is contained in:
parent
6ac7f91734
commit
53b4d645d8
82 changed files with 6876 additions and 18 deletions
12
vendor/plugins/rails-i18n/script/update.rb
vendored
Normal file
12
vendor/plugins/rails-i18n/script/update.rb
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
curr_dir = File.expand_path(File.dirname(__FILE__))
|
||||
rails_locale_dir = File.expand_path(File.join(curr_dir, "..", "rails"))
|
||||
|
||||
puts "Fetching latest Rails locale files to #{rails_locale_dir}"
|
||||
|
||||
exec %(
|
||||
curl -Lo '#{rails_locale_dir}/action_view.yml' http://github.com/rails/rails/tree/master/actionpack/lib/action_view/locale/en.yml?raw=true
|
||||
|
||||
curl -Lo '#{rails_locale_dir}/active_record.yml' http://github.com/rails/rails/tree/master/activerecord/lib/active_record/locale/en.yml?raw=true
|
||||
|
||||
curl -Lo '#{rails_locale_dir}/active_support.yml' http://github.com/rails/rails/tree/master/activesupport/lib/active_support/locale/en.yml?raw=true
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue