Helpviewer/OpenSearch/OpenSearchManager.py

changeset 3020
542e97d4ecb3
parent 3014
9c5e6ef87252
child 3034
7ce719013078
child 3058
0a02c433f52d
equal deleted inserted replaced
3019:7912530a33e2 3020:542e97d4ecb3
395 if engine is None or not engine.isValid(): 395 if engine is None or not engine.isValid():
396 return False 396 return False
397 397
398 host = QUrl(engine.searchUrlTemplate()).host() 398 host = QUrl(engine.searchUrlTemplate()).host()
399 399
400 res = E5MessageBox.yesNo(None, 400 res = E5MessageBox.yesNo(
401 None,
401 "", 402 "",
402 self.trUtf8( 403 self.trUtf8(
403 """<p>Do you want to add the following engine to your""" 404 """<p>Do you want to add the following engine to your"""
404 """ list of search engines?<br/><br/>Name: {0}<br/>""" 405 """ list of search engines?<br/><br/>Name: {0}<br/>"""
405 """Searches on: {1}</p>""").format(engine.name(), host)) 406 """Searches on: {1}</p>""").format(engine.name(), host))

eric ide

mercurial