Improve wording of status message.

This commit is contained in:
Bastian Kleineidam 2014-03-14 20:25:37 +01:00
parent cfff4c4a84
commit cc401923ac
3 changed files with 5 additions and 5 deletions

View file

@ -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)

View file

@ -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)

View file

@ -118,7 +118,7 @@
<item>
<widget class="QLabel" name="label_29">
<property name="text">
<string>URLs: </string>
<string>Links: </string>
</property>
</widget>
</item>