From: Giuseppe Bilotta Date: Tue, 7 Dec 2010 22:04:53 +0000 (+0100) Subject: More gettext frozen string woes X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=73740ee220ea83d8191221a9adb312465b4e6b35;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git More gettext frozen string woes --- diff --git a/lib/rbot/core/auth.rb b/lib/rbot/core/auth.rb index 79d8a85f..c156ce1a 100644 --- a/lib/rbot/core/auth.rb +++ b/lib/rbot/core/auth.rb @@ -175,11 +175,11 @@ class AuthModule < CoreBotModule next if val.perm.empty? case k when :* - str << _("on any channel: ") + str << _("on any channel: ").dup when :"?" - str << _("in private: ") + str << _("in private: ").dup else - str << _("on #{k}: ") + str << _("on #{k}: ").dup end sub = [] val.perm.each { |cmd, bool|