On Fri, 2006-03-03 at 07:23 -0500, Youness Alaoui wrote: > On Fri, Mar 03, 2006 at 08:38:16AM +0000, Tom Jenkins wrote: > > Youness Alaoui wrote: > > > > >Ahh ok, I understand, I though it couldn't be done because of Tk > > >limitations, not because of internationalisation and fixed index... > > >I guess you could have > > >&one > > >&two > > >t&hree > > >&un > > >&deux > > >&trois > > > > > >in the lang file, and you would : > > >-label [string map {&& & & ""} [trans menuname]] -underline [string first > > >[trans menuname] '&'] > > > > > >or something similar that would actually work (the string map won't really > > >work) > > > > > > > > Yeah, thats what I'd like (Karel told me in gtk, they use an underscore > > to show where the underline is). Why won't that string map work? > > > yeah, that's the same idea.. the string map won't work because && will change > to &, and then & to nothing, so > double && will disapear and we want && to become a single &.
So.. we can just make & a special char and forbid it to appear anywhere else then for underline (I checked and at the moment & is not used in any lang file). Just update the docs and we are done.. right? (Well and also implement the part so it will normally filter out the &) ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Amsn-devel mailing list Amsn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amsn-devel