[Uludag-commits] r15309 - trunk/comar/mudur/bin

uludag-commits at pardus.org.tr uludag-commits at pardus.org.tr
5 Eyl 2007 Çar 11:35:32 EEST


Author: bahadir.kandemir
Date: Wed Sep  5 11:35:32 2007
New Revision: 15309

Modified:
   trunk/comar/mudur/bin/network.py
   trunk/comar/mudur/bin/service.py
Log:
gettext ağlamasın

Modified: trunk/comar/mudur/bin/network.py
=================================================================
--- trunk/comar/mudur/bin/network.py	(original)
+++ trunk/comar/mudur/bin/network.py	Wed Sep  5 11:35:32 2007
@@ -173,7 +173,7 @@
     def __str__(self):
         label = self.remote
         quality = "+" * ((self.quality / 25) + 1)
-        txt = _("Found: %s [%s]") % (label.ljust(20), quality.ljust(5))
+        txt = _("Found: %(essid)s [%(quality)s]") % {"essid": label.ljust(20), "quality": quality.ljust(5)}
         if self.encryption and self.encryption != "none":
             txt += " " + _("[encrypted]")
         return txt

Modified: trunk/comar/mudur/bin/service.py
=================================================================
--- trunk/comar/mudur/bin/service.py	(original)
+++ trunk/comar/mudur/bin/service.py	Wed Sep  5 11:35:32 2007
@@ -37,7 +37,7 @@
         else:
             print _("Service doesn't provide this operation.")
     else:
-        print _("%s error: %s") % (reply.script, reply.data)
+        print _("%(script)s error: %(data)s") % {"script": reply.script, "data": reply.data)
 
 def collect(c):
     reply = c.read_cmd()


Uludag-commits mesaj listesiyle ilgili daha fazla bilgi