genstrings
genstrings
- Subject: genstrings
- From: Chuck Soper <email@hidden>
- Date: Fri, 5 Mar 2004 12:26:26 -0800
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?
Chuck
cd /Users/chuck/myproj/
genstrings -o English.lproj *.m
From my source file:
//NSString *one = NSLocalizedString(@"Do not include this string.", nil);
/*
NSString *two = NSLocalizedString(@"Do not include this string either.", nil);
*/
Output from my Localizable.strings file:
/* No comment provided by engineer. */
"Do not include this string either." = "Do not include this string either.";
/* No comment provided by engineer. */
"Do not include this string." = "Do not include this string.";
Note: before I did this test, I deleted my old Localizable.strings file.
_______________________________________________
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.