Commit 5da7598989240f461bedf3879fa01e576638b062
1 parent
f9ac33d8
Exists in
master
and in
29 other branches
Adding task to check translation statuses
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
lib/tasks/gettext.rake
... | ... | @@ -39,4 +39,8 @@ task :updatepo do |
39 | 39 | GetText.update_pofiles(Noosfero::PROJECT, sources, "#{Noosfero::PROJECT} #{Noosfero::VERSION}") |
40 | 40 | end |
41 | 41 | |
42 | +task :checkpo do | |
43 | + sh 'for po in po/*/noosfero.po; do echo -n "$po: "; msgfmt --statistics --output /dev/null $po; done' | |
44 | +end | |
45 | + | |
42 | 46 | # vim: ft=ruby | ... | ... |