propagate from branch 'ca.inverse.sogo.1_3_17' (head 7eb19f1f060daa6cb0a2421481ec351910c3af68)

to branch 'ca.inverse.sogo' (head 1e529d97ad640de07982d342ce216985cba625f7)

Monotone-Parent: 1e529d97ad640de07982d342ce216985cba625f7
Monotone-Parent: 7eb19f1f060daa6cb0a2421481ec351910c3af68
Monotone-Revision: 7a56acd03793d557df3245f7484b9315244d89e0

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-07-20T19:08:34
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau committed 2012-07-20 19:08:34 +00:00
commit 21a2d45d88
10 files changed
+109 -82

No files matched your search

@@ -8,13 +8,9 @@ vtodo_class1 = "(Private task)";
vtodo_class2 = "(Confidential task)";
/* Receipts */
"Title:" = "Title:";
"Start:" = "Start:";
"End:" = "End:";
"Location:" = "Location:";
"Receipt: event was created" = "Receipt: event was created";
"Receipt: event was deleted" = "Receipt: event was deleted";
"Receipt: event was updated" = "Receipt: event was updated";
"The event \"%{Summary}\" was created" = "The event \"%{Summary}\" was created";
"The event \"%{Summary}\" was deleted" = "The event \"%{Summary}\" was deleted";
"The event \"%{Summary}\" was updated" = "The event \"%{Summary}\" was updated";
"The following attendees(s) were notified:" = "The following attendees(s) were notified:";
"The following attendees(s) were added:" = "The following attendees(s) were added:";
"The following attendees(s) were removed:" = "The following attendees(s) were removed:";
@@ -8,25 +8,16 @@ vtodo_class1 = "(Tâche privée)";
vtodo_class2 = "(Tâche confidentielle)";
/* Receipts */
"Title:" = "Titre :";
"Start:" = "Début :";
"End:" = "Fin :";
"Receipt: users invited to a meeting" = "Acc. de réception : vous avez ajouté des participants à une réunion";
"You have invited the following attendees(s):" = "Vous avez invité les personnes suivantes :";
"... to attend the following event:" = "... à participer à cette réunion :";
"Receipt: invitation updated" = "Acc. de réception : invitation mise à jour";
"The following attendees(s):" = "Les participants suivants :";
"... have been notified of the changes to the following event:" = "... ont été avisés des changements apportés à cette réunion :";
"Receipt: attendees removed from an event" = "Acc. de réception: invitations annulées";
"You have removed the following attendees(s):" = "Les utilisateurs suivants :";
"... from the following event:" = "... ne sont plus invités à cette réunion :";
"The event \"%{Summary}\" was created" = "L'événement «%{Summary}» a été créé";
"The event \"%{Summary}\" was deleted" = "L'événement «%{Summary}» a été effacé";
"The event \"%{Summary}\" was updated" = "L'événement «%{Summary}» a été modifié";
"The following attendees(s) were notified:" = "Les invités suivants ont été avisés :";
"The following attendees(s) were added:" = "Les invités suivants ont été ajoutés :";
"The following attendees(s) were removed:" = "Les invités suivants ont été supprimés :";
/* IMIP messages */
"startDate_label" = "Du :";
"endDate_label" = "au :";
"startDate_label" = "Début :";
"endDate_label" = "Fin :";
"due_label" = "Fin prévue :";
"location_label" = "Lieu :";
"summary_label" = "Titre :";
@@ -67,4 +58,5 @@ vtodo_class2 = "(Tâche confidentielle)";
= "%{Attendee} %{SentByText}choisit de reporter sa décision par rapport à votre invitation.";
/* Resources */
"Maximum number of simultaneous bookings (%{NumberOfSimultaneousBookings}) reached for resource \"%{Cn} %{SystemEmail}\". The conflicting event is \"%{EventTitle}\", and starts on %{StartDate}." = "Le nombre maximal de réservations simultanées (%{NumberOfSimultaneousBookings}) est atteint pour la ressource «%{Cn} %{SystemEmail}». L'événement en conflit est «%{EventTitle}» et débute le %{StartDate}.";
"Cannot access resource: \"%{Cn} %{SystemEmail}\"" = "Impossible d'accéder à la ressource suivante: \"%{Cn} %{SystemEmail}\"";
"Maximum number of simultaneous bookings (%{NumberOfSimultaneousBookings}) reached for resource \"%{Cn} %{SystemEmail}\". The conflicting event is \"%{EventTitle}\", and starts on %{StartDate}." = "Le nombre maximal de réservations simultanées (%{NumberOfSimultaneousBookings}) est atteint pour la ressource «%{Cn} %{SystemEmail}». L'événement en conflit est «%{EventTitle}» et débute le %{StartDate}.";
@@ -863,6 +863,11 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
newRecord = nil;
recurrenceId = [component recurrenceId];
if (!recurrenceId)
{
[self errorWithFormat: @"ignored component with an empty EXCEPTION-ID"];
return;
}
if (tz)
{
+2 -1
View File
@@ -47,7 +47,8 @@
- (void) setDeletedAttendees: (NSArray *) theAttendees;
- (void) setUpdatedAttendees: (NSArray *) theAttendees;
- (void) setOperation: (SOGoEventOperation) theOperation;
- (NSString *) subject;
- (NSString *) aptSummary;
@end
+19 -5
View File
@@ -4,6 +4,7 @@
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
* Ludovic Marcotte <lmarcotte@inverse.ca>
* Francis Lachapelle <flachapelle@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -31,6 +32,7 @@
#import <NGCards/iCalEvent.h>
#import <NGCards/iCalPerson.h>
#import <SOGo/NSDictionary+Utilities.h>
#import <SOGo/NSObject+Utilities.h>
#import <SOGo/NSString+Utilities.h>
#import <SOGo/SOGoUserManager.h>
@@ -138,25 +140,37 @@ static NSCharacterSet *wsSet = nil;
operation = theOperation;
}
- (NSString *) subject
- (NSString *) aptSummary
{
NSString *s;
if (!values)
[self setupValues];
switch (operation)
{
case EventCreated:
s = [self labelForKey: @"Receipt: event was created" inContext: context];
s = [self labelForKey: @"The event \"%{Summary}\" was created"
inContext: context];
break;
case EventDeleted:
s = [self labelForKey: @"Receipt: event was deleted" inContext: context];
s = [self labelForKey: @"The event \"%{Summary}\" was deleted"
inContext: context];
break;
case EventUpdated:
default:
s = [self labelForKey: @"Receipt: event was updated" inContext: context];
s = [self labelForKey: @"The event \"%{Summary}\" was updated"
inContext: context];
}
return [[s stringByTrimmingCharactersInSet: wsSet] asQPSubjectString: @"utf-8"];
return [values keysWithFormat: s];
}
- (NSString *) getSubject
{
return [[[self aptSummary] stringByTrimmingCharactersInSet: wsSet] asQPSubjectString: @"utf-8"];
}
- (NSString *) _formattedUserDate: (NSCalendarDate *) date
@@ -1015,7 +1015,7 @@
mailDate = [[NSCalendarDate date] rfc822DateString];
[headerMap setObject: mailDate forKey: @"date"];
[headerMap setObject: [page subject] forKey: @"subject"];
[headerMap setObject: [page getSubject] forKey: @"subject"];
[headerMap setObject: @"1.0" forKey: @"MIME-Version"];
[headerMap setObject: @"text/html; charset=utf-8"
forKey: @"content-type"];