diff --git a/adminer/create.inc.php b/adminer/create.inc.php index 9eebde4b..b950771d 100644 --- a/adminer/create.inc.php +++ b/adminer/create.inc.php @@ -198,7 +198,7 @@ edit_fields($row["fields"], $collations, "TABLE", $foreign_keys, $comments); - + "> " . confirm(lang('Drop') . " " . DB) . "\n"; + echo "" . confirm(lang('Drop %s?', DB)) . "\n"; } elseif (!$_POST["add_x"] && $_GET["db"] == "") { echo "\n"; } diff --git a/adminer/event.inc.php b/adminer/event.inc.php index 019a2cd5..92e4cb16 100644 --- a/adminer/event.inc.php +++ b/adminer/event.inc.php @@ -47,6 +47,6 @@ if (!$row && $EVENT != "") {

- + diff --git a/adminer/foreign.inc.php b/adminer/foreign.inc.php index 216e4b0d..47c623f6 100644 --- a/adminer/foreign.inc.php +++ b/adminer/foreign.inc.php @@ -86,6 +86,6 @@ foreach ($row["source"] as $key => $val) {

- + diff --git a/adminer/include/functions.inc.php b/adminer/include/functions.inc.php index 42ed8550..5e208f0e 100644 --- a/adminer/include/functions.inc.php +++ b/adminer/include/functions.inc.php @@ -225,7 +225,7 @@ function select_input($attrs, $options, $value = "", $onchange = "", $placeholde * @return string */ function confirm($message = "", $selector = "qsl('input')") { - return script("$selector.onclick = function () { return confirm('" . ($message ? js_escape($message) . ". " : "") . lang('Are you sure?') . "'); };", ""); + return script("$selector.onclick = function () { return confirm('" . ($message ? js_escape($message) : lang('Are you sure?')) . "'); };", ""); } /** Print header for hidden fieldset (close by ) diff --git a/adminer/lang/cs.inc.php b/adminer/lang/cs.inc.php index 54d999d0..56cae3b0 100644 --- a/adminer/lang/cs.inc.php +++ b/adminer/lang/cs.inc.php @@ -171,6 +171,7 @@ $translations = array( 'Default value' => 'Výchozí hodnota', 'Default values' => 'Výchozí hodnoty', 'Drop' => 'Odstranit', + 'Drop %s?' => 'Odstranit %s?', 'Are you sure?' => 'Opravdu?', 'Size' => 'Velikost', 'Compute' => 'Spočítat', diff --git a/adminer/lang/xx.inc.php b/adminer/lang/xx.inc.php index 890fc8fe..c6004666 100644 --- a/adminer/lang/xx.inc.php +++ b/adminer/lang/xx.inc.php @@ -172,7 +172,8 @@ $translations = array( 'Default value' => 'Xx', 'Default values' => 'Xx', 'Drop' => 'Xx', - 'Are you sure?' => 'Xx', + 'Drop %s?' => 'Xx?', + 'Are you sure?' => 'Xx?', 'Size' => 'Xx', 'Compute' => 'Xx', 'Move up' => 'Xx', diff --git a/adminer/procedure.inc.php b/adminer/procedure.inc.php index f16d93ac..fede3e33 100644 --- a/adminer/procedure.inc.php +++ b/adminer/procedure.inc.php @@ -49,6 +49,6 @@ if (isset($_GET["function"])) {

- + diff --git a/adminer/scheme.inc.php b/adminer/scheme.inc.php index 4f64ecc4..b1774541 100644 --- a/adminer/scheme.inc.php +++ b/adminer/scheme.inc.php @@ -31,7 +31,7 @@ if (!$row) { " . confirm(lang('Drop') . " $_GET[ns]") . "\n"; + echo "" . confirm(lang('Drop %s?', $_GET["ns"])) . "\n"; } ?> diff --git a/adminer/sequence.inc.php b/adminer/sequence.inc.php index e51e4aee..0e1af4e6 100644 --- a/adminer/sequence.inc.php +++ b/adminer/sequence.inc.php @@ -28,7 +28,7 @@ if (!$row) { " . confirm(lang('Drop') . " $SEQUENCE") . "\n"; + echo "" . confirm(lang('Drop %s?', $SEQUENCE)) . "\n"; } ?> diff --git a/adminer/trigger.inc.php b/adminer/trigger.inc.php index a99dca21..54454991 100644 --- a/adminer/trigger.inc.php +++ b/adminer/trigger.inc.php @@ -44,6 +44,6 @@ page_header(($name != "" ? lang('Alter trigger') . ": " . h($name) : lang('Creat

- + diff --git a/adminer/type.inc.php b/adminer/type.inc.php index 310b5be3..2c97a1a6 100644 --- a/adminer/type.inc.php +++ b/adminer/type.inc.php @@ -22,7 +22,7 @@ if (!$row) {

" . confirm(lang('Drop') . " $TYPE") . "\n"; + echo "" . confirm(lang('Drop %s?', $TYPE)) . "\n"; } else { echo "\n"; textarea("as", $row["as"]); diff --git a/adminer/user.inc.php b/adminer/user.inc.php index af0fb72f..176e307f 100644 --- a/adminer/user.inc.php +++ b/adminer/user.inc.php @@ -184,6 +184,6 @@ echo "\n"; ?>

- + diff --git a/adminer/view.inc.php b/adminer/view.inc.php index 35acc5b9..0b2f8fa2 100644 --- a/adminer/view.inc.php +++ b/adminer/view.inc.php @@ -53,6 +53,6 @@ page_header(($TABLE != "" ? lang('Alter view') : lang('Create view')), $error, a

- +