Add missing langs

This commit is contained in:
Laurent Destailleur 2015-04-13 09:24:39 +02:00
parent e036e7baf4
commit 0e81dc7c6c

View File

@ -79,6 +79,7 @@ class InterfaceActionsAuto extends DolibarrTriggers
if ($action == 'COMPANY_CREATE') if ($action == 'COMPANY_CREATE')
{ {
$langs->load("other"); $langs->load("other");
$langs->load("companies");
$object->actiontypecode='AC_OTH_AUTO'; $object->actiontypecode='AC_OTH_AUTO';
if (empty($object->actionmsg2)) $object->actionmsg2=$langs->transnoentities("NewCompanyToDolibarr",$object->name); if (empty($object->actionmsg2)) $object->actionmsg2=$langs->transnoentities("NewCompanyToDolibarr",$object->name);
@ -91,6 +92,7 @@ class InterfaceActionsAuto extends DolibarrTriggers
} }
elseif ($action == 'COMPANY_SENTBYMAIL') elseif ($action == 'COMPANY_SENTBYMAIL')
{ {
$langs->load("other");
$langs->load("orders"); $langs->load("orders");
if (empty($object->actiontypecode)) $object->actiontypecode='AC_OTH_AUTO'; if (empty($object->actiontypecode)) $object->actiontypecode='AC_OTH_AUTO';
@ -114,6 +116,7 @@ class InterfaceActionsAuto extends DolibarrTriggers
} }
elseif ($action == 'PROPAL_VALIDATE') elseif ($action == 'PROPAL_VALIDATE')
{ {
$langs->load("other");
$langs->load("propal"); $langs->load("propal");
$object->actiontypecode='AC_OTH_AUTO'; $object->actiontypecode='AC_OTH_AUTO';
@ -125,6 +128,7 @@ class InterfaceActionsAuto extends DolibarrTriggers
} }
elseif ($action == 'PROPAL_SENTBYMAIL') elseif ($action == 'PROPAL_SENTBYMAIL')
{ {
$langs->load("other");
$langs->load("propal"); $langs->load("propal");
$object->actiontypecode='AC_OTH_AUTO'; $object->actiontypecode='AC_OTH_AUTO';
@ -140,6 +144,7 @@ class InterfaceActionsAuto extends DolibarrTriggers
} }
elseif ($action == 'PROPAL_CLOSE_SIGNED') elseif ($action == 'PROPAL_CLOSE_SIGNED')
{ {
$langs->load("other");
$langs->load("propal"); $langs->load("propal");
$object->actiontypecode='AC_OTH_AUTO'; $object->actiontypecode='AC_OTH_AUTO';
@ -151,6 +156,7 @@ class InterfaceActionsAuto extends DolibarrTriggers
} }
elseif ($action == 'PROPAL_CLASSIFY_BILLED') elseif ($action == 'PROPAL_CLASSIFY_BILLED')
{ {
$langs->load("other");
$langs->load("propal"); $langs->load("propal");
$object->actiontypecode='AC_OTH_AUTO'; $object->actiontypecode='AC_OTH_AUTO';
@ -162,6 +168,7 @@ class InterfaceActionsAuto extends DolibarrTriggers
} }
elseif ($action == 'PROPAL_CLOSE_REFUSED') elseif ($action == 'PROPAL_CLOSE_REFUSED')
{ {
$langs->load("other");
$langs->load("propal"); $langs->load("propal");
$object->actiontypecode='AC_OTH_AUTO'; $object->actiontypecode='AC_OTH_AUTO';
@ -184,6 +191,7 @@ class InterfaceActionsAuto extends DolibarrTriggers
} }
elseif ($action == 'ORDER_CLOSE') elseif ($action == 'ORDER_CLOSE')
{ {
$langs->load("other");
$langs->load("orders"); $langs->load("orders");
$object->actiontypecode='AC_OTH_AUTO'; $object->actiontypecode='AC_OTH_AUTO';
@ -195,6 +203,7 @@ class InterfaceActionsAuto extends DolibarrTriggers
} }
elseif ($action == 'ORDER_CLASSIFY_BILLED') elseif ($action == 'ORDER_CLASSIFY_BILLED')
{ {
$langs->load("other");
$langs->load("orders"); $langs->load("orders");
$object->actiontypecode='AC_OTH_AUTO'; $object->actiontypecode='AC_OTH_AUTO';
@ -206,6 +215,7 @@ class InterfaceActionsAuto extends DolibarrTriggers
} }
elseif ($action == 'ORDER_CANCEL') elseif ($action == 'ORDER_CANCEL')
{ {
$langs->load("other");
$langs->load("orders"); $langs->load("orders");
$object->actiontypecode='AC_OTH_AUTO'; $object->actiontypecode='AC_OTH_AUTO';
@ -217,6 +227,7 @@ class InterfaceActionsAuto extends DolibarrTriggers
} }
elseif ($action == 'ORDER_SENTBYMAIL') elseif ($action == 'ORDER_SENTBYMAIL')
{ {
$langs->load("other");
$langs->load("orders"); $langs->load("orders");
$object->actiontypecode='AC_OTH_AUTO'; $object->actiontypecode='AC_OTH_AUTO';
@ -421,6 +432,7 @@ class InterfaceActionsAuto extends DolibarrTriggers
} }
elseif ($action == 'ORDER_SUPPLIER_VALIDATE') elseif ($action == 'ORDER_SUPPLIER_VALIDATE')
{ {
$langs->load("other");
$langs->load("orders"); $langs->load("orders");
$object->actiontypecode='AC_OTH_AUTO'; $object->actiontypecode='AC_OTH_AUTO';
@ -432,6 +444,7 @@ class InterfaceActionsAuto extends DolibarrTriggers
} }
elseif ($action == 'ORDER_SUPPLIER_APPROVE') elseif ($action == 'ORDER_SUPPLIER_APPROVE')
{ {
$langs->load("other");
$langs->load("orders"); $langs->load("orders");
$object->actiontypecode='AC_OTH_AUTO'; $object->actiontypecode='AC_OTH_AUTO';
@ -443,6 +456,7 @@ class InterfaceActionsAuto extends DolibarrTriggers
} }
elseif ($action == 'ORDER_SUPPLIER_REFUSE') elseif ($action == 'ORDER_SUPPLIER_REFUSE')
{ {
$langs->load("other");
$langs->load("orders"); $langs->load("orders");
$object->actiontypecode='AC_OTH_AUTO'; $object->actiontypecode='AC_OTH_AUTO';