mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 17:44: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',
|
'Search data in tables' => 'Vyhledat data v tabulkách',
|
||||||
'From server' => 'Ze serveru',
|
'From server' => 'Ze serveru',
|
||||||
'empty' => 'prázdné',
|
'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)" ? "" : "*"));
|
$return = array("" => ($field["null"] || $field["auto_increment"] || $field["full_type"] == "tinyint(1)" ? "" : "*"));
|
||||||
//! respect driver
|
//! respect driver
|
||||||
if (ereg('date|time', $field["type"])) {
|
if (ereg('date|time', $field["type"])) {
|
||||||
$return[] = "now";
|
$return["now"] = lang('now');
|
||||||
}
|
}
|
||||||
if (eregi('_(md5|sha1)$', $field["field"], $match)) {
|
if (eregi('_(md5|sha1)$', $field["field"], $match)) {
|
||||||
$return[] = strtolower($match[1]);
|
$return[] = strtolower($match[1]);
|
||||||
|
Reference in New Issue
Block a user