mirror of
https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
synced 2024-11-27 14:48:36 -05:00
35 lines
1.4 KiB
JavaScript
35 lines
1.4 KiB
JavaScript
(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 = {
|
|
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']);}
|
|
};
|
|
})();
|
|
}));
|