Re: poor genstrings
Re: poor genstrings
- Subject: Re: poor genstrings
- From: Qi Liu <email@hidden>
- Date: Sat, 8 Aug 2009 08:32:07 +0800
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 <email@hidden>
> Need an @ in front of second empty string arg.
>
> Sent from my phone
>
>
> On Aug 7, 2009, at 2:49 AM, Qi Liu <email@hidden> 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 (email@hidden)
>>
>> 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:
>>
>> This email sent to email@hidden
>>
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden