Arrays only from %d

git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@96 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana 2007-07-10 11:37:21 +00:00
parent 4df1572bff
commit 01f52ebbf7

View file

@ -27,7 +27,7 @@ foreach (array_reverse($translations[2], true) as $key => $translation) {
}
}
foreach($messages as $idf => $val) {
if ($val == ",") {
if ($val == "," && strpos($idf, "%d")) {
$s .= "\t\t\t$idf => array(),\n";
} elseif ($translations[1][$key][0] != 'en') {
$s .= "\t\t\t$idf => '',\n";