fix unit trad
This commit is contained in:
parent
19e60f03b9
commit
c8de648924
@ -3266,11 +3266,11 @@ class Form
|
||||
{
|
||||
if ($selected == $res->rowid)
|
||||
{
|
||||
$return.='<option value="'.$res->rowid.'" selected>'.$langs->trans($res->label).'</option>';
|
||||
$return.='<option value="'.$res->rowid.'" selected>'.($langs->trans('unit'.$res->code)!=$res->label?$langs->trans('unit'.$res->code):$res->label).'</option>';
|
||||
}
|
||||
else
|
||||
{
|
||||
$return.='<option value="'.$res->rowid.'">'.$langs->trans($res->label).'</option>';
|
||||
$return.='<option value="'.$res->rowid.'">'.($langs->trans('unit'.$res->code)!=$res->label?$langs->trans('unit'.$res->code):$res->label).'</option>';
|
||||
}
|
||||
}
|
||||
$return.='</select>';
|
||||
|
||||
@ -175,6 +175,18 @@ m2=m²
|
||||
m3=m³
|
||||
liter=liter
|
||||
l=L
|
||||
unitP=Piece
|
||||
unitSET=Set
|
||||
unitS=Second
|
||||
unitH=Hour
|
||||
unitD=Day
|
||||
unitKG=Kilogram
|
||||
unitG=Gram
|
||||
unitM=Meter
|
||||
unitLM=Linear meter
|
||||
unitM2=Square meter
|
||||
unitM3=Cubic meter
|
||||
unitL=Liter
|
||||
ProductCodeModel=Product ref template
|
||||
ServiceCodeModel=Service ref template
|
||||
CurrentProductPrice=Current price
|
||||
|
||||
Loading…
Reference in New Issue
Block a user