1
0
mirror of https://github.com/gryf/wicd.git synced 2026-02-02 14:15:47 +01:00

Improve strength display

This commit is contained in:
David Paleino
2012-09-26 17:37:34 +02:00
parent 93a30244e3
commit 5a419ffc0c

View File

@@ -93,9 +93,10 @@ if options.status:
if connected:
print _('Connection type') + ': ' + conn_type
if status == misc.WIRELESS:
strength = daemon.FormatSignalForPrinting(info[2])
print _('Connected to $A at $B (IP: $C)') \
.replace('$A', info[1]) \
.replace('$B', info[2]) \
.replace('$B', strength) \
.replace('$C', info[0])
print _('Network ID: $A') \
.replace('$A', info[3])