Zeroconf.py
changeset 361 331d698e1118
parent 223 1c0d3aaacf3d
child 379 71c441104cac
--- a/Zeroconf.py	Mon Jul 20 16:28:56 2009 +0200
+++ b/Zeroconf.py	Tue Jul 28 17:43:19 2009 +0200
@@ -596,10 +596,10 @@
                     next = off + 1
                 off = ((len & 0x3F) << 8) | ord(self.data[off])
                 if off >= first:
-                    raise "Bad domain name (circular) at " + str(off)
+                    raise _("Bad domain name (circular) at ") + str(off)
                 first = off
             else:
-                raise "Bad domain name at " + str(off)
+                raise _("Bad domain name at ") + str(off)
 
         if next >= 0:
             self.offset = next