diff --git a/lib/tasks/gettext.rake b/lib/tasks/gettext.rake index cf12e69..f53cd64 100644 --- a/lib/tasks/gettext.rake +++ b/lib/tasks/gettext.rake @@ -48,11 +48,10 @@ task :updatepo do puts 'Extracting strings from source. This may take a while ...' sources = Dir.glob("{app,lib}/**/*.{rb,rhtml,erb}") + - Dir.glob("plugins/**/*.{rb,rhtml,erb}") + Dir.glob('config/initializers/*.rb') + Dir.glob('public/*.html.erb') + Dir.glob('public/designs/themes/{base,noosfero,profile-base}/*.{rhtml,html.erb}') + - Dir.glob('plugins/**/{controllers,lib,views}/**/*.{rhtml,html.erb,rb}') + Dir.glob('plugins/**/{controllers,models,lib,views}/**/*.{rhtml,html.erb,rb}') GetText.update_pofiles(Noosfero::PROJECT, sources, "#{Noosfero::PROJECT} #{Noosfero::VERSION}") end -- libgit2 0.21.2