]> git.joonet.de Git - adminer.git/commitdiff
Explain empty enum value
authorJakub Vrana <jakub@vrana.cz>
Thu, 20 May 2010 21:01:40 +0000 (23:01 +0200)
committerJakub Vrana <jakub@vrana.cz>
Fri, 21 May 2010 18:30:54 +0000 (20:30 +0200)
adminer/include/adminer.inc.php
adminer/lang/cs.inc.php

index 6ec3e09c24022eb968a5aa8e18e5adcf57117b03..9dca898c71263395ba8d27038f9b166712c36715 100644 (file)
@@ -423,7 +423,7 @@ document.getElementById('username').focus();
        function editInput($table, $field, $attrs, $value) {
                if ($field["type"] == "enum") {
                        return ($field["null"] ? "<label><input type='radio'$attrs value=''" . (isset($value) || isset($_GET["select"]) ? "" : " checked") . "><em>NULL</em></label> " : "")
-                               . "<input type='radio'$attrs value='0'" . ($value === 0 ? " checked" : "") . ">"
+                               . "<label><input type='radio'$attrs value='0'" . ($value === 0 ? " checked" : "") . "><em>" . lang('empty') . "</em></label>"
                        ;
                }
                return "";
index 7bb63102289a751111f0bef14d64df96e0dc9e8a..0ee679649ce0351e0f6868573235e7beef7cca3c 100644 (file)
@@ -257,4 +257,5 @@ $translations = array(
        'Alter type' => 'Pozměnit typ',
        'Search data in tables' => 'Vyhledat data v tabulkách',
        'From server' => 'Ze serveru',
+       'empty' => 'prázdné',
 );