wesnoth/data/gui/themes/default/dialogs/preferences/02_hotkeys.cfg
Subhraman Sarkar 6b8c2e15e7 theme update for modern and rename themes
include new definitions and updated versions of existing definitions
"default/classic" and "modern" has been renamed to "Parchment" and "Celes" to avoid confusion
2025-01-09 09:02:42 +05:30

304 lines
6.4 KiB
INI

#textdomain wesnoth-lib
###
### Preferences dialog, Hotkeys page
###
[layer]
[row]
grow_factor = 0
[column]
horizontal_grow = true
[grid]
[row]
[column]
grow_factor = 0
border = "all"
border_size = 5
[label]
definition = "default"
label = _ "Filter:"
[/label]
[/column]
[column]
grow_factor = 1
border = "all"
border_size = 5
horizontal_grow = true
[multimenu_button]
id = "hotkey_category_menu"
definition = "default"
maximum_shown = 3
[/multimenu_button]
[/column]
[column]
border = "all"
border_size = 5
[text_box]
id = "filter"
definition = "default"
tooltip = _ "Filters on hotkey description"
{FILTER_TEXT_BOX_HINT}
[/text_box]
[/column]
[/row]
[/grid]
[/column]
[/row]
[row]
grow_factor = 1
[column]
horizontal_grow = true
vertical_alignment = "top"
border = "all"
border_size = 5
[listbox]
id = "list_hotkeys"
definition = "default"
[header]
[row]
## The Icon column
[column]
grow_factor = 1
horizontal_grow = true
border = "left,right"
border_size = 5
[spacer]
linked_group = "hotkeys_col_icon"
[/spacer]
[/column]
## The description column
[column]
grow_factor = 1
horizontal_grow = true
border = "left,right"
border_size = 5
[toggle_button]
id = "sort_0"
definition = "listbox_header"
linked_group = "hotkeys_col_desc"
label = _ "Action"
[/toggle_button]
[/column]
## The hotkey column
[column]
grow_factor = 1
horizontal_grow = true
border = "left,right"
border_size = 5
[toggle_button]
id = "sort_1"
definition = "listbox_header"
linked_group = "hotkeys_col_hotkey"
label = _ "Hotkey"
[/toggle_button]
[/column]
[column]
grow_factor = 1
horizontal_grow = true
border = "left,right"
border_size = 5
[toggle_button]
id = "sort_2"
definition = "listbox_header"
linked_group = "hotkeys_col_type"
# po: Translate G as the initial letter for Game
label = _ "game_hotkeys^G"
tooltip = _ "Available in game"
[/toggle_button]
[/column]
[column]
grow_factor = 1
horizontal_grow = true
border = "left,right"
border_size = 5
[toggle_button]
id = "sort_3"
definition = "listbox_header"
linked_group = "hotkeys_col_type"
# po: Translate E as the initial letter for Editor
label = _ "editor_hotkeys^E"
tooltip = _ "Available in editor"
[/toggle_button]
[/column]
[column]
grow_factor = 1
horizontal_grow = true
border = "left,right"
border_size = 5
[toggle_button]
id = "sort_4"
definition = "listbox_header"
linked_group = "hotkeys_col_type"
# po: Translate M as the initial letter for Main Menu
label = _ "mainmenu_hotkeys^M"
tooltip = _ "Available at main menu"
[/toggle_button]
[/column]
[/row]
[/header]
[list_definition]
[row]
[column]
horizontal_grow = true
[toggle_panel]
definition = "default"
[grid]
[row]
[column]
grow_factor = 0
border = "all"
border_size = 10
horizontal_grow = true
[image]
id = "img_icon"
linked_group = "hotkeys_col_icon"
[/image]
[/column]
## The description column
[column]
grow_factor = 1
horizontal_grow = true
border = "all"
border_size = 10
## work around 'empty lines have height 0'
vertical_grow = true
[label]
id = "lbl_desc"
definition = "gold_small"
linked_group = "hotkeys_col_desc"
wrap = true
[/label]
[/column]
## The hotkey column
[column]
grow_factor = 1
horizontal_grow = true
border = "all"
border_size = 10
## work around 'empty lines have height 0'
vertical_grow = true
[label]
id = "lbl_hotkey"
definition = "default_small"
linked_group = "hotkeys_col_hotkey"
[/label]
[/column]
[column]
grow_factor = 0
border = "all"
border_size = 10
[label]
id = "lbl_is_game"
definition = "default_small"
linked_group = "hotkeys_col_type"
use_markup = true
[/label]
[/column]
[column]
grow_factor = 0
border = "all"
border_size = 10
[label]
id = "lbl_is_editor"
definition = "default"
linked_group = "hotkeys_col_type"
use_markup = true
[/label]
[/column]
[column]
grow_factor = 0
border = "all"
border_size = 10
[label]
id = "lbl_is_mainmenu"
definition = "default"
linked_group = "hotkeys_col_type"
use_markup = true
[/label]
[/column]
[/row]
[/grid]
[/toggle_panel]
[/column]
[/row]
[/list_definition]
[/listbox]
[/column]
[/row]
[row]
grow_factor = 0
[column]
horizontal_grow = true
[grid]
[row]
grow_factor = 1
[column]
grow_factor = 0
border = "all"
border_size = 5
horizontal_grow = true
[button]
label = _"Add Hotkey"
id = "btn_add_hotkey"
[/button]
[/column]
[column]
grow_factor = 0
border = "all"
border_size = 5
horizontal_grow = true
[button]
label = _"Clear Hotkey"
id = "btn_clear_hotkey"
[/button]
[/column]
[column]
grow_factor = 1
border = "all"
border_size = 5
horizontal_alignment = "right"
[button]
label = _"Defaults"
id = "btn_reset_hotkeys"
[/button]
[/column]
[/row]
[/grid]
[/column]
[/row]
[/layer]