Monotone-Parent: 9e848e008df99a6aae6401a0b3345b1320d222a8

Monotone-Revision: d0c1f09949ba21d2129a3cae67910167e0f0b6a1

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-05-30T20:09:34
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2007-05-30 20:09:34 +00:00
parent 2cd8d9629f
commit 9c52c3ad43
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,9 @@
2007-05-30 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Appointments/SOGoCalendarComponent.m
([SOGoCalendarComponent +initialize]): the default language for
mail templates is now set to English.
* UI/SOGoUI/SOGoACLFrenchRemovalAdvisory.[hm]: new subclass of
SOGoACLAdvisory implementing the french template for user removal
from acls.

View File

@ -57,7 +57,7 @@ static BOOL sendEMailNotifications = NO;
mailTemplateDefaultLanguage = [[ud stringForKey:@"SOGoDefaultLanguage"]
retain];
if (!mailTemplateDefaultLanguage)
mailTemplateDefaultLanguage = @"French";
mailTemplateDefaultLanguage = @"English";
sendEMailNotifications
= [ud boolForKey: @"SOGoAppointmentSendEMailNotifications"];
@ -377,6 +377,8 @@ static BOOL sendEMailNotifications = NO;
else
recipient = email;
#warning this could be optimized in a class hierarchy common with the \
SOGoObject's acl notification mechanism
/* create page name */
// TODO: select user's default language?
pageName = [NSString stringWithFormat: @"SOGoAptMail%@%@",