Fix: translation

This commit is contained in:
Regis Houssin 2010-01-29 08:05:20 +00:00
parent 29302396c2
commit 35270b1040
2 changed files with 2 additions and 1 deletions

View File

@ -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";
}

View File

@ -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");
}