From e4cd7cf09cf359858e1427319ac93c820377fe1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor?= Date: Sun, 2 Apr 2017 10:38:03 +0200 Subject: [PATCH] Update import_user_class.php --- e107_plugins/import/import_user_class.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/e107_plugins/import/import_user_class.php b/e107_plugins/import/import_user_class.php index 1df81ab3d..5eb76ade5 100644 --- a/e107_plugins/import/import_user_class.php +++ b/e107_plugins/import/import_user_class.php @@ -238,13 +238,13 @@ class user_import function getErrorText($errnum) // these errors are presumptuous and misleading. especially '4' . { $errorTexts = array( - 0 => 'No error', - 1 => 'Can\'t change main admin data', - 2 => 'invalid field passed', - 3 => 'Mandatory field not set', - 4 => 'User already exists', - 5 => 'Invalid characters in user or login name', - 6 => 'Error saving extended user fields' + 0 => LAN_CONVERT_57, ++ 1 => LAN_CONVERT_58, ++ 2 => LAN_CONVERT_59, ++ 3 => LAN_CONVERT_60, ++ 4 => LAN_CONVERT_61, ++ 5 => LAN_CONVERT_62, ++ 6 => LAN_CONVERT_63 ); if (isset($errorTexts[$errnum])) return $errorTexts[$errnum]; @@ -360,4 +360,4 @@ class userclass_import -?> \ No newline at end of file +?>