mirror of
https://github.com/vrana/adminer.git
synced 2025-08-09 08:06:59 +02:00
Simplify translation
This commit is contained in:
@@ -83,7 +83,7 @@ function auth_error($exception = null) {
|
||||
if ($password !== null) {
|
||||
$error = h($exception ? $exception->getMessage() : (is_string($connection) ? $connection : lang('Invalid credentials.')));
|
||||
if ($password === false) {
|
||||
$error .= '<br>' . lang('Master password expired. <a href="http://www.adminer.org/en/extension/" target="_blank">Implement</a> <code>permanentLogin()</code> method to make it permanent.');
|
||||
$error .= '<br>' . lang('Master password expired. <a href="http://www.adminer.org/en/extension/" target="_blank">Implement</a> %s method to make it permanent.', '<code>permanentLogin()</code>');
|
||||
}
|
||||
$password = null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user