Permalink
Browse files

Date format hint

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@977 7c3ca157-0c34-0410-bff1-cbf682f78f5c
  • Loading branch information...
jakubvrana
jakubvrana committed Aug 18, 2009
1 parent e331067 commit 8073cfa641e0a2f645e81b62de98bf26bc8948d7
View
@@ -212,6 +212,7 @@
'(anywhere)' => '(kdekoliv)',
'%.3f s' => '%.3f s',
'$1-$3-$5' => '$6.$4.$1',
+ 'yyyy-mm-dd' => 'd.m.yyyy',
'History' => 'Historie',
'Variables' => 'Proměnné',
'Source and target columns must have the same data type, there must be an index on the target columns and referenced data must exist.' => 'Zdrojové a cílové sloupce musí mít stejný datový typ, nad cílovými sloupci musí být definován index a odkazovaná data musí existovat.',
View
@@ -212,6 +212,7 @@
'Select table' => 'Tabelle auswählen',
'%.3f s' => '%.3f s',
'$1-$3-$5' => '$6.$4.$1',
+ 'yyyy-mm-dd' => 'd.m.yyyy',
'History' => 'History',
'Variables' => 'Variablen',
'Source and target columns must have the same data type, there must be an index on the target columns and referenced data must exist.' => 'Spalten des Ursprungs und des Zieles müssen vom gleichen Datentyp sein, es muss unter den Zielspalten ein Index existieren und die referenzierten Daten müssen existieren.',
View
@@ -212,6 +212,7 @@
'Select table' => 'Seleccionar tabla',
'%.3f s' => '%.3f s',
'$1-$3-$5' => '$5/$3/$1',
+ 'yyyy-mm-dd' => 'dd/mm/yyyy',
'History' => 'History',
'Variables' => 'Variables',
'Source and target columns must have the same data type, there must be an index on the target columns and referenced data must exist.' => 'Las columnas de origen y destino deben ser del mismo tipo, debe existir un índice entre las columnas del destino y el registro referenciado debe existir.',
View
@@ -212,6 +212,7 @@
'Select table' => 'Vali tabel',
'%.3f s' => '%.3f s',
'$1-$3-$5' => '$6.$4.$1',
+ 'yyyy-mm-dd' => 'd.m.yyyy',
'History' => 'Ajalugu',
'Variables' => 'Muutujad',
'Source and target columns must have the same data type, there must be an index on the target columns and referenced data must exist.' => 'Lähte- ja sihtveerud peavad eksisteerima ja omama sama andmetüüpi, sihtveergudel peab olema määratud indeks ning viidatud andmed peavad eksisteerima.',
View
@@ -212,6 +212,7 @@
'Select table' => 'Selectionner la table',
'%.3f s' => '%.3f s',
'$1-$3-$5' => '$5/$3/$1',
+ 'yyyy-mm-dd' => 'dd/mm/yyyy',
'History' => 'Historique',
'Variables' => 'Variables',
'Source and target columns must have the same data type, there must be an index on the target columns and referenced data must exist.' => 'Les colonnes selectionnées et les colonnes de destination doivent être du même type, il doit y avoir un index sur les colonnes de destination et les données de référence doivent exister.',
View
@@ -212,6 +212,7 @@
'Select table' => 'Scegli tabella',
'%.3f s' => '%.3f s',
'$1-$3-$5' => '$5/$3/$1',
+ 'yyyy-mm-dd' => 'dd/mm/yyyy',
'History' => 'Storico',
'Variables' => 'Variabili',
'Source and target columns must have the same data type, there must be an index on the target columns and referenced data must exist.' => 'Le colonne sorgente e destinazione devono essere dello stesso tipo e ci deve essere un indice sulla colonna di destinazione e sui dati referenziati.',
View
@@ -212,6 +212,7 @@
'Select table' => 'Selecteer tabel',
'%.3f s' => '%.3f s',
'$1-$3-$5' => '$5-$3-$1',
+ 'yyyy-mm-dd' => 'dd-mm-yyyy',
'History' => 'Geschiedenis',
'Variables' => 'Variabelen',
'Source and target columns must have the same data type, there must be an index on the target columns and referenced data must exist.' => 'Bron- en doelkolommen moeten van hetzelfde data type zijn, er moet een index bestaan op de gekozen kolommen en er moet gerelateerde data bestaan.',
View
@@ -212,6 +212,7 @@
'(anywhere)' => '(в любом месте)',
'%.3f s' => '%.3f s',
'$1-$3-$5' => '$5.$3.$1',
+ 'yyyy-mm-dd' => 'dd.mm.yyyy',
'History' => 'История',
'Variables' => 'Переменные',
'Source and target columns must have the same data type, there must be an index on the target columns and referenced data must exist.' => 'Колонки должны иметь одинаковые типы данных, в результирующей колонке должен быть индекс, данные для импорта должны существовать.',
View
@@ -212,6 +212,7 @@
'(anywhere)' => '(kdekoľvek)',
'%.3f s' => '%.3f s',
'$1-$3-$5' => '$6.$4.$1',
+ 'yyyy-mm-dd' => 'd.m.yyyy',
'History' => 'História',
'Variables' => 'Premenné',
'Source and target columns must have the same data type, there must be an index on the target columns and referenced data must exist.' => 'Zdrojové a cieľové stĺpce musia mať rovnaký datový typ, nad cieľovými stĺpcami musí byť definovaný index a odkazované dáta musia existovať.',
View
@@ -212,6 +212,7 @@
'Select table' => '选择表',
'%.3f s' => '%.3f 秒',
'$1-$3-$5' => '$1.$3.$5',
+ 'yyyy-mm-dd' => 'dd.mm.yyyy',
'History' => '历史',
'Variables' => '变量',
'Source and target columns must have the same data type, there must be an index on the target columns and referenced data must exist.' => '源列和目标列必须具有相同的数据类型,在目标列上必须有一个索引并且引用的数据必须存在。',
View
@@ -1,3 +1,6 @@
+Adminer 2.0.1:
+Fix Editor date format
+
Adminer 2.0.0 (released 2009-08-06):
Editor: User friendly data editor
Customization: Adminer class
@@ -315,6 +315,9 @@ function editInput($table, $field, $attrs, $value) {
if ($field["full_type"] == "tinyint(1)") { // bool
return '<input type="checkbox" value="' . h($value ? $value : 1) . '"' . ($value ? ' checked' : '') . "$attrs>";
}
+ if (ereg('date|timestamp', $field["type"])) {
+ return "<input value='" . h($value) . "'$attrs> (" . lang('yyyy-mm-dd') . ")"; //! maxlength
+ }
return '';
}

0 comments on commit 8073cfa

Please sign in to comment.