diff --git a/htdocs/admin/societe.php b/htdocs/admin/societe.php
index d705fbfc550..e3e4f846f50 100644
--- a/htdocs/admin/societe.php
+++ b/htdocs/admin/societe.php
@@ -72,18 +72,18 @@ llxHeader();
*
*/
-print_titre("Configuration du module Sociétés");
+print_titre($langs->trans("CompanySetup"));
print "
";
-print_titre("Module de vérification des codes client");
+print_titre($langs->trans("CustomerCodeChecker"));
-print "
\n";
+print "\n";
print "\n";
-print " | Nom | \n";
-print " Info | \n";
-print " Activé | \n";
-print " | \n";
+print ' '.$langs->trans("Name").' | ';
+print ' '.$langs->trans("Description").' | ';
+print ' '.$langs->trans("Activated").' | ';
+print ' | ';
print "
\n";
clearstatcache();
@@ -92,6 +92,7 @@ $dir = "../includes/modules/societe/";
$handle = opendir($dir);
if ($handle)
{
+ $var = true;
while (($file = readdir($handle))!==false)
{
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");
$modCodeClient = new $file;
- if($pair == "pair")
- $pair = "impair";
- else
- $pair = "pair";
- print "\n | ".$modCodeClient->nom." | \n ";
+ $var = !$var;
+ print " |
\n | ".$modCodeClient->nom." | \n ";
print $modCodeClient->info();
print " | \n";
@@ -119,7 +117,7 @@ if ($handle)
{
print ' | ';
- print 'activer | ';
+ print ''.$langs->trans("Activate").' | ';
}
print '
';
@@ -131,13 +129,13 @@ print '
';
print "
";
-print_titre("Module de gestion des compta");
+print_titre($langs->trans("AccountCodeManager"));
-print '';
+print '';
print '';
-print '| Nom | ';
-print 'Info | ';
-print 'Activé | ';
+print ''.$langs->trans("Name").' | ';
+print ''.$langs->trans("Description").' | ';
+print ''.$langs->trans("Activated").' | ';
print ' | ';
print "
\n";
@@ -147,6 +145,7 @@ $dir = "../includes/modules/societe/";
$handle = opendir($dir);
if ($handle)
{
+ $var = true;
while (($file = readdir($handle))!==false)
{
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");
$modCodeCompta = new $file;
+ $var = !$var;
- print '| '.$modCodeCompta->nom." | \n";
+ print ' |
| '.$modCodeCompta->nom." | \n";
print $modCodeCompta->info();
print ' | ';
@@ -170,7 +170,7 @@ if ($handle)
else
{
print ' | ';
- print 'activer | ';
+ print ''.$langs->trans("Activate").' | ';
}
diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang
index ae5ffcedb37..66419aa02e0 100644
--- a/htdocs/langs/en_US/admin.lang
+++ b/htdocs/langs/en_US/admin.lang
@@ -133,8 +133,12 @@ CompanyInfo=Company/foundation informations
CompanyIds=Company/Foundation identities
CompanyName=Company/foundation name
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=Webcalendar link setup
+WebCalSetup=Webcalendar link setup
WebCalSyncro=Add Dolibarr Event to WebCalendar
WebCalAllways=Always, no asking
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.
WebCalTestKo2=Connection to server '%s' with user '%s' failed.
##### Clicktodial setup #####
-ClickToDialSetup=Click To Dial setup
+ClickToDialSetup=Click To Dial module setup
##### LDAP setup ####
LDAPSetup=LDAP Setup
LDAPServer=LDAP Server
##### Propal #####
-PropalSetup=Commercial proposals setup
+PropalSetup=Commercial proposals module setup
diff --git a/htdocs/langs/fr_FR/admin.lang b/htdocs/langs/fr_FR/admin.lang
index 7e4a9c26baa..8b3ba853408 100644
--- a/htdocs/langs/fr_FR/admin.lang
+++ b/htdocs/langs/fr_FR/admin.lang
@@ -133,6 +133,10 @@ CompanyInfo=Informations sur la soci
CompanyIds=Identifiants de la société ou association
CompanyName=Nom/Enseigne 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 #####
WebCalSetup=Configuration du lien vers le calendrier 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.
WebCalTestKo2=La connection au serveur '%s' par le user '%s' à échoué.
##### Clicktodial setup #####
-ClickToDialSetup=Configuration du click to dial
+ClickToDialSetup=Configuration du module Click To Dial
##### LDAP setup #####
-LDAPSetup=Configuration LDAP
+LDAPSetup=Configuration du module LDAP
LDAPServer=Serveur LDAP
##### Propal #####
PropalSetup=Configuration du module Propositions Commerciales
\ No newline at end of file