mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-25 06:33:43 +00:00
Improve wording of status message.
This commit is contained in:
parent
cfff4c4a84
commit
cc401923ac
3 changed files with 5 additions and 5 deletions
|
|
@ -44,12 +44,12 @@ class StatusLogger (object):
|
|||
|
||||
def log_status (self, checked, in_progress, queue, duration):
|
||||
"""Write status message to file descriptor."""
|
||||
msg = _n("%2d URL active", "%2d URLs active", in_progress) % \
|
||||
msg = _n("%2d thread active", "%2d threads active", in_progress) % \
|
||||
in_progress
|
||||
self.write(u"%s, " % msg)
|
||||
msg = _n("%5d URL queued", "%5d URLs queued", queue) % queue
|
||||
msg = _n("%5d link queued", "%5d links queued", queue) % queue
|
||||
self.write(u"%s, " % msg)
|
||||
msg = _n("%4d URL checked", "%4d URLs checked", checked) % checked
|
||||
msg = _n("%4d link checked", "%4d links checked", checked) % checked
|
||||
self.write(u"%s, " % msg)
|
||||
msg = _("runtime %s") % strformat.strduration_long(duration)
|
||||
self.writeln(msg)
|
||||
|
|
|
|||
|
|
@ -570,7 +570,7 @@ Version 2 or later.
|
|||
self.statusBar.showMessage(link)
|
||||
|
||||
def log_status (self, checked, in_progress, queued, duration):
|
||||
"""Update number of checked, active and queued URLs."""
|
||||
"""Update number of checked, active and queued links."""
|
||||
self.label_checked.setText(u"%d" % checked)
|
||||
self.label_active.setText(u"%d" % in_progress)
|
||||
self.label_queued.setText(u"%d" % queued)
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@
|
|||
<item>
|
||||
<widget class="QLabel" name="label_29">
|
||||
<property name="text">
|
||||
<string>URLs: </string>
|
||||
<string>Links: </string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
|
|
|||
Loading…
Reference in a new issue