Commit 5d6f2e080364f46e4fcf6ebd2a36ac8601ace51e
1 parent
8376889f
Exists in
master
and in
20 other branches
noosfero:translations:compile: look for PO files in the right place
_That_ was why the find could fail ...
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/tasks/translation.rake
@@ -6,7 +6,7 @@ namespace :noosfero do | @@ -6,7 +6,7 @@ namespace :noosfero do | ||
6 | 6 | ||
7 | desc 'Compiles all translations' | 7 | desc 'Compiles all translations' |
8 | task :compile do | 8 | task :compile do |
9 | - sh 'find locale plugins/*/locale -name "*.po" -exec touch "{}" ";" || true' | 9 | + sh 'find po plugins/*/po -name "*.po" -exec touch "{}" ";"' |
10 | Rake::Task['gettext:mo:update'].invoke | 10 | Rake::Task['gettext:mo:update'].invoke |
11 | Rake::Task['noosfero:doc:translate'].invoke | 11 | Rake::Task['noosfero:doc:translate'].invoke |
12 | end | 12 | end |