Ignore:
Timestamp:
04/28/12 12:25:48 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

Implemented the weight help tab

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/i18n.py

    r115 r117  
    139139        self.add("tab_flight_info", "Flight _info")
    140140        self.add("tab_flight_info_tooltip", "Further information regarding the flight")
     141        self.add("tab_weight_help", "_Help")
     142        self.add("tab_weight_help_tooltip", "Help to calculate the weights")
    141143        self.add("tab_log", "_Log")
    142144        self.add("tab_log_tooltip",
    143145                 "The log of your flight that will be sent to the MAVA website")
     146        self.add("tab_gates", "_Gates")       
    144147        self.add("tab_debug_log", "_Debug log")
    145148        self.add("tab_debug_log_tooltip", "Log with debugging information.")
    146         self.add("tab_help", "_Help")
    147         self.add("tab_gates", "_Gates")
    148149
    149150        self.add("conn_failed", "Cannot connect to the simulator.")
     
    475476        self.add("update_nothing", "There was nothing to update")
    476477        self.add("update_failed", "Failed, see the debug log for details.")
     478
     479        self.add("weighthelp_usinghelp", "_Using help")
     480        self.add("weighthelp_usinghelp_tooltip",
     481                 "If you check this, some help will be displayed on how "
     482                 "to calculate the payload weight for your flight. "
     483                 "Note, that the usage of this facility will be logged.")
     484        self.add("weighthelp_header_calculated", "Requested/\ncalculated")
     485        self.add("weighthelp_header_simulator", "Simulator\ndata")
     486        self.add("weighthelp_header_simulator_tooltip",
     487                 "Click this button to retrieve the weight values from the "
     488                 "simulator, which will be displayed below. If a value is "
     489                 "within 10% of the tolerance, it is displayed in "
     490                 '<b><span foreground="darkgreen">green</span></b>, '
     491                 "if it is out of the tolerance, it is displayed in "
     492                 '<b><span foreground="red">red</span></b>, '
     493                 "otherwise in"
     494                 '<b><span foreground="orange">yellow</span></b>.')
     495        self.add("weighthelp_crew", "Crew (%s):")
     496        self.add("weighthelp_pax", "Passengers (%s):")
     497        self.add("weighthelp_baggage", "Baggage:")
     498        self.add("weighthelp_cargo", "Cargo:")
     499        self.add("weighthelp_mail", "Mail:")
     500        self.add("weighthelp_payload", "Payload:")
     501        self.add("weighthelp_dow", "DOW:")
     502        self.add("weighthelp_zfw", "ZFW:")
     503        self.add("weighthelp_gross", "Gross weight:")
     504        self.add("weighthelp_mzfw", "MZFW:")
     505        self.add("weighthelp_mtow", "MTOW:")
     506        self.add("weighthelp_mlw", "MLW:")
     507        self.add("weighthelp_busy", "Querying weight data...")
    477508                 
    478509#------------------------------------------------------------------------------
     
    501532        self.add("tab_flight_info", "Járat _info")
    502533        self.add("tab_flight_info_tooltip", "Egyéb információk a járat teljesítésével kapcsolatban")
     534        self.add("tab_weight_help", "_Segítség")
     535        self.add("tab_weight_help_tooltip", "Segítség a súlyszámításhoz")
    503536        self.add("tab_log", "_Napló")
    504537        self.add("tab_log_tooltip",
     
    507540        self.add("tab_debug_log_tooltip",
    508541                 "Hibakereséshez használható információkat tartalmazó napló.")
    509         self.add("tab_help", "_Segítség")
    510542        self.add("tab_gates", "_Kapuk")       
    511543
     
    842874        self.add("update_failed", "Nem sikerült, a részleteket lásd a debug naplóban.")
    843875
     876        self.add("weighthelp_usinghelp", "_Használom a segítséget")
     877        self.add("weighthelp_usinghelp_tooltip",
     878                 "Ha bejelölöd, az alábbiakban kapsz egy kis segítséget "
     879                 "a járathoz szükséges hasznos teher megállapításához. "
     880                 "Ha igénybe veszed ezt a szolgáltatást, ez a tény "
     881                 "a naplóba bekerül.")
     882        self.add("weighthelp_header_calculated", "Elvárt/\nszámított")
     883        self.add("weighthelp_header_simulator", "Szimulátor\nadatok")
     884        self.add("weighthelp_header_simulator_tooltip",
     885                 "Kattints erre a gombra a súlyadatoknak a szimulátortól "
     886                 "való lekérdezéséhez. Az értékek lent jelennek meg. Ha "
     887                 "egy érték a tűrés 10%-án belül van, akkor az "
     888                 '<b><span foreground="darkgreen">zöld</span></b> '
     889                 "színnel jelenik meg. Ha nem fér bele a tűrésbe, akkor "
     890                 '<b><span foreground="red">piros</span></b>, '
     891                 "egyébként "
     892                 '<b><span foreground="orange">sárga</span></b> '
     893                 "színben olvasható.")
     894        self.add("weighthelp_crew", "Legénység (%s):")
     895        self.add("weighthelp_pax", "Utasok (%s):")
     896        self.add("weighthelp_baggage", "Poggyász:")
     897        self.add("weighthelp_cargo", "Teher:")
     898        self.add("weighthelp_mail", "Posta:")
     899        self.add("weighthelp_payload", "Hasznos teher:")
     900        self.add("weighthelp_dow", "DOW:")
     901        self.add("weighthelp_zfw", "ZFW:")
     902        self.add("weighthelp_gross", "Teljes tömeg:")
     903        self.add("weighthelp_mzfw", "MZFW:")
     904        self.add("weighthelp_mtow", "MTOW:")
     905        self.add("weighthelp_mlw", "MLW:")
     906        self.add("weighthelp_busy", "A tömegadatok lekérdezése...")
     907
    844908#------------------------------------------------------------------------------
    845909
Note: See TracChangeset for help on using the changeset viewer.