• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: poor genstrings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >poor genstrings (From: Qi Liu <email@hidden>)

  • Prev by Date: Re: defining NSColor constants
  • Next by Date: Re: [myNSWindow setDocumentEdited:dirtyB] fail ??
  • Previous by thread: poor genstrings
  • Next by thread: Setting The Line Height Of A NSTextField.
  • Index(es):
    • Date
    • Thread