From: Jakub Vrana Date: Mon, 11 Jul 2011 15:33:55 +0000 (+0200) Subject: Empty translation means identifier X-Git-Tag: v3.3.0~12 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=5fa9f84de0650969d4ec7894f4a04fd5b75b1347;p=adminer.git Empty translation means identifier --- diff --git a/adminer/include/lang.inc.php b/adminer/include/lang.inc.php index d0713dcc..4c474197 100644 --- a/adminer/include/lang.inc.php +++ b/adminer/include/lang.inc.php @@ -43,7 +43,7 @@ function get_lang() { function lang($idf, $number = null) { global $LANG, $translations; $translation = $translations[$idf]; - if (is_array($translation) && $translation) { + if (is_array($translation)) { $pos = ($number == 1 ? 0 : ($LANG == 'cs' || $LANG == 'sk' ? ($number && $number < 5 ? 1 : 2) // different forms for 1, 2-4, other : ($LANG == 'fr' ? (!$number ? 0 : 1) // different forms for 0-1, other