Bogdan Burlacu wrote:

Hi!

> I have played aorund a bit with tcl/tk and got this little
> gui for downloading ches games from chesscenter.com. I've
> managed to put it into my scid although I'm having trouble
> with the menu entry (it doesn't show the translation, just
> the name of the tag). Here's how it looks like:
> 
> http://img241.imageshack.us/img241/2820/twicdtn8.png
> 
> If anyone's interested, I can share the code.

The functionality sounds interesting. Pascal, what do you
think?

Concerning the translations: it is very easy to extend scids
menues by clean "add ons", ie some snippet of tcl/tk just
appended at the end of scids code. However, if you want the
entries to get translated, you have to hack arround in
menus.tcl. This part of scids design is plain ugly as it
forbids clean extensions living in their own file and
namespace, but that's the way it is. :(

You've to add some stanza to this procedure

    proc setLanguageMenus {{lang ""}}

-- 

Kind regards,                /                 War is Peace.
                             |            Freedom is Slavery.
Alexander Wagner            |         Ignorance is Strength.
                             |
                             | Theory     : G. Orwell, "1984"
                            /  In practice:   USA, since 2001

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to