From 784f9da482bc88402dfe7d3e557f6eb3b6b3a3e5 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 2 Aug 2004 02:12:01 +0000 Subject: [PATCH] Trad: Traduction de toutes les chaines "Auteur" dans toutes les pages. --- htdocs/comm/action/fiche.php | 8 ++++---- htdocs/comm/action/index.php | 6 +++--- htdocs/comm/bookmark.php | 20 ++++++++++---------- htdocs/comm/propal.php | 4 ++-- htdocs/comm/propal/note.php | 2 +- htdocs/commande/fiche.php | 8 ++++---- htdocs/compta/bank/ligne.php | 12 ++++++------ htdocs/compta/commande.php | 2 +- htdocs/compta/facture.php | 4 ++-- htdocs/compta/facture/fiche-rec.php | 4 ++-- htdocs/compta/facture/note.php | 2 +- htdocs/compta/propal.php | 6 +++--- htdocs/expedition/fiche.php | 4 ++-- htdocs/fourn/facture/fiche.php | 6 +++--- htdocs/langs/en_US/main.lang | 3 ++- htdocs/langs/fr_BE/main.lang | 3 ++- htdocs/langs/fr_FR/main.lang | 3 ++- 17 files changed, 50 insertions(+), 47 deletions(-) diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php index e841f1a0da0..c7973bba5df 100644 --- a/htdocs/comm/action/fiche.php +++ b/htdocs/comm/action/fiche.php @@ -313,8 +313,8 @@ if ($_GET["id"]) print 'Contact'; $html->select_array("scontactid", $act->societe->contact_array(), $act->contact->id, 1); print ''; - print 'Date'.strftime('%d %B %Y %H:%M',$act->date).''; - print 'Auteur'.$act->author->fullname.''; + print ''.$langs->trans("Author").''.strftime('%d %B %Y %H:%M',$act->date).''; + print ''.$langs->trans("Author").''.$act->author->fullname.''; print 'Pourcentage réalisé%'; if ($act->objet_url) { @@ -340,8 +340,8 @@ if ($_GET["id"]) print ''.$act->societe->nom.''; print 'Contact'.$act->contact->fullname.''; - print 'Date'.strftime('%d %B %Y %H:%M',$act->date).''; - print 'Auteur'.$act->author->fullname.''; + print ''.$langs->trans("Author").''.strftime('%d %B %Y %H:%M',$act->date).''; + print ''.$langs->trans("Author").''.$act->author->fullname.''; print 'Pourcentage réalisé'.$act->percent.' %'; if ($act->objet_url) { diff --git a/htdocs/comm/action/index.php b/htdocs/comm/action/index.php index 610c0e43223..f4961dde630 100644 --- a/htdocs/comm/action/index.php +++ b/htdocs/comm/action/index.php @@ -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 ""; + print "
"; print ''; - print ''; + print ''; print ''; print ''; print ''; print ''; - print ""; + print ""; print "\n"; $var=True; while ($i < min($num,$limit)) diff --git a/htdocs/comm/bookmark.php b/htdocs/comm/bookmark.php index 80a29b6b064..fee5c71d10a 100644 --- a/htdocs/comm/bookmark.php +++ b/htdocs/comm/bookmark.php @@ -79,18 +79,18 @@ if ( $db->query($sql) ) { $sortorder="DESC"; } - print "

Date'.$langs->trans("Date").'AvancementActionSociétéContactCommentairesAuteur".$langs->trans("Comments")."".$langs->trans("Author")."
"; - print ""; - print ""; - print ""; - print ""; + print "

 IdSociete
"; + print ""; + print ""; + print ""; + print ""; - print ""; - print ""; - print ""; + print ""; + print ""; + print ""; - print ""; - print "\n"; + print ""; + print "\n"; $var=True; while ($i < $num) { diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php index 0df5d022b39..249def8b87e 100644 --- a/htdocs/comm/propal.php +++ b/htdocs/comm/propal.php @@ -310,7 +310,7 @@ if ($_GET["propalid"]) } print ''; - print ''; @@ -737,7 +737,7 @@ if ($_GET["propalid"]) print_titre("Propale envoyée"); print '
 IdSocieteStatutAuteurDateStatut".$langs->trans("Author")."".$langs->trans("Date")." 
 
Auteur'; + print ''.$langs->trans("Author").''; $author = new User($db, $obj->fk_user_author); $author->fetch(''); print $author->fullname.'
'; - print "\n"; + print "\n"; while ($i < $num) diff --git a/htdocs/comm/propal/note.php b/htdocs/comm/propal/note.php index ffdc2d3a616..0792527ae22 100644 --- a/htdocs/comm/propal/note.php +++ b/htdocs/comm/propal/note.php @@ -104,7 +104,7 @@ if ($_GET["propalid"]) } print ''; - print ''; diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index 4af72e9d4d7..4ddbef767fe 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -230,9 +230,9 @@ if ($_GET["action"] == 'create') print '
DateAuteur
".$langs->trans("Date")."".$langs->trans("Author")."
Auteur'; + print ''.$langs->trans("Author").''; $author = new User($db, $propal->user_author_id); $author->fetch(''); print $author->fullname.'
'; print ''; - print ''; + print ''; - print ""; + print ''; print ''; @@ -458,7 +458,7 @@ else print $commande->statuts[$commande->statut]; print ""; - print ""; + print ''; print "\n"; print '"; - print ""; + print ''; print '"; + print ""; print ""; print "".'"; diff --git a/htdocs/langs/en_US/main.lang b/htdocs/langs/en_US/main.lang index 9bb44ca6d76..1682faf53c8 100644 --- a/htdocs/langs/en_US/main.lang +++ b/htdocs/langs/en_US/main.lang @@ -70,4 +70,5 @@ Option=Option List=List Statistics=Statistics Status=Status -Ref=Ref \ No newline at end of file +Ref=Ref +Comments=Comments \ No newline at end of file diff --git a/htdocs/langs/fr_BE/main.lang b/htdocs/langs/fr_BE/main.lang index ab272b403d8..be60c432ce1 100644 --- a/htdocs/langs/fr_BE/main.lang +++ b/htdocs/langs/fr_BE/main.lang @@ -70,4 +70,5 @@ Option=Option List=Liste Statistics=Statistiques Status=Statut -Ref=Réf \ No newline at end of file +Ref=Réf +Comments=Commentaires \ No newline at end of file diff --git a/htdocs/langs/fr_FR/main.lang b/htdocs/langs/fr_FR/main.lang index b8abe3fa5d6..264b9443035 100644 --- a/htdocs/langs/fr_FR/main.lang +++ b/htdocs/langs/fr_FR/main.lang @@ -70,4 +70,5 @@ Option=Option List=Liste Statistics=Statistiques Status=Statut -Ref=Réf \ No newline at end of file +Ref=Réf +Comments=Commentaires \ No newline at end of file
Client :'.$obj->nom.'Commentaire
'.$langs->trans("Comments").' :
Auteur :".$user->fullname."
'.$langs->trans("Author").' :'.$user->fullname.''; print '
Date
'.$langs->trans("Date").'".strftime("%A %d %B %Y",$commande->date)."Source : ' . $commande->sources[$commande->source] ; @@ -471,7 +471,7 @@ else } print "
Auteur$author->fullname
'.$langs->trans("Author").''.$author->fullname.'Projet : '; if ($commande->projet_id > 0) diff --git a/htdocs/compta/bank/ligne.php b/htdocs/compta/bank/ligne.php index 2458dd88c2e..ccf8cca76f3 100644 --- a/htdocs/compta/bank/ligne.php +++ b/htdocs/compta/bank/ligne.php @@ -126,12 +126,12 @@ if ($action == 'delete_categ') print_titre("Edition de la ligne"); print ''; -print ""; -print ""; -print ""; -print ""; -print ""; -print ""; +print ""; +print ""; +print ""; +print ""; +print ""; +print ""; print "\n"; diff --git a/htdocs/compta/commande.php b/htdocs/compta/commande.php index 7a9cb37e382..1feb92dc8f8 100644 --- a/htdocs/compta/commande.php +++ b/htdocs/compta/commande.php @@ -105,7 +105,7 @@ if ($_GET["id"] > 0) } print ""; - print ""; + print ""; print ''; print ''; - print ""; + print ""; print ''; @@ -863,7 +863,7 @@ else print ""; - print ""; + print ""; print ''; print ''; diff --git a/htdocs/compta/facture/fiche-rec.php b/htdocs/compta/facture/fiche-rec.php index d367bb1820c..faaafc1e6fe 100644 --- a/htdocs/compta/facture/fiche-rec.php +++ b/htdocs/compta/facture/fiche-rec.php @@ -107,7 +107,7 @@ if ($_GET["action"] == 'create') print ''; - print ""; + print ""; print ""; - print ""; + print ""; if ($fac->remise_percent > 0) { diff --git a/htdocs/compta/facture/note.php b/htdocs/compta/facture/note.php index eca37697f0f..ee3baa31183 100644 --- a/htdocs/compta/facture/note.php +++ b/htdocs/compta/facture/note.php @@ -107,7 +107,7 @@ if ($_GET["facid"]) } print ''; - print ''; diff --git a/htdocs/compta/propal.php b/htdocs/compta/propal.php index 69051303381..c8027e33a8f 100644 --- a/htdocs/compta/propal.php +++ b/htdocs/compta/propal.php @@ -159,7 +159,7 @@ if ($_GET["propalid"]) /* * */ - print ''; @@ -225,8 +225,8 @@ if ($_GET["propalid"]) print '
DateDescriptionDebitCreditReleveAuteur
DateDescriptionDebitCreditReleve".$langs->trans("Author")."
Auteur$author->fullname
".$langs->trans("Author")."$author->fullnameProjet : '; if ($commande->projet_id > 0) diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 2475c1d8243..9076cb16471 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -454,7 +454,7 @@ if ($_GET["action"] == 'create') print '
Client :'.$soc->nom.'Commentaire
Auteur :".$user->fullname."
".$langs->trans("Author")." :".$user->fullname."'; print '
Auteur$author->fullname
".$langs->trans("Author")."$author->fullname
Remise globale'.$fac->remise_percent.''; print '
Auteur :".$user->fullname."
".$langs->trans("Author")." :".$user->fullname."
Conditions de réglement :"; print $facture->cond_reglement; @@ -271,7 +271,7 @@ else print "Conditions de réglement : " . $fac->cond_reglement ."
Auteur$author->fullname
".$langs->trans("Author")."$author->fullnameAuteur'; + print ''.$langs->trans("Author").''; $author = new User($db, $facture->user_author); $author->fetch(''); print $author->fullname.'
Auteur'; + print '
'.$langs->trans("Author").''; $author = new User($db, $obj->fk_user_author); $author->fetch(''); print $author->fullname.'
'; print ""; print ""; - print ""; - print ""; + print ''; + print ''; print ''; print "\n"; diff --git a/htdocs/expedition/fiche.php b/htdocs/expedition/fiche.php index 3fad16d4597..5543ebf09c3 100644 --- a/htdocs/expedition/fiche.php +++ b/htdocs/expedition/fiche.php @@ -150,7 +150,7 @@ if ($_POST["action"] == 'create') $ents = $entrepot->list_array(); print $ents[$_POST["entrepot_id"]]; print ''; - print "\n"; + print "\n"; if ($commande->note) { @@ -326,7 +326,7 @@ else print ''; - print ''; + print ''; print ""; diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php index 016f97f27ac..9f3bd9f9024 100644 --- a/htdocs/fourn/facture/fiche.php +++ b/htdocs/fourn/facture/fiche.php @@ -236,7 +236,7 @@ if ($_GET["action"] == 'create' or $_GET["action"] == 'copy') $html->select_date(); print ''; - print ''; + print ''; print "
NuméroDateAuteur'.$langs->trans("Date").''.$langs->trans("Author").'Prix
Auteur$author->fullname".$langs->trans("Author")."$author->fullname'; print ''.$soc->nom.'Auteur'.$author->fullname.''.$langs->trans("Author").''.$author->fullname.'
Auteur'.$user->fullname.'
'.$langs->trans("Author").''.$user->fullname.'

"; print ''; @@ -322,7 +322,7 @@ else $author->fetch(''); $authorfullname=$author->fullname; } - print ""; + print ""; print ""; print ""; print "
Auteur$authorfullname
".$langs->trans("Author")."$authorfullname
Statut".$fac->LibStatut($fac->paye,$fac->statut)."
"; @@ -407,7 +407,7 @@ else $author->fetch(''); $authorfullname=$author->fullname; } - print "
Auteur$authorfullname
".$langs->trans("Author")."$authorfullname
Statut".$fac->LibStatut($fac->paye,$fac->statut)."
 '.$langs->trans("TotalHT").''.price($fac->total_ht)."