• 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: genstrings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: genstrings


  • Subject: Re: genstrings
  • From: Kevin Grant <email@hidden>
  • Date: Fri, 5 Mar 2004 20:18:23 -0600

I use genstrings to create .strings files. I just discovered that it scans all text in source files including commented lines. Is this known behavior? Should I file a bug report? . . . .

It almost certainly isn't aware of all possible C language syntax and doesn't compile files, e.g. because I can't use a macro or a constant, I must always use a real quoted string. I can't really blame them for not putting an entire C language parser into genstrings.


You can probably fool it pretty easily to fix the problem, e.g. adding spaces so you have "NS LocalizedString" instead of NSLocalizedString within your comments, etc.

Kevin G.
http://homepage.mac.com/kmg/
mail to kevin at ieee dot org
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: genstrings
      • From: Chuck Soper <email@hidden>
References: 
 >genstrings (From: Chuck Soper <email@hidden>)

  • Prev by Date: Re: xcode crash upon opening project
  • Next by Date: Re: genstrings
  • Previous by thread: genstrings
  • Next by thread: Re: genstrings
  • Index(es):
    • Date
    • Thread