cirandas.net

ref: master

lib/tasks/translation.rake


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
namespace :noosfero do
  namespace :translations do

    desc 'Update all translation files'
    task :update => ['gettext:po:update', 'noosfero:doc:rebuild']

    desc 'Compiles all translations'
    task :compile do
      Rake::Task['makemo'].invoke
      Rake::Task['noosfero:doc:translate'].invoke
    end
  end
end