Trad: Traduction des onglets contact

This commit is contained in:
Laurent Destailleur 2004-12-25 18:37:40 +00:00
parent 1a86509387
commit 3e66849767
7 changed files with 75 additions and 68 deletions

View File

@ -160,12 +160,12 @@ if ($_GET["id"] > 0)
$h=0; $h=0;
$head[$h][0] = DOL_URL_ROOT.'/contact/fiche.php?id='.$_GET["id"]; $head[$h][0] = DOL_URL_ROOT.'/contact/fiche.php?id='.$_GET["id"];
$head[$h][1] = "Général"; $head[$h][1] = $langs->trans("General");
$hselected=$h; $hselected=$h;
$h++; $h++;
$head[$h][0] = DOL_URL_ROOT.'/contact/perso.php?id='.$_GET["id"]; $head[$h][0] = DOL_URL_ROOT.'/contact/perso.php?id='.$_GET["id"];
$head[$h][1] = 'Informations personnelles'; $head[$h][1] = $langs->trans("PersonalInformations");
$h++; $h++;
$head[$h][0] = DOL_URL_ROOT.'/contact/vcard.php?id='.$_GET["id"]; $head[$h][0] = DOL_URL_ROOT.'/contact/vcard.php?id='.$_GET["id"];
@ -196,9 +196,13 @@ if ($_GET["socid"] > 0)
$objsoc->fetch($_GET["socid"]); $objsoc->fetch($_GET["socid"]);
} }
if ($_GET["action"] == 'create') if ($_GET["action"] == 'create')
{ {
// Fiche en mode creation /*
* Fiche en mode creation
*
*/
print '<br>'; print '<br>';
print "<form method=\"post\" action=\"fiche.php\">"; print "<form method=\"post\" action=\"fiche.php\">";
@ -252,7 +256,10 @@ if ($_GET["action"] == 'create')
} }
elseif ($_GET["action"] == 'edit') elseif ($_GET["action"] == 'edit')
{ {
// Fiche en mode edition /*
* Fiche en mode edition
*
*/
print '<form method="post" action="fiche.php?id='.$_GET["id"].'">'; print '<form method="post" action="fiche.php?id='.$_GET["id"].'">';
print '<input type="hidden" name="action" value="update">'; print '<input type="hidden" name="action" value="update">';
@ -403,7 +410,6 @@ else
print "</div><br>"; print "</div><br>";
} }
}
// Historique des actions vers ce contact // Historique des actions vers ce contact
@ -458,11 +464,7 @@ else
} }
print "</table>"; print "</table>";
}
$db->close(); $db->close();

View File

@ -21,7 +21,7 @@
* *
*/ */
/*! /**
\file htdocs/contact/info.php \file htdocs/contact/info.php
\ingroup societe \ingroup societe
\brief Onglet info d'un contact \brief Onglet info d'un contact
@ -42,11 +42,11 @@ $contact->fetch($_GET["id"], $user);
$h=0; $h=0;
$head[$h][0] = DOL_URL_ROOT.'/contact/fiche.php?id='.$_GET["id"]; $head[$h][0] = DOL_URL_ROOT.'/contact/fiche.php?id='.$_GET["id"];
$head[$h][1] = "Général"; $head[$h][1] = $langs->trans("General");
$h++; $h++;
$head[$h][0] = DOL_URL_ROOT.'/contact/perso.php?id='.$_GET["id"]; $head[$h][0] = DOL_URL_ROOT.'/contact/perso.php?id='.$_GET["id"];
$head[$h][1] = 'Informations personnelles'; $head[$h][1] = $langs->trans("PersonalInformations");
$h++; $h++;
$head[$h][0] = DOL_URL_ROOT.'/contact/vcard.php?id='.$_GET["id"]; $head[$h][0] = DOL_URL_ROOT.'/contact/vcard.php?id='.$_GET["id"];

View File

@ -21,7 +21,7 @@
* *
*/ */
/*! /**
\file htdocs/contact/perso.php \file htdocs/contact/perso.php
\ingroup societe \ingroup societe
\brief Onglet informations personnelles d'un contact \brief Onglet informations personnelles d'un contact
@ -66,12 +66,13 @@ $contact->fetch($_GET["id"], $user);
$h=0; $h=0;
$head[$h][0] = DOL_URL_ROOT.'/contact/fiche.php?id='.$_GET["id"]; $head[$h][0] = DOL_URL_ROOT.'/contact/fiche.php?id='.$_GET["id"];
$head[$h][1] = "Général"; $head[$h][1] = $langs->trans("General");
$h++; $h++;
$head[$h][0] = DOL_URL_ROOT.'/contact/perso.php?id='.$_GET["id"]; $head[$h][0] = DOL_URL_ROOT.'/contact/perso.php?id='.$_GET["id"];
$head[$h][1] = 'Informations personnelles'; $head[$h][1] = $langs->trans("PersonalInformations");
$hselected=$h; $hselected=$h;
$h++; $h++;

View File

@ -30,3 +30,4 @@ CustomerDiscount=Customer Discount
Supplier=Supplier Supplier=Supplier
CompanyList=Companies' list CompanyList=Companies' list
AddContact=Add new contact AddContact=Add new contact
PersonalInformations=Personal data

View File

@ -157,3 +157,4 @@ Opened=Opened
New=New New=New
Discount=Discount Discount=Discount
Unknown=Inconnu Unknown=Inconnu
General=General

View File

@ -34,3 +34,4 @@ AddContact=Ajouter un contact
NewSocGroup=Nouveau groupement de sociétés NewSocGroup=Nouveau groupement de sociétés
SocGroup=Groupement de sociétés SocGroup=Groupement de sociétés
Created=Date saisie Created=Date saisie
PersonalInformations=Informations personnelles

View File

@ -157,3 +157,4 @@ Opened=Ouverts
New=Nouveau New=Nouveau
Discount=Remise Discount=Remise
Unknown=Inconnu Unknown=Inconnu
General=Général