Commit 0c6d4b24af75f81723ae521305c1c90b9689dfbc
1 parent
6fba3990
Exists in
master
and in
29 other branches
Getting strings of plugins for translation
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
lib/tasks/gettext.rake
@@ -60,7 +60,8 @@ task :updatepo do | @@ -60,7 +60,8 @@ task :updatepo do | ||
60 | Dir.glob("{app,lib}/**/*.{rb,rhtml,erb}") + | 60 | Dir.glob("{app,lib}/**/*.{rb,rhtml,erb}") + |
61 | Dir.glob('config/initializers/*.rb') + | 61 | Dir.glob('config/initializers/*.rb') + |
62 | Dir.glob('public/*.html.erb') + | 62 | Dir.glob('public/*.html.erb') + |
63 | - Dir.glob('public/designs/themes/{base,noosfero,profile-base}/*.{rhtml,html.erb}') | 63 | + Dir.glob('public/designs/themes/{base,noosfero,profile-base}/*.{rhtml,html.erb}') + |
64 | + Dir.glob('plugins/**/{controllers,lib,views}/**/*.{rhtml,html.erb,rb}') | ||
64 | GetText.update_pofiles(Noosfero::PROJECT, sources, "#{Noosfero::PROJECT} #{Noosfero::VERSION}") | 65 | GetText.update_pofiles(Noosfero::PROJECT, sources, "#{Noosfero::PROJECT} #{Noosfero::VERSION}") |
65 | end | 66 | end |
66 | 67 |