Sha256: 8566f1ea2ca1a465dae4fc678645e0ec19fdd301cf3ada12f4ad3e6f3ce0c957

Contents?: true

Size: 340 Bytes

Versions: 2

Compression:

Stored size: 340 Bytes

Contents

namespace :translation_center do

  desc "Insert yaml translations in db"
  task :yaml2db, [:locale ] => :environment do |t, args|
    TranslationCenter.yaml2db(args[:locale])
  end

  desc "Export translations from db to yaml"
  task :db2yaml, [:locale ] => :environment do |t, args|
    TranslationCenter.db2yaml(args[:locale])
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
translation_center-1.2.1 lib/tasks/translation_center.rake
translation_center-1.2.0 lib/tasks/translation_center.rake