From 33777d04bcf0d4314ee0be91a421c2328ecc47e7 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Mon, 14 Dec 2009 14:37:24 +0000 Subject: [PATCH] Monotone-Parent: 2977eee44dc8cb28a84d3198502b07eacfaf2472 Monotone-Revision: 41c1c07c9e64afed10d305ba098bdffb69a7e77d Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-12-14T14:37:24 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 5 +++++ UI/Common/UIxPageFrame.m | 2 ++ 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 5feac6cc0..b1513ec9e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-12-14 Wolfgang Sourdeau + + * UI/Common/UIxPageFrame.m (_stringsForFramework:): use the system + default when the active user does not resolve. + 2009-12-11 Wolfgang Sourdeau * UI/PreferencesUI/UIxPreferences.m (-setUserShortDateFormat:): diff --git a/UI/Common/UIxPageFrame.m b/UI/Common/UIxPageFrame.m index 79c220eb0..7a4166364 100644 --- a/UI/Common/UIxPageFrame.m +++ b/UI/Common/UIxPageFrame.m @@ -197,6 +197,8 @@ frameworkName = [NSString stringWithFormat: @"%@.SOGo", (framework ? framework : [self frameworkName])]; ud = [[context activeUser] userDefaults]; + if (!ud) + ud = [SOGoSystemDefaults sharedSystemDefaults]; language = [ud language]; table