lib/tasks/tolk_tasks.rake in tolk-1.4.00 vs lib/tasks/tolk_tasks.rake in tolk-1.5.0

- old
+ new

@@ -22,9 +22,14 @@ desc "Generate yml files for all the locales defined in Tolk" task :dump_all => :environment do Tolk::Locale.dump_all end + desc "Generate a single yml file for a specific locale" + task :dump_yaml, [:locale] => :environment do + Tolk::Locale.dump_yaml(locale) + end + desc "Imports data all non default locale yml files to Tolk" task :import => :environment do Rake::Task['tolk:sync'].invoke Tolk::Locale.import_secondary_locales end