From 98e6433adf5e5ea2577130ef7ee49cd5ed548857 Mon Sep 17 00:00:00 2001 From: Yaohan Chen Date: Sun, 22 Jun 2008 21:08:16 -0400 Subject: rename plugin_files to source_files in rgettext_proc because the proc is used for non plugin files too --- Rakefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index 5011b66e..6b321fdc 100644 --- a/Rakefile +++ b/Rakefile @@ -39,9 +39,9 @@ PLUGIN_FILES = FileList['data/rbot/plugins/**/*.rb'] NON_PLUGIN_FILES = FileList["{lib,bin,data}/**/*.{rb,rhtml}"] - PLUGIN_FILES rgettext_proc = proc do |t| require 'gettext/utils' - plugin_files, pot_file = t.prerequisites, t.name - puts "#{plugin_files.join(', ')} => #{pot_file}" - GetText.rgettext(plugin_files, pot_file) + source_files, pot_file = t.prerequisites, t.name + puts "#{source_files.join(', ')} => #{pot_file}" + GetText.rgettext(source_files, pot_file) end # generate pot file for non-plugin files -- cgit v1.2.3