Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /adminer/include/lang.inc.php [40ad84] .. [6591d4] Maximize Restore

  Switch to unified view

a/adminer/include/lang.inc.php b/adminer/include/lang.inc.php
...
...
58
        ))))))); // http://www.gnu.org/software/gettext/manual/html_node/Plural-forms.html
58
        ))))))); // http://www.gnu.org/software/gettext/manual/html_node/Plural-forms.html
59
        $translation = $translation[$pos];
59
        $translation = $translation[$pos];
60
    }
60
    }
61
    $args = func_get_args();
61
    $args = func_get_args();
62
    array_shift($args);
62
    array_shift($args);
63
    return vsprintf((isset($translation) ? $translation : $idf), $args);
63
    return vsprintf(($translation !== null ? $translation : $idf), $args);
64
}
64
}
65
65
66
function switch_lang() {
66
function switch_lang() {
67
    global $LANG, $langs;
67
    global $LANG, $langs;
68
    echo "<form action=''>\n<div id='lang'>";
68
    echo "<form action=''>\n<div id='lang'>";