Sha256: b152d8f0f1b41c3b0e98e6c41c1691f4272ec4061b7c7fe2be5e1c040fecb158

Contents?: true

Size: 1.41 KB

Versions: 5

Compression:

Stored size: 1.41 KB

Contents

(function (factory) {
  if (typeof define === 'function' && define.amd) {
    define(['jquery'], factory);
  } else if (typeof module === 'object' && typeof module.exports === 'object') {
    factory(require('jquery'));
  } else {
    factory(jQuery);
  }
}(function (jQuery) {
  // Czech
  (function() {
  	function f(n, d, a) {
  		return a[d>=0 ? 0 : a.length===2 || n<5 ? 1 : 2];
  	}
  
  	jQuery.timeago.settings.strings["cs"] = {
  		prefixAgo:     'před',
  		prefixFromNow: 'za',
  		suffixAgo:     null,
  		suffixFromNow: null,
  		seconds: function(n, d) {return f(n, d, ['méně než minutou', 'méně než minutu']);},
  		minute:  function(n, d) {return f(n, d, ['minutou', 'minutu']);},
  		minutes: function(n, d) {return f(n, d, ['%d minutami', '%d minuty', '%d minut']);},
  		hour:    function(n, d) {return f(n, d, ['hodinou', 'hodinu']);},
  		hours:   function(n, d) {return f(n, d, ['%d hodinami', '%d hodiny', '%d hodin']);},
  		day:     function(n, d) {return f(n, d, ['%d dnem', '%d den']);},
  		days:    function(n, d) {return f(n, d, ['%d dny', '%d dny', '%d dní']);},
  		month:   function(n, d) {return f(n, d, ['%d měsícem', '%d měsíc']);},
  		months:  function(n, d) {return f(n, d, ['%d měsíci', '%d měsíce', '%d měsíců']);},
  		year:    function(n, d) {return f(n, d, ['%d rokem', '%d rok']);},
  		years:   function(n, d) {return f(n, d, ['%d lety', '%d roky', '%d let']);}
  	};
  })();
}));

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rails-timeago-2.20.0 vendor/assets/javascripts/locales/jquery.timeago.cs.js
rails-timeago-2.19.1 vendor/assets/javascripts/locales/jquery.timeago.cs.js
rails-timeago-2.19.0 vendor/assets/javascripts/locales/jquery.timeago.cs.js
rails-timeago-2.18.0 vendor/assets/javascripts/locales/jquery.timeago.cs.js
rails-timeago-2.17.1 vendor/assets/javascripts/locales/jquery.timeago.cs.js