NSLocalizedString not works in plugin
Peter Hosey
boredzo at adium.im
Tue Jan 26 01:25:42 UTC 2010
On Jan 25, 2010, at 16:46:42, Evan Schoenberg, M.D. wrote:
> You want to use AILocalizedStringFromTableInBundle() … with [self
> bundleForClass:[self class]] as the bundle argument. Otherwise, you
> are looking up strings from the main bundle (Adium.app's bundle)
> which is not what you want, as you want to look to your own plugin
> bundle.
But AILocalizedString is defined as using [NSBundle bundleForClass:
[self class]].
Incidentally, why is AILocalizedStringFromTable defined as using the
main bundle?
More information about the devel
mailing list