Re: genstrings
Re: genstrings
- Subject: Re: genstrings
- From: Kevin Grant <email@hidden>
- Date: Fri, 5 Mar 2004 22:44:32 -0600
Kevin,
Thanks for the suggestion of adding a space to NSLocalizedString.
That's a good simple solution.
I really think that genstrings could (or should?) be aware of some
(certainly not all) C language syntax. The issue I found could lead to
translating unneeded strings and paying for that translation. I'll
file a problem report.
On the other hand, if it's expected behavior I suppose it could be a
feature for some users.
No problem.
Another solution I just thought of would be to run the C preprocessor
explicitly on a code file, passing the processed output to genstrings
(this is also something Apple could do). In addition to processing
macros, this should strip all comments. Take a look at /usr/bin/cpp,
"man cpp". Of course, I haven't tried this... :)
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.