From a137f248f71b77c7516866c14d7781bc6c6fb006 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Wed, 24 Jan 2018 18:21:18 +0100 Subject: [PATCH] Translate message added in 4.4.0 --- adminer/include/auth.inc.php | 2 +- adminer/lang/xx.inc.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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',