Updates:
        Status: Accepted

Comment #1 on issue 224 by [email protected]: show answer (give up)  
doesn't work for chord progression label
http://code.google.com/p/solfege/issues/detail?id=224

Yes, this is a missing feature in solfege.gu.FlashBar. We need to find a  
way to do this that works well with translations. We cannot expect the  
LabelObject to always be in the end of the string. The FlashBar should also  
handle more than one LabelObject.

We need to change the FlashBar api so that idbyname.Gui.give_up will flash  
the message like this:
self.g_flashbar.flash("The answer is: %s", self.m_t.m_P.get_name())

The api for multiple LabelObjects could be like this:
flash("text text %(first)s or %(second)s", first=rnc("asdfasf"),  
second=rnc("asdfs"))

This way the order of the LabelObjects can be changed if the translation  
requires it.


------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Solfege-devel mailing list
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe", or visit
https://lists.sourceforge.net/lists/listinfo/solfege-devel

Reply via email to