Trad: Traduction de toutes les chaines "Auteur" dans toutes les pages.

This commit is contained in:
Laurent Destailleur 2004-08-02 02:12:01 +00:00
parent 3d3e9a0faa
commit 784f9da482
17 changed files with 50 additions and 47 deletions

View File

@ -313,8 +313,8 @@ if ($_GET["id"])
print '<td width="20%">Contact</td><td width="30%">';
$html->select_array("scontactid", $act->societe->contact_array(), $act->contact->id, 1);
print '</td></tr>';
print '<tr><td>Date</td><td>'.strftime('%d %B %Y %H:%M',$act->date).'</td>';
print '<td>Auteur</td><td>'.$act->author->fullname.'</td></tr>';
print '<tr><td>'.$langs->trans("Author").'</td><td>'.strftime('%d %B %Y %H:%M',$act->date).'</td>';
print '<td>'.$langs->trans("Author").'</td><td>'.$act->author->fullname.'</td></tr>';
print '<tr><td>Pourcentage réalisé</td><td colspan="3"><input name="percent" value="'.$act->percent.'">%</td></tr>';
if ($act->objet_url)
{
@ -340,8 +340,8 @@ if ($_GET["id"])
print '<td width="30%"><a href="../fiche.php?socid='.$act->societe->id.'">'.$act->societe->nom.'</a></td>';
print '<td width="10%">Contact</td><td width="40%">'.$act->contact->fullname.'</td></tr>';
print '<tr><td>Date</td><td>'.strftime('%d %B %Y %H:%M',$act->date).'</td>';
print '<td>Auteur</td><td>'.$act->author->fullname.'</td></tr>';
print '<tr><td>'.$langs->trans("Author").'</td><td>'.strftime('%d %B %Y %H:%M',$act->date).'</td>';
print '<td>'.$langs->trans("Author").'</td><td>'.$act->author->fullname.'</td></tr>';
print '<tr><td>Pourcentage réalisé</td><td colspan="4">'.$act->percent.' %</td></tr>';
if ($act->objet_url)
{

View File

@ -159,14 +159,14 @@ if ( $db->query($sql) )
print_barre_liste("Liste des actions commerciales réalisées ou à faire", $page, "index.php",'',$sortfield,$sortorder,'',$num);
}
$i = 0;
print "<table class=\"noborder\" width=\"100%\" cellspacing=\"0\" cellpadding=\"4\">";
print "<table class=\"noborder\" width=\"100%\" cellspacing=\"0\" cellpadding=\"3\">";
print '<tr class="liste_titre">';
print '<td colspan="4">Date</td>';
print '<td colspan="4">'.$langs->trans("Date").'</td>';
print '<td>Avancement</td>';
print '<td>Action</td>';
print '<td>Société</td>';
print '<td>Contact</Td>';
print "<td>Commentaires</td><td>Auteur</td>";
print "<td>".$langs->trans("Comments")."</td><td>".$langs->trans("Author")."</td>";
print "</tr>\n";
$var=True;
while ($i < min($num,$limit))

View File

@ -79,18 +79,18 @@ if ( $db->query($sql) )
{
$sortorder="DESC";
}
print "<p><TABLE border=\"0\" width=\"100%\" cellspacing=\"0\" cellpadding=\"4\">";
print "<TR bgcolor=\"orange\">";
print "<TD>&nbsp;</TD>";
print "<TD align=\"center\"><a href=\"index.php?sortfield=idp&sortorder=$sortorder&begin=$begin\">Id</a></TD>";
print "<TD><a href=\"index.php?sortfield=lower(s.nom)&sortorder=$sortorder&begin=$begin\">Societe</a></td>";
print "<p><table class=\"noborder\" width=\"100%\" cellspacing=\"0\" cellpadding=\"3\">";
print "<tr class=\"liste_titre\">";
print "<td>&nbsp;</td>";
print "<td align=\"center\"><a href=\"index.php?sortfield=idp&sortorder=$sortorder&begin=$begin\">Id</a></td>";
print "<td><a href=\"index.php?sortfield=lower(s.nom)&sortorder=$sortorder&begin=$begin\">Societe</a></td>";
print "<TD align=\"center\">Statut</TD>";
print "<TD>Auteur</TD>";
print "<TD>Date</TD>";
print "<td align=\"center\">Statut</td>";
print "<td>".$langs->trans("Author")."</td>";
print "<td>".$langs->trans("Date")."</td>";
print "<TD>&nbsp;</TD>";
print "</TR>\n";
print "<td>&nbsp;</td>";
print "</tr>\n";
$var=True;
while ($i < $num)
{

View File

@ -310,7 +310,7 @@ if ($_GET["propalid"])
}
print '</td>';
print '<td>Auteur</td><td>';
print '<td>'.$langs->trans("Author").'</td><td>';
$author = new User($db, $obj->fk_user_author);
$author->fetch('');
print $author->fullname.'</td></tr>';
@ -737,7 +737,7 @@ if ($_GET["propalid"])
print_titre("Propale envoyée");
print '<table class="border" width="100%" cellspacing="0" cellpadding="3">';
print "<tr><td>Date</td><td>Auteur</td></TR>\n";
print "<tr><td>".$langs->trans("Date")."</td><td>".$langs->trans("Author")."</td></TR>\n";
while ($i < $num)

View File

@ -104,7 +104,7 @@ if ($_GET["propalid"])
}
print '</td>';
print '<td>Auteur</td><td>';
print '<td>'.$langs->trans("Author").'</td><td>';
$author = new User($db, $propal->user_author_id);
$author->fetch('');
print $author->fullname.'</td></tr>';

