Commit fa6244fc538d6453a97bc4d23e400505269c9bcc
Exists in
master
and in
28 other branches
Merge branch 'stable'
Showing
3 changed files
with
3 additions
and
3 deletions
Show diff stats
lib/noosfero.rb
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 | ... | ... |
lib/tasks/release.rake
... | ... | @@ -57,7 +57,7 @@ EOF |
57 | 57 | end |
58 | 58 | |
59 | 59 | desc 'prepares a release tarball' |
60 | - task :release => [ :check_tag, 'noosfero:doc:build', :authors, :check_repo ] do | |
60 | + task :release => [ :check_tag, 'noosfero:doc:translate', :authors, :check_repo ] do | |
61 | 61 | sh "git tag #{version}" |
62 | 62 | sh 'rake -f Rakefile.pkg' |
63 | 63 | puts "I: please upload the tarball to the website!" | ... | ... |