Ignore:
Timestamp:
05/10/12 18:17:18 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

The configuration loading/saving and the basic GUI for the sound preferences work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/i18n.py

    r155 r166  
    568568        self.add("prefs_tab_message_tooltip",
    569569                 "Enable/disable message notifications in FS and/or by sound")
     570        self.add("prefs_tab_sounds", "_Sounds")
     571        self.add("prefs_tab_sounds_tooltip",
     572                 "Preferences regarding what sounds should be played during the various flight stages")
    570573        self.add("prefs_tab_advanced", "_Advanced")
    571574        self.add("prefs_tab_advanced_tooltip",
     
    604607                 "from timestamps returned by the simulator.")
    605608        self.add("prefs_syncFSTime",
    606                  "_Synchronize the time in FS with the computer's clock")
     609                 "S_ynchronize the time in FS with the computer's clock")
    607610        self.add("prefs_syncFSTime_tooltip",
    608611                 "If this is checked the flight simulator's internal clock "
     
    615618        self.add("prefs_pirepDirectory_browser_title",
    616619                 "Select PIREP directory")
     620
     621        self.add("prefs_sounds_frame_bg", "Background")
     622        self.add("prefs_sounds_enable",
     623                 "_Enable background sounds")
     624        self.add("prefs_sounds_enable_tooltip",
     625                 "If the background sounds are enabled, the logger "
     626                 "can play different pre-recorded sounds during the "
     627                 "various stages of the flight.")
     628        self.add("prefs_sounds_pilotControls",
     629                 "_Pilot controls the sounds")
     630        self.add("prefs_sounds_pilotControls_tooltip",
     631                 "If checked, the background sounds can be started by the "
     632                 "pilot by pressing the hotkey specified below. Otherwise "
     633                 "the sounds will start automatically when certain "
     634                 "conditions hold.")
     635        self.add("prefs_sounds_pilotHotkey",
     636                 "_Hotkey:")
     637        self.add("prefs_sounds_pilotHotkey_tooltip",
     638                 "The key to press possibly together with modifiers to play "
     639                 "the sound relevant to the current flight status.")
     640        self.add("prefs_sounds_pilotHotkeyCtrl_tooltip",
     641                 "If checked, the Ctrl key should be pressed together with the "
     642                 "main key.")
     643        self.add("prefs_sounds_pilotHotkeyShift_tooltip",
     644                 "If checked, the Shift key should be pressed together with the "
     645                 "main key.")
     646        self.add("prefs_sounds_approachCallOuts",
     647                 "Enable approach callouts")
     648        self.add("prefs_sounds_approachCallOuts_tooltip",
     649                 "If checked, the approach callouts will be played at "
     650                 "certain altitudes.")
     651        self.add("prefs_sounds_speedbrakeAtTD",
     652                 "Enable speed_brake sound at touchdown")
     653        self.add("prefs_sounds_speedbrakeAtTD_tooltip",
     654                 "If checked, a speedbrake sound will be played after "
     655                 "touchdown, when the speedbrakes deploy.")
     656        self.add("prefs_sounds_frame_checklists", "Checklists")
     657        self.add("prefs_sounds_enableChecklists",
     658                 "E_nable aircraft-specific checklists")
     659        self.add("prefs_sounds_enableChecklists_tooltip",
     660                 "If checked, the program will play back pre-recorded "
     661                 "aircraft-specific checklists at the pilot's discretion.")
     662        self.add("prefs_sounds_checklistHotkey",
     663                 "Checklist hot_key:")
     664        self.add("prefs_sounds_checklistHotkey_tooltip",
     665                 "The key to press possibly together with modifiers to play the next "
     666                 "checklist item.")
     667        self.add("prefs_sounds_checklistHotkeyCtrl_tooltip",
     668                 "If checked, the Ctrl key should be pressed together with the "
     669                 "main key.")
     670        self.add("prefs_sounds_checklistHotkeyShift_tooltip",
     671                 "If checked, the Shift key should be pressed together with the "
     672                 "main key.")
     673       
    617674        self.add("prefs_update_auto", "Update the program auto_matically")
    618675        self.add("prefs_update_auto_tooltip",
Note: See TracChangeset for help on using the changeset viewer.