From 2a5e8b6c2134785e22641c7436408e9f96cdd6ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Rajchl?= Date: Mon, 8 Apr 2024 07:49:57 +0200 Subject: [PATCH 1/2] Fix space indents created by previous updates --- adminer/include/adminer.inc.php | 4 ++-- designs/pepa-linha/adminer.css | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/adminer/include/adminer.inc.php b/adminer/include/adminer.inc.php index 11633931..a0eed9d1 100644 --- a/adminer/include/adminer.inc.php +++ b/adminer/include/adminer.inc.php @@ -881,7 +881,7 @@ class Adminer { if (!empty($fields[$field->name]['generated'])) { $generatedKeys[$field->name] = true; continue; - } + } $keys[] = $field->name; $key = idf_escape($field->name); $values[] = "$key = VALUES($key)"; @@ -902,7 +902,7 @@ class Adminer { if (isset($generatedKeys[$key])) { unset($row[$key]); continue; - } + } $field = $fields[$key]; $row[$key] = ($val !== null ? unconvert_field($field, preg_match(number_type(), $field["type"]) && !preg_match('~\[~', $field["full_type"]) && is_numeric($val) ? $val : q(($val === false ? 0 : $val))) diff --git a/designs/pepa-linha/adminer.css b/designs/pepa-linha/adminer.css index 9f0f8544..4cba21b6 100644 --- a/designs/pepa-linha/adminer.css +++ b/designs/pepa-linha/adminer.css @@ -193,7 +193,7 @@ legend a:link:hover { code { /* background: none; */ - padding: 3px 6px; + padding: 3px 6px; } p code, @@ -259,7 +259,7 @@ p code + a:visited:hover { padding-top: 9px; text-transform: lowercase; margin: 25px 0 10px 16px; - border-top: none; + border-top: none; } #menu h1 a { From 1e517cea68ff3bc421a051d5cd989c51cbe7ec1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Rajchl?= Date: Mon, 8 Apr 2024 07:54:19 +0200 Subject: [PATCH 2/2] Update translations (Czech, Slovak) --- adminer/lang/cs.inc.php | 2 +- adminer/lang/sk.inc.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/adminer/lang/cs.inc.php b/adminer/lang/cs.inc.php index b34170af..df6f6a86 100644 --- a/adminer/lang/cs.inc.php +++ b/adminer/lang/cs.inc.php @@ -351,5 +351,5 @@ $translations = array( // 'Thanks for using Adminer, consider donating.' => null, - 'A newer version of AdminerEvo is available, download it now!' => null, ); + 'A newer version of AdminerEvo is available, download it now!' => 'Ke stažení je nová verze AdminerEvo!', diff --git a/adminer/lang/sk.inc.php b/adminer/lang/sk.inc.php index 8f257a43..4a52a3ad 100644 --- a/adminer/lang/sk.inc.php +++ b/adminer/lang/sk.inc.php @@ -306,5 +306,5 @@ $translations = array( // 'Thanks for using Adminer, consider donating.' => null, - 'A newer version of AdminerEvo is available, download it now!' => null, ); + 'A newer version of AdminerEvo is available, download it now!' => 'Stiahnite si novú verziu AdminerEvo!',