Trad: Et de la traduction...
This commit is contained in:
parent
1e5d0c9d46
commit
dce5659be5
@ -103,11 +103,11 @@ if ( $db->query($sql) )
|
|||||||
$societe = new Societe($db);
|
$societe = new Societe($db);
|
||||||
$societe->fetch($socid);
|
$societe->fetch($socid);
|
||||||
|
|
||||||
print_barre_liste("Liste des actions commerciales réalisées ou à faire sur " . $societe->nom, $page, "index.php",'',$sortfield,$sortorder,'',$num);
|
print_barre_liste($langs->trans("DoneAndToDoTasksFor",$societe->nom), $page, "index.php",'',$sortfield,$sortorder,'',$num);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
print_barre_liste("Liste des actions commerciales réalisées ou à faire", $page, "index.php",'',$sortfield,$sortorder,'',$num);
|
print_barre_liste($langs->trans("DoneAndToDoTasks"), $page, "index.php",'',$sortfield,$sortorder,'',$num);
|
||||||
}
|
}
|
||||||
$i = 0;
|
$i = 0;
|
||||||
print "<table class=\"noborder\" width=\"100%\">";
|
print "<table class=\"noborder\" width=\"100%\">";
|
||||||
|
|||||||
@ -99,7 +99,7 @@ if ($result)
|
|||||||
|
|
||||||
llxHeader();
|
llxHeader();
|
||||||
|
|
||||||
print_barre_liste("Liste des clients", $page, "clients.php","",$sortfield,$sortorder,"",$num);
|
print_barre_liste($langs->trans("ListOfCustomers"), $page, "clients.php","",$sortfield,$sortorder,"",$num);
|
||||||
|
|
||||||
$i = 0;
|
$i = 0;
|
||||||
|
|
||||||
|
|||||||
@ -59,15 +59,8 @@ if ($user->societe_id > 0)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (! $sortfield)
|
if (! $sortfield) $sortfield="p.name";
|
||||||
{
|
if (! $sortorder) $sortorder="ASC";
|
||||||
$sortfield="p.name";
|
|
||||||
}
|
|
||||||
if (! $sortorder)
|
|
||||||
{
|
|
||||||
$sortorder="ASC";
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($page == -1) { $page = 0 ; }
|
if ($page == -1) { $page = 0 ; }
|
||||||
$limit = $conf->liste_limit;
|
$limit = $conf->liste_limit;
|
||||||
$offset = $limit * $page ;
|
$offset = $limit * $page ;
|
||||||
@ -75,17 +68,17 @@ $offset = $limit * $page ;
|
|||||||
|
|
||||||
if ($type == "c")
|
if ($type == "c")
|
||||||
{
|
{
|
||||||
$label = " clients";
|
$label = $langs->trans("Customers");
|
||||||
$urlfiche="fiche.php";
|
$urlfiche="fiche.php";
|
||||||
}
|
}
|
||||||
if ($type == "p")
|
if ($type == "p")
|
||||||
{
|
{
|
||||||
$label = " prospects";
|
$label = $langs->trans("Prospects");
|
||||||
$urlfiche="prospect/fiche.php";
|
$urlfiche="prospect/fiche.php";
|
||||||
}
|
}
|
||||||
if ($type == "f")
|
if ($type == "f")
|
||||||
{
|
{
|
||||||
$label = " fournisseurs";
|
$label = $langs->trans("Suppliers");
|
||||||
$urlfiche="fiche.php";
|
$urlfiche="fiche.php";
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -151,7 +144,7 @@ if ($result)
|
|||||||
{
|
{
|
||||||
$num = $db->num_rows();
|
$num = $db->num_rows();
|
||||||
|
|
||||||
print_barre_liste("Liste des contacts $label",$page, "contact.php", "&type=$type",$sortfield,$sortorder,"",$num);
|
print_barre_liste($langs->trans("ListOfContacts").($label?" (".$label.")":""),$page, "contact.php", "&type=$type",$sortfield,$sortorder,"",$num);
|
||||||
|
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
|
|||||||
@ -826,11 +826,9 @@ if ($_GET["propalid"])
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* *
|
|
||||||
* *
|
* *
|
||||||
* Mode Liste des propales *
|
* Mode Liste des propales *
|
||||||
* *
|
* *
|
||||||
* *
|
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
$sortorder=$_GET["sortorder"];
|
$sortorder=$_GET["sortorder"];
|
||||||
@ -838,15 +836,8 @@ else
|
|||||||
$page=$_GET["page"];
|
$page=$_GET["page"];
|
||||||
$viewstatut=$_GET["viewstatut"];
|
$viewstatut=$_GET["viewstatut"];
|
||||||
|
|
||||||
if ($sortfield == "")
|
if (! $sortfield) $sortfield="p.datep";
|
||||||
{
|
if (! $sortorder) $sortorder="DESC";
|
||||||
$sortfield="p.datep";
|
|
||||||
}
|
|
||||||
if ($sortorder == "")
|
|
||||||
{
|
|
||||||
$sortorder="DESC";
|
|
||||||
}
|
|
||||||
|
|
||||||
$limit = $conf->liste_limit;
|
$limit = $conf->liste_limit;
|
||||||
$offset = $limit * $page ;
|
$offset = $limit * $page ;
|
||||||
$pageprev = $page - 1;
|
$pageprev = $page - 1;
|
||||||
@ -886,7 +877,7 @@ else
|
|||||||
if ( $db->query($sql) )
|
if ( $db->query($sql) )
|
||||||
{
|
{
|
||||||
$num = $db->num_rows();
|
$num = $db->num_rows();
|
||||||
print_barre_liste($langs->trans("Proposals"), $page,"propal.php","&socidp=$socidp",$sortfield,$sortorder,'',$num);
|
print_barre_liste($langs->trans("ListOfProposals"), $page,"propal.php","&socidp=$socidp",$sortfield,$sortorder,'',$num);
|
||||||
|
|
||||||
|
|
||||||
$i = 0;
|
$i = 0;
|
||||||
|
|||||||
@ -93,7 +93,7 @@ $sql .= $db->plimit($limit + 1,$offset);
|
|||||||
if ( $db->query($sql) )
|
if ( $db->query($sql) )
|
||||||
{
|
{
|
||||||
$num = $db->num_rows();
|
$num = $db->num_rows();
|
||||||
print_barre_liste($langs->trans("Orders"), $_GET["page"], "liste.php","&socidp=$socidp",$sortfield,$sortorder,'',$num);
|
print_barre_liste($langs->trans("ListOfOrders"), $_GET["page"], "liste.php","&socidp=$socidp",$sortfield,$sortorder,'',$num);
|
||||||
|
|
||||||
$i = 0;
|
$i = 0;
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
|
|||||||
@ -107,7 +107,7 @@ $year=$_GET["year"];
|
|||||||
$filtre=$_GET["filtre"];
|
$filtre=$_GET["filtre"];
|
||||||
//if (! $year) { $year=date("Y", time()); }
|
//if (! $year) { $year=date("Y", time()); }
|
||||||
|
|
||||||
print_fiche_titre("Charges sociales",($year?"<a href='index.php?year=".($year-1)."'>".img_previous()."</a> ".$langs->trans("Year")." $year <a href='index.php?year=".($year+1)."'>".img_next()."</a>":""));
|
print_fiche_titre($langs->trans("SocialContributions"),($year?"<a href='index.php?year=".($year-1)."'>".img_previous()."</a> ".$langs->trans("Year")." $year <a href='index.php?year=".($year+1)."'>".img_next()."</a>":""));
|
||||||
print "<br>\n";
|
print "<br>\n";
|
||||||
|
|
||||||
if ($mesg) {
|
if ($mesg) {
|
||||||
|
|||||||
@ -23,7 +23,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/*!
|
/**
|
||||||
\file htdocs/contact/index.php
|
\file htdocs/contact/index.php
|
||||||
\ingroup societe
|
\ingroup societe
|
||||||
\brief Page liste des contacts
|
\brief Page liste des contacts
|
||||||
@ -61,25 +61,18 @@ $sortfield = isset($_GET["sortfield"])?$_GET["sortfield"]:$_POST["sortfield"];
|
|||||||
$sortorder = isset($_GET["sortorder"])?$_GET["sortorder"]:$_POST["sortorder"];
|
$sortorder = isset($_GET["sortorder"])?$_GET["sortorder"]:$_POST["sortorder"];
|
||||||
$page = isset($_GET["page"])?$_GET["page"]:$_POST["page"];
|
$page = isset($_GET["page"])?$_GET["page"]:$_POST["page"];
|
||||||
|
|
||||||
if ($sortorder == "")
|
if (! $sortorder) $sortorder="ASC";
|
||||||
{
|
if (! $sortfield) $sortfield="p.name";
|
||||||
$sortorder="ASC";
|
|
||||||
}
|
|
||||||
if ($sortfield == "")
|
|
||||||
{
|
|
||||||
$sortfield="p.name";
|
|
||||||
}
|
|
||||||
|
|
||||||
if ($page < 0) { $page = 0 ; }
|
if ($page < 0) { $page = 0 ; }
|
||||||
$limit = $conf->liste_limit;
|
$limit = $conf->liste_limit;
|
||||||
$offset = $limit * $page ;
|
$offset = $limit * $page ;
|
||||||
|
|
||||||
if ($type == "f") { $text.=$langs->trans("Suppliers")." "; }
|
if ($type == "f") { $text.=$langs->trans("Suppliers"); }
|
||||||
if ($type == "c") { $text.=$langs->trans("Customers")." "; }
|
if ($type == "c") { $text.=$langs->trans("Customers"); }
|
||||||
if ($view == 'phone') { $text="(Vue Téléphones)"; }
|
if ($view == 'phone') { $text="(Vue Téléphones)"; }
|
||||||
if ($view == 'mail') { $text="(Vue EMail)"; }
|
if ($view == 'mail') { $text="(Vue EMail)"; }
|
||||||
if ($view == 'recent') { $text="(Récents)"; }
|
if ($view == 'recent') { $text="(Récents)"; }
|
||||||
$titre = $langs->trans("ListOfContacts").": $text";
|
$titre = $langs->trans("ListOfContacts")." ($text)";
|
||||||
|
|
||||||
if ($_POST["button_removefilter"] == $langs->trans("RemoveFilter")) {
|
if ($_POST["button_removefilter"] == $langs->trans("RemoveFilter")) {
|
||||||
$search_nom="";
|
$search_nom="";
|
||||||
@ -90,10 +83,8 @@ if ($_POST["button_removefilter"] == $langs->trans("RemoveFilter")) {
|
|||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
|
||||||
* Mode liste
|
* Mode liste
|
||||||
*
|
*
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$sql = "SELECT s.idp, s.nom, p.idp as cidp, p.name, p.firstname, p.email, p.phone, p.phone_mobile, p.fax ";
|
$sql = "SELECT s.idp, s.nom, p.idp as cidp, p.name, p.firstname, p.email, p.phone, p.phone_mobile, p.fax ";
|
||||||
|
|||||||
@ -87,7 +87,7 @@ $result = $db->query($sql);
|
|||||||
if ($result) {
|
if ($result) {
|
||||||
$num = $db->num_rows();
|
$num = $db->num_rows();
|
||||||
|
|
||||||
print_barre_liste("Liste des contacts fournisseurs",$page, "contact.php", "",$sortfield,$sortorder,"",$num);
|
print_barre_liste($langs->trans("ListOfContacts")." (".$langs->trans("Suppliers").")",$page, "contact.php", "",$sortfield,$sortorder,"",$num);
|
||||||
|
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
print "<tr class=\"liste_titre\">";
|
print "<tr class=\"liste_titre\">";
|
||||||
|
|||||||
@ -20,7 +20,9 @@ ErrorWrongCode=Wrong code
|
|||||||
NoSalesRepresentativeAffected=No particular sales representative affected
|
NoSalesRepresentativeAffected=No particular sales representative affected
|
||||||
ShowCustomer=Show customer
|
ShowCustomer=Show customer
|
||||||
ShowProspect=Show prospect
|
ShowProspect=Show prospect
|
||||||
ListOfProspects=Prospects list
|
ListOfProspects=List of prospects
|
||||||
ListOfCustomers=Customers list
|
ListOfCustomers=List of customers
|
||||||
LastDoneTasks=Last done tasks
|
LastDoneTasks=Last done tasks
|
||||||
LastRecordedTasks=Last recorded tasks
|
LastRecordedTasks=Last recorded tasks
|
||||||
|
DoneAndToDoTasksFor=Done and To do tasks for
|
||||||
|
DoneAndToDoTasks=Done and To do tasks
|
||||||
@ -19,4 +19,5 @@ VATToCollect=VAT to collect
|
|||||||
VATSummary=VAT Summary
|
VATSummary=VAT Summary
|
||||||
VATPayed=VAT payed
|
VATPayed=VAT payed
|
||||||
SocialContributions=Social contributions
|
SocialContributions=Social contributions
|
||||||
AccountancyTreasuryArea=Accountancy/Treasury area
|
AccountancyTreasuryArea=Accountancy/Treasury area
|
||||||
|
NewPayment=New payment
|
||||||
@ -20,4 +20,5 @@ LastOrders=Last %s orders
|
|||||||
AllOrders=All orders
|
AllOrders=All orders
|
||||||
NbOfOrders=Number of orders
|
NbOfOrders=Number of orders
|
||||||
OrdersStatistics=Orders' statistics
|
OrdersStatistics=Orders' statistics
|
||||||
NumberOfOrdersByMonth=Number of orders by month
|
NumberOfOrdersByMonth=Number of orders by month
|
||||||
|
ListOfOrders=Liste of orders
|
||||||
@ -20,4 +20,5 @@ NumberOfProposalsByMonth=Number by month
|
|||||||
NbOfProposals=Number of commercial proposals
|
NbOfProposals=Number of commercial proposals
|
||||||
ShowPropal=Show proposal
|
ShowPropal=Show proposal
|
||||||
PropalsDraft=Drafts
|
PropalsDraft=Drafts
|
||||||
PropalsOpened=Opened
|
PropalsOpened=Opened
|
||||||
|
ListOfProposals=List of commercial proposals
|
||||||
@ -24,3 +24,5 @@ ListOfProspects=Liste des prospects
|
|||||||
ListOfCustomers=Liste des clients
|
ListOfCustomers=Liste des clients
|
||||||
LastDoneTasks=Dernières actions effectuées
|
LastDoneTasks=Dernières actions effectuées
|
||||||
LastRecordedTasks=Dernières actions enregistrées
|
LastRecordedTasks=Dernières actions enregistrées
|
||||||
|
DoneAndToDoTasksFor=Liste des actions commerciales réalisées ou à faire pour
|
||||||
|
DoneAndToDoTasks=Liste des actions commerciales réalisées ou à faire
|
||||||
|
|||||||
@ -19,4 +19,5 @@ VATToCollect=TVA
|
|||||||
VATSummary=Résumé TVA
|
VATSummary=Résumé TVA
|
||||||
VATPayed=TVA payée
|
VATPayed=TVA payée
|
||||||
SocialContributions=Charges sociales
|
SocialContributions=Charges sociales
|
||||||
AccountancyTreasuryArea=Espace Compta/Tréso
|
AccountancyTreasuryArea=Espace Compta/Tréso
|
||||||
|
NewPayment=Nouveau paiment
|
||||||
@ -20,4 +20,5 @@ LastOrders=Les %s dernieres commandes
|
|||||||
AllOrders=Toutes les commandes
|
AllOrders=Toutes les commandes
|
||||||
NbOfOrders=Nombre de commandes
|
NbOfOrders=Nombre de commandes
|
||||||
OrdersStatistics=Statistiques des commandes
|
OrdersStatistics=Statistiques des commandes
|
||||||
NumberOfOrdersByMonth=Nombre de commandes par mois
|
NumberOfOrdersByMonth=Nombre de commandes par mois
|
||||||
|
ListOfOrders=Liste des commandes
|
||||||
@ -20,4 +20,5 @@ NumberOfProposalsByMonth=Nombre par mois
|
|||||||
NbOfProposals=Nombre de propositions commerciales
|
NbOfProposals=Nombre de propositions commerciales
|
||||||
ShowPropal=Afficher proposition
|
ShowPropal=Afficher proposition
|
||||||
PropalsDraft=Brouillons
|
PropalsDraft=Brouillons
|
||||||
PropalsOpened=Ouvertes
|
PropalsOpened=Ouvertes
|
||||||
|
ListOfProposals=Liste des devis/propositions commerciales
|
||||||
Loading…
Reference in New Issue
Block a user