mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-28 14:36:22 +00:00

Also sets the tooltip type for this dialog back to bottom-of-the-screen ones instead of floating ones. And some formatting cleanup to the C++. (cherry-picked from commit 851b28e24bfefd068069aa9ac2eaada6593718b4)
359 lines
5.5 KiB
INI
359 lines
5.5 KiB
INI
#textdomain wesnoth-lib
|
|
###
|
|
### Definition of the window select the way to access the addon server.
|
|
###
|
|
|
|
[window]
|
|
id = "mp_method_selection"
|
|
description = "Language selection dialog."
|
|
|
|
[resolution]
|
|
definition = "default"
|
|
|
|
automatic_placement = true
|
|
vertical_placement = "center"
|
|
horizontal_placement = "center"
|
|
|
|
maximum_width = 420
|
|
|
|
[linked_group]
|
|
id = "icon"
|
|
fixed_width = true
|
|
[/linked_group]
|
|
|
|
[tooltip]
|
|
id = "tooltip_large"
|
|
[/tooltip]
|
|
|
|
[helptip]
|
|
id = "tooltip_large"
|
|
[/helptip]
|
|
|
|
[grid]
|
|
|
|
[row]
|
|
grow_factor = 0
|
|
|
|
[column]
|
|
grow_factor = 1
|
|
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_alignment = "left"
|
|
[label]
|
|
definition = "title"
|
|
|
|
label = _ "Multiplayer"
|
|
[/label]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[row]
|
|
grow_factor = 1
|
|
|
|
[column]
|
|
grow_factor = 1
|
|
|
|
horizontal_grow = true
|
|
|
|
[grid]
|
|
|
|
[row]
|
|
grow_factor = 1
|
|
|
|
[column]
|
|
grow_factor = 0
|
|
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_alignment = "left"
|
|
|
|
[label]
|
|
definition = "default"
|
|
|
|
label = _ "Login:"
|
|
[/label]
|
|
|
|
[/column]
|
|
|
|
[column]
|
|
grow_factor = 1
|
|
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_grow = true
|
|
|
|
[text_box]
|
|
id = "user_name"
|
|
definition = "default"
|
|
history = "mp_user_name_history"
|
|
max_input_length = 20
|
|
[/text_box]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[/grid]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[row]
|
|
grow_factor = 0
|
|
|
|
[column]
|
|
horizontal_grow = true
|
|
|
|
[grid]
|
|
|
|
[row]
|
|
|
|
[column]
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_grow = true
|
|
|
|
[label]
|
|
label = _ "A registered account on the Wesnoth forums is required to join the official server."
|
|
wrap = true
|
|
[/label]
|
|
|
|
[/column]
|
|
|
|
[column]
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_alignment = "right"
|
|
|
|
[button]
|
|
id = "register"
|
|
definition = "default"
|
|
|
|
label = _ "Sign Up"
|
|
[/button]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[/grid]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
{GUI_FILLER_ROW HEIGHT=10}
|
|
|
|
[row]
|
|
grow_factor = 1
|
|
|
|
[column]
|
|
grow_factor = 1
|
|
horizontal_grow = true
|
|
vertical_grow = true
|
|
|
|
border = "all"
|
|
border_size = 5
|
|
|
|
[listbox]
|
|
id = "method_list"
|
|
definition = "default"
|
|
|
|
vertical_scrollbar_mode = "never"
|
|
horizontal_scrollbar_mode = "never"
|
|
[list_definition]
|
|
|
|
[row]
|
|
|
|
[column]
|
|
horizontal_grow = true
|
|
|
|
[toggle_panel]
|
|
definition = "default"
|
|
return_value_id = "ok"
|
|
|
|
[grid]
|
|
|
|
[row]
|
|
|
|
[column]
|
|
grow_factor = 0
|
|
horizontal_grow = true
|
|
|
|
border = "all"
|
|
border_size = 5
|
|
|
|
[image]
|
|
id = "image"
|
|
definition = "default"
|
|
linked_group = "icon"
|
|
[/image]
|
|
[/column]
|
|
|
|
[column]
|
|
grow_factor = 1
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_grow = true
|
|
|
|
[label]
|
|
id = "name"
|
|
definition = "default"
|
|
[/label]
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[/grid]
|
|
|
|
[/toggle_panel]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[/list_definition]
|
|
|
|
[list_data]
|
|
|
|
[row]
|
|
|
|
[column]
|
|
tooltip = _ "Log on to the official Wesnoth multiplayer server"
|
|
|
|
[widget]
|
|
id = "image"
|
|
label = "icons/icon-server.png"
|
|
[/widget]
|
|
|
|
[widget]
|
|
id = "name"
|
|
label = _ "Join Official Server"
|
|
[/widget]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[row]
|
|
|
|
[column]
|
|
tooltip = _ "Join a different server"
|
|
|
|
[widget]
|
|
id = "image"
|
|
label = "icons/icon-serverother.png"
|
|
[/widget]
|
|
|
|
[widget]
|
|
id = "name"
|
|
label = _ "Connect to Server"
|
|
[/widget]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[row]
|
|
|
|
[column]
|
|
tooltip = _ "Host a game using a dedicated server"
|
|
|
|
[widget]
|
|
id = "image"
|
|
label = "icons/icon-hostgame.png"
|
|
[/widget]
|
|
|
|
[widget]
|
|
id = "name"
|
|
label = _ "Host Networked Game"
|
|
[/widget]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[row]
|
|
|
|
[column]
|
|
tooltip = _ "Play a multiplayer game with the AI or humans sharing the same machine"
|
|
|
|
[widget]
|
|
id = "image"
|
|
label = "icons/icon-hotseat.png"
|
|
[/widget]
|
|
|
|
[widget]
|
|
id = "name"
|
|
label = _ "Local Game"
|
|
[/widget]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[/list_data]
|
|
|
|
[/listbox]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[row]
|
|
grow_factor = 0
|
|
|
|
[column]
|
|
horizontal_alignment = "right"
|
|
|
|
[grid]
|
|
|
|
[row]
|
|
grow_factor = 0
|
|
|
|
[column]
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_alignment = "right"
|
|
|
|
[button]
|
|
id = "ok"
|
|
definition = "default"
|
|
|
|
label = _ "OK"
|
|
[/button]
|
|
|
|
[/column]
|
|
|
|
[column]
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_alignment = "right"
|
|
|
|
[button]
|
|
id = "cancel"
|
|
definition = "default"
|
|
|
|
label = _ "Cancel"
|
|
[/button]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[/grid]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[/grid]
|
|
|
|
[/resolution]
|
|
|
|
[/window]
|