View File

@ -230,9 +230,9 @@ if ($_GET["action"] == 'create')
print '<table class="border" cellspacing="0" cellpadding="3" width="100%">';
print '<tr><td>Client :</td><td>'.$obj->nom.'</td>';
print '<td class="border">Commentaire</td></tr>';
print '<td class="border">'.$langs->trans("Comments").' :</td></tr>';
print "<tr><td>Auteur :</td><td>".$user->fullname."</td>";
print '<tr><td>'.$langs->trans("Author").' :</td><td>'.$user->fullname.'</td>';
print '<td rowspan="5" valign="top">';
print '<textarea name="note" wrap="soft" cols="60" rows="8"></textarea></td></tr>';
@ -458,7 +458,7 @@ else
print $commande->statuts[$commande->statut];
print "</td></tr>";
print "<tr><td>Date</td>";
print '<tr><td>'.$langs->trans("Date").'</td>';
print "<td colspan=\"2\">".strftime("%A %d %B %Y",$commande->date)."</td>\n";
print '<td width="50%">Source : ' . $commande->sources[$commande->source] ;
@ -471,7 +471,7 @@ else
}
print "</td></tr>";
print "<tr><td>Auteur</td><td colspan=\"2\">$author->fullname</td>";
print '<tr><td>'.$langs->trans("Author").'</td><td colspan="2">'.$author->fullname.'</td>';
print '<td>Projet : ';
if ($commande->projet_id > 0)

View File

@ -126,12 +126,12 @@ if ($action == 'delete_categ')
print_titre("Edition de la ligne");
print '<table class="border" width="100%" cellspacing="0" cellpadding="2">';
print "<TR class=\"liste_titre\">";
print "<td>Date</td><td>Description</TD>";
print "<td align=\"right\">Debit</TD>";
print "<td align=\"right\">Credit</TD>";
print "<td align=\"center\">Releve</TD>";
print "<td align=\"center\">Auteur</TD>";
print "<tr class=\"liste_titre\">";
print "<td>Date</td><td>Description</td>";
print "<td align=\"right\">Debit</td>";
print "<td align=\"right\">Credit</td>";
print "<td align=\"center\">Releve</td>";
print "<td align=\"center\">".$langs->trans("Author")."</td>";
print "</TR>\n";

View File

@ -105,7 +105,7 @@ if ($_GET["id"] > 0)
}
print "</td></tr>";
print "<tr><td>Auteur</td><td colspan=\"2\">$author->fullname</td>";
print "<tr><td>".$langs->trans("Author")."</td><td colspan=\"2\">$author->fullname</td>";
print '<td>Projet : ';
if ($commande->projet_id > 0)

View File

@ -454,7 +454,7 @@ if ($_GET["action"] == 'create')
print '<tr><td>Client :</td><td>'.$soc->nom.'</td>';
print '<td class="border">Commentaire</td></tr>';
print "<tr><td>Auteur :</td><td>".$user->fullname."</td>";
print "<tr><td>".$langs->trans("Author")." :</td><td>".$user->fullname."</td>";
print '<td rowspan="6" valign="top">';
print '<textarea name="note" wrap="soft" cols="60" rows="8"></textarea></td></tr>';
@ -863,7 +863,7 @@ else
print "</td></tr>";
print "<tr><td height=\"10\">Auteur</td><td colspan=\"3\">$author->fullname</td>";
print "<tr><td height=\"10\">".$langs->trans("Author")."</td><td colspan=\"3\">$author->fullname</td>";
print '<tr><td height=\"10\">Remise globale</td>';
print '<td align="right" colspan="2">'.$fac->remise_percent.'</td>';

View File

