From a58f41880d66da6902d0d51a106df92f4cf40776 Mon Sep 17 00:00:00 2001 From: Juanjo Menent Date: Wed, 31 Aug 2011 14:32:03 +0000 Subject: [PATCH] Fix: missing trad --- .../modules/societe/mod_codeclient_elephant.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/htdocs/includes/modules/societe/mod_codeclient_elephant.php b/htdocs/includes/modules/societe/mod_codeclient_elephant.php index 9b8859c7aca..a65747078c0 100644 --- a/htdocs/includes/modules/societe/mod_codeclient_elephant.php +++ b/htdocs/includes/modules/societe/mod_codeclient_elephant.php @@ -2,6 +2,7 @@ /* Copyright (C) 2004 Rodolphe Quiedeville * Copyright (C) 2006-2009 Laurent Destailleur * Copyright (C) 2007 Regis Houssin + * Copyright (C) 2011 Juanjo Menent * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -121,6 +122,11 @@ class mod_codeclient_elephant extends ModeleThirdPartyCode { $examplecust = $langs->trans('NotConfigured'); } + if($examplecust=="ErrorBadMask") + { + $langs->load("errors"); + $examplecust=$langs->trans($examplecust); + } } if ($type == 1 || $type == -1) { @@ -129,6 +135,11 @@ class mod_codeclient_elephant extends ModeleThirdPartyCode { $examplesup = $langs->trans('NotConfigured'); } + if($examplesup=="ErrorBadMask") + { + $langs->load("errors"); + $examplesup=$langs->trans($examplesup); + } } if ($type == 0) return $examplecust;