From e97551bd01a1afc98c36ed9b0963fac01021d92c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor?= Date: Sun, 2 Apr 2017 10:44:28 +0200 Subject: [PATCH] Update import_links_class.php --- e107_plugins/import/import_links_class.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/e107_plugins/import/import_links_class.php b/e107_plugins/import/import_links_class.php index 020f32b52..bd907de16 100644 --- a/e107_plugins/import/import_links_class.php +++ b/e107_plugins/import/import_links_class.php @@ -107,13 +107,13 @@ class links_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 => 'Entry 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]; @@ -127,4 +127,4 @@ class links_import } -?> \ No newline at end of file +?>