GUI WML cleanup: strip unless size_text keys as well as ones with empty attributes
This commit is contained in:
parent
0394fe0a34
commit
63763774bc
36 changed files with 0 additions and 97 deletions
|
@ -102,9 +102,6 @@
|
|||
id = "host_name"
|
||||
definition = "default"
|
||||
history = "addon_connect_history"
|
||||
|
||||
size_text = "very long text which might need to fit"
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
@ -144,7 +141,6 @@
|
|||
|
||||
# help = "With this feature you can remove locally installed addons, after doing so you need to restart Wesnoth."
|
||||
|
||||
size_text = _ "Remove Add-ons"
|
||||
label = _ "Remove Add-ons"
|
||||
|
||||
# we define the return value manually instead of being
|
||||
|
@ -199,7 +195,6 @@
|
|||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "Connect"
|
||||
label = _ "Connect"
|
||||
[/button]
|
||||
|
||||
|
|
|
@ -419,7 +419,6 @@
|
|||
[text_box]
|
||||
id = "url"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
|
|
@ -107,7 +107,6 @@
|
|||
border_size = 5
|
||||
vertical_alignment = "top"
|
||||
[stacked_widget]
|
||||
id = ""
|
||||
definition = "default"
|
||||
linked_group = "icon_area"
|
||||
|
||||
|
@ -303,7 +302,6 @@
|
|||
|
||||
|
||||
[stacked_widget]
|
||||
id = ""
|
||||
definition = "default"
|
||||
linked_group = "icon_area"
|
||||
|
||||
|
|
|
@ -81,7 +81,6 @@
|
|||
[label]
|
||||
id = "page_label"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
|
@ -165,7 +164,6 @@
|
|||
[scroll_label]
|
||||
id = "msg"
|
||||
definition = "description"
|
||||
label = ""
|
||||
[/scroll_label]
|
||||
)}
|
||||
[/column]
|
||||
|
|
|
@ -75,8 +75,6 @@
|
|||
[text_box]
|
||||
id = "tod_name"
|
||||
definition = "default"
|
||||
size_text = "very long text which might need to fit"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[/column]
|
||||
[column]
|
||||
|
@ -108,8 +106,6 @@
|
|||
[text_box]
|
||||
id = "tod_id"
|
||||
definition = "default"
|
||||
size_text = "very long text which might need to fit"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[/column]
|
||||
[column]
|
||||
|
@ -177,8 +173,6 @@
|
|||
[label]
|
||||
id = "current_sound"
|
||||
definition = "default"
|
||||
size_text = _ "long size text"
|
||||
label = ""
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
@ -334,8 +328,6 @@
|
|||
id = "tod_number"
|
||||
definition = "default"
|
||||
linked_group = "tod_index"
|
||||
size_text = _ "100/100"
|
||||
label = ""
|
||||
[/label]
|
||||
[/column]
|
||||
[column]
|
||||
|
|
|
@ -122,7 +122,6 @@
|
|||
[text_box]
|
||||
id = "txtFilter"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
@ -263,7 +262,6 @@
|
|||
id = "clear"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "Clear"
|
||||
label = _ "Clear"
|
||||
[/button]
|
||||
|
||||
|
@ -280,7 +278,6 @@
|
|||
id = "restore"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "Restore"
|
||||
label = _ "Restore"
|
||||
[/button]
|
||||
|
||||
|
@ -297,7 +294,6 @@
|
|||
id = "backup"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "Backup"
|
||||
label = _ "Backup"
|
||||
[/button]
|
||||
|
||||
|
@ -344,7 +340,6 @@
|
|||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "OK"
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
|
||||
|
|
|
@ -84,7 +84,6 @@
|
|||
[text_box]
|
||||
id = "label"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
|
|
@ -84,7 +84,6 @@
|
|||
[text_box]
|
||||
id = "label"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
@ -119,7 +118,6 @@
|
|||
[text_box]
|
||||
id = "category"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
|
|
@ -84,7 +84,6 @@
|
|||
[text_box]
|
||||
id = "id"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
@ -119,7 +118,6 @@
|
|||
[text_box]
|
||||
id = "name"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
@ -154,7 +152,6 @@
|
|||
[text_box]
|
||||
id = "description"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
|
|
@ -120,7 +120,6 @@
|
|||
[text_box]
|
||||
id = "team_name"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[/column]
|
||||
|
||||
|
@ -149,7 +148,6 @@
|
|||
[text_box]
|
||||
id = "user_team_name"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[/column]
|
||||
[/row]
|
||||
|
|
|
@ -170,7 +170,6 @@
|
|||
[text_box]
|
||||
id = "seed_textbox"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
[/column]
|
||||
|
||||
|
|
|
@ -84,7 +84,6 @@
|
|||
[text_box]
|
||||
id = "name"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
|
|
@ -93,7 +93,6 @@
|
|||
[text_box]
|
||||
id = "path"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
@ -174,7 +173,6 @@
|
|||
definition = "default"
|
||||
|
||||
id = "size"
|
||||
label = ""
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
|
|
@ -104,7 +104,6 @@
|
|||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "Yes"
|
||||
label = _ "Yes"
|
||||
[/button]
|
||||
|
||||
|
|
|
@ -208,7 +208,6 @@
|
|||
[text_box]
|
||||
id = "txtFilter"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
@ -367,7 +366,6 @@
|
|||
id = "delete"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "Delete"
|
||||
label = _ "Delete"
|
||||
[/button]
|
||||
|
||||
|
@ -452,7 +450,6 @@
|
|||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "OK"
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
|
||||
|
|
|
@ -84,7 +84,6 @@
|
|||
[text_box]
|
||||
id = "txtFilename"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
@ -117,7 +116,6 @@
|
|||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "OK"
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
|
||||
|
|
|
@ -59,7 +59,6 @@
|
|||
id = "lblMessage"
|
||||
definition = "default"
|
||||
|
||||
label = ""
|
||||
wrap = "true"
|
||||
[/label]
|
||||
|
||||
|
@ -105,7 +104,6 @@
|
|||
[text_box]
|
||||
id = "txtFilename"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
@ -138,7 +136,6 @@
|
|||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "Yes"
|
||||
label = _ "Yes"
|
||||
[/button]
|
||||
|
||||
|
|
|
@ -58,8 +58,6 @@
|
|||
[scroll_label]
|
||||
id = "lblMessage"
|
||||
definition = "default"
|
||||
|
||||
label = ""
|
||||
[/scroll_label]
|
||||
|
||||
[/column]
|
||||
|
@ -104,7 +102,6 @@
|
|||
[text_box]
|
||||
id = "txtFilename"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
@ -191,7 +188,6 @@
|
|||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "Yes"
|
||||
label = _ "Yes"
|
||||
[/button]
|
||||
|
||||
|
|
|
@ -93,7 +93,6 @@
|
|||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "Yes"
|
||||
label = _ "Yes"
|
||||
[/button]
|
||||
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
[text_box]
|
||||
id = "path_"+{ID_STEM}
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
|
|
@ -275,7 +275,6 @@
|
|||
[image]
|
||||
id = "main_icon"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/image]
|
||||
[/column]
|
||||
[column]
|
||||
|
@ -645,7 +644,6 @@
|
|||
id = "chat_input"
|
||||
definition = "default"
|
||||
history = "mp_chat_input_history"
|
||||
label = ""
|
||||
[/text_box]
|
||||
{HORIZONTAL_SEP}
|
||||
[button]
|
||||
|
|
|
@ -82,7 +82,6 @@
|
|||
[label]
|
||||
definition = "default"
|
||||
id = "relation_info"
|
||||
label = ""
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
|
|
@ -50,7 +50,6 @@
|
|||
[label]
|
||||
id = "kernel_type"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/label]
|
||||
[/column]
|
||||
[/row]
|
||||
|
@ -80,7 +79,6 @@
|
|||
[scroll_label]
|
||||
id = "msg"
|
||||
definition = "verbatim"
|
||||
label = ""
|
||||
[/scroll_label]
|
||||
)}
|
||||
[/column]
|
||||
|
@ -97,8 +95,6 @@
|
|||
id = "text_entry"
|
||||
definition = "default"
|
||||
history = "lua_text_entry"
|
||||
label = ""
|
||||
size_text = "very long text which might need to fit yes indeed this text is so very very very long"
|
||||
[/text_box]
|
||||
[/column]
|
||||
[/row]
|
||||
|
|
|
@ -119,8 +119,6 @@
|
|||
[button]
|
||||
id = "left_side"
|
||||
definition = "default"
|
||||
|
||||
label = ""
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
@ -161,8 +159,6 @@
|
|||
[button]
|
||||
id = "right_side"
|
||||
definition = "default"
|
||||
|
||||
label = ""
|
||||
[/button]
|
||||
|
||||
[/column]
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
[toggle_button]
|
||||
id = {ID} + "_sound"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
|
||||
|
@ -42,8 +41,6 @@
|
|||
[toggle_button]
|
||||
id = {ID} + "_notif"
|
||||
definition = "default"
|
||||
label = ""
|
||||
tooltip = ""
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
|
||||
|
@ -57,8 +54,6 @@
|
|||
[toggle_button]
|
||||
id = {ID} + "_lobby"
|
||||
definition = "default"
|
||||
label = ""
|
||||
tooltip = ""
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[/row]
|
||||
|
|
|
@ -81,8 +81,6 @@
|
|||
[text_box]
|
||||
id = "message"
|
||||
definition = "default"
|
||||
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
@ -293,8 +291,6 @@
|
|||
[text_box]
|
||||
id = "reason"
|
||||
definition = "default"
|
||||
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
@ -345,8 +341,6 @@
|
|||
[text_box]
|
||||
id = "time"
|
||||
definition = "default"
|
||||
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
@ -467,8 +461,6 @@
|
|||
[label]
|
||||
definition = "default"
|
||||
id = "user_label"
|
||||
|
||||
label = ""
|
||||
[/label]
|
||||
|
||||
[/column]
|
||||
|
|
|
@ -103,8 +103,6 @@
|
|||
id = "host_name"
|
||||
definition = "default"
|
||||
history = "mp_connect_history"
|
||||
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
@ -158,7 +156,6 @@
|
|||
id = "ok"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "Connect"
|
||||
label = _ "Connect"
|
||||
[/button]
|
||||
|
||||
|
|
|
@ -102,7 +102,6 @@
|
|||
[text_box]
|
||||
id = "password"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
|
|
@ -102,7 +102,6 @@
|
|||
[text_box]
|
||||
id = "password"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
|
|
@ -104,8 +104,6 @@
|
|||
id = "user_name"
|
||||
definition = "default"
|
||||
history = "mp_user_name_history"
|
||||
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
@ -156,8 +154,6 @@
|
|||
[password_box]
|
||||
id = "password"
|
||||
definition = "default"
|
||||
|
||||
label = ""
|
||||
[/password_box]
|
||||
|
||||
[/column]
|
||||
|
|
|
@ -83,7 +83,6 @@
|
|||
definition = "default"
|
||||
history = "mp_user_name_history"
|
||||
|
||||
label = ""
|
||||
tooltip = _ "You may login to the official multiplayer server with your forum username and password.
|
||||
Note that registration is not required to join the server: you need to supply a password only if you wish to use a registered username.
|
||||
|
||||
|
|
|
@ -222,7 +222,6 @@
|
|||
[toggle_button]
|
||||
id = {ID} + "_sound"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
|
||||
|
@ -236,8 +235,6 @@
|
|||
[toggle_button]
|
||||
id = {ID} + "_notif"
|
||||
definition = "default"
|
||||
label = ""
|
||||
tooltip = ""
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
|
||||
|
@ -251,8 +248,6 @@
|
|||
[toggle_button]
|
||||
id = {ID} + "_lobby"
|
||||
definition = "default"
|
||||
label = ""
|
||||
tooltip = ""
|
||||
[/toggle_button]
|
||||
[/column]
|
||||
[/row]
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
[text_box]
|
||||
id = "path"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
|
|
@ -93,7 +93,6 @@
|
|||
id = "btn_quit_game"
|
||||
definition = "default"
|
||||
|
||||
size_text = _ "Quit game"
|
||||
label = _ "Quit game"
|
||||
[/button]
|
||||
|
||||
|
|
|
@ -226,7 +226,6 @@
|
|||
[text_box]
|
||||
id = "filter_box"
|
||||
definition = "default"
|
||||
label = ""
|
||||
[/text_box]
|
||||
|
||||
[/column]
|
||||
|
@ -409,7 +408,6 @@
|
|||
[button]
|
||||
id = "ok"
|
||||
definition = "default"
|
||||
size_text = _ "OK"
|
||||
label = _ "OK"
|
||||
[/button]
|
||||
[/column]
|
||||
|
@ -421,7 +419,6 @@
|
|||
[button]
|
||||
id = "cancel"
|
||||
definition = "default"
|
||||
size_text = _ "Cancel"
|
||||
label = _ "Cancel"
|
||||
[/button]
|
||||
[/column]
|
||||
|
|
|
@ -148,9 +148,6 @@ twidget* tbuilder_control::build(const treplacements& /*replacements*/) const
|
|||
* @* 2 floodfill the widget area. $
|
||||
*
|
||||
* debug_border_color & color & "" & The color of the debug border. $
|
||||
* size_text & t_string & "" & Sets the minimum width of the widget
|
||||
* depending on the text in it. (Note not
|
||||
* implemented yet.) $
|
||||
* @end{table}
|
||||
* @end{tag}{name="widget_instance"}
|
||||
* @end{parent}{name="generic/"}
|
||||
|
|
Loading…
Add table
Reference in a new issue