[plt-scheme] DrScheme menu order

From: Robby Findler (robby at cs.uchicago.edu)
Date: Sat May 21 11:28:15 EDT 2005

The strings used in menus are in a special format. If they have the &
character in them, Windows (and other platforms) will use that key as a
shortcut key. I guess that this does not happen in Japanese? Anyways,
it should be the case that if you put the same strings in both places,
you should get the menus in the proper order.

If not, please send me your japanese-string-constants.ss file and I
will have a look.

Note that Japanese will not work in v209. Also, just in case, the
japanese-string-constants.ss file should be encoded in utf-8.

Thanks for the help with the translations!


At Sun, 22 May 2005 00:25:39 +0900, Chihiro Kuraya wrote:
>   For list-related administrative tasks:
>   http://list.cs.brown.edu/mailman/listinfo/plt-scheme
> Hi, everyone.
> I'm now translating DrScheme UI strings to Japanese by creating the file 
> "collects/string-constants/japanese-string-constants.ss" .
> The default English UI shows menus in the menu bar
> in the order of File, Edit, View, Language, Scheme, Special, and Help.
> But after translating menu strings,
> it shows in the order of File, Edit, Help, View, ... (same as above)
> Why this happens?
> I found a hint in the file english-string-constants.ss which says:
>  ;;; raw menu names -- these must match the 
>  ;;; versions below, once the &s have been stripped.
>  ;;; if they don't, DrScheme's menus will appear
>  ;;; in the wrong order.
>  (file-menu "File")
>  (edit-menu "Edit")
>  (help-menu "Help")
>  (windows-menu "Windows")
> What does this mean?
> How should I modify these definitions?
> Chihiro Kuraya
> __________________________________
> Do You Yahoo!?
> Upgrade Your Life
> http://bb.yahoo.co.jp/

Posted on the users mailing list.