mirror of
https://github.com/vrana/adminer.git
synced 2025-08-11 17:14:07 +02:00
Translate 'now' in Editor
This commit is contained in:
@@ -258,4 +258,5 @@ $translations = array(
|
||||
'Search data in tables' => 'Vyhledat data v tabulkách',
|
||||
'From server' => 'Ze serveru',
|
||||
'empty' => 'prázdné',
|
||||
'now' => 'teď',
|
||||
);
|
||||
|
@@ -386,7 +386,7 @@ ORDER BY ORDINAL_POSITION");
|
||||
$return = array("" => ($field["null"] || $field["auto_increment"] || $field["full_type"] == "tinyint(1)" ? "" : "*"));
|
||||
//! respect driver
|
||||
if (ereg('date|time', $field["type"])) {
|
||||
$return[] = "now";
|
||||
$return["now"] = lang('now');
|
||||
}
|
||||
if (eregi('_(md5|sha1)$', $field["field"], $match)) {
|
||||
$return[] = strtolower($match[1]);
|
||||
|
Reference in New Issue
Block a user