From 6cfe58f083dcbca6a8ff282e707b415b50ea6262 Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Tue, 21 Aug 2012 09:39:07 +0200 Subject: [PATCH] fix some english translation --- htdocs/core/lib/ws.lib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/lib/ws.lib.php b/htdocs/core/lib/ws.lib.php index 9e1d0fd1292..521ebf5d268 100755 --- a/htdocs/core/lib/ws.lib.php +++ b/htdocs/core/lib/ws.lib.php @@ -48,7 +48,7 @@ function check_authentication($authentication,&$error,&$errorcode,&$errorlabel) if (! $error && ! empty($authentication['entity']) && ! is_numeric($authentication['entity'])) { $error++; - $errorcode='BAD_PARAMETERS'; $errorlabel="Parameter entity must be empty (or filled with numeric id of instance if multicompany module is used)."; + $errorcode='BAD_PARAMETERS'; $errorlabel="The entity parameter must be empty (or filled with numeric id of instance if multicompany module is used)."; } if (! $error) @@ -57,7 +57,7 @@ function check_authentication($authentication,&$error,&$errorcode,&$errorlabel) if ($result < 0) { $error++; - $errorcode='ERROR_FETCH_USER'; $errorlabel='A technical error occurs during fetch of user'; + $errorcode='ERROR_FETCH_USER'; $errorlabel='A technical error occurred during fetch of user'; } else if ($result == 0) {