Sha256: 47ce2f89f98fece042de614fa5f098b8470f7455ec00809b00acac4dd096a553

Contents?: true

Size: 1.19 KB

Versions: 1

Compression:

Stored size: 1.19 KB

Contents

// Bosnian
(function() {
  var numpf;

  numpf = function(n, f, s, t) {
    var n10;
    n10 = n % 10;
    if (n10 === 1 && (n === 1 || n > 20)) {
      return f;
    } else if (n10 > 1 && n10 < 5 && (n > 20 || n < 10)) {
      return s;
    } else {
      return t;
    }
  };

  jQuery.timeago.settings.strings["bs"] = {
    prefixAgo: "prije",
    prefixFromNow: "za",
    suffixAgo: null,
    suffixFromNow: null,
    second: "sekund",
    seconds: function(value) {
      return numpf(value, "%d sekund", "%d sekunde", "%d sekundi");
    },
    minute: "oko minut",
    minutes: function(value) {
      return numpf(value, "%d minut", "%d minute", "%d minuta");
    },
    hour: "oko sat",
    hours: function(value) {
      return numpf(value, "%d sat", "%d sata", "%d sati");
    },
    day: "oko jednog dana",
    days: function(value) {
      return numpf(value, "%d dan", "%d dana", "%d dana");
    },
    month: "mjesec dana",
    months: function(value) {
      return numpf(value, "%d mjesec", "%d mjeseca", "%d mjeseci");
    },
    year: "prije godinu dana ",
    years: function(value) {
      return numpf(value, "%d godinu", "%d godine", "%d godina");
    },
    wordSeparator: " "
  };

}).call(this);

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails-timeago-2.6.0 vendor/assets/javascripts/locales/jquery.timeago.bs.js