17 Nov - Static Sites to laravel
This commit is contained in:
parent
610aa1e202
commit
5ff57a21a7
3661 changed files with 569001 additions and 771 deletions
29
public/assets/plugins/countdown/jquery.countdown-hr.js
Normal file
29
public/assets/plugins/countdown/jquery.countdown-hr.js
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
/**
|
||||
* http://keith-wood.name/countdown.html
|
||||
* Croatian l10n for the jQuery countdown plugin
|
||||
* Written by Dejan Broz info@hqfactory.com (2011)
|
||||
* Improved by zytzagoo (2014)
|
||||
*/
|
||||
(function($) {
|
||||
$.countdown.regionalOptions['hr'] = {
|
||||
// plurals
|
||||
labels: ['Godina', 'Mjeseci', 'Tjedana', 'Dana', 'Sati', 'Minuta', 'Sekundi'],
|
||||
// singles
|
||||
labels1: ['Godina', 'Mjesec', 'Tjedan', 'Dan', 'Sat', 'Minutu', 'Sekundu'],
|
||||
// paucals
|
||||
labels2: ['Godine', 'Mjeseca', 'Tjedana', 'Dana', 'Sata', 'Minute', 'Sekunde'],
|
||||
compactLabels: ['g', 'm', 't', 'd'],
|
||||
whichLabels: function(amount){
|
||||
amount = parseInt(amount, 10);
|
||||
if (amount % 10 === 1 && amount % 100 !== 11) {
|
||||
return 1; // singles (/.*1$/ && ! /.*11$/)
|
||||
}
|
||||
if (amount % 10 >= 2 && amount % 10 <= 4 && (amount % 100 < 10 || amount % 100 >= 20)) {
|
||||
return 2; // paucals (/.*[234]$/ && ! /.*1[234]$/
|
||||
}
|
||||
return 0; // default plural (most common case)
|
||||
},
|
||||
digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'],
|
||||
timeSeparator: ':', isRTL: false};
|
||||
$.countdown.setDefaults($.countdown.regionalOptions['hr']);
|
||||
})(jQuery);
|
||||
Loading…
Add table
Add a link
Reference in a new issue