diff --git a/adminer/include/auth.inc.php b/adminer/include/auth.inc.php index f3caae8b..51824df2 100644 --- a/adminer/include/auth.inc.php +++ b/adminer/include/auth.inc.php @@ -157,7 +157,7 @@ if (isset($_GET["username"])) { } list($host, $port) = explode(":", SERVER, 2); if (is_numeric($port) && $port < 1024) { - auth_error('Connecting to privileged ports is not allowed.'); + auth_error(lang('Connecting to privileged ports is not allowed.')); } check_invalid_login(); $connection = connect(); diff --git a/adminer/lang/xx.inc.php b/adminer/lang/xx.inc.php index 71afb3dd..890fc8fe 100644 --- a/adminer/lang/xx.inc.php +++ b/adminer/lang/xx.inc.php @@ -20,6 +20,7 @@ $translations = array( 'If you did not send this request from Adminer then close this page.' => 'Xx.', 'No extension' => 'Xx', 'None of the supported PHP extensions (%s) are available.' => 'Xx.', + 'Connecting to privileged ports is not allowed.' => 'Xx.', 'Session support must be enabled.' => 'Xx.', 'Session expired, please login again.' => 'Xx.', '%s version: %s through PHP extension %s' => 'Xx',