diff --git a/htdocs/contact/fiche.php b/htdocs/contact/fiche.php index e123a66a958..5e6d61e0352 100644 --- a/htdocs/contact/fiche.php +++ b/htdocs/contact/fiche.php @@ -21,11 +21,11 @@ */ /** - \file htdocs/contact/fiche.php - \ingroup societe - \brief Onglet général d'un contact - \version $Id$ -*/ + * \file htdocs/contact/fiche.php + * \ingroup societe + * \brief Onglet général d'un contact + * \version $Id$ + */ require("./pre.inc.php"); require_once(DOL_DOCUMENT_ROOT."/actioncomm.class.php"); @@ -227,13 +227,12 @@ if ($_GET["id"] > 0) /* * Confirmation de la suppression du contact -* */ if ($user->rights->societe->contact->supprimer) { if ($_GET["action"] == 'delete') { - $form->form_confirm($_SERVER["PHP_SELF"]."?id=".$_GET["id"],"Supprimer le contact","Êtes-vous sûr de vouloir supprimer ce contact ?","confirm_delete"); + $form->form_confirm($_SERVER["PHP_SELF"]."?id=".$_GET["id"],$langs->trans("DeleteContact"),$langs->trans("ConfirmDeleteContact"),"confirm_delete"); print '
'; } } diff --git a/htdocs/langs/en_US/companies.lang b/htdocs/langs/en_US/companies.lang index 2b1bd4bd5ad..85e86f59348 100644 --- a/htdocs/langs/en_US/companies.lang +++ b/htdocs/langs/en_US/companies.lang @@ -3,7 +3,10 @@ ErrorBadEMail=EMail %s is wrong ErrorCompanyNameAlreadyExists=Company name %s already exists. Choose another one. ErrorPrefixAlreadyExists=Prefix %s already exists. Choose another one. ErrorSetACountryFirst=Set the country first +DeleteThirdParty=Delete a third party ConfirmDeleteCompany=Are you sure you want to delete this company and all inherited information ? +DeleteContact=Delete a contact +ConfirmDeleteContact=Are you sure you want to delete this contact and all inherited information ? MenuNewThirdParty=New third party MenuNewCompany=New company MenuNewCustomer=New customer diff --git a/htdocs/langs/fr_FR/companies.lang b/htdocs/langs/fr_FR/companies.lang index a20bf1f3d82..9af2a910991 100644 --- a/htdocs/langs/fr_FR/companies.lang +++ b/htdocs/langs/fr_FR/companies.lang @@ -3,7 +3,10 @@ ErrorBadEMail=e-mail %s invalide ErrorCompanyNameAlreadyExists=Le nom de société %s existe déjà. Veuillez en choisir un autre. ErrorPrefixAlreadyExists=Le préfixe %s existe déjà. Veuillez en choisir un autre. ErrorSetACountryFirst=Définissez d'abord le pays +DeleteThirdParty=Supprimer un tiers ConfirmDeleteCompany=Êtes-vous sûr de vouloir supprimer cette société et toutes les informations qui en dépendent ? +DeleteContact=Supprimer un contact +ConfirmDeleteContact=Êtes-vous sûr de vouloir supprimer ce contact et toutes les informations qui en dépendent ? MenuNewThirdParty=Nouveau tiers MenuNewCompany=Nouvelle société MenuNewCustomer=Nouveau client