5 require 'haml/magic_translations/tasks'
7 $:.unshift File.join(File.dirname(__FILE__), 'lib')
9 Haml::MagicTranslations::Tasks::UpdatePoFiles.new(:updatepo) do |t|
10 t.text_domain = 'coquelicot'
11 t.files = Dir.glob("views/**/*.{rb,haml}") << "lib/coquelicot/app.rb"
12 t.app_version = 'coquelicot 1.0.0'
15 desc "Create mo-files"
17 require 'gettext/tools'
18 GetText.create_mofiles(:mo_root => './locale')