fix : missing translation

This commit is contained in:
Philippe GRAND 2014-08-27 11:34:24 +02:00
parent 4405f17f22
commit 61ae2f3f37
2 changed files with 3 additions and 2 deletions

View File

@ -80,11 +80,12 @@ ContractStatusClosed=Closed
ContractStatusRunning=Running ContractStatusRunning=Running
ContractStatusExpired=expired ContractStatusExpired=expired
ContractStatusOnHold=Not running ContractStatusOnHold=Not running
ContractStatusToRun=A mettre en service ContractStatusToRun=To get running
ContractNotRunning=This contract is not running ContractNotRunning=This contract is not running
ErrorProductAlreadyExists=A product with reference %s already exists. ErrorProductAlreadyExists=A product with reference %s already exists.
ErrorProductBadRefOrLabel=Wrong value for reference or label. ErrorProductBadRefOrLabel=Wrong value for reference or label.
ErrorProductClone=There was a problem while trying to clone the product or service. ErrorProductClone=There was a problem while trying to clone the product or service.
ErrorPriceCantBeLowerThanMinPrice=Error Price Can't Be Lower Than Minimum Price.
Suppliers=Suppliers Suppliers=Suppliers
SupplierRef=Supplier's product ref. SupplierRef=Supplier's product ref.
ShowProduct=Show product ShowProduct=Show product

View File

@ -1213,7 +1213,7 @@ class Product extends CommonObject
if ($newvat == '') $newvat=$this->tva_tx; if ($newvat == '') $newvat=$this->tva_tx;
if (! empty($newminprice) && ($newminprice > $newprice)) if (! empty($newminprice) && ($newminprice > $newprice))
{ {
$this->error='ErrorPricCanBeLowerThanMinPrice'; $this->error='ErrorPriceCantBeLowerThanMinPrice';
return -1; return -1;
} }