X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/f90166ed3e8f94ef638a0f9adfa48cd1e455a637..0c2185a46606c2ac3e41205fe92e6d5ba4ead1b9:/lib/python/Screens/InfoBarGenerics.py diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py index 6cd310be..1156e139 100644 --- a/lib/python/Screens/InfoBarGenerics.py +++ b/lib/python/Screens/InfoBarGenerics.py @@ -1286,8 +1286,7 @@ class InfoBarJobman: return list def getJobName(self, job): - statustext = {job.NOT_STARTED: _("Waiting"), job.IN_PROGRESS: _("In Progress"), job.FINISHED: _("Finished"), job.FAILED: _("Failed")}[job.status] - return "%s: %s (%d%%)" % (statustext, job.name, int(100*job.progress/float(job.end))) + return "%s: %s (%d%%)" % (job.getStatustext(), job.name, int(100*job.progress/float(job.end))) def showJobView(self, job): from Screens.TaskView import JobView