mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-06 10:32:09 +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.
105 lines
1.9 KiB
INI
105 lines
1.9 KiB
INI
#textdomain wesnoth
|
|
###
|
|
### Window shown when the player installs an add-on that has dependencies.
|
|
### Asks the player whether or not the dependencies should be installed.
|
|
###
|
|
|
|
[window]
|
|
id = "install_dependencies"
|
|
description = "Install dependencies prompt."
|
|
|
|
[resolution]
|
|
definition = "default"
|
|
|
|
automatic_placement = true
|
|
horizontal_placement = "center"
|
|
vertical_placement = "center"
|
|
|
|
[tooltip]
|
|
id = "tooltip"
|
|
[/tooltip]
|
|
|
|
[helptip]
|
|
id = "helptip"
|
|
[/helptip]
|
|
|
|
[grid]
|
|
[row]
|
|
[column]
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_alignment = "left"
|
|
|
|
[label]
|
|
id = "title"
|
|
definition = "title"
|
|
|
|
label = _ "Install Dependencies"
|
|
[/label]
|
|
[/column]
|
|
[/row]
|
|
[row]
|
|
[column]
|
|
border = "all"
|
|
border_size = 5
|
|
horizontal_alignment = "left"
|
|
[label]
|
|
id = "label"
|
|
definition = "default"
|
|
|
|
wrap = true
|
|
characters_per_line = 70
|
|
|
|
# Label value omitted because the text is set from C++ code (in order to support singular and plural forms properly)
|
|
[/label]
|
|
[/column]
|
|
[/row]
|
|
[row]
|
|
grow_factor = 1
|
|
[column]
|
|
horizontal_grow = true
|
|
border = "all"
|
|
border_size = 5
|
|
|
|
[addon_list]
|
|
id = "dependencies"
|
|
definition = "default"
|
|
install_buttons_visibility = "invisible"
|
|
[/addon_list]
|
|
[/column]
|
|
[/row]
|
|
[row]
|
|
[column]
|
|
horizontal_alignment = "right"
|
|
[grid]
|
|
[row]
|
|
[column]
|
|
border = "all"
|
|
border_size = 5
|
|
|
|
[button]
|
|
id = "ok"
|
|
definition = "default"
|
|
|
|
label = _ "Yes"
|
|
[/button]
|
|
[/column]
|
|
[column]
|
|
border = "all"
|
|
border_size = 5
|
|
|
|
[button]
|
|
id = "cancel"
|
|
definition = "default"
|
|
|
|
label = _ "No"
|
|
[/button]
|
|
[/column]
|
|
[/row]
|
|
[/grid]
|
|
[/column]
|
|
[/row]
|
|
[/grid]
|
|
[/resolution]
|
|
[/window]
|