From 6cb3199824cb5858259053bf13be2d76679a4751 Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@destailleur.fr>
Date: Mon, 6 Feb 2017 12:03:20 +0100
Subject: [PATCH] Translation message

---
 htdocs/compta/prelevement/index.php | 4 +---
 htdocs/langs/en_US/admin.lang       | 2 +-
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/htdocs/compta/prelevement/index.php b/htdocs/compta/prelevement/index.php
index e00de804f93..9e766e937e2 100644
--- a/htdocs/compta/prelevement/index.php
+++ b/htdocs/compta/prelevement/index.php
@@ -59,9 +59,7 @@ llxHeader('',$langs->trans("CustomersStandingOrdersArea"));
 if (prelevement_check_config() < 0)
 {
 	$langs->load("errors");
-	print '<div class="error">';
-	print $langs->trans("ErrorModuleSetupNotComplete");
-	print '</div>';
+	setEventMessages($langs->trans("ErrorModuleSetupNotComplete"), null, 'errors');
 }
 
 print load_fiche_titre($langs->trans("CustomersStandingOrdersArea"));
diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang
index e8c60db1fc9..5a541f7bad7 100644
--- a/htdocs/langs/en_US/admin.lang
+++ b/htdocs/langs/en_US/admin.lang
@@ -19,7 +19,7 @@ RemoteSignature=Remote distant signature (more reliable)
 FilesMissing=Missing Files
 FilesUpdated=Updated Files
 FileCheckDolibarr=Check integrity of application files
-AvailableOnlyOnPackagedVersions=The local file for integrity checking is only available when application is installed from a certified package 
+AvailableOnlyOnPackagedVersions=The local file for integrity checking is only available when application is installed from an official package 
 XmlNotFound=Xml Integrity File of application not found
 SessionId=Session ID
 SessionSaveHandler=Handler to save sessions
-- 
GitLab