Revision: 15194
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=15194&view=rev
Author:   hofman
Date:     2009-04-26 09:33:38 +0000 (Sun, 26 Apr 2009)

Log Message:
-----------
use non-localized month names for default macros, it's data

Modified Paths:
--------------
    trunk/bibdesk/BDSKMacroResolver.m

Modified: trunk/bibdesk/BDSKMacroResolver.m
===================================================================
--- trunk/bibdesk/BDSKMacroResolver.m   2009-04-26 04:59:43 UTC (rev 15193)
+++ trunk/bibdesk/BDSKMacroResolver.m   2009-04-26 09:33:38 UTC (rev 15194)
@@ -327,11 +327,7 @@
 - (id)initWithOwner:(id<BDSKOwner>)anOwner{
     if (self = [super initWithOwner:nil]) {
         // store system-defined macros for the months.
-        // we grab their localized versions for display.
-#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5
-#warning fixme: NSMonthNameArray is deprecated, use NSLocale instead
-#endif
-        NSDictionary *standardDefs = [NSDictionary 
dictionaryWithObjects:[[NSUserDefaults standardUserDefaults] 
objectForKey:NSMonthNameArray]
+        NSDictionary *standardDefs = [NSDictionary 
dictionaryWithObjects:[NSArray arrayWithObjects:@"January", @"February", 
@"March", @"April", @"May", @"June", @"July", @"August", @"September", 
@"October", @"November", @"December", nil]
                                                                  
forKeys:[NSArray arrayWithObjects:@"jan", @"feb", @"mar", @"apr", @"may", 
@"jun", @"jul", @"aug", @"sep", @"oct", @"nov", @"dec", nil]];
         standardMacroDefinitions = [[NSMutableDictionary alloc] 
initForCaseInsensitiveKeys];
         [standardMacroDefinitions addEntriesFromDictionary:standardDefs];


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to