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:
Wolfgang Sourdeau
2007-11-20 19:15:26 +00:00
parent 8a25d89438
commit 4522bd5626
5 changed files with 37 additions and 6 deletions
+4 -2
View File
@@ -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;