summaryrefslogtreecommitdiff
path: root/lib/rbot/load-gettext.rb
diff options
context:
space:
mode:
authorYaohan Chen <yaohan.chen@gmail.com>2008-06-07 14:30:33 -0400
committerYaohan Chen <yaohan.chen@gmail.com>2008-06-07 14:37:44 -0400
commitcaffbfa94b84569fb64ed6ecb68f9ca960deca2a (patch)
tree75a037f615d9ec22a985bcda5abf9c377918f4a8 /lib/rbot/load-gettext.rb
parentebaa073546ad022d0e42389459e4fa0029a0e50d (diff)
recommit 33c336af346dc08b4f4f4951dd6eae7150cef481 po file per plugin
each plugin uses its own po file, no change required for plugin source, Rakefile, plugin loader and gettext loader are modified to adjust to the change
Diffstat (limited to 'lib/rbot/load-gettext.rb')
-rw-r--r--lib/rbot/load-gettext.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/rbot/load-gettext.rb b/lib/rbot/load-gettext.rb
index 4d39b7e4..4edc45c8 100644
--- a/lib/rbot/load-gettext.rb
+++ b/lib/rbot/load-gettext.rb
@@ -87,6 +87,9 @@ 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