From b233d010765808cfbf34dc763ab9013968212981 Mon Sep 17 00:00:00 2001 From: Yaohan Chen Date: Fri, 6 Jun 2008 16:41:20 -0400 Subject: Revert "each plugin uses its own po file" This reverts commit 33c336af346dc08b4f4f4951dd6eae7150cef481. --- Rakefile | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index b44ca95f..f0a42717 100644 --- a/Rakefile +++ b/Rakefile @@ -38,15 +38,7 @@ end desc "Update pot/po files." task :updatepo do require 'gettext/utils' - plugin_files = Dir.glob('data/rbot/plugins/**/*.rb') - # all except plugin files use the rbot textdomain - GetText.update_pofiles("rbot", - Dir.glob("{lib,bin,data}/**/*.{rb,rhtml}") - plugin_files, "rbot") - # each plugin uses its own textdomain - plugin_files.each do |f| - basename = File.basename(f, '.rb') - GetText.update_pofiles("rbot-#{basename}", f, 'rbot') - end + GetText.update_pofiles("rbot", Dir.glob("{lib,bin,data}/**/*.{rb,rhtml}"), "rbot") end desc "Create mo-files" -- cgit v1.2.3