Re: Localize Hide / Show menu?
Re: Localize Hide / Show menu?
- Subject: Re: Localize Hide / Show menu?
- From: Brian Webster <email@hidden>
- Date: Sun, 3 Dec 2000 10:47:36 -0600
On Monday, December 3, 2001, at 10:17 AM, cocoa-dev-
email@hidden wrote:
My solution (please don't laugh) is to put the whole string
"Hide something/Show something"
in the menu and then programmatically separate it by components in
validateMenuItem (in particular I assume that the real menu menu items
doesn't contain a slash).
What do you think of that? is there a better solution?
The way I usually do it is to put the strings into
Localizable.strings and then set the menu title in
validateMenuItem. It then doesn't matter what you call it in
IB, because you'll replace the title anyway.
--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster