Changeset 145:0f8b76274d8e for src/mlx
- Timestamp:
- 05/01/12 17:54:25 (13 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- src/mlx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/gui/flight.py
r144 r145 1002 1002 label = gtk.Label("<b>" + name + "</b>") 1003 1003 label.set_use_markup(True) 1004 label.set_use_underline(True) 1004 1005 label.set_justify(JUSTIFY_CENTER) 1005 1006 label.set_alignment(0.5, 1.0) … … 1033 1034 self._expectedButton.set_width_chars(5) 1034 1035 self._expectedButton.connect("value-changed", self._expectedChanged) 1036 1037 label.set_mnemonic_widget(self._expectedButton) 1035 1038 1036 1039 alignment = gtk.Alignment(xalign = 0.5, yalign = 0.5, … … 1186 1189 self._pumpIndex = 0 1187 1190 1188 #def activate(self):1189 #"""Activate the page."""1190 #gui = self._wizard.gui1191 1192 #self._setupTanks(gui.flight.aircraft.fuelTanks,1193 #self._wizard._fuelData)1191 def activate(self): 1192 """Activate the page.""" 1193 gui = self._wizard.gui 1194 1195 self._setupTanks(gui.flight.aircraft.fuelTanks, 1196 self._wizard._fuelData) 1194 1197 1195 1198 def finalize(self): … … 2553 2556 page.reset() 2554 2557 2555 self.setCurrentPage( 6)2558 self.setCurrentPage(0) 2556 2559 2557 2560 def getFleet(self, callback, force = False): -
src/mlx/i18n.py
r144 r145 294 294 "The amount of fuel tanked into your aircraft at the\n" 295 295 "beginning of the flight can be seen below.") 296 self.add("fuel_tank_centre", "Centre\n") 297 self.add("fuel_tank_left", "Left\n") 298 self.add("fuel_tank_right", "Right\n") 299 self.add("fuel_tank_left_aux", "Left\nAux") 300 self.add("fuel_tank_right_aux", "Right\nAux") 301 self.add("fuel_tank_left_tip", "Left\nTip") 296 297 self.add("fuel_tank_centre", "_Centre\n") 298 self.add("fuel_tank_left", "L_eft\n") 299 self.add("fuel_tank_right", "_Right\n") 300 self.add("fuel_tank_left_aux", "Left\nA_ux") 301 self.add("fuel_tank_right_aux", "Right\nAu_x") 302 self.add("fuel_tank_left_tip", "Left\n_Tip") 302 303 self.add("fuel_tank_right_tip", "Right\nTip") 303 self.add("fuel_tank_external1", "External\n 1")304 self.add("fuel_tank_external2", "External\n 2")305 self.add("fuel_tank_centre2", "Ce ntre\n2")304 self.add("fuel_tank_external1", "External\n_1") 305 self.add("fuel_tank_external2", "External\n_2") 306 self.add("fuel_tank_centre2", "Ce_ntre\n2") 306 307 self.add("fuel_get_busy", "Querying fuel information...") 307 308 self.add("fuel_pump_busy", "Pumping fuel...") … … 831 832 "A repülés elején az egyes tartályokba tankolt\n" 832 833 "üzemanyag mennyisége lent látható.") 833 self.add("fuel_tank_centre", "Középső\n") 834 self.add("fuel_tank_left", "Bal\n") 835 self.add("fuel_tank_right", "Jobb\n") 836 self.add("fuel_tank_left_aux", "Bal\nkiegészítő") 837 self.add("fuel_tank_right_aux", "Jobb\nkiegészítő") 838 self.add("fuel_tank_left_tip", "Bal\nszárnyvég") 839 self.add("fuel_tank_right_tip", "Jobb\nszárnyvég") 840 self.add("fuel_tank_external1", "Külső\n1") 841 self.add("fuel_tank_external2", "Külső\n2") 842 self.add("fuel_tank_centre2", "Középső\n2") 834 835 # A B D E I G J K N O P S T V Y Z 836 837 self.add("fuel_tank_centre", "Kö_zépső\n") 838 self.add("fuel_tank_left", "_Bal\n") 839 self.add("fuel_tank_right", "J_obb\n") 840 self.add("fuel_tank_left_aux", "Bal\nkie_gészítő") 841 self.add("fuel_tank_right_aux", "Jobb\nkiegészí_tő") 842 self.add("fuel_tank_left_tip", "B_al\nszárnyvég") 843 self.add("fuel_tank_right_tip", "Jobb\nszárn_yvég") 844 self.add("fuel_tank_external1", "Külső\n_1") 845 self.add("fuel_tank_external2", "Külső\n_2") 846 self.add("fuel_tank_centre2", "Közé_pső\n2") 843 847 self.add("fuel_get_busy", "Az üzemanyag lekérdezése...") 844 848 self.add("fuel_pump_busy", "Az üzemanyag pumpálása...")
Note:
See TracChangeset
for help on using the changeset viewer.