summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaohan Chen <yaohan.chen@gmail.com>2008-06-22 21:08:16 -0400
committerYaohan Chen <yaohan.chen@gmail.com>2008-06-22 21:09:43 -0400
commit98e6433adf5e5ea2577130ef7ee49cd5ed548857 (patch)
treee07a8e0228ea26a9dd1ac5772d70f180aa03d8f4
parentafe998c0200ae87873fb015e151ecd925f544665 (diff)
rename plugin_files to source_files in rgettext_proc
because the proc is used for non plugin files too
-rw-r--r--Rakefile6
1 files changed, 3 insertions, 3 deletions
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