Re: Localized strings in reverse
Re: Localized strings in reverse
- Subject: Re: Localized strings in reverse
- From: Ondra Cada <email@hidden>
- Date: Tue, 2 Jul 2002 20:05:39 +0200
On Tuesday, July 2, 2002, at 07:23 , Carl Jochen Norum wrote:
Is there any way for me to get a localized string's key?
Nope, since there's not one-to-one relation: more different keys can --
and often do -- bind to the same value.
I have a pop-up button whose labels are provided via NSLocalizedString(a,
nil).
Now, based on what the label is on the button, I want to load an NSImage
by:
Means you designed the app the wrong way: instead of the label (eh, you
meant title, I guess) use the button's tag.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.