mirror of
https://github.com/janickiy/yii2-nomer
synced 2025-03-09 15:39:59 +00:00
add files to project
This commit is contained in:
commit
5cac498444
3729 changed files with 836998 additions and 0 deletions
|
@ -0,0 +1,18 @@
|
|||
/* http://keith-wood.name/countdown.html
|
||||
* Polish initialisation for the jQuery countdown extension
|
||||
* Written by Pawel Lewtak lewtak@gmail.com (2008) */
|
||||
(function($) {
|
||||
$.countdown.regional['pl'] = {
|
||||
labels: ['lat', 'miesięcy', 'tygodni', 'dni', 'godzin', 'minut', 'sekund'],
|
||||
labels1: ['rok', 'miesiąc', 'tydzień', 'dzień', 'godzina', 'minuta', 'sekunda'],
|
||||
labels2: ['lata', 'miesiące', 'tygodnie', 'dni', 'godziny', 'minuty', 'sekundy'],
|
||||
compactLabels: ['l', 'm', 't', 'd'], compactLabels1: ['r', 'm', 't', 'd'],
|
||||
whichLabels: function(amount) {
|
||||
var units = amount % 10;
|
||||
var tens = Math.floor((amount % 100) / 10);
|
||||
return (amount == 1 ? 1 : (units >= 2 && units <= 4 && tens != 1 ? 2 : 0));
|
||||
},
|
||||
digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'],
|
||||
timeSeparator: ':', isRTL: false};
|
||||
$.countdown.setDefaults($.countdown.regional['pl']);
|
||||
})(jQuery);
|
Loading…
Add table
Add a link
Reference in a new issue