Merge pull request #892 from marcosgdf/expedition-translations

Corrected incorrect lang trans key
This commit is contained in:
Laurent Destailleur 2013-04-27 12:51:52 -07:00
commit ab668f0f07
2 changed files with 2 additions and 1 deletions

View File

@ -2084,6 +2084,7 @@ if ($action == 'create')
$newclassname=$classname;
if ($newclassname == 'Propal') $newclassname = 'CommercialProposal';
elseif ($newclassname == 'Commande') $newclassname = 'Order';
elseif ($newclassname == 'Expedition') $newclassname = 'Sending';
print '<tr><td>'.$langs->trans($newclassname).'</td><td colspan="2">'.$objectsrc->getNomUrl(1).'</td></tr>';
print '<tr><td>'.$langs->trans('TotalHT').'</td><td colspan="2">'.price($objectsrc->total_ht).'</td></tr>';

View File

@ -33,7 +33,7 @@ print_titre($langs->trans('RelatedShippings'));
<tr class="liste_titre">
<td><?php echo $langs->trans("Ref"); ?></td>
<td align="center"><?php echo $langs->trans("Date"); ?></td>
<td align="center"><?php echo $langs->trans("DateSendingShort"); ?></td>
<td align="center"><?php echo $langs->trans("DateDeliveryPlanned"); ?></td>
<td align="right"><?php echo $langs->trans("AmountHTShort"); ?></td>
<td align="right"><?php echo $langs->trans("Status"); ?></td>
</tr>