summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 6ad7f1bf..7dc69e5f 100644
--- a/Rakefile
+++ b/Rakefile
@@ -35,3 +35,14 @@ Rake::GemPackageTask.new(spec) do |pkg|
pkg.need_tar = true
end
+desc "Update pot/po files."
+task :updatepo do
+ require 'gettext/utils'
+ GetText.update_pofiles("rbot", Dir.glob("{lib,bin}/**/*.{rb,rhtml}"), "rbot")
+end
+
+desc "Create mo-files"
+task :makemo do
+ require 'gettext/utils'
+ GetText.create_mofiles(true)
+end