diff options
author | Yaohan Chen <yaohan.chen@gmail.com> | 2008-06-22 21:08:16 -0400 |
---|---|---|
committer | Yaohan Chen <yaohan.chen@gmail.com> | 2008-06-22 21:09:43 -0400 |
commit | 98e6433adf5e5ea2577130ef7ee49cd5ed548857 (patch) | |
tree | e07a8e0228ea26a9dd1ac5772d70f180aa03d8f4 | |
parent | afe998c0200ae87873fb015e151ecd925f544665 (diff) |
rename plugin_files to source_files in rgettext_proc
because the proc is used for non plugin files too
-rw-r--r-- | Rakefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |