Simplify translation
This commit is contained in:
parent
4660ff852c
commit
aae2289095
|
@ -83,7 +83,7 @@ function auth_error($exception = null) {
|
||||||
if ($password !== null) {
|
if ($password !== null) {
|
||||||
$error = h($exception ? $exception->getMessage() : (is_string($connection) ? $connection : lang('Invalid credentials.')));
|
$error = h($exception ? $exception->getMessage() : (is_string($connection) ? $connection : lang('Invalid credentials.')));
|
||||||
if ($password === false) {
|
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;
|
$password = null;
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,7 +11,7 @@ $translations = array(
|
||||||
'Logged as: %s' => 'Přihlášen jako: %s',
|
'Logged as: %s' => 'Přihlášen jako: %s',
|
||||||
'Logout successful.' => 'Odhlášení proběhlo v pořádku.',
|
'Logout successful.' => 'Odhlášení proběhlo v pořádku.',
|
||||||
'Invalid credentials.' => 'Neplatné přihlašovací údaje.',
|
'Invalid credentials.' => 'Neplatné přihlašovací údaje.',
|
||||||
'Master password expired. <a href="http://www.adminer.org/en/extension/" target="_blank">Implement</a> <code>permanentLogin()</code> method to make it permanent.' => 'Platnost hlavního hesla vypršela. <a href="http://www.adminer.org/cs/extension/" target="_blank">Implementujte</a> metodu <code>permanentLogin()</code>, aby platilo stále.',
|
'Master password expired. <a href="http://www.adminer.org/en/extension/" target="_blank">Implement</a> %s method to make it permanent.' => 'Platnost hlavního hesla vypršela. <a href="http://www.adminer.org/cs/extension/" target="_blank">Implementujte</a> metodu %s, aby platilo stále.',
|
||||||
'Language' => 'Jazyk',
|
'Language' => 'Jazyk',
|
||||||
'Invalid CSRF token. Send the form again.' => 'Neplatný token CSRF. Odešlete formulář znovu.',
|
'Invalid CSRF token. Send the form again.' => 'Neplatný token CSRF. Odešlete formulář znovu.',
|
||||||
'No extension' => 'Žádné rozšíření',
|
'No extension' => 'Žádné rozšíření',
|
||||||
|
|
|
@ -11,7 +11,7 @@ $translations = array(
|
||||||
'Logged as: %s' => 'xx',
|
'Logged as: %s' => 'xx',
|
||||||
'Logout successful.' => 'xx',
|
'Logout successful.' => 'xx',
|
||||||
'Invalid credentials.' => 'xx',
|
'Invalid credentials.' => 'xx',
|
||||||
'Master password expired. <a href="http://www.adminer.org/en/extension/" target="_blank">Implement</a> <code>permanentLogin()</code> method to make it permanent.' => 'xx',
|
'Master password expired. <a href="http://www.adminer.org/en/extension/" target="_blank">Implement</a> %s method to make it permanent.' => 'xx',
|
||||||
'Language' => 'xx',
|
'Language' => 'xx',
|
||||||
'Invalid CSRF token. Send the form again.' => 'xx',
|
'Invalid CSRF token. Send the form again.' => 'xx',
|
||||||
'No extension' => 'xx',
|
'No extension' => 'xx',
|
||||||
|
|
Loading…
Reference in a new issue