mirror of
https://github.com/scratchfoundation/jquery-timeago.git
synced 2024-11-27 01:35:40 -05:00
Update jquery.timeago.cs.js
This commit is contained in:
parent
0399e804db
commit
0d2a2145b2
1 changed files with 23 additions and 17 deletions
|
@ -1,18 +1,24 @@
|
||||||
// Czech
|
// Czech
|
||||||
|
(function() {
|
||||||
|
function f(n, d, a) {
|
||||||
|
return a[d>=0 ? 0 : a.length==2 || n<5 ? 1 : 2];
|
||||||
|
}
|
||||||
|
|
||||||
jQuery.timeago.settings.strings = {
|
jQuery.timeago.settings.strings = {
|
||||||
prefixAgo: "před",
|
prefixAgo: 'před',
|
||||||
prefixFromNow: null,
|
prefixFromNow: 'za',
|
||||||
suffixAgo: null,
|
suffixAgo: null,
|
||||||
suffixFromNow: null,
|
suffixFromNow: null,
|
||||||
seconds: "méně než minutou",
|
seconds: function(n, d) {return f(n, d, ['méně než minutou', 'méně než minutu'])},
|
||||||
minute: "minutou",
|
minute: function(n, d) {return f(n, d, ['minutou', 'minutu'])},
|
||||||
minutes: "%d minutami",
|
minutes: function(n, d) {return f(n, d, ['%d minutami', '%d minuty', '%d minut'])},
|
||||||
hour: "hodinou",
|
hour: function(n, d) {return f(n, d, ['hodinou', 'hodinu'])},
|
||||||
hours: "%d hodinami",
|
hours: function(n, d) {return f(n, d, ['%d hodinami', '%d hodiny', '%d hodin'])},
|
||||||
day: "1 dnem",
|
day: function(n, d) {return f(n, d, ['%d dnem', '%d den'])},
|
||||||
days: "%d dny",
|
days: function(n, d) {return f(n, d, ['%d dny', '%d dny', '%d dní'])},
|
||||||
month: "1 měsícem",
|
month: function(n, d) {return f(n, d, ['%d měsícem', '%d měsíc'])},
|
||||||
months: "%d měsíci",
|
months: function(n, d) {return f(n, d, ['%d měsící', '%d měsíce', '%d měsíců'])},
|
||||||
year: "1 rokem",
|
year: function(n, d) {return f(n, d, ['%d rokem', '%d rok'])},
|
||||||
years: "%d roky"
|
years: function(n, d) {return f(n, d, ['%d lety', '%d roky', '%d let'])}
|
||||||
};
|
};
|
||||||
|
})();
|
||||||
|
|
Loading…
Reference in a new issue