Changeset 107:35310bf5309c for src/mlx/gui/gui.py
- Timestamp:
- 04/24/12 19:02:56 (12 years ago)
- Branch:
- default
- hg-Phase:
- (<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/gui.py
r105 r107 15 15 import mlx.acft as acft 16 16 import mlx.web as web 17 from mlx.i18n import xstr 17 18 18 19 import time … … 75 76 76 77 self._wizard = Wizard(self) 77 label = gtk.Label( "Fligh_t")78 label = gtk.Label(xstr("tab_flight")) 78 79 label.set_use_underline(True) 79 80 label.set_tooltip_text("Flight wizard") … … 81 82 82 83 self._flightInfo = FlightInfo(self) 83 label = gtk.Label( "Flight _info")84 label = gtk.Label(xstr("tab_flight_info")) 84 85 label.set_use_underline(True) 85 86 label.set_tooltip_text("Flight information") … … 88 89 89 90 (logWidget, self._logView) = self._buildLogWidget() 90 label = gtk.Label( "_Log")91 label = gtk.Label(xstr("tab_log")) 91 92 label.set_use_underline(True) 92 93 label.set_tooltip_text("The log of your flight that will be sent to the MAVA website") … … 307 308 dialog.hide() 308 309 if result == 1: 309 self.beginBusy( "Connecting to the simulator.")310 self.beginBusy(xstr("connect_busy")) 310 311 self._simulator.reconnect() 311 312 else: … … 569 570 self._flight.simulator = self._simulator 570 571 571 self.beginBusy( "Connecting to the simulator...")572 self.beginBusy(xstr("connect_busy")) 572 573 self._statusbar.updateConnection(self._connecting, self._connected) 573 574 … … 635 636 """Toggle the debug log.""" 636 637 if menuItem.get_active(): 637 label = gtk.Label( "_Debug log")638 label = gtk.Label(xstr("tab_debug_log")) 638 639 label.set_use_underline(True) 639 640 label.set_tooltip_text("Log with debugging information.")
Note:
See TracChangeset
for help on using the changeset viewer.