[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-dev] Re: [sc-users] Main.sc and stand-alone application

Moving to dev...

On Fri, Dec 26, 2008 at 12:30 PM, Scott Wilson <s.d.wilson.1@xxxxxxxxxx> wrote:
> I knew there was a potential issue with standalones, but hadn't thought best
> how to deal with that. Under normal circumstances this would not fail.

This *is* a normal circumstance for Japanese users :)

I think, even in non-standalone environments, this will also affect
all startup actions that follow platform startup.

> I don't know how to access the localisation stuff. There's also a potential
> unicode issue here, since I'm not sure you could specify the actual name.
> Since at the moment there is only English and Japanese, you could search for
> both I suppose.

Maybe a resource file with translations for Help, one for each nib.
It's inelegant but in the absence of locale info from the OS, not sure
what else to do.

> Another possibility is that the if clause above exits
> without fail if the Help menu is not found. Not sure if that's a good idea
> or not.

I tend to think it's reasonable to let the sclang layer know that the
primitive failed -- then the sclang code can handle it appropriately
(try/catch or die).


James Harkins /// dewdrop world

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/