Trad: Traduction page setup module sociétés
This commit is contained in:
parent
f1d655c516
commit
935cd63e96
@ -72,18 +72,18 @@ llxHeader();
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
print_titre("Configuration du module Sociétés");
|
print_titre($langs->trans("CompanySetup"));
|
||||||
|
|
||||||
print "<br>";
|
print "<br>";
|
||||||
|
|
||||||
print_titre("Module de vérification des codes client");
|
print_titre($langs->trans("CustomerCodeChecker"));
|
||||||
|
|
||||||
print "<table class=\"noborder\" cellpadding=\"3\" cellspacing=\"0\" width=\"100%\">\n";
|
print "<table class=\"noborder\" width=\"100%\">\n";
|
||||||
print "<tr class=\"liste_titre\">\n";
|
print "<tr class=\"liste_titre\">\n";
|
||||||
print " <td>Nom</td>\n";
|
print ' <td>'.$langs->trans("Name").'</td>';
|
||||||
print " <td>Info</td>\n";
|
print ' <td>'.$langs->trans("Description").'</td>';
|
||||||
print " <td align=\"center\">Activé</td>\n";
|
print ' <td align="center">'.$langs->trans("Activated").'</td>';
|
||||||
print " <td> </td>\n";
|
print ' <td> </td>';
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
|
||||||
clearstatcache();
|
clearstatcache();
|
||||||
@ -92,6 +92,7 @@ $dir = "../includes/modules/societe/";
|
|||||||
$handle = opendir($dir);
|
$handle = opendir($dir);
|
||||||
if ($handle)
|
if ($handle)
|
||||||
{
|
{
|
||||||
|
$var = true;
|
||||||
while (($file = readdir($handle))!==false)
|
while (($file = readdir($handle))!==false)
|
||||||
{
|
{
|
||||||
if (substr($file, 0, 15) == 'mod_codeclient_' && substr($file, -3) == 'php')
|
if (substr($file, 0, 15) == 'mod_codeclient_' && substr($file, -3) == 'php')
|
||||||
@ -101,11 +102,8 @@ if ($handle)
|
|||||||
require_once(DOL_DOCUMENT_ROOT ."/includes/modules/societe/".$file.".php");
|
require_once(DOL_DOCUMENT_ROOT ."/includes/modules/societe/".$file.".php");
|
||||||
|
|
||||||
$modCodeClient = new $file;
|
$modCodeClient = new $file;
|
||||||
if($pair == "pair")
|
$var = !$var;
|
||||||
$pair = "impair";
|
print "<tr ".$bc[$var].">\n <td width=\"140\">".$modCodeClient->nom."</td>\n <td>";
|
||||||
else
|
|
||||||
$pair = "pair";
|
|
||||||
print "<tr class=\"$pair\">\n <td width=\"140\">".$modCodeClient->nom."</td>\n <td>";
|
|
||||||
print $modCodeClient->info();
|
print $modCodeClient->info();
|
||||||
print "</td>\n";
|
print "</td>\n";
|
||||||
|
|
||||||
@ -119,7 +117,7 @@ if ($handle)
|
|||||||
{
|
{
|
||||||
|
|
||||||
print '<td> </td>';
|
print '<td> </td>';
|
||||||
print '<td align="center"><a href="societe.php?action=setcodeclient&value='.$file.'">activer</a></td>';
|
print '<td align="center"><a href="societe.php?action=setcodeclient&value='.$file.'">'.$langs->trans("Activate").'</a></td>';
|
||||||
}
|
}
|
||||||
|
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
@ -131,13 +129,13 @@ print '</table>';
|
|||||||
|
|
||||||
print "<br>";
|
print "<br>";
|
||||||
|
|
||||||
print_titre("Module de gestion des compta");
|
print_titre($langs->trans("AccountCodeManager"));
|
||||||
|
|
||||||
print '<table class="noborder" cellpadding="3" cellspacing="0" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print '<td>Nom</td>';
|
print '<td>'.$langs->trans("Name").'</td>';
|
||||||
print '<td>Info</td>';
|
print '<td>'.$langs->trans("Description").'</td>';
|
||||||
print '<td align="center">Activé</td>';
|
print '<td align="center">'.$langs->trans("Activated").'</td>';
|
||||||
print '<td> </td>';
|
print '<td> </td>';
|
||||||
print "</tr>\n";
|
print "</tr>\n";
|
||||||
|
|
||||||
@ -147,6 +145,7 @@ $dir = "../includes/modules/societe/";
|
|||||||
$handle = opendir($dir);
|
$handle = opendir($dir);
|
||||||
if ($handle)
|
if ($handle)
|
||||||
{
|
{
|
||||||
|
$var = true;
|
||||||
while (($file = readdir($handle))!==false)
|
while (($file = readdir($handle))!==false)
|
||||||
{
|
{
|
||||||
if (substr($file, 0, 15) == 'mod_codecompta_' && substr($file, -3) == 'php')
|
if (substr($file, 0, 15) == 'mod_codecompta_' && substr($file, -3) == 'php')
|
||||||
@ -156,8 +155,9 @@ if ($handle)
|
|||||||
require_once(DOL_DOCUMENT_ROOT ."/includes/modules/societe/".$file.".php");
|
require_once(DOL_DOCUMENT_ROOT ."/includes/modules/societe/".$file.".php");
|
||||||
|
|
||||||
$modCodeCompta = new $file;
|
$modCodeCompta = new $file;
|
||||||
|
$var = !$var;
|
||||||
|
|
||||||
print '<tr class="pair"><td width="140">'.$modCodeCompta->nom."</td><td>\n";
|
print '<tr '.$bc[$var].'><td width="140">'.$modCodeCompta->nom."</td><td>\n";
|
||||||
print $modCodeCompta->info();
|
print $modCodeCompta->info();
|
||||||
print '</td>';
|
print '</td>';
|
||||||
|
|
||||||
@ -170,7 +170,7 @@ if ($handle)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
print '<td> </td>';
|
print '<td> </td>';
|
||||||
print '<td align="center"><a href="societe.php?action=setcodecompta&value='.$file.'">activer</a></td>';
|
print '<td align="center"><a href="societe.php?action=setcodecompta&value='.$file.'">'.$langs->trans("Activate").'</a></td>';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -133,8 +133,12 @@ CompanyInfo=Company/foundation informations
|
|||||||
CompanyIds=Company/Foundation identities
|
CompanyIds=Company/Foundation identities
|
||||||
CompanyName=Company/foundation name
|
CompanyName=Company/foundation name
|
||||||
CompanyCurrency=Company/foundation currency
|
CompanyCurrency=Company/foundation currency
|
||||||
|
##### Company setup #####
|
||||||
|
CompanySetup=Companies module setup
|
||||||
|
CustomerCodeChecker=Module for checking customer's code
|
||||||
|
AccountCodeManager=Module for managing accountancy code
|
||||||
##### Webcal setup #####
|
##### Webcal setup #####
|
||||||
WebCal Setup=Webcalendar link setup
|
WebCalSetup=Webcalendar link setup
|
||||||
WebCalSyncro=Add Dolibarr Event to WebCalendar
|
WebCalSyncro=Add Dolibarr Event to WebCalendar
|
||||||
WebCalAllways=Always, no asking
|
WebCalAllways=Always, no asking
|
||||||
WebCalYesByDefault=On demand (yes by default)
|
WebCalYesByDefault=On demand (yes by default)
|
||||||
@ -149,9 +153,9 @@ WebCalTestOk=Connection to server '%s' on database '%s' with user '%s' successfu
|
|||||||
WebCalTestKo1=Connection to server '%s' succeed but database '%s' could not be reached.
|
WebCalTestKo1=Connection to server '%s' succeed but database '%s' could not be reached.
|
||||||
WebCalTestKo2=Connection to server '%s' with user '%s' failed.
|
WebCalTestKo2=Connection to server '%s' with user '%s' failed.
|
||||||
##### Clicktodial setup #####
|
##### Clicktodial setup #####
|
||||||
ClickToDialSetup=Click To Dial setup
|
ClickToDialSetup=Click To Dial module setup
|
||||||
##### LDAP setup ####
|
##### LDAP setup ####
|
||||||
LDAPSetup=LDAP Setup
|
LDAPSetup=LDAP Setup
|
||||||
LDAPServer=LDAP Server
|
LDAPServer=LDAP Server
|
||||||
##### Propal #####
|
##### Propal #####
|
||||||
PropalSetup=Commercial proposals setup
|
PropalSetup=Commercial proposals module setup
|
||||||
|
|||||||
@ -133,6 +133,10 @@ CompanyInfo=Informations sur la soci
|
|||||||
CompanyIds=Identifiants de la société ou association
|
CompanyIds=Identifiants de la société ou association
|
||||||
CompanyName=Nom/Enseigne de la société/association
|
CompanyName=Nom/Enseigne de la société/association
|
||||||
CompanyCurrency=Devise de la société/association
|
CompanyCurrency=Devise de la société/association
|
||||||
|
##### Company setup #####
|
||||||
|
CompanySetup=Configuration du module Sociétés
|
||||||
|
CustomerCodeChecker=Module de controle des codes clients
|
||||||
|
AccountCodeManager=Module de gestion des codes compta
|
||||||
##### Webcal setup #####
|
##### Webcal setup #####
|
||||||
WebCalSetup=Configuration du lien vers le calendrier Webcalendar
|
WebCalSetup=Configuration du lien vers le calendrier Webcalendar
|
||||||
WebCalSyncro=Intégrer les évênements Dolibarr dans WebCalendar
|
WebCalSyncro=Intégrer les évênements Dolibarr dans WebCalendar
|
||||||
@ -149,9 +153,9 @@ WebCalTestOk=La connection au serveur '%s' sur la base '%s' par le user '%s' a r
|
|||||||
WebCalTestKo1=La connection au serveur '%s' a réussi mais la base '%s' n'a pu être accédée.
|
WebCalTestKo1=La connection au serveur '%s' a réussi mais la base '%s' n'a pu être accédée.
|
||||||
WebCalTestKo2=La connection au serveur '%s' par le user '%s' à échoué.
|
WebCalTestKo2=La connection au serveur '%s' par le user '%s' à échoué.
|
||||||
##### Clicktodial setup #####
|
##### Clicktodial setup #####
|
||||||
ClickToDialSetup=Configuration du click to dial
|
ClickToDialSetup=Configuration du module Click To Dial
|
||||||
##### LDAP setup #####
|
##### LDAP setup #####
|
||||||
LDAPSetup=Configuration LDAP
|
LDAPSetup=Configuration du module LDAP
|
||||||
LDAPServer=Serveur LDAP
|
LDAPServer=Serveur LDAP
|
||||||
##### Propal #####
|
##### Propal #####
|
||||||
PropalSetup=Configuration du module Propositions Commerciales
|
PropalSetup=Configuration du module Propositions Commerciales
|
||||||
Loading…
Reference in New Issue
Block a user