diff --git a/adminer/include/plugin.inc.php b/adminer/include/plugin.inc.php index 98f76b4b..08c8f216 100644 --- a/adminer/include/plugin.inc.php +++ b/adminer/include/plugin.inc.php @@ -9,7 +9,7 @@ abstract class Plugin { * @return string */ function description() { - return ''; + return $this->lang(''); } /** Translate a string from static::$translations; use Adminer\lang() for strings used by Adminer diff --git a/plugins/backward-keys.php b/plugins/backward-keys.php index 491ce3d5..67bb5a08 100644 --- a/plugins/backward-keys.php +++ b/plugins/backward-keys.php @@ -52,4 +52,8 @@ ORDER BY ORDINAL_POSITION", null, "") as $row } } } + + protected static $translations = array( + 'cs' => array('' => 'Zobrazí odkazy na tabulky odkazující aktuální řádek, stejně jako Adminer Editor'), + ); } diff --git a/plugins/before-unload.php b/plugins/before-unload.php index 68e14774..2cf98a36 100644 --- a/plugins/before-unload.php +++ b/plugins/before-unload.php @@ -30,4 +30,8 @@ onbeforeunload = () => editChanged; array('' => 'Zobrazí potvrzení před odnahráním stránky, pokud bylo změněno formulářové políčko'), + ); } diff --git a/plugins/codemirror.php b/plugins/codemirror.php index 1d476fc8..746a1ac6 100644 --- a/plugins/codemirror.php +++ b/plugins/codemirror.php @@ -97,4 +97,8 @@ addEventListener('DOMContentLoaded', () => { array('' => 'Použít CodeMirror 5 pro zvýrazňování syntaxe a '; } } + + protected static $translations = array( + 'cs' => array('' => 'Použije