Date format hint

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@977 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana 2009-08-18 09:36:32 +00:00
parent e3310672d2
commit 8073cfa641
12 changed files with 16 additions and 0 deletions

View file

@ -212,6 +212,7 @@ $translations = array(
'(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 file

@ -212,6 +212,7 @@ $translations = array(
'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 file

@ -212,6 +212,7 @@ $translations = array(
'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 file

@ -212,6 +212,7 @@ $translations = array(
'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 file

@ -212,6 +212,7 @@ $translations = array(
'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 file

@ -212,6 +212,7 @@ $translations = array(
'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 file

@ -212,6 +212,7 @@ $translations = array(
'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 file

@ -212,6 +212,7 @@ $translations = array(
'(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 file

@ -212,6 +212,7 @@ $translations = array(
'(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 file

@ -212,6 +212,7 @@ $translations = array(
'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 file

@ -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

View file

@ -315,6 +315,9 @@ ORDER BY ORDINAL_POSITION"); //! requires MySQL 5
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 '';
}