diff --git a/htdocs/langs/fr_FR/companies.lang b/htdocs/langs/fr_FR/companies.lang index aac66c4c22e..c5472e6e31d 100644 --- a/htdocs/langs/fr_FR/companies.lang +++ b/htdocs/langs/fr_FR/companies.lang @@ -14,6 +14,7 @@ MenuSocGroup=Groupes NewCompany=Nouvelle société (prospect, client, fournisseur) NewThirdParty=Nouveau tiers (prospect, client, fournisseur) NewSocGroup=Nouveau groupement de sociétés +NewPrivateIndividual=Nouveau particulier (prospect, client) ProspectionArea=Espace prospection SocGroup=Groupement de sociétés IdCompany=Id société diff --git a/htdocs/soc.php b/htdocs/soc.php index d53c8ab8671..4861a2fcd99 100644 --- a/htdocs/soc.php +++ b/htdocs/soc.php @@ -299,7 +299,14 @@ if ($_POST["getcustomercode"] || $_POST["getsuppliercode"] || $soc->pays=$obj->libelle; } - print_titre($langs->trans("NewCompany")); + if (!$soc->particulier) + { + print_titre($langs->trans("NewCompany")); + } + else + { + print_titre($langs->trans("NewPrivateIndividual")); + } print "
\n"; if ($soc->error)