From fc83c0a26485cd54a2f25470d21e0cd3ff98118b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 7 Feb 2011 19:25:32 +0000 Subject: [PATCH] Fix: Trans --- htdocs/admin/tools/listsessions.php | 2 ++ htdocs/includes/triggers/interface_all_Logevents.class.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/htdocs/admin/tools/listsessions.php b/htdocs/admin/tools/listsessions.php index 8543dc49277..56287857188 100644 --- a/htdocs/admin/tools/listsessions.php +++ b/htdocs/admin/tools/listsessions.php @@ -27,6 +27,8 @@ require("../../main.inc.php"); require_once(DOL_DOCUMENT_ROOT.'/lib/admin.lib.php'); +$langs->load("install"); + if (! $user->admin) accessforbidden(); diff --git a/htdocs/includes/triggers/interface_all_Logevents.class.php b/htdocs/includes/triggers/interface_all_Logevents.class.php index 53406f25602..47b8d9b7913 100644 --- a/htdocs/includes/triggers/interface_all_Logevents.class.php +++ b/htdocs/includes/triggers/interface_all_Logevents.class.php @@ -184,7 +184,7 @@ class InterfaceLogevents $langs->load("users"); // Initialisation donnees (date,duree,texte,desc) $this->texte=$langs->transnoentities("UserDeleted",$object->login); - $this->desc=$langs->transnoentities("Userdeleted",$object->login); + $this->desc=$langs->transnoentities("UserDeleted",$object->login); } // Groupes