1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-07 07:06:45 +02:00

Plugins: Link screenshot

This commit is contained in:
Jakub Vrana
2025-04-07 19:09:53 +02:00
parent e33ead15e5
commit bf24198e68
12 changed files with 55 additions and 9 deletions

View File

@@ -1,7 +1,6 @@
<?php
/** Display links to tables referencing current row, same as in Adminer Editor
* @link https://www.adminer.org/static/plugins/backward-keys.png
* @link https://www.adminer.org/plugins/#use
* @author Jakub Vrana, https://www.vrana.cz/
* @license https://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
@@ -53,6 +52,10 @@ ORDER BY ORDINAL_POSITION", null, "") as $row
}
}
function screenshot() {
return "https://www.adminer.org/static/plugins/backward-keys.png";
}
protected static $translations = array(
'cs' => array('' => 'Zobrazí odkazy na tabulky odkazující aktuální řádek, stejně jako Adminer Editor'),
);

View File

@@ -98,6 +98,10 @@ addEventListener('DOMContentLoaded', () => {
return true;
}
function screenshot() {
return "https://www.adminer.org/static/plugins/codemirror.gif";
}
protected static $translations = array(
'cs' => array('' => 'Použít CodeMirror 5 pro zvýrazňování syntaxe a <textarea> včetně našeptávání klíčových slov a tabulek'),
);

View File

@@ -67,6 +67,10 @@ class AdminerConfig extends Adminer\Plugin {
}
}
function screenshot() {
return "https://www.adminer.org/static/plugins/config.png";
}
protected static $translations = array(
'cs' => array(
'' => 'Konfigurace možností uživateli a jejich uložení do cookie',

View File

@@ -39,6 +39,10 @@ if (saved) {
;
}
function screenshot() {
return "https://www.adminer.org/static/plugins/dark-switcher.gif";
}
protected static $translations = array(
'cs' => array('' => 'Dovoluje přepínání světlého a tmavého vzhledu'),
);

View File

@@ -39,6 +39,10 @@ class AdminerDesigns extends Adminer\Plugin {
echo "</form>\n";
}
function screenshot() {
return "https://www.adminer.org/static/plugins/designs.png";
}
protected static $translations = array(
'cs' => array('' => 'Umožní změnit vzhled'),
'de' => array('' => 'Designwechsel ermöglichen'),

View File

@@ -51,6 +51,10 @@ class AdminerLoginOtp extends Adminer\Plugin {
return ($unpacked[1] & 0x7FFFFFFF) % 1e6;
}
function screenshot() {
return "https://www.adminer.org/static/login-otp.png";
}
protected static $translations = array(
'cs' => array('' => 'Při přihlášení požaduje jednorázové heslo'),
'de' => array('' => 'Bei der Anmeldung ist ein Einmalpasswort (Zwei-Faktor-Authentifizierung) erforderlich'),

View File

@@ -67,6 +67,10 @@ class AdminerMenuLinks extends Adminer\Plugin {
return true;
}
function screenshot() {
return "https://www.adminer.org/static/plugins/menu-links.png";
}
protected static $translations = array(
'cs' => array(
'' => 'Konfigurace odkazů na tabulky v menu; kombinovatelné s AdminerConfig',

View File

@@ -2,7 +2,6 @@
/** AI prompt in SQL command generating the queries with Google Gemini
* Beware that this sends your whole database structure (not data) to Google Gemini.
* @link https://www.adminer.org/static/plugins/sql-gemini.gif
* @link https://gemini.google.com/
* @link https://www.adminer.org/plugins/#use
* @author Jakub Vrana, https://www.vrana.cz/
@@ -92,6 +91,10 @@ geminiText.onkeydown = event => {
<?php
}
function screenshot() {
return "https://www.adminer.org/static/plugins/sql-gemini.gif";
}
// use the phrases from https://gemini.google.com/
protected static $translations = array(
'cs' => array(