wesnoth/data/gui/themes/default/dialogs/preferences/05_multiplayer.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

498 lines
9.1 KiB
INI
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#textdomain wesnoth-lib
###
### Preferences dialog, Multiplayer page
###
#define _GUI_PREFERENCES_MP_PAGE_1_GRID_1
[row]
[column]
horizontal_grow = true
[grid]
[row]
[column]
grow_factor = 0
border = "all"
border_size = 5
horizontal_grow = true
[label]
label = _ "Chat lines:"
[/label]
[/column]
[column]
grow_factor = 1
border = "all"
border_size = 5
horizontal_grow = true
[slider]
id = "chat_lines"
definition = "default"
minimum_value = 0
maximum_value = 20
step_size = 1
tooltip = _ "Set the number of chat lines shown"
[/slider]
[/column]
[/row]
[/grid]
[/column]
[/row]
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
[toggle_button]
id = "chat_timestamps"
label = _ "Chat timestamping"
tooltip = _ "Add a timestamp to chat messages"
[/toggle_button]
[/column]
[/row]
{_GUI_PREFERENCES_SPACER_ROW}
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
[toggle_button]
id = "remember_password"
label = _ "Save password locally (encrypted)"
tooltip = _ "Uncheck to delete the saved password (on exit)"
[/toggle_button]
[/column]
[/row]
{_GUI_PREFERENCES_SPACER_ROW}
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
[toggle_button]
id = "lobby_whisper_friends_only"
label = _ "Accept whispers from friends only"
tooltip = _ "Only accept whisper messages from people on your friends list"
[/toggle_button]
[/column]
[/row]
{_GUI_PREFERENCES_SPACER_ROW}
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
[toggle_button]
id = "lobby_joins_none"
definition = "radio"
label = _ "Do not show lobby joins"
tooltip = _ "Do not show messages about players joining the multiplayer lobby"
[/toggle_button]
[/column]
[/row]
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
[toggle_button]
id = "lobby_joins_friends"
definition = "radio"
label = _ "Show lobby joins of friends only"
tooltip = _ "Show messages about your friends joining the multiplayer lobby"
[/toggle_button]
[/column]
[/row]
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
[toggle_button]
id = "lobby_joins_all"
definition = "radio"
label = _ "Show all lobby joins"
tooltip = _ "Show messages about all players joining the multiplayer lobby"
[/toggle_button]
[/column]
[/row]
#enddef
#define _GUI_PREFERENCES_MP_PAGE_1_GRID_2
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
vertical_alignment = "top"
[button]
id = mp_alerts
label = _ "Alerts"
tooltip = _ "Configure multiplayer notification settings"
[/button]
[/column]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
vertical_alignment = "top"
[button]
id = mp_wesnothd
label = _ "Server Executable"
tooltip = _ "Find and set path to MP server to host LAN games"
[/button]
[/column]
[/row]
#enddef
#define _GUI_LOBBY_SOUNDS_ENTRY ID LABEL TOOLTIP
[row]
[column]
grow_factor = 0
border = "all"
border_size = 5
horizontal_alignment = "left"
[label]
definition = "gold_small"
id = {ID} + "_label"
label = {LABEL}
tooltip = {TOOLTIP}
[/label]
[/column]
[column]
grow_factor = 0
border = "all"
border_size = 5
horizontal_alignment = "left"
[toggle_button]
id = {ID} + "_sound"
definition = "default"
[/toggle_button]
[/column]
[column]
grow_factor = 0
border = "all"
border_size = 5
horizontal_alignment = "left"
[toggle_button]
id = {ID} + "_notif"
definition = "default"
[/toggle_button]
[/column]
[column]
grow_factor = 0
border = "all"
border_size = 5
horizontal_alignment = "left"
[toggle_button]
id = {ID} + "_lobby"
definition = "default"
[/toggle_button]
[/column]
[/row]
#enddef
#define _GUI_PREFERENCES_MP_PAGE_2
[row]
grow_factor = 1
[column]
horizontal_grow = true
[grid]
[row]
[column]
border = "all"
border_size = 5
horizontal_grow = true
[text_box]
id = "friend_name_box"
definition = "default"
[/text_box]
[/column]
[/row]
[row]
[column]
horizontal_grow = true
[grid]
[row]
grow_factor = 1
[column]
grow_factor = 0
border = "all"
border_size = 5
horizontal_grow = true
[button]
id = "add_friend"
label = _ "Add Friend"
tooltip = _ "Add this username to your friends list (add optional notes, e.g., player_name notes on friend)"
[/button]
[/column]
[column]
grow_factor = 0
border = "all"
border_size = 5
horizontal_grow = true
[button]
id = "add_ignored"
label = _ "Block"
tooltip = _ "Add this username to your ignore list (add optional reason, e.g., player_name reason ignored)"
[/button]
[/column]
[column]
grow_factor = 1
border = "all"
border_size = 5
horizontal_alignment = "right"
[button]
id = "remove"
label = _ "Remove"
tooltip = _ "Remove this username from your list"
[/button]
[/column]
[/row]
[/grid]
[/column]
[/row]
{_GUI_PREFERENCES_SPACER_ROW}
[row]
[column]
horizontal_grow = true
border = "left,right"
border_size = 5
[label]
id = "no_friends_notice"
definition = "default_small"
label = _ "You have not befriended or blocked any other players."
[/label]
[/column]
[/row]
[row]
grow_factor = 1
[column]
border = "all"
border_size = 5
horizontal_grow = true
[listbox]
id = "friends_list"
definition = "default"
[list_definition]
[row]
[column]
vertical_grow = true
horizontal_grow = true
[toggle_panel]
definition = "default"
[grid]
[row]
[column]
grow_factor = 0
horizontal_alignment = "left"
border = "all"
border_size = 5
[image]
id = "friend_icon"
definition = "default"
[/image]
[/column]
[column]
grow_factor = 1
horizontal_grow = true
border = "all"
border_size = 5
[label]
id = "friend_name"
definition = "default"
linked_group = "friends"
[/label]
[/column]
[column]
grow_factor = 1
horizontal_alignment = "right"
border = "all"
border_size = 5
[label]
id = "friend_status"
definition = "default"
[/label]
[/column]
[/row]
[/grid]
[/toggle_panel]
[/column]
[/row]
[/list_definition]
[/listbox]
[/column]
[/row]
[/grid]
[/column]
[/row]
#enddef
#define _GUI_PREFERENCES_MP_SWITCH_ROW
[row]
[column]
border = "all"
border_size = 5
horizontal_alignment = "left"
{_GUI_PREFS_TAB_BAR (
[row]
[column]
[widget]
id = "tab_label"
label = _ "General"
[/widget]
[/column]
[/row]
[row]
[column]
[widget]
id = "tab_label"
label = _ "Friends"
[/widget]
[/column]
[/row]
)}
[/column]
[/row]
#enddef
[layer]
[row]
[column]
horizontal_alignment = "left"
vertical_alignment = "top"
[grid]
{_GUI_PREFERENCES_MP_SWITCH_ROW}
[/grid]
[/column]
[/row]
{_GUI_PREFERENCES_SPACER_ROW}
[row]
grow_factor = 1
[column]
horizontal_grow = true
vertical_alignment = "top"
{_GUI_PREFS_TAB_PAGER (
[layer]
[row]
grow_factor = 0
[column]
horizontal_grow = true
vertical_alignment = "top"
[grid]
{_GUI_PREFERENCES_MP_PAGE_1_GRID_1}
[/grid]
[/column]
[/row]
{_GUI_PREFERENCES_SPACER_ROW}
[row]
grow_factor = 1
[column]
horizontal_alignment = "left"
vertical_alignment = "top"
[grid]
{_GUI_PREFERENCES_MP_PAGE_1_GRID_2}
[/grid]
[/column]
[/row]
[/layer]
[layer]
[row]
[column]
horizontal_grow = true
vertical_alignment = "top"
[grid]
{_GUI_PREFERENCES_MP_PAGE_2}
[/grid]
[/column]
[/row]
[/layer]
)}
[/column]
[/row]
[/layer]
#undef _GUI_PREFERENCES_MP_PAGE_1_GRID_1
#undef _GUI_PREFERENCES_MP_PAGE_1_GRID_2
#undef _GUI_PREFERENCES_MP_PAGE_2
#undef _GUI_PREFERENCES_MP_SWITCH_ROW
#undef _GUI_LOBBY_SOUNDS_ENTRY