mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-06 00:45:09 +00:00
Monotone-Parent: 3bc573b09449f0efea891e5e11a232520f51205c
Monotone-Revision: 3188fd0271db42fb785221461e9a3655109f23a8 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-11-20T19:15:26 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -995,11 +995,13 @@ static BOOL kontactGroupDAV = YES;
|
||||
|
||||
userLanguage = [[context activeUser] language];
|
||||
paths = [bundle pathsForResourcesOfType: @"strings"
|
||||
inDirectory: [NSString stringWithFormat: @"%@.lproj", userLanguage]
|
||||
inDirectory: [NSString stringWithFormat: @"%@.lproj",
|
||||
userLanguage]
|
||||
forLocalization: userLanguage];
|
||||
if ([paths count] > 0)
|
||||
{
|
||||
strings = [NSDictionary dictionaryFromStringsFile: [paths objectAtIndex: 0]];
|
||||
strings = [NSDictionary
|
||||
dictionaryFromStringsFile: [paths objectAtIndex: 0]];
|
||||
label = [strings objectForKey: key];
|
||||
if (!label)
|
||||
label = key;
|
||||
|
||||
Reference in New Issue
Block a user