Sha256: 6fd591c7e1f3b04f5e3ece6905fe729c1908dcb8fcbfb30bddc2fe379e71735e

Contents?: true

Size: 1.11 KB

Versions: 16

Compression:

Stored size: 1.11 KB

Contents

// Russian
(function() {
  function numpf(n, f, s, t) {
    // f - 1, 21, 31, ...
    // s - 2-4, 22-24, 32-34 ...
    // t - 5-20, 25-30, ...
    var 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 = {
    prefixAgo: null,
    prefixFromNow: "через",
    suffixAgo: "мурун",
    suffixFromNow: null,
    seconds: "1 минуттан аз",
    minute: "минута",
    minutes: function(value) { return numpf(value, "%d минута", "%d минута", "%d минут"); },
    hour: "саат",
    hours: function(value) { return numpf(value, "%d саат", "%d саат", "%d саат"); },
    day: "күн",
    days: function(value) { return numpf(value, "%d күн", "%d күн", "%d күн"); },
    month: "ай",
    months: function(value) { return numpf(value, "%d ай", "%d ай", "%d ай"); },
    year: "жыл",
    years: function(value) { return numpf(value, "%d жыл", "%d жыл", "%d жыл"); }
  };
})();

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
ndr_ui-4.1.1 vendor/assets/jquery-timeago-1.5.3/locales/jquery.timeago.ky.js
ndr_ui-3.3.1 vendor/assets/jquery-timeago-1.5.3/locales/jquery.timeago.ky.js
ndr_ui-3.3.0 vendor/assets/jquery-timeago-1.5.3/locales/jquery.timeago.ky.js
ndr_ui-3.2.0 vendor/assets/jquery-timeago-1.5.3/locales/jquery.timeago.ky.js
ndr_ui-3.1.0 vendor/assets/jquery-timeago-1.5.3/locales/jquery.timeago.ky.js
ndr_ui-3.0.0 vendor/assets/jquery-timeago-1.5.3/locales/jquery.timeago.ky.js
ndr_ui-2.3.0 vendor/assets/jquery-timeago-1.5.3/locales/jquery.timeago.ky.js
ndr_ui-2.2.0 vendor/assets/jquery-timeago-1.5.3/locales/jquery.timeago.ky.js
ndr_ui-2.1.1 vendor/assets/jquery-timeago-1.5.3/locales/jquery.timeago.ky.js
ndr_ui-2.1.0 vendor/assets/jquery-timeago-1.5.3/locales/jquery.timeago.ky.js
ndr_ui-2.0.2 vendor/assets/jquery-timeago-1.5.3/locales/jquery.timeago.ky.js
ndr_ui-1.12.2 vendor/assets/jquery-timeago-1.5.3/locales/jquery.timeago.ky.js
ndr_ui-1.12.1 vendor/assets/jquery-timeago-1.5.3/locales/jquery.timeago.ky.js
ndr_ui-1.12.0 vendor/assets/jquery-timeago-1.5.3/locales/jquery.timeago.ky.js
ndr_ui-1.8.1 vendor/assets/jquery-timeago-1.5.3/locales/jquery.timeago.ky.js
locomotivecms-3.2.0.rc1 vendor/assets/components/locomotive_sources/jquery-timeago/locales/jquery.timeago.ky.js