From 98792afc2acd1348b970f66be35c170b11d8fca1 Mon Sep 17 00:00:00 2001 From: rowanbeentje Date: Tue, 24 Jul 2012 22:39:25 +0000 Subject: - Tweak nib localisation logic, fixing exceptions on 10.5 with systems set to non-period based decimal formatting (many thanks to schlabberdog for pinning down the exact issue and testing), also improving speed of handling non-localised strings when translations are available --- Source/DMLocalizedNibBundle.m | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Source/DMLocalizedNibBundle.m b/Source/DMLocalizedNibBundle.m index 86d6e671..0b7295d4 100644 --- a/Source/DMLocalizedNibBundle.m +++ b/Source/DMLocalizedNibBundle.m @@ -234,10 +234,8 @@ static NSMutableArray *deliciousBindingKeys = nil; } else { #ifdef BETA_BUILD NSLog(@" not going to localize string %@", string); - return string; // [string uppercaseString] -#else - return string; #endif + return nil; } } -- cgit v1.2.3