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

simple genstrings question


  • Subject: simple genstrings question
  • From: Steve Gehrman <email@hidden>
  • Date: Tue, 18 Sep 2001 22:30:37 -0700

Is there a simple way to take a whole folder of source and feed it to
genstrings? I'm sure there must be some unix command to pipe the output
of ls or something. It would be a pain to have to manually type in
every file name.

Also, what is the best way to have string constants using
NSLocalizedString. I was going to put them in a .h file, but it looks
like genstrings only works with .c or .m? Is that true?

this is what I have in a .h file.... (for example)

#define kUntitledFolder NSLocalizedString(@"untitled folder", @"")

Thanks,

--
Steve Gehrman
CocoaTech, Inc.
mailto:email@hidden
http://www.cocoatech.com


  • Follow-Ups:
    • Re: simple genstrings question
      • From: Ali Ozer <email@hidden>
    • Re: simple genstrings question
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Scripting the "Mail' application to add attachments
  • Next by Date: Re: simple genstrings question
  • Previous by thread: Re: Scripting the "Mail' application to add attachments
  • Next by thread: Re: simple genstrings question
  • Index(es):
    • Date
    • Thread