Fix trans
This commit is contained in:
parent
e48a4c40a1
commit
6a41c806f5
2 changed files with 5 additions and 1 deletions
|
|
@ -24,7 +24,7 @@
|
|||
*
|
||||
* $trackid must be defined
|
||||
* $modelmail
|
||||
* $defaulttopic
|
||||
* $defaulttopic and $defaulttopiclang
|
||||
* $diroutput
|
||||
* $arrayoffamiliestoexclude=array('system', 'mycompany', 'object', 'objectamount', 'date', 'user', ...);
|
||||
*/
|
||||
|
|
@ -77,6 +77,9 @@ if ($action == 'presend') {
|
|||
$outputlangs->setDefaultLang($newlang);
|
||||
// Load traductions files required by page
|
||||
$outputlangs->loadLangs(array('commercial', 'bills', 'orders', 'contracts', 'members', 'propal', 'products', 'supplier_proposal', 'interventions', 'receptions', 'sendings'));
|
||||
if (!empty($defaulttopiclang)) {
|
||||
$outputlangs->loadLangs(array($defaulttopiclang));
|
||||
}
|
||||
}
|
||||
|
||||
$topicmail = '';
|
||||
|
|
|
|||
|
|
@ -1631,6 +1631,7 @@ if ($action == 'create' && $user->rights->projet->creer) {
|
|||
// Presend form
|
||||
$modelmail = 'project';
|
||||
$defaulttopic = 'SendProjectRef';
|
||||
$defaulttopiclang = 'projects';
|
||||
$diroutput = $conf->project->multidir_output[$object->entity];
|
||||
$autocopy = 'MAIN_MAIL_AUTOCOPY_PROJECT_TO'; // used to know the automatic BCC to add
|
||||
$trackid = 'proj'.$object->id;
|
||||
|
|
|
|||
Loading…
Reference in a new issue