Am 26.12.2008 um 15:55 schrieb James Harkins:
On Fri, Dec 26, 2008 at 8:31 AM, James Harkins <jamshark70@xxxxxxxxx> wrote:Beyond that, locale awareness would be nice but I have no idea how to do it. Maybe there is an alternative to itemWithTitle here? Or the obj-c layermight have access to the system locale. if (strcmp(parentSymbol->name, "Help")==0) { parentMenu = [[[NSApp mainMenu] itemWithTitle:@"Help"] submenu]; }*slaps forehead* Of course! There is an English nib and a Japanese nib but no others, so probably only Japanese users would ever see this problem. (IIUC, users under locales other than English or Japanese would see English menus.)
Yes indeed. (I'm on a swiss-german system, menus etc. are english)
Anyway, someone might add a French or German or Spanish nib someday... there must be a way somewhere to identify a menu other than by its title. hjh -- James Harkins /// dewdrop world jamshark70@xxxxxxxxxxxxxxxxx http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman _______________________________________________ sc-users mailing list info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml archive: https://listarc.bham.ac.uk/marchives/sc-users/ search: https://listarc.bham.ac.uk/lists/sc-users/search/
_______________________________________________ sc-users mailing list info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml archive: https://listarc.bham.ac.uk/marchives/sc-users/ search: https://listarc.bham.ac.uk/lists/sc-users/search/