
function ngettext(str, count, arg) {
    var ret = count == 1 ? str[1] : str[0];
    return typeof arg != 'undefined' ? sprintf(ret, arg) : ret;
}
