#textdomain wesnoth-lib ### ### Preferences dialog, General page ### #define _GUI_PREFERENCES_GENERAL_GRID_1 [row] [column] horizontal_grow = true [grid] [row] [column] grow_factor = 0 border = "all" border_size = 5 horizontal_alignment = "left" [label] label = _ "Scroll speed:" [/label] [/column] [column] grow_factor = 1 border = "all" border_size = 5 horizontal_grow = true [slider] id = "scroll_speed" definition = "minimal" minimum_value = 1 maximum_value = 100 step_size = 1 tooltip = _ "Change the speed of scrolling around the map" [/slider] [/column] [/row] [/grid] [/column] [/row] {_GUI_PREFERENCES_SPACER_ROW} [row] [column] border = "all" border_size = 5 horizontal_alignment = "left" [toggle_button] id = "skip_ai_moves" label = _ "Skip AI moves" tooltip = _ "Do not animate AI units moving" [/toggle_button] [/column] [/row] [row] [column] border = "all" border_size = 5 horizontal_alignment = "left" [toggle_button] id = "turbo_toggle" label = _ "Accelerated speed" tooltip = _ "Make units move and fight faster" [/toggle_button] [/column] [/row] [row] [column] horizontal_grow = true {_GUI_PREFERENCES_CHECKBOX_ALIGN_BORDER} {_GUI_PREFERENCES_MAIN_COMPOSITE_SLIDER ( _ "Acceleration factor:") turbo_slider ( # Starts at 0 since the slider values are used for vector index access. minimum_value,maximum_value=0,11 step_size=1 tooltip= _ "Speed at which unit moves and animations play when ‘Accelerated speed’ is enabled or when Shift is held down in-game" ) } [/column] [/row] {_GUI_PREFERENCES_SPACER_ROW} [row] [column] border = "all" border_size = 5 horizontal_alignment = "left" [toggle_button] id = "disable_auto_moves" label = _ "Disable automatic moves" tooltip = _ "Do not allow automatic movements at the beginning of a turn" [/toggle_button] [/column] [/row] [row] [column] border = "all" border_size = 5 horizontal_alignment = "left" [toggle_button] id = "show_turn_dialog" label = _ "Turn dialog" tooltip = _ "Display a dialog at the beginning of your turn" [/toggle_button] [/column] [/row] [row] [column] border = "all" border_size = 5 horizontal_alignment = "left" [toggle_button] id = "whiteboard_on_start" label = _ "Enable planning mode on start" tooltip = _ "Activates Planning Mode on game start" [/toggle_button] [/column] [/row] [row] [column] border = "all" border_size = 5 horizontal_alignment = "left" [toggle_button] id = "whiteboard_hide_allies" label = _ "Hide allies’ plans by default" tooltip = _ "Hide allies’ Planning Mode plans in multiplayer games" [/toggle_button] [/column] [/row] [row] [column] border = "all" border_size = 5 horizontal_alignment = "left" [toggle_button] id = "interrupt_move_when_ally_sighted" label = _ "Interrupt move when an ally is sighted" tooltip = _ "Sighting an allied unit interrupts your unit’s movement" [/toggle_button] [/column] [/row] {_GUI_PREFERENCES_SPACER_ROW} [row] [column] border = "all" border_size = 5 horizontal_alignment = "left" [toggle_button] id = "save_replays" label = _ "Save replays at the end of scenarios" tooltip = _ "Save replays of games on victory in all modes and defeat in multiplayer" [/toggle_button] [/column] [/row] [row] [column] border = "all" border_size = 5 horizontal_alignment = "left" [toggle_button] id = "delete_saves" label = _ "Delete auto-saves at the end of scenarios" tooltip = _ "Delete previous auto-saves on victory in all modes and defeat in multiplayer" [/toggle_button] [/column] [/row] [row] [column] horizontal_grow = true {_GUI_PREFERENCES_CHECKBOX_ALIGN_BORDER} {_GUI_PREFERENCES_MAIN_COMPOSITE_SLIDER ( _ "Maximum auto-saves:") max_saves_slider ( minimum_value,maximum_value=0,61 maximum_value_label = _ "∞" step_size=1 tooltip= _ "Set maximum number of automatic saves to be retained" ) } [/column] [/row] #enddef #define _GUI_PREFERENCES_GENERAL_GRID_2 [row] [column] border = "all" border_size = 5 horizontal_alignment = "left" [button] id = cachemg label = _ "Cache" tooltip = _ "Manage the game WML cache" [/button] [/column] [/row] #enddef [layer] [row] grow_factor = 0 [column] horizontal_grow = true vertical_alignment = "top" [grid] {_GUI_PREFERENCES_GENERAL_GRID_1} [/grid] [/column] [/row] {_GUI_PREFERENCES_SPACER_ROW} [row] grow_factor = 1 [column] horizontal_alignment = "left" vertical_alignment = "top" [grid] {_GUI_PREFERENCES_GENERAL_GRID_2} [/grid] [/column] [/row] [/layer] #undef _GUI_PREFERENCES_GENERAL_GRID_1 #undef _GUI_PREFERENCES_GENERAL_GRID_2