mirror of
https://github.com/gryf/wicd.git
synced 2026-03-27 06:23:32 +01:00
Improve strength display
This commit is contained in:
@@ -93,9 +93,10 @@ if options.status:
|
|||||||
if connected:
|
if connected:
|
||||||
print _('Connection type') + ': ' + conn_type
|
print _('Connection type') + ': ' + conn_type
|
||||||
if status == misc.WIRELESS:
|
if status == misc.WIRELESS:
|
||||||
|
strength = daemon.FormatSignalForPrinting(info[2])
|
||||||
print _('Connected to $A at $B (IP: $C)') \
|
print _('Connected to $A at $B (IP: $C)') \
|
||||||
.replace('$A', info[1]) \
|
.replace('$A', info[1]) \
|
||||||
.replace('$B', info[2]) \
|
.replace('$B', strength) \
|
||||||
.replace('$C', info[0])
|
.replace('$C', info[0])
|
||||||
print _('Network ID: $A') \
|
print _('Network ID: $A') \
|
||||||
.replace('$A', info[3])
|
.replace('$A', info[3])
|
||||||
|
|||||||
Reference in New Issue
Block a user