fix unit trad
This commit is contained in:
parent
19e60f03b9
commit
c8de648924
@ -3266,11 +3266,11 @@ class Form
|
|||||||
{
|
{
|
||||||
if ($selected == $res->rowid)
|
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
|
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>';
|
$return.='</select>';
|
||||||
|
|||||||
@ -175,6 +175,18 @@ m2=m²
|
|||||||
m3=m³
|
m3=m³
|
||||||
liter=liter
|
liter=liter
|
||||||
l=L
|
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
|
ProductCodeModel=Product ref template
|
||||||
ServiceCodeModel=Service ref template
|
ServiceCodeModel=Service ref template
|
||||||
CurrentProductPrice=Current price
|
CurrentProductPrice=Current price
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user