Fix translation of button action must be a verb
This commit is contained in:
parent
8c307987d8
commit
d549090290
@ -2338,9 +2338,9 @@ elseif (! empty($object->id))
|
|||||||
{
|
{
|
||||||
if (in_array($object->statut, array(3,4))) {
|
if (in_array($object->statut, array(3,4))) {
|
||||||
if ($conf->fournisseur->enabled && $user->rights->fournisseur->commande->receptionner) {
|
if ($conf->fournisseur->enabled && $user->rights->fournisseur->commande->receptionner) {
|
||||||
print '<div class="inline-block divButAction"><a class="butAction" href="' . DOL_URL_ROOT . '/fourn/commande/dispatch.php?id=' . $object->id . '">' . $langs->trans('OrderDispatch') . '</a></div>';
|
print '<div class="inline-block divButAction"><a class="butAction" href="' . DOL_URL_ROOT . '/fourn/commande/dispatch.php?id=' . $object->id . '">' . $langs->trans('ReceiveProducts') . '</a></div>';
|
||||||
} else {
|
} else {
|
||||||
print '<div class="inline-block divButAction"><a class="butActionRefused" href="#" title="' . dol_escape_htmltag($langs->trans("NotAllowed")) . '">' . $langs->trans('OrderDispatch') . '</a></div>';
|
print '<div class="inline-block divButAction"><a class="butActionRefused" href="#" title="' . dol_escape_htmltag($langs->trans("NotAllowed")) . '">' . $langs->trans('ReceiveProducts') . '</a></div>';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -203,3 +203,4 @@ RegulateStock=Regulate Stock
|
|||||||
ListInventory=List
|
ListInventory=List
|
||||||
StockSupportServices=Stock management support services
|
StockSupportServices=Stock management support services
|
||||||
StockSupportServicesDesc=By default, you can stock only product with type "product". If on, and if module service is on, you can also stock a product with type "service"
|
StockSupportServicesDesc=By default, you can stock only product with type "product". If on, and if module service is on, you can also stock a product with type "service"
|
||||||
|
ReceiveProducts=Receive products
|
||||||
Loading…
Reference in New Issue
Block a user