mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-14 14:47:44 +00:00

- The t_string type is now a schema built-in type and no longer attempts a regex match. - You can also specify that non-t_string types may be optionally-translatable; this case supports a regex match on the string (but note that the translation mark is not part of the match). - Error messages involving keys with very large values ( > 128 characters) will now truncate the value. - To account for occasional cases where the schema is intentionally violated, the --validate command-line option now automatically defines the SCHEMA_VALIDATION preprocessor define. A key validates as type t_string if one of the following is true: - The key is not present - The key has at least one segment with a translation mark - The key is blank (an empty string) Any type other than t_string is not allowed to be translatable by default, unless you specify allow_translatable=yes in the [type] tag. An optionally-translatable string could also be defined as a union of t_string and some other type.
151 lines
2.1 KiB
INI
151 lines
2.1 KiB
INI
#textdomain wesnoth-lib
|
|
###
|
|
### Definition of the window to provide authentication information when uploading an add-on
|
|
###
|
|
|
|
[window]
|
|
id = "addon_auth"
|
|
description = "Add-on upload authentication dialog"
|
|
|
|
[resolution]
|
|
definition = "default"
|
|
|
|
automatic_placement = true
|
|
vertical_placement = "center"
|
|
horizontal_placement = "center"
|
|
|
|
maximum_width = 800
|
|
|
|
[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 = _ "Authenticate"
|
|
[/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 = _ "Password:"
|
|
[/label]
|
|
|
|
[/column]
|
|
|
|
[column]
|
|
grow_factor = 1
|
|
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_alignment = "right"
|
|
|
|
[password_box]
|
|
id = "password"
|
|
definition = "default"
|
|
[/password_box]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[/grid]
|
|
|
|
[/column]
|
|
|
|
[/row]
|
|
|
|
[row]
|
|
grow_factor = 0
|
|
|
|
[column]
|
|
grow_factor = 0
|
|
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]
|