Sha256: 124ba157a2096440984dbde482ae22a7a268ff16d44fb22f55c923a67e9c894c

Contents?: true

Size: 881 Bytes

Versions: 26

Compression:

Stored size: 881 Bytes

Contents

// Polish
(function() {
  function numpf(n, s, t) {
    // s - 2-4, 22-24, 32-34 ...
    // t - 5-21, 25-31, ...
    var n10 = n % 10;
    if ( (n10 > 1) && (n10 < 5) && ( (n > 20) || (n < 10) ) ) {
      return s;
    } else {
      return t;
    }
  }

  jQuery.timeago.settings.strings["pl"] = {
    prefixAgo: null,
    prefixFromNow: "za",
    suffixAgo: "temu",
    suffixFromNow: null,
    seconds: "mniej niż minutę",
    minute: "minutę",
    minutes: function(value) { return numpf(value, "%d minuty", "%d minut"); },
    hour: "godzinę",
    hours: function(value) { return numpf(value, "%d godziny", "%d godzin"); },
    day: "dzień",
    days: "%d dni",
    month: "miesiąc",
    months: function(value) { return numpf(value, "%d miesiące", "%d miesięcy"); },
    year: "rok",
    years: function(value) { return numpf(value, "%d lata", "%d lat"); }
  };
})();

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
rails-timeago-2.16.0 vendor/assets/javascripts/locales/jquery.timeago.pl.js
rails-timeago-2.15.0 vendor/assets/javascripts/locales/jquery.timeago.pl.js
rails-timeago-2.14.0 vendor/assets/javascripts/locales/jquery.timeago.pl.js
rails-timeago-2.13.0 vendor/assets/javascripts/locales/jquery.timeago.pl.js
rails-timeago-2.12.0 vendor/assets/javascripts/locales/jquery.timeago.pl.js
rails-timeago-2.11.1 vendor/assets/javascripts/locales/jquery.timeago.pl.js
rails-timeago-2.11.0 vendor/assets/javascripts/locales/jquery.timeago.pl.js
rails-timeago-2.10.2 vendor/assets/javascripts/locales/jquery.timeago.pl.js
rails-timeago-2.10.1 vendor/assets/javascripts/locales/jquery.timeago.pl.js
rails-timeago-2.10.0 vendor/assets/javascripts/locales/jquery.timeago.pl.js
rails-timeago-2.9.0 vendor/assets/javascripts/locales/jquery.timeago.pl.js
rails-timeago-2.8.1 vendor/assets/javascripts/locales/jquery.timeago.pl.js
rails-timeago-2.8.0 vendor/assets/javascripts/locales/jquery.timeago.pl.js
rails-timeago-2.7.1 vendor/assets/javascripts/locales/jquery.timeago.pl.js
rails-timeago-2.7.0 vendor/assets/javascripts/locales/jquery.timeago.pl.js
rails-timeago-2.5.1 vendor/assets/javascripts/locales/jquery.timeago.pl.js
rails-timeago-2.5.0 vendor/assets/javascripts/locales/jquery.timeago.pl.js
rails-timeago-2.4.0 vendor/assets/javascripts/locales/jquery.timeago.pl.js
rails-timeago-2.3.0 vendor/assets/javascripts/locales/jquery.timeago.pl.js
rails-timeago-2.2.3 vendor/assets/javascripts/locales/jquery.timeago.pl.js