// Slovenian with support for dual
(function () {
    var numpf;
    numpf = function (n, d, m) {
        if (n == 2) {
            return d;
        } else {
            return m;
        }
    };

    jQuery.timeago.settings.strings = {
        prefixAgo: "pred",
        prefixFromNow: "čez",
        suffixAgo: null,
        suffixFromNow: null,
        second: "sekundo",
        seconds: function (value) {
            return numpf(value, "%d sekundama", "%d sekundami");
        },
        minute: "minuto",
        minutes: function (value) {
            return numpf(value, "%d minutama", "%d minutami");
        },
        hour: "uro",
        hours: function (value) {
            return numpf(value, "%d urama", "%d urami");
        },
        day: "dnevom",
        days: function (value) {
            return numpf(value, "%d dnevi", "%d dnevi");
        },
        month: "enim mescem",
        months: function (value) {
            return numpf(value, "%d mesecema", "%d meseci");
        },
        year: "enim letom",
        years: function (value) {
            return numpf(value, "%d letoma", "%d leti");
        },
        wordSeparator: " "
    };

}).call(this);

// Slovenian with support for dual
(function () {
    var numpf;
    numpf = function (n, a) {
        return a[n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n%100==4 ? 3 : 0];
    };

    jQuery.timeago.settings.strings = {
        prefixAgo: null,
        prefixFromNow: "čez",
        suffixAgo: "nazaj",
        suffixFromNow: null,
        second: "sekundo",
        seconds: function (value) {
            return numpf(value, ["%d sekund", "%d sekundo", "%d sekundi", "%d sekunde"]);
        },
        minute: "minuto",
        minutes: function (value) {
            return numpf(value, ["%d minut", "%d minuto", "%d minuti", "%d minute"]);
        },
        hour: "eno uro",
        hours: function (value) {
            return numpf(value, ["%d ur", "%d uro", "%d uri", "%d ure"]);
        },
        day: "en dan",
        days: function (value) {
            return numpf(value, ["%d dni", "%d dan", "%d dneva", "%d dni"]);
        },
        month: "en mesec",
        months: function (value) {
            return numpf(value, ["%d mescov", "%d mesec", "%d mesca", "%d mesce"]);
        },
        year: "eno leto",
        years: function (value) {
            return numpf(value, ["%d let", "%d leto", "%d leti", "%d leta"]);
        },
        wordSeparator: " "
    };

}).call(this);

handle slovenian translation correctly