]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
factoids plugin: no need to prepend 'learnt' to metadata
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 4 Nov 2007 23:06:37 +0000 (23:06 +0000)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 4 Nov 2007 23:06:37 +0000 (23:06 +0000)
data/rbot/plugins/factoids.rb

index f9c64eba987e2f161ddc346df9103167f9a4bb05..e50cc73d11305855082b57071455d269271f262b 100644 (file)
@@ -38,7 +38,7 @@ class FactoidsPlugin < Plugin
         metadata << _("in %{where}" % @hash)
       end
       unless metadata.empty?
-        meta << _(" [learnt %{data}]" % {:data => metadata.join(" ")})
+        meta << _(" [%{data}]" % {:data => metadata.join(" ")})
       end
       return fact+meta
     end