Пример #1
0
 def update(self, phase, percent, reqByteRate, actualByteRate):
     """Update our text with a special case for toontorial."""
     DownloadWatcher.update(self, phase, percent, reqByteRate,
                            actualByteRate)
     #RAU for bug TOON-1882 change Downloading Toontorial to Loading Toontorial
     #for TOONWEB-1335 do it for all phases
     phaseName = self.phaseNames[phase]
     self.text['text'] = (TTLocalizer.LoadingDownloadWatcherUpdate %
                          (phaseName))
 def update(self, phase, percent, reqByteRate, actualByteRate):
     DownloadWatcher.update(self, phase, percent, reqByteRate, actualByteRate)
     phaseName = self.phaseNames[phase]
     self.text['text'] = TTLocalizer.LoadingDownloadWatcherUpdate % phaseName
Пример #3
0
 def update(self, phase, percent, reqByteRate, actualByteRate):
     DownloadWatcher.update(self, phase, percent, reqByteRate,
                            actualByteRate)
     phaseName = self.phaseNames[phase]
     self.text[
         'text'] = TTLocalizer.LoadingDownloadWatcherUpdate % phaseName