Monotone-Parent: 45f5145837bf26807ee9a0b765cfdd2dbbd25518

Monotone-Revision: 7f6095f809b62253c184355dc35939b4fe3e2c53

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-10-22T22:25:03
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-10-22 22:25:03 +00:00
parent 0191793771
commit 043624b59e
2 changed files with 7 additions and 0 deletions

View File

@@ -1,5 +1,9 @@
2007-10-22 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/Common/UIxPageFrame.m ([UIxPageFrame -commonLocalizableStrings])
([UIxPageFrame -productLocalizableStrings]): invoke the new
+[SOGoUser language] method if the user is nil.
* SoObjects/SOGo/SOGoUser.m ([SOGoUser +language]): new method
that returns any generically-found language.
([SoUser -language]): modified to call the above.

View File

@@ -179,6 +179,9 @@
frameworkName = [NSString stringWithFormat: @"%@.SOGo",
(framework ? framework : [self frameworkName])];
language = [[context activeUser] language];
if (!language)
language = [SOGoUser language];
table
= [[self resourceManager] stringTableWithName: @"Localizable"
inFramework: frameworkName