URL:
  <http://gna.org/bugs/?14249>

                 Summary: [option] not supporting new Pango markup
                 Project: Battle for Wesnoth
            Submitted by: ancestral
            Submitted on: Sunday 09/06/2009 at 02:08
                Category: Bug
                Severity: 2 - Minor
                Priority: 5 - Normal
              Item Group: WML
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.7.5
        Operating System: Mac OS X 10.6.0

    _______________________________________________________

Details:

I'm unsure if conversion to the Pango markup is ongoing and this is to be
expected since the work just hasn't finished yet, or if it should be working
with everything in [message] already.

What I am unable to do is use it with a message key within [option].

Attached is a screenshot. The first instance, "Choose your race." works as
intended; the second is using a broken-up version of the MENU_IMG_TXT macro;
the third attempts to use this macro; the fourth doesn't use any such macros;
the fifth uses the old asterisk-style markup correctly.


[event]
  name=start
  [message]
    speaker=narrator
    message= _ "<big>Choose your race.</big>"
    [option]
      message= _ "&portraits/humans/sergeant.png=<big>Human</big>"
    [/option]
    [option]
      message= _ {MENU_IMG_TXT "portraits/drakes/burner.png"
"<big>Drake</big>"}
    [/option]
    [option]
      message= _ "<big>Dwarf</big>"}
    [/option]
    [option]
      message= _ {MENU_IMG_TXT "portraits/elves/captain.png" "**Elf"}
    [/option]
  [/message]
[/event]




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sunday 09/06/2009 at 02:08  Name: optiontagpangofail.png  Size: 390kB  
By: ancestral

<http://gna.org/bugs/download.php?file_id=6584>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?14249>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to