help-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

localization again


From: Rob Burns
Subject: localization again
Date: Tue, 11 Nov 2003 11:58:51 +0700

I originally was using this:

[status setStringValue:[NSString localizedStringWithFormat:
                        @"%1$i entries, %2$i selected",
                         [[stack words] count],
                         [listView numberOfSelectedRows]]];

but, found it didn't work. Changing it to the following works.

[status setStringValue:[NSString localizedStringWithFormat:
                       _(@"%1$i entries, %2$i selected"),
                         [[stack words] count],
                         [listView numberOfSelectedRows]]];

shouldn't localizedStringWithFormat return the localized string without the additional _()?

Thanks
Rob





reply via email to

[Prev in Thread] Current Thread [Next in Thread]