summaryrefslogtreecommitdiff
path: root/lib/rbot
diff options
context:
space:
mode:
authorYaohan Chen <yaohan.chen@gmail.com>2008-06-06 16:41:20 -0400
committerYaohan Chen <yaohan.chen@gmail.com>2008-06-06 16:41:20 -0400
commitb233d010765808cfbf34dc763ab9013968212981 (patch)
tree459c8e9d57b9a841da1dadefb983dbe61f7e4fa3 /lib/rbot
parent33c336af346dc08b4f4f4951dd6eae7150cef481 (diff)
Revert "each plugin uses its own po file"
This reverts commit 33c336af346dc08b4f4f4951dd6eae7150cef481.
Diffstat (limited to 'lib/rbot')
-rw-r--r--lib/rbot/load-gettext.rb3
-rw-r--r--lib/rbot/plugins.rb2
2 files changed, 0 insertions, 5 deletions
diff --git a/lib/rbot/load-gettext.rb b/lib/rbot/load-gettext.rb
index 4edc45c8..4d39b7e4 100644
--- a/lib/rbot/load-gettext.rb
+++ b/lib/rbot/load-gettext.rb
@@ -87,9 +87,6 @@ rescue LoadError, GetTextVersionError
args[0]
end
- def bindtextdomain_to(*args)
- end
-
# the following extension to String#% is from ruby-gettext's string.rb file.
# it needs to be included in the fallback since the source already use this form
diff --git a/lib/rbot/plugins.rb b/lib/rbot/plugins.rb
index d1bf073a..250efa01 100644
--- a/lib/rbot/plugins.rb
+++ b/lib/rbot/plugins.rb
@@ -533,8 +533,6 @@ module Plugins
# the idea here is to prevent namespace pollution. perhaps there
# is another way?
plugin_module = Module.new
- # each plugin uses its own textdomain, we bind it automatically here
- bindtextdomain_to(plugin_module, "rbot-#{File.basename(fname, '.rb')}")
desc = desc.to_s + " " if desc