Commit 3fe522e39d79159cec297e912bfb0e90f1595adf
1 parent
28b08bc2
Exists in
master
and in
29 other branches
Also extract strings from config/initializers/
(ActionItem1303)
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
lib/tasks/gettext.rake
... | ... | @@ -33,6 +33,7 @@ task :updatepo do |
33 | 33 | |
34 | 34 | sources = |
35 | 35 | Dir.glob("{app,lib}/**/*.{rb,rhtml,erb}") + |
36 | + Dir.blog('config/initializers/*.rb') | |
36 | 37 | Dir.glob('public/*.html.erb') + |
37 | 38 | Dir.glob('public/designs/themes/{base,noosfero}/*.{rhtml,html.erb}') |
38 | 39 | GetText.update_pofiles(Noosfero::PROJECT, sources, "#{Noosfero::PROJECT} #{Noosfero::VERSION}") | ... | ... |