mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Filesystem change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16565 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
16e25ec2a4
commit
32ae9a0f45
34 changed files with 1712 additions and 2890 deletions
|
@ -421,9 +421,11 @@ static BOOL setSharedDefaults = NO; /* Flag to prevent infinite recursion */
|
|||
{
|
||||
NSString *path;
|
||||
NSDictionary *dict;
|
||||
path = [NSBundle pathForGNUstepResource: lang
|
||||
ofType: nil
|
||||
inDirectory: @"Resources/Languages"];
|
||||
NSBundle *gbundle;
|
||||
gbundle = [NSBundle bundleForLibrary: @"gnustep-base"];
|
||||
path = [gbundle pathForResource: lang
|
||||
ofType: nil
|
||||
inDirectory: @"Languages"];
|
||||
dict = nil;
|
||||
if (path)
|
||||
dict = [NSDictionary dictionaryWithContentsOfFile: path];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue