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:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user