Skip to content
Browse files

Empty translation means identifier

  • Loading branch information...
1 parent 9a4cabe commit 5fa9f84de0650969d4ec7894f4a04fd5b75b1347 @vrana committed Jul 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 adminer/include/lang.inc.php
View
2 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

0 comments on commit 5fa9f84

Please sign in to comment.
Something went wrong with that request. Please try again.