]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
More gettext frozen string woes
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 7 Dec 2010 22:04:53 +0000 (23:04 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 7 Dec 2010 22:04:53 +0000 (23:04 +0100)
lib/rbot/core/auth.rb

index 79d8a85f00cb467ca0a9047d05fe80d29eafba1f..c156ce1a37495494993474397a8fd79520c5a5ca 100644 (file)
@@ -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|