summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Rakefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index be00f4ed..4dd0018d 100644
--- a/Rakefile
+++ b/Rakefile
@@ -177,6 +177,11 @@ task :updatepo => [:define_po_rules, :check_po_tools] + LOCALES.map {|l|
PLUGIN_BASENAMES.map {|n| "po/#{l}/rbot-#{n}.po"}
}.flatten
+desc 'Normalize po files'
+task :normalizepo => :check_po_tools do
+ FileList['po/*/*.po'].each {|fn| normalize_po(fn)}
+end
+
desc 'Generate mo files'
task :makemo => LOCALES.map {|l|
["data/locale/#{l}/LC_MESSAGES/rbot.mo"] +