Re: Getting Localized System Strings

2008-04-01 Thread Gary L. Wade
> >Thanks a lot. I decided to use it like this: >NSBundle *appBundle = [ NSBundle bundleWithIdentifier: >@"com.apple.AppKit" ]; >NSString *localSetFont = [ appBundle localizedStringForKey: @"Set >Font" value: nil table: @"Undo"]; >Seems to work fine. > That's really not a good thing to do unle

Re: Getting Localized System Strings

2008-04-01 Thread Jean-Daniel Dupas
Le 1 avr. 08 à 14:47, Gerriet M. Denkmann a écrit : On 1 Apr 2008, at 12:25, Jean-Daniel Dupas wrote: The strings you are looking for are in the AppKit ressources, but I don't think there are part of the API, the keys can change at anytime and you cannot rely on the files names. (in Leopa

Re: Getting Localized System Strings

2008-04-01 Thread Gerriet M. Denkmann
On 1 Apr 2008, at 12:25, Jean-Daniel Dupas wrote: The strings you are looking for are in the AppKit ressources, but I don't think there are part of the API, the keys can change at anytime and you cannot rely on the files names. (in Leopard, the Undo.strings file contains a "Paste Font" ke

Re: Getting Localized System Strings

2008-04-01 Thread Jean-Daniel Dupas
The strings you are looking for are in the AppKit ressources, but I don't think there are part of the API, the keys can change at anytime and you cannot rely on the files names. (in Leopard, the Undo.strings file contains a "Paste Font" key, but it's not garantee that it remain like that)