From: Jakub Vrana Date: Tue, 28 Oct 2014 16:24:13 +0000 (-0700) Subject: Improve CSRF message X-Git-Tag: v4.2.0~23 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=536e9a58ad7d3dd6c138ed5fe5b1b14a2782dc61;p=adminer.git Improve CSRF message --- 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é.',