mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-13 11:54:56 +00:00

include new definitions and updated versions of existing definitions "default/classic" and "modern" has been renamed to "Parchment" and "Celes" to avoid confusion
229 lines
3.6 KiB
INI
229 lines
3.6 KiB
INI
#textdomain wesnoth-lib
|
|
###
|
|
### Definition of the window to connect to the addon server or manage locally
|
|
### installed addons.
|
|
###
|
|
|
|
[window]
|
|
id = "addon_connect"
|
|
description = "Addon server connection dialog."
|
|
|
|
[resolution]
|
|
definition = "default"
|
|
|
|
automatic_placement = true
|
|
vertical_placement = "center"
|
|
horizontal_placement = "center"
|
|
|
|
[tooltip]
|
|
id = "tooltip"
|
|
[/tooltip]
|
|
|
|
[helptip]
|
|
id = "tooltip"
|
|
[/helptip]
|
|
|
|
[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 a server to download add-ons."
|
|
[/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 = _ "Server:"
|
|
[/label]
|
|
|
|
[/column]
|
|
|
|
[column]
|
|
grow_factor = 1
|
|
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_grow = true
|
|
|
|
[text_box]
|
|
id = "host_name"
|
|
definition = "default"
|
|
history = "addon_connect_history"
|
|
[/text_box]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[/grid]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[row]
|
|
grow_factor = 0
|
|
|
|
[column]
|
|
grow_factor = 1
|
|
horizontal_grow = true
|
|
|
|
[grid]
|
|
|
|
[row]
|
|
grow_factor = 0
|
|
|
|
[column]
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_alignment = "right"
|
|
|
|
[button]
|
|
id = "remove_addons"
|
|
|
|
# just show how the default looks.
|
|
definition = "default"
|
|
|
|
# tooltip = "Manage locally installed addons."
|
|
|
|
# help = "With this feature you can remove locally installed addons, after doing so you need to restart Wesnoth."
|
|
|
|
label = _ "Remove Add-ons"
|
|
|
|
# we define the return value manually instead of being
|
|
# linked to the id. Not sure whether that's the best
|
|
# solution, but it's nice as proof-of-concept.
|
|
return_value = 2
|
|
[/button]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[/grid]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[row]
|
|
grow_factor = 0
|
|
|
|
[column]
|
|
horizontal_grow = true
|
|
|
|
[grid]
|
|
|
|
[row]
|
|
grow_factor = 0
|
|
|
|
[column]
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_alignment = "left"
|
|
grow_factor = 1
|
|
|
|
[button]
|
|
# NOTE: this isn't named "help" because it conflicts with
|
|
# a titlescreen hack in gui2::twindow::get_retval_by_id().
|
|
id = "show_help"
|
|
definition = "help"
|
|
[/button]
|
|
|
|
[/column]
|
|
|
|
[column]
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_alignment = "right"
|
|
|
|
[button]
|
|
id = "ok"
|
|
definition = "default"
|
|
|
|
label = _ "Connect"
|
|
[/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]
|