Commit a52cf85c by Steve Strassmann

rake task dependency for transifex

parent f30f6207
...@@ -562,15 +562,13 @@ namespace :i18n do ...@@ -562,15 +562,13 @@ namespace :i18n do
namespace :transifex do namespace :transifex do
desc "Push source strings to Transifex for translation" desc "Push source strings to Transifex for translation"
task :push do task :push => "i18n:validate:transifex_config" do
Rake::Task["i18n:validate:transifex_config"].execute
cmd = File.join(REPO_ROOT, "i18n", "transifex.py") cmd = File.join(REPO_ROOT, "i18n", "transifex.py")
sh("#{cmd} push") sh("#{cmd} push")
end end
desc "Pull translated strings from Transifex" desc "Pull translated strings from Transifex"
task :pull do task :pull => "i18n:validate:transifex_config" do
Rake::Task["i18n:validate:transifex_config"].execute
cmd = File.join(REPO_ROOT, "i18n", "transifex.py") cmd = File.join(REPO_ROOT, "i18n", "transifex.py")
sh("#{cmd} pull") sh("#{cmd} pull")
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment