Commit 7326693e0d1f4169faf14e1962a1debeab022b48

Authored by Antonio Terceiro
1 parent 090dd5ca

Less output when just compiling translations

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/tasks/doc.rake
... ... @@ -105,7 +105,7 @@ namespace :noosfero do
105 105 if File.exists?(po)
106 106 Dir['doc/noosfero/**/*.en.xhtml'].each do |doc|
107 107 target = doc.sub('.en.xhtml', ".#{lang}.xhtml")
108   - sh "po4a-translate -f xhtml -M utf8 -m #{doc} -p #{po} -L utf8 -l #{target}"
  108 + sh "po4a-translate -f xhtml -M utf8 -m #{doc} -p #{po} -L utf8 -l #{target} >/dev/null 2>&1"
109 109 end
110 110 end
111 111 end
... ...