Changeset 825:7d3e38a81acc
- Timestamp:
- 09/25/16 07:55:14 (8 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
locale/en/mlx.po
r824 r825 2471 2471 msgstr "Marking flights(s) for reflying" 2472 2472 2473 msgid "pendflt_refly_question" 2474 msgstr "Are you sure to refly the selected flight(s)?" 2475 2473 2476 msgid "flight_delete_question" 2474 2477 msgstr "Are you sure to delete the selected flight(s)?" -
locale/hu/mlx.po
r824 r825 2488 2488 msgstr "A járatok megjelölése újrarepülésre" 2489 2489 2490 msgid "pendflt_refly_question" 2491 msgstr "Biztosan újra szeretnéd repülni a kiválasztott járato(ka)t?" 2492 2490 2493 msgid "flight_delete_question" 2491 2494 msgstr "Biztosan törölni szerednéd a kiválasztott járato(ka)t?" -
src/mlx/gui/flightlist.py
r824 r825 309 309 def _reflyClicked(self, button): 310 310 """Called when the Refly button is clicked.""" 311 gui = self._wizard.gui 312 gui.beginBusy(xstr("pendflt_refly_busy")) 313 self.set_sensitive(False) 314 315 flightIDs = [self._flights[i].id 316 for i in self._flightList.selectedIndexes] 317 gui.webHandler.reflyFlights(self._reflyResultCallback, flightIDs) 311 dialog = gtk.MessageDialog(parent = self._window, 312 type = MESSAGETYPE_QUESTION, 313 message_format = xstr("pendflt_refly_question")) 314 315 dialog.add_button(xstr("button_no"), RESPONSETYPE_NO) 316 dialog.add_button(xstr("button_yes"), RESPONSETYPE_YES) 317 318 dialog.set_title(WINDOW_TITLE_BASE) 319 result = dialog.run() 320 dialog.hide() 321 322 if result==RESPONSETYPE_YES: 323 gui = self._wizard.gui 324 gui.beginBusy(xstr("pendflt_refly_busy")) 325 self.set_sensitive(False) 326 327 flightIDs = [self._flights[i].id 328 for i in self._flightList.selectedIndexes] 329 gui.webHandler.reflyFlights(self._reflyResultCallback, flightIDs) 318 330 319 331 def _reflyResultCallback(self, returned, result):
Note:
See TracChangeset
for help on using the changeset viewer.