mirror of
https://github.com/scratchfoundation/jquery-timeago.git
synced 2024-11-23 07:47:54 -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
|
||||
jQuery.timeago.settings.strings = {
|
||||
prefixAgo: "před",
|
||||
prefixFromNow: null,
|
||||
(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: "méně než minutou",
|
||||
minute: "minutou",
|
||||
minutes: "%d minutami",
|
||||
hour: "hodinou",
|
||||
hours: "%d hodinami",
|
||||
day: "1 dnem",
|
||||
days: "%d dny",
|
||||
month: "1 měsícem",
|
||||
months: "%d měsíci",
|
||||
year: "1 rokem",
|
||||
years: "%d roky"
|
||||
};
|
||||
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í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