mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Fixed test of default NSShowNonLocalizedStrings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4681 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0eccffd21f
commit
79efb3ad6e
2 changed files with 8 additions and 2 deletions
|
@ -847,7 +847,7 @@ _bundle_load_callback(Class theClass, Category *theCategory)
|
|||
{
|
||||
NSString *show = [[NSUserDefaults standardUserDefaults]
|
||||
objectForKey: NSShowNonLocalizedStrings];
|
||||
if (!show || [show isEqual: @"YES"])
|
||||
if (show && [show isEqual: @"YES"])
|
||||
{
|
||||
/* It would be bad to localize this string! */
|
||||
NSLog(@"Non-localized string: %@\n", newString);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue