aboutsummaryrefslogtreecommitdiffstats
path: root/Source/DMLocalizedNibBundle.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2012-07-24 22:39:25 +0000
committerrowanbeentje <rowan@beent.je>2012-07-24 22:39:25 +0000
commit98792afc2acd1348b970f66be35c170b11d8fca1 (patch)
treefe74256b346caf1dbd60aa3da1d14e6dff523203 /Source/DMLocalizedNibBundle.m
parenta531651aac81aaa89e2c292be7f9273d8b629373 (diff)
downloadsequelpro-98792afc2acd1348b970f66be35c170b11d8fca1.tar.gz
sequelpro-98792afc2acd1348b970f66be35c170b11d8fca1.tar.bz2
sequelpro-98792afc2acd1348b970f66be35c170b11d8fca1.zip
- 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
Diffstat (limited to 'Source/DMLocalizedNibBundle.m')
-rw-r--r--Source/DMLocalizedNibBundle.m4
1 files changed, 1 insertions, 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;
}
}