Ajout traduction

This commit is contained in:
Regis Houssin 2005-12-07 16:13:23 +00:00
parent 86451e86c4
commit 1fd1436c3b
3 changed files with 12 additions and 8 deletions

View File

@ -47,6 +47,8 @@ if (!$user->rights->facture->lire)
accessforbidden(); accessforbidden();
$langs->load('bills'); $langs->load('bills');
$langs->load('products');
$langs->load('main');
$sall=isset($_GET['sall'])?$_GET['sall']:$_POST['sall']; $sall=isset($_GET['sall'])?$_GET['sall']:$_POST['sall'];
if (isset($_GET['msg'])) { $msg=urldecode($_GET['msg']); } if (isset($_GET['msg'])) { $msg=urldecode($_GET['msg']); }
@ -1491,9 +1493,9 @@ else
if ($conf->service->enabled) if ($conf->service->enabled)
{ {
print '<tr '.$bc[$var].'>'; print '<tr '.$bc[$var].'>';
print '<td colspan="9">Si produit de type service à durée limitée: Du '; print '<td colspan="9">'.$langs->trans('ServiceLimitedDuration').' '.$langs->trans('From').' ';
print $html->select_date($objp->date_start,'date_start',0,0,$objp->date_start?0:1); print $html->select_date($objp->date_start,'date_start',0,0,$objp->date_start?0:1);
print ' au '; print ' '.$langs->trans('to').' ';
print $html->select_date($objp->date_end,'date_end',0,0,$objp->date_end?0:1); print $html->select_date($objp->date_end,'date_end',0,0,$objp->date_end?0:1);
print '</td>'; print '</td>';
print '</tr>'; print '</tr>';
@ -1549,9 +1551,9 @@ else
if ($conf->service->enabled) if ($conf->service->enabled)
{ {
print '<tr '.$bc[$var].'>'; print '<tr '.$bc[$var].'>';
print '<td colspan="9">Si produit de type service à durée limitée: Du '; print '<td colspan="9">'.$langs->trans('ServiceLimitedDuration').' '.$langs->trans('From').' ';
print $html->select_date('','date_start',0,0,1); print $html->select_date('','date_start',0,0,1);
print ' au '; print ' '.$langs->trans('to').' ';
print $html->select_date('','date_end',0,0,1); print $html->select_date('','date_end',0,0,1);
print '</td>'; print '</td>';
print '</tr>'; print '</tr>';
@ -1579,9 +1581,9 @@ else
if ($conf->service->enabled) if ($conf->service->enabled)
{ {
print '<tr '.$bc[$var].'>'; print '<tr '.$bc[$var].'>';
print '<td colspan="5">Si produit de type service à durée limitée: Du '; print '<td colspan="5">'.$langs->trans('ServiceLimitedDuration').' '.$langs->trans('From').' ';
print $html->select_date('','date_start',0,0,1); print $html->select_date('','date_start',0,0,1);
print ' au '; print ' '.$langs->trans('to').' ';
print $html->select_date('','date_end',0,0,1); print $html->select_date('','date_end',0,0,1);
print '</td>'; print '</td>';
print '</tr>'; print '</tr>';

View File

@ -66,4 +66,5 @@ BarCode=Barcode
Pack=Pack Pack=Pack
Packs=Packs Packs=Packs
NoteNotVisibleOnBill=Note (not visible on invoices, proposals...) NoteNotVisibleOnBill=Note (not visible on invoices, proposals...)
CreateCopy=Create copy CreateCopy=Create copy
ServiceLimitedDuration=If produced of service type at limited duration:

View File

@ -79,4 +79,5 @@ BarCode=Code barre
Pack=Lot Pack=Lot
Packs=Lots Packs=Lots
NoteNotVisibleOnBill=Note (non visible sur les factures, propals...) NoteNotVisibleOnBill=Note (non visible sur les factures, propals...)
CreateCopy=Créer copie CreateCopy=Créer copie
ServiceLimitedDuration=Si produit de type service à durée limitée :