src/eric7/MicroPython/WifiDialogs/WifiController.py

branch
mpy_network
changeset 9872
6b8aa1c50c6d
parent 9870
0399d3607829
child 9875
b4512fbcf567
equal deleted inserted replaced
9871:4a302b8c4d28 9872:6b8aa1c50c6d
282 ), 282 ),
283 ) 283 )
284 else: 284 else:
285 msg = self.tr("<p>The WiFi Access Point could not be started.</p>") 285 msg = self.tr("<p>The WiFi Access Point could not be started.</p>")
286 if err: 286 if err:
287 msg += self.tr("<p>Reason: {0}").format(err) 287 msg += self.tr("<p>Reason: {0}</p>").format(err)
288 EricMessageBox.critical( 288 EricMessageBox.critical(
289 None, 289 None,
290 self.tr("Start WiFi Access Point"), 290 self.tr("Start WiFi Access Point"),
291 msg, 291 msg,
292 ) 292 )
312 self.tr("The WiFi Access Point interface was stopped successfully."), 312 self.tr("The WiFi Access Point interface was stopped successfully."),
313 ) 313 )
314 else: 314 else:
315 msg = self.tr("<p>The WiFi Access Point could not be stopped.</p>") 315 msg = self.tr("<p>The WiFi Access Point could not be stopped.</p>")
316 if err: 316 if err:
317 msg += self.tr("<p>Reason: {0}").format(err) 317 msg += self.tr("<p>Reason: {0}</p>").format(err)
318 EricMessageBox.critical( 318 EricMessageBox.critical(
319 None, 319 None,
320 self.tr("Stop WiFi Access Point"), 320 self.tr("Stop WiFi Access Point"),
321 msg, 321 msg,
322 ) 322 )

eric ide

mercurial