diff --git a/libraries/server_privileges.lib.php b/libraries/server_privileges.lib.php index ef9020d5a2..39ad19e108 100644 --- a/libraries/server_privileges.lib.php +++ b/libraries/server_privileges.lib.php @@ -1545,9 +1545,20 @@ function PMA_getHtmlForAuthPluginsDropdown( if ($plugin['PLUGIN_NAME'] == 'mysql_old_password') { continue; } + // if description is known, enable its translation + if ('Native MySQL authentication' == $plugin['PLUGIN_DESCRIPTION']) { + $description = __('Native MySQL authentication'); + } elseif ('SHA256 password authentication' == $plugin['PLUGIN_DESCRIPTION']) { + $description = __('SHA256 password authentication'); + } else { + // but there can be other auth plugins, see + // https://github.com/phpmyadmin/phpmyadmin/issues/11561 + $description = $plugin['PLUGIN_DESCRIPTION']; + } + $html_output .= ''; + . '>' . $description . ''; } $html_output .= ''; } else {