wesnoth/data/core/macros/deprecated-utils.cfg
2010-09-22 02:33:36 +00:00

40 lines
1001 B
INI

#textdomain wesnoth
# These are clutter, scheduled to be removed.
# ! in comments is used for generating HTML documentation, ignore it otherwise.
#wmllint: markcheck off
#define DEPRECATE MACRO_NAME VERSION_NAME
# Tag macros for removal, the VERSION_NAME argument is the
# release where the message is shown the first time.
# The removal will be 2 versions later.
[deprecated_message]
message="Macro '" + {MACRO_NAME} + "' is scheduled for removal in Wesnoth " + {VERSION_NAME} + "."
[/deprecated_message]
#enddef
#wmllint: markcheck on
#define SET_LABEL_PERSISTENT X Y STRING
{DEPRECATE SET_LABEL_PERSISTENT 1.9.3}
[label]
x={X}
y={Y}
text={STRING}
[/label]
#enddef
#define SET_IMAGE_AND_LABEL_PERSISTENT X Y IMAGE STRING
{DEPRECATE SET_IMAGE_AND_LABEL_PERSISTENT 1.9.3}
[label]
x={X}
y={Y}
text={STRING}
[/label]
[item]
x={X}
y={Y}
image={IMAGE}
[/item]
#enddef