Implemented experimental library resource bundle versioning

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24841 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
nicola 2007-03-09 19:09:08 +00:00
parent ca884351b2
commit 661c84a01d
8 changed files with 177 additions and 41 deletions

View file

@ -502,7 +502,7 @@ static BOOL setSharedDefaults = NO; /* Flag to prevent infinite recursion */
NSDictionary *dict;
NSBundle *gbundle;
gbundle = [NSBundle bundleForLibrary: @"gnustep-base"];
gbundle = [NSBundle bundleForClass: [NSObject class]];
path = [gbundle pathForResource: lang
ofType: nil
inDirectory: @"Languages"];