mail[Wesnoth-commits] r52805 - in /trunk/data/core/macros: deprecated-utils.cfg interface-utils.cfg


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by strgaltent on January 29, 2012 - 23:52:
Author: anonymissimus
Date: Sun Jan 29 23:52:34 2012
New Revision: 52805

URL: http://svn.gna.org/viewcvs/wesnoth?rev=52805&view=rev
Log:
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.

Modified:
    trunk/data/core/macros/deprecated-utils.cfg
    trunk/data/core/macros/interface-utils.cfg

Modified: trunk/data/core/macros/deprecated-utils.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/macros/deprecated-utils.cfg?rev=52805&r1=52804&r2=52805&view=diff
==============================================================================
--- trunk/data/core/macros/deprecated-utils.cfg (original)
+++ trunk/data/core/macros/deprecated-utils.cfg Sun Jan 29 23:52:34 2012
@@ -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

Modified: trunk/data/core/macros/interface-utils.cfg
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/data/core/macros/interface-utils.cfg?rev=52805&r1=52804&r2=52805&view=diff
==============================================================================
--- trunk/data/core/macros/interface-utils.cfg (original)
+++ trunk/data/core/macros/interface-utils.cfg Sun Jan 29 23:52:34 2012
@@ -3,20 +3,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




Related Messages


Powered by MHonArc, Updated Mon Jan 30 00:20:10 2012