1
0
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:
Jakub Vrana
2010-06-18 16:38:55 +02:00
parent 515325ac22
commit b013ce2d11
2 changed files with 2 additions and 1 deletions

View File

@@ -258,4 +258,5 @@ $translations = array(
'Search data in tables' => 'Vyhledat data v tabulkách',
'From server' => 'Ze serveru',
'empty' => 'prázdné',
'now' => 'teď',
);

View File

@@ -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]);