Trad: Et encore de la traduction

This commit is contained in:
Laurent Destailleur 2004-08-02 02:41:23 +00:00
parent c8f9744cb0
commit 186f60246b
11 changed files with 19 additions and 13 deletions

View File

@ -279,7 +279,7 @@ if ($_socid > 0)
* Commandes
*
*/
print '<table border="0" width="100%" cellspacing="0" cellpadding="1">';
print '<table class="border" width="100%" cellspacing="0" cellpadding="1">';
$sql = "SELECT s.nom, s.idp, p.rowid as propalid, p.total_ht, p.ref, ".$db->pdate("p.date_commande")." as dp";
$sql .= " FROM ".MAIN_DB_PREFIX."societe as s, ".MAIN_DB_PREFIX."commande as p WHERE p.fk_soc = s.idp ";
$sql .= " AND s.idp = $objsoc->id ORDER BY p.date_commande DESC";

View File

@ -90,7 +90,7 @@ if ($conf->propal->enabled) {
print '<table class="noborder" cellspacing="0" cellpadding="3" width="100%">';
print '<tr class="liste_titre"><td colspan="2">Rechercher une proposition</td></tr>';
print "<tr $bc[1]><td>";
print 'Num. : <input type="text" name="sf_ref">&nbsp;<input type="submit" value="'.$langs->trans("Search").'" class="flat"></td></tr>';
print $langs->trans("Ref").' : <input type="text" name="sf_ref">&nbsp;<input type="submit" value="'.$langs->trans("Search").'" class="flat"></td></tr>';
print "</table></form><br>\n";
$sql = "SELECT p.rowid, p.ref";

View File

@ -60,7 +60,7 @@ if ($conf->propal->enabled)
print '<table border="0" cellspacing="0" cellpadding="3" width="100%">';
print '<tr class="liste_titre"><td colspan="2">Rechercher une proposition</td></tr>';
print "<tr $bc[1]><td>";
print 'Num. : <input type="text" name="sf_ref"><input type="submit" value="'.$langs->trans("Search").'" class="flat"></td></tr>';
print $langs->trans("Ref").' : <input type="text" name="sf_ref"><input type="submit" value="'.$langs->trans("Search").'" class="flat"></td></tr>';
print "</table></form><br>\n";
}

View File

@ -23,6 +23,7 @@
require("./pre.inc.php");
$langs->load("orders");
$langs->load("companies");
$user->getrights('commande');
$user->getrights('expedition');
@ -229,7 +230,7 @@ if ($_GET["action"] == 'create')
print '<table class="border" cellspacing="0" cellpadding="3" width="100%">';
print '<tr><td>Client :</td><td>'.$obj->nom.'</td>';
print '<tr><td>'.$langs->trans("Customer").' :</td><td>'.$obj->nom.'</td>';
print '<td class="border">'.$langs->trans("Comments").' :</td></tr>';
print '<tr><td>'.$langs->trans("Author").' :</td><td>'.$user->fullname.'</td>';
@ -450,7 +451,7 @@ else
}
print '<table class="border" cellspacing="0" cellpadding="2" width="100%">';
print "<tr><td>Client</td>";
print "<tr><td>".$langs->trans("Customer")."</td>";
print '<td colspan="2">';
print '<b><a href="'.DOL_URL_ROOT.'/comm/fiche.php?socid='.$soc->id.'">'.$soc->nom.'</a></b></td>';

View File

@ -78,7 +78,7 @@ print '<table class="noborder" cellspacing="0" cellpadding="3" width="100%">';
print "<tr class=\"liste_titre\">";
print '<td colspan="2">Rechercher une facture</td></tr>';
print "<tr $bc[0]><td>";
print 'Num. : <input type="text" name="sf_ref">&nbsp;<input type="submit" value="'.$langs->trans("Search").'" class="flat"></td></tr>';
print $langs->trans("Ref").' : <input type="text" name="sf_ref">&nbsp;<input type="submit" value="'.$langs->trans("Search").'" class="flat"></td></tr>';
print "</table></form>";

View File

@ -35,7 +35,7 @@ print '<form method="post" action="liste.php">';
print '<table class="noborder" cellspacing="0" cellpadding="3" width="100%">';
print '<tr class="liste_titre"><td colspan="2">Rechercher une expédition</td></tr>';
print "<tr $bc[1]><td>";
print 'Num. : <input type="text" name="sf_ref"> <input type="submit" value="'.$langs->trans("Search").'" class="flat"></td></tr>';
print $langs->trans("Ref").' : <input type="text" name="sf_ref"> <input type="submit" value="'.$langs->trans("Search").'" class="flat"></td></tr>';
print "</table></form>\n";
/*

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -49,7 +50,7 @@ if ($user->rights->commande->lire)
$objp = $db->fetch_object( $i);
$info_box_contents[$i][0] = array('align' => 'left',
'text' => $objp->ref,
'text' => img_file()." ".$objp->ref,
'url' => DOL_URL_ROOT."/commande/fiche.php?id=".$objp->rowid);
$info_box_contents[$i][1] = array('align' => 'left',

View File

@ -1,5 +1,6 @@
<?PHP
/* Copyright (C) 2003 Rodolphe Quiedeville <rodolphe@quiedeville.org>
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -50,7 +51,7 @@ if ($user->rights->facture->lire)
$objp = $db->fetch_object( $i);
$info_box_contents[$i][0] = array('align' => 'left',
'text' => $objp->facnumber,
'text' => img_file()." ".$objp->facnumber,
'url' => DOL_URL_ROOT."/compta/facture.php?facid=".$objp->facid);
$info_box_contents[$i][1] = array('align' => 'left',

View File

@ -6,4 +6,5 @@ OrdersToValid=Orders to valid
OrdersToBill=Orders to bill
OrdersInProcess=Orders in process
OrdersToProcess=Orders to process
SearchOrder=Search order
SearchOrder=Search order
Sendings=Sendings

View File

@ -6,4 +6,5 @@ OrdersToValid=Commandes
OrdersToBill=Commandes à facturer
OrdersInProcess=Commandes en traitement
OrdersToProcess=Commandes à traiter
SearchOrder=Rechercher une commande
SearchOrder=Rechercher une commande
Sendings=Expéditions

View File

@ -109,9 +109,10 @@ function llxHeader($head = "") {
if ($conf->commande->enabled)
{
$menu->add(DOL_URL_ROOT."/commande/index.php", "Commandes");
$langs->load("orders");
$menu->add(DOL_URL_ROOT."/commande/index.php", $langs->trans("Orders"));
if ($conf->expedition->enabled) {
$menu->add_submenu(DOL_URL_ROOT."/expedition/index.php", "Expéditions");
$menu->add_submenu(DOL_URL_ROOT."/expedition/index.php", $langs->trans("Sendings"));
}
}