Deprecate the macro MESSAGE.

Translatable message strings passed to it cannot be spellchecked by
wmllint, and we don't wanna encourage this. Was already used nowhere in
mainline.
This commit is contained in:
Anonymissimus 2012-01-29 22:52:34 +00:00
parent d9e6cf4c0d
commit 982aa77399
2 changed files with 15 additions and 14 deletions

View file

@ -13,3 +13,18 @@
[/deprecated_message]
#enddef
#wmllint: markcheck on
#define MESSAGE SPEAKER_ID IMAGE CAPTION_TEXT MESSAGE_TEXT
{DEPRECATE MESSAGE 1.11.2}
# Displays a text message spoken by SPEAKER_ID.
# Speaker can be any of: narrator, unit and second_unit
# For example, let's have the narrator, which looks like a faery
# express some feelings on the undead:
#! {MESSAGE narrator "units/elves-wood/shyde.png" _ "Faery" _ "Aarr! Them be undeadies! Loooks at them.."}
[message]
speaker={SPEAKER_ID}
message={MESSAGE_TEXT}
image={IMAGE}
caption={CAPTION_TEXT}
[/message]
#enddef

View file

@ -4,20 +4,6 @@
# These don't depend on any other macros. Please don't change this.
# ! in comments is used to generate HTML documentation; ignore it otherwise.
#define MESSAGE SPEAKER_ID IMAGE CAPTION_TEXT MESSAGE_TEXT
# Displays a text message spoken by SPEAKER_ID.
# Speaker can be any of: narrator, unit and second_unit
# For example, let's have the narrator, which looks like a faery
# express some feelings on the undead:
#! {MESSAGE narrator "units/elves-wood/shyde.png" _ "Faery" _ "Aarr! Them be undeadies! Loooks at them.."}
[message]
speaker={SPEAKER_ID}
message={MESSAGE_TEXT}
image={IMAGE}
caption={CAPTION_TEXT}
[/message]
#enddef
#define HIGHLIGHT_IMAGE X Y IMAGE BACKGROUND_VALUE
# Scrolls to the given location, blinks the given image in and out a few
# times, and then leaves the image in place. Use this to pinpoint an