Skip to content

Commit

Permalink
Remind users to edit config/click.yml when the installation is done
Browse files Browse the repository at this point in the history
  • Loading branch information
Luca Guidi committed Jun 20, 2008
1 parent bc38c1a commit bdcb15a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tasks/click_to_globalize.rake
Expand Up @@ -12,7 +12,7 @@ plugin_root = File.join(rails_root, 'vendor', 'plugins', 'click-to-globalize')
templates_root = File.join(plugin_root, 'templates')
shared_folder = File.join(rails_root, 'app', 'views', 'shared')

require "#{plugin_root}/test/lib/jstest"
require plugin_root + '/test/lib/jstest'

files = { :click_to_globalize_js => File.join(rails_root, 'public', 'javascripts', 'click_to_globalize.js'),
:click_to_globalize_css => File.join(rails_root, 'public', 'stylesheets', 'click_to_globalize.css'),
Expand Down Expand Up @@ -90,7 +90,8 @@ namespace :click do
puts 'DONE'
end

puts "\nClick to Globalize was correctly installed."
puts "\nClick to Globalize was correctly installed." +
"\nRemember to edit config/click.yml to add your locales.\n\n"
end

desc 'Uninstall Click to Globalize plugin.'
Expand All @@ -112,7 +113,7 @@ namespace :click do
puts empty ? 'DONE' : 'SKIPPED'
end

puts "\nClick To Globalize was correctly uninstalled."
puts "\nClick to Globalize was correctly uninstalled."
end

desc 'Show the diffs for each file, camparing the app files with the plugin ones.'
Expand All @@ -128,4 +129,4 @@ namespace :click do
task :prepare do
files.each { |file, path| File.cp path, templates_root }
end
end
end

0 comments on commit bdcb15a

Please sign in to comment.