@ -107,7 +107,7 @@ if ($_GET["action"] == 'create')
print '<td rowspan="4" valign="top">';
print '<textarea name="note" wrap="soft" cols="60" rows="8"></textarea></td></tr>';
print "<tr><td>Auteur :</td><td>".$user->fullname."</td></tr>";
print "<tr><td>".$langs->trans("Author")." :</td><td>".$user->fullname."</td></tr>";
print "<tr><td>Conditions de réglement :</td><td>";
print $facture->cond_reglement;
@ -271,7 +271,7 @@ else
print "<td>Conditions de réglement : " . $fac->cond_reglement ."</td></tr>";
print "<tr><td>Auteur</td><td colspan=\"3\">$author->fullname</td>";
print "<tr><td>".$langs->trans("Author")."</td><td colspan=\"3\">$author->fullname</td>";
if ($fac->remise_percent > 0)
{

View File

@ -107,7 +107,7 @@ if ($_GET["facid"])
}
print '</td>';
print '<td>Auteur</td><td>';
print '<td>'.$langs->trans("Author").'</td><td>';
$author = new User($db, $facture->user_author);
$author->fetch('');
print $author->fullname.'</td></tr>';

View File

@ -159,7 +159,7 @@ if ($_GET["propalid"])
/*
*
*/
print '<tr><td>Auteur</td><td colspan="2">';
print '<tr><td>'.$langs->trans("Author").'</td><td colspan="2">';
$author = new User($db, $obj->fk_user_author);
$author->fetch('');
print $author->fullname.'</td></tr>';
@ -225,8 +225,8 @@ if ($_GET["propalid"])
print '<table class="border" width="100%" cellspacing="0" cellpadding="3">';
print "<tr>";
print "<td>Numéro</td>";
print "<td>Date</td>";
print "<td>Auteur</td>";
print '<td>'.$langs->trans("Date").'</td>';
print '<td>'.$langs->trans("Author").'</td>';
print '<td align="right">Prix</td>';
print "</tr>\n";

View File

@ -150,7 +150,7 @@ if ($_POST["action"] == 'create')
$ents = $entrepot->list_array();
print $ents[$_POST["entrepot_id"]];
print '</td>';
print "<td>Auteur</td><td>$author->fullname</td>\n";
print "<td>".$langs->trans("Author")."</td><td>$author->fullname</td>\n";
if ($commande->note)
{
@ -326,7 +326,7 @@ else
print '<td width="30%">';
print '<b><a href="'.DOL_URL_ROOT.'/comm/fiche.php?socid='.$soc->id.'">'.$soc->nom.'</a></b></td>';
print '<td width="20%">Auteur</td><td width="30%">'.$author->fullname.'</td>';
print '<td width="20%">'.$langs->trans("Author").'</td><td width="30%">'.$author->fullname.'</td>';
print "</tr>";

View File

@ -236,7 +236,7 @@ if ($_GET["action"] == 'create' or $_GET["action"] == 'copy')
$html->select_date();
print '</td></tr>';
print '<tr><td>Auteur</td><td>'.$user->fullname.'</td></tr>';
print '<tr><td>'.$langs->trans("Author").'</td><td>'.$user->fullname.'</td></tr>';
print "</table><br>";
print '<table cellspacing="0" cellpadding="3" class="border" width="100%">';
@ -322,7 +322,7 @@ else
$author->fetch('');
$authorfullname=$author->fullname;
}
print "<tr><td>Auteur</td><td>$authorfullname</td></tr>";
print "<tr><td>".$langs->trans("Author")."</td><td>$authorfullname</td></tr>";
print "<tr><td>Statut</td><td>".$fac->LibStatut($fac->paye,$fac->statut)."</td></tr>";
print "<tr><td colspan=\"2\" align=\"center\"><input type=\"submit\" value=\"Enregistrer\"></td></tr>";
print "</table>";
@ -407,7 +407,7 @@ else
$author->fetch('');
$authorfullname=$author->fullname;
}
print "<tr><td>Auteur</td><td colspan=\"4\">$authorfullname</td>";
print "<tr><td>".$langs->trans("Author")."</td><td colspan=\"4\">$authorfullname</td>";
print "<tr><td>Statut</td><td colspan=\"4\">".$fac->LibStatut($fac->paye,$fac->statut)."</td></tr>";
print "<tr>".'<td>&nbsp</td><td>'.$langs->trans("TotalHT").'</td><td align="right"><b>'.price($fac->total_ht)."</b></td>";

View File

@ -70,4 +70,5 @@ Option=Option
List=List
Statistics=Statistics
Status=Status
Ref=Ref
Ref=Ref
Comments=Comments

View File

@ -70,4 +70,5 @@ Option=Option
List=Liste
Statistics=Statistiques
Status=Statut
Ref=Réf
Ref=Réf
Comments=Commentaires

View File

@ -70,4 +70,5 @@ Option=Option
List=Liste
Statistics=Statistiques
Status=Statut
Ref=Réf
Ref=Réf
Comments=Commentaires