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
|
||||||
jQuery.timeago.settings.strings = {
|
(function() {
|
||||||
prefixAgo: "před",
|
function f(n, d, a) {
|
||||||
prefixFromNow: null,
|
return a[d>=0 ? 0 : a.length==2 || n<5 ? 1 : 2];
|
||||||
suffixAgo: null,
|
}
|
||||||
suffixFromNow: null,
|
|
||||||
seconds: "méně než minutou",
|
jQuery.timeago.settings.strings = {
|
||||||
minute: "minutou",
|
prefixAgo: 'před',
|
||||||
minutes: "%d minutami",
|
prefixFromNow: 'za',
|
||||||
hour: "hodinou",
|
suffixAgo: null,
|
||||||
hours: "%d hodinami",
|
suffixFromNow: null,
|
||||||
day: "1 dnem",
|
seconds: function(n, d) {return f(n, d, ['méně než minutou', 'méně než minutu'])},
|
||||||
days: "%d dny",
|
minute: function(n, d) {return f(n, d, ['minutou', 'minutu'])},
|
||||||
month: "1 měsícem",
|
minutes: function(n, d) {return f(n, d, ['%d minutami', '%d minuty', '%d minut'])},
|
||||||
months: "%d měsíci",
|
hour: function(n, d) {return f(n, d, ['hodinou', 'hodinu'])},
|
||||||
year: "1 rokem",
|
hours: function(n, d) {return f(n, d, ['%d hodinami', '%d hodiny', '%d hodin'])},
|
||||||
years: "%d roky"
|
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ící', '%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'])}
|
||||||
|
};
|
||||||
|
})();
|
||||||
|
|
Loading…
Reference in a new issue