Fix: translation
This commit is contained in:
parent
29302396c2
commit
35270b1040
@ -1623,7 +1623,7 @@ if ($_GET['action'] == 'create')
|
||||
print '<tr height="18"><td width="16px" valign="middle">';
|
||||
print '<input type="radio" name="type" value="4"'.($_POST['type']==4?' checked="true"':'').'>';
|
||||
print '</td><td valign="middle">';
|
||||
$desc=$html->textwithpicto($langs->trans("InvoiceProformat"),$langs->transnoentities("InvoiceProformatDesc"),1);
|
||||
$desc=$html->textwithpicto($langs->trans("InvoiceProFormat"),$langs->transnoentities("InvoiceProFormatDesc"),1);
|
||||
print $desc;
|
||||
print '</td></tr>'."\n";
|
||||
}
|
||||
|
||||
@ -2021,6 +2021,7 @@ class Facture extends CommonObject
|
||||
if ($this->type == 1) return $langs->trans("InvoiceReplacement");
|
||||
if ($this->type == 2) return $langs->trans("InvoiceAvoir");
|
||||
if ($this->type == 3) return $langs->trans("InvoiceDeposit");
|
||||
if ($this->type == 4) return $langs->trans("InvoiceProFormat");
|
||||
return $langs->trans("Unknown");
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user