eric7/Plugins/UiExtensionPlugins/Translator/TranslatorWidget.py

branch
eric7
changeset 8512
cc82680dba7b
parent 8511
8046c6a443bd
child 8514
736178b32e5a
equal deleted inserted replaced
8511:8046c6a443bd 8512:cc82680dba7b
491 if error != QMediaPlayer.Error.NoError: 491 if error != QMediaPlayer.Error.NoError:
492 EricMessageBox.warning( 492 EricMessageBox.warning(
493 self, 493 self,
494 self.tr("Error playing pronunciation"), 494 self.tr("Error playing pronunciation"),
495 self.tr("<p>The received pronunciation could not be played." 495 self.tr("<p>The received pronunciation could not be played."
496 "</p><p>Reason: {0}</p>") 496 "</p><p>Reason: {0}</p>").format(errorString)
497 ) 497 )
498 498
499 @pyqtSlot() 499 @pyqtSlot()
500 def on_preferencesButton_clicked(self): 500 def on_preferencesButton_clicked(self):
501 """ 501 """

eric ide

mercurial