From 536e9a58ad7d3dd6c138ed5fe5b1b14a2782dc61 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Tue, 28 Oct 2014 09:24:13 -0700 Subject: [PATCH] Improve CSRF message --- adminer/include/auth.inc.php | 2 +- adminer/lang/cs.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 138bdf17..28fed006 100644 --- a/adminer/include/auth.inc.php +++ b/adminer/include/auth.inc.php @@ -186,7 +186,7 @@ if ($_POST) { } $error = (!$_POST["token"] && $max_vars ? lang('Maximum number of allowed fields exceeded. Please increase %s.', "'$ini'") - : lang('Invalid CSRF token. Send the form again.') + : lang('Invalid CSRF token. Send the form again.') . ' ' . lang('If you did not send this request from Adminer then close this page.') ); } diff --git a/adminer/lang/cs.inc.php b/adminer/lang/cs.inc.php index c2d6a192..bb27bb58 100644 --- a/adminer/lang/cs.inc.php +++ b/adminer/lang/cs.inc.php @@ -15,6 +15,7 @@ $translations = array( 'Master password expired. Implement %s method to make it permanent.' => 'Platnost hlavního hesla vypršela. Implementujte metodu %s, aby platilo stále.', 'Language' => 'Jazyk', 'Invalid CSRF token. Send the form again.' => 'Neplatný token CSRF. Odešlete formulář znovu.', + 'If you did not send this request from Adminer then close this page.' => 'Pokud jste tento požadavek neposlali z Adminera, tak tuto stránku zavřete.', 'No extension' => 'Žádné rozšíření', 'None of the supported PHP extensions (%s) are available.' => 'Není dostupné žádné z podporovaných PHP rozšíření (%s).', 'Session support must be enabled.' => 'Session proměnné musí být povolené.',