Hi tyler,
Thanks for point out that, obviously, that is a miss-typing. Adding @ in
front of second arg won't make any
good on genstrings.
2009/8/8 tyler <haik...@mac.com>

> Need an @ in front of second empty string arg.
>
> Sent from my phone
>
>
> On Aug 7, 2009, at 2:49 AM, Qi Liu <neoli...@gmail.com> wrote:
>
>   Hi all,
>>
>> I found genstrings is not very good. As option "-s" , apple says:
>> Substitutes routine for NSLocalizedString.  For example, -s MyLocalString
>> will catch calls to MyLocalString and MyLocalStringFromTable.
>>
>> Actually, if I write a line of code as following, the command will exit
>> current file:
>>
>> xMyLocalString(@"test", "");
>>
>>
>> What's more, if I write a line of code as following, the command will exit
>> too:
>>
>> NSStrings * m_MyLocalString = @"";
>>
>>
>> I am not sure if this is a known issue or if there is any additional
>> option
>> for genstrings.
>>
>>
>> Qi Liu
>> _______________________________________________
>>
>> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>>
>> Please do not post admin requests or moderator comments to the list.
>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/cocoa-dev/haikusw%40mac.com
>>
>> This email sent to haik...@mac.com
>>
>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to