mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-18 19:41:11 +00:00

Remove the condition from the WML, also a few code changes which are not longer needed, now that the WML has been converted.
230 lines
3.3 KiB
INI
230 lines
3.3 KiB
INI
#textdomain wesnoth-lib
|
|
###
|
|
### Definition of the window to select a predefined mp server.
|
|
###
|
|
|
|
[window]
|
|
id = "mp_server_list"
|
|
description = "MP Server list selection dialog."
|
|
|
|
[resolution]
|
|
definition = "default"
|
|
|
|
automatic_placement = "true"
|
|
vertical_placement = "center"
|
|
horizontal_placement = "center"
|
|
|
|
[grid]
|
|
|
|
[row]
|
|
grow_factor = 0
|
|
|
|
[column]
|
|
grow_factor = 1
|
|
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_alignment = "left"
|
|
[label]
|
|
definition = "title"
|
|
|
|
label = _ "Connect to Server"
|
|
[/label]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[row]
|
|
grow_factor = 0
|
|
|
|
[column]
|
|
grow_factor = 1
|
|
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_alignment = "left"
|
|
|
|
[label]
|
|
definition = "default"
|
|
|
|
label = _ "You will now connect to the multiplayer server."
|
|
[/label]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[row]
|
|
grow_factor = 1
|
|
|
|
[column]
|
|
grow_factor = 1
|
|
|
|
horizontal_grow = "true"
|
|
vertical_grow = "true"
|
|
|
|
[listbox]
|
|
id = "server_list"
|
|
definition = "default"
|
|
|
|
assume_fixed_row_size = "true"
|
|
|
|
[header]
|
|
|
|
[row]
|
|
|
|
[column]
|
|
grow_factor = 1
|
|
horizontal_grow = "true"
|
|
|
|
[label]
|
|
definition = "default"
|
|
|
|
label = _ "Name"
|
|
[/label]
|
|
|
|
[/column]
|
|
|
|
[column]
|
|
grow_factor = 1
|
|
horizontal_grow = "true"
|
|
|
|
[label]
|
|
definition = "default"
|
|
|
|
label = _ "Address"
|
|
[/label]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[/header]
|
|
|
|
[list_definition]
|
|
|
|
[row]
|
|
|
|
[column]
|
|
vertical_grow = "true"
|
|
horizontal_grow = "true"
|
|
|
|
[toggle_panel]
|
|
definition = "default"
|
|
|
|
return_value = -1
|
|
[grid]
|
|
|
|
[row]
|
|
|
|
[column]
|
|
grow_factor = 1
|
|
horizontal_grow = "true"
|
|
|
|
border = "all"
|
|
border_size = 5
|
|
|
|
[label]
|
|
id = "name"
|
|
definition = "default"
|
|
|
|
[/label]
|
|
|
|
[/column]
|
|
|
|
[column]
|
|
grow_factor = 1
|
|
horizontal_grow = "true"
|
|
|
|
border = "all"
|
|
border_size = 5
|
|
|
|
[label]
|
|
id = "address"
|
|
definition = "default"
|
|
|
|
[/label]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[/grid]
|
|
|
|
[/toggle_panel]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[/list_definition]
|
|
|
|
[/listbox]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[row]
|
|
grow_factor = 0
|
|
|
|
[column]
|
|
grow_factor = 1
|
|
horizontal_grow = "true"
|
|
|
|
[grid]
|
|
|
|
[row]
|
|
grow_factor = 0
|
|
|
|
[column]
|
|
|
|
[spacer]
|
|
definition = "default"
|
|
[/spacer]
|
|
|
|
[/column]
|
|
|
|
[column]
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_alignment = "right"
|
|
|
|
[button]
|
|
id = "ok"
|
|
definition = "default"
|
|
|
|
label = _ "Select"
|
|
[/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]
|