Fix: Meilleure message passé a webcalendar

This commit is contained in:
Laurent Destailleur 2005-10-30 17:45:08 +00:00
parent 46a8b91622
commit 936738091d
5 changed files with 17 additions and 16 deletions

View File

@ -17,7 +17,6 @@
* *
* $Id$ * $Id$
* $Source$ * $Source$
*
*/ */
/** /**
@ -155,7 +154,7 @@ class InterfaceWebCal
$this->desc.="\n".$langs->trans("Prefix").': '.$object->prefix; $this->desc.="\n".$langs->trans("Prefix").': '.$object->prefix;
//$this->desc.="\n".$langs->trans("Customer").': '.yn($object->client); //$this->desc.="\n".$langs->trans("Customer").': '.yn($object->client);
//$this->desc.="\n".$langs->trans("Supplier").': '.yn($object->fournisseur); //$this->desc.="\n".$langs->trans("Supplier").': '.yn($object->fournisseur);
$this->desc.="\n".$langs->trans("CreatedBy").': '.$user->code; $this->desc.="\n".$langs->trans("Author").': '.$user->code;
} }
if ($action == 'CONTRACT_VALIDATE') if ($action == 'CONTRACT_VALIDATE')
@ -168,7 +167,7 @@ class InterfaceWebCal
$this->duree=0; $this->duree=0;
$this->texte=$langs->trans("ContractValidatedInDolibarr",$object->ref); $this->texte=$langs->trans("ContractValidatedInDolibarr",$object->ref);
$this->desc=$langs->trans("ContractValidatedInDolibarr",$object->ref); $this->desc=$langs->trans("ContractValidatedInDolibarr",$object->ref);
$this->desc.="\n".$langs->trans("ValidatedBy").': '.$user->code; $this->desc.="\n".$langs->trans("Author").': '.$user->code;
} }
if ($action == 'CONTRACT_CANCEL') if ($action == 'CONTRACT_CANCEL')
{ {
@ -179,7 +178,7 @@ class InterfaceWebCal
$this->duree=0; $this->duree=0;
$this->texte=$langs->trans("ContractCanceledInDolibarr",$object->ref); $this->texte=$langs->trans("ContractCanceledInDolibarr",$object->ref);
$this->desc=$langs->trans("ContractCanceledInDolibarr",$object->ref); $this->desc=$langs->trans("ContractCanceledInDolibarr",$object->ref);
$this->desc.="\n".$langs->trans("CanceledBy").': '.$user->code; $this->desc.="\n".$langs->trans("Author").': '.$user->code;
} }
if ($action == 'CONTRACT_CLOSE') if ($action == 'CONTRACT_CLOSE')
{ {
@ -190,7 +189,7 @@ class InterfaceWebCal
$this->duree=0; $this->duree=0;
$this->texte=$langs->trans("ContractClosedInDolibarr",$object->ref); $this->texte=$langs->trans("ContractClosedInDolibarr",$object->ref);
$this->desc=$langs->trans("ContractClosedInDolibarr",$object->ref); $this->desc=$langs->trans("ContractClosedInDolibarr",$object->ref);
$this->desc.="\n".$langs->trans("ClosedBy").': '.$user->code; $this->desc.="\n".$langs->trans("Author").': '.$user->code;
} }
if ($action == 'BILL_VALIDATE') if ($action == 'BILL_VALIDATE')
@ -202,7 +201,7 @@ class InterfaceWebCal
$this->duree=0; $this->duree=0;
$this->texte=$langs->trans("InvoiceValidatedInDolibarr",$object->ref); $this->texte=$langs->trans("InvoiceValidatedInDolibarr",$object->ref);
$this->desc=$langs->trans("InvoiceValidatedInDolibarr",$object->ref); $this->desc=$langs->trans("InvoiceValidatedInDolibarr",$object->ref);
$this->desc.="\n".$langs->trans("ValidatedBy").': '.$user->code; $this->desc.="\n".$langs->trans("Author").': '.$user->code;
} }
if ($action == 'BILL_PAYED') if ($action == 'BILL_PAYED')
{ {
@ -213,7 +212,7 @@ class InterfaceWebCal
$this->duree=0; $this->duree=0;
$this->texte=$langs->trans("InvoicePayedInDolibarr",$object->ref); $this->texte=$langs->trans("InvoicePayedInDolibarr",$object->ref);
$this->desc=$langs->trans("InvoicePayedInDolibarr",$object->ref); $this->desc=$langs->trans("InvoicePayedInDolibarr",$object->ref);
$this->desc.="\n".$langs->trans("EditedBy").': '.$user->code; $this->desc.="\n".$langs->trans("Author").': '.$user->code;
} }
if ($action == 'BILL_CANCELED') if ($action == 'BILL_CANCELED')
{ {
@ -224,7 +223,7 @@ class InterfaceWebCal
$this->duree=0; $this->duree=0;
$this->texte=$langs->trans("InvoiceCanceledInDolibarr",$object->ref); $this->texte=$langs->trans("InvoiceCanceledInDolibarr",$object->ref);
$this->desc=$langs->trans("InvoiceCanceledInDolibarr",$object->ref); $this->desc=$langs->trans("InvoiceCanceledInDolibarr",$object->ref);
$this->desc.="\n".$langs->trans("CanceledBy").': '.$user->code; $this->desc.="\n".$langs->trans("Author").': '.$user->code;
} }
// Ajoute entrée dans webcal // Ajoute entrée dans webcal

View File

@ -67,10 +67,6 @@ Approve=Approve
Upload=Send file Upload=Send file
Select=Select Select=Select
Choose=Choose Choose=Choose
CreatedBy=Created by
ModifiedBy=Modified by
ValidatedBy=Validated by
ClosedBy=Closed by
ChooseLangage=Please choose your language ChooseLangage=Please choose your language
Author=Author Author=Author
User=User User=User

View File

@ -39,6 +39,11 @@ ListOfBookmarks=List of bookmarks
NoExportableData=No exportable data (no modules with exportable data loaded, or missing permissions) NoExportableData=No exportable data (no modules with exportable data loaded, or missing permissions)
ToExport=Export ToExport=Export
NewExport=New export NewExport=New export
CreatedBy=Created by %s
ModifiedBy=Modified by %s
ValidatedBy=Validated by %s
CanceledBy=Canceled by %s
ClosedBy=Closed by %s
##### Webcal ##### ##### Webcal #####
LoginWebcal=Login for Webcalendar LoginWebcal=Login for Webcalendar
AddCalendarEntry=Add entry in calendar AddCalendarEntry=Add entry in calendar

View File

@ -67,10 +67,6 @@ Approve=Approuver
Upload=Envoyer fichier Upload=Envoyer fichier
Select=Sélectionner Select=Sélectionner
Choose=Choisir Choose=Choisir
CreatedBy=Créé par
ModifiedBy=Modifié par
ValidatedBy=Validé par
ClosedBy=Clôturé par
ChooseLangage=Choisissez votre langue ChooseLangage=Choisissez votre langue
Author=Auteur Author=Auteur
User=Utilisateur User=Utilisateur

View File

@ -39,6 +39,11 @@ ListOfBookmarks=Liste des marque-pages
NoExportableData=Pas de données exportables (pas de modules avec données exportables chargés, ou manque de permissions) NoExportableData=Pas de données exportables (pas de modules avec données exportables chargés, ou manque de permissions)
ToExport=Exporter ToExport=Exporter
NewExport=Nouvel export NewExport=Nouvel export
CreatedBy=Créé par %s
ModifiedBy=Modifié par %s
ValidatedBy=Validé par %s
CanceledBy=Annulé par %s
ClosedBy=Cloturé par %s
##### Webcal ##### ##### Webcal #####
LoginWebcal=Login Webcalendar LoginWebcal=Login Webcalendar
AddCalendarEntry=Ajouter entrée dans le calendrier AddCalendarEntry=Ajouter entrée dans le calendrier