jquery-countdown-rails 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +41 -0
- data/Rakefile +1 -0
- data/jquery-countdown-rails.gemspec +24 -0
- data/lib/jquery-countdown-rails.rb +15 -0
- data/lib/jquery-countdown-rails/engine.rb +7 -0
- data/lib/jquery-countdown-rails/railtie.rb +7 -0
- data/lib/jquery-countdown-rails/sprockets.rb +8 -0
- data/lib/jquery-countdown-rails/version.rb +4 -0
- data/vendor/assets/javascripts/jquery.countdown-ar.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-bg.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-bn.js +0 -0
- data/vendor/assets/javascripts/jquery.countdown-bs.js +16 -0
- data/vendor/assets/javascripts/jquery.countdown-ca.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-cs.js +16 -0
- data/vendor/assets/javascripts/jquery.countdown-cy.js +1 -0
- data/vendor/assets/javascripts/jquery.countdown-da.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-de.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-el.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-es.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-et.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-fa.js +14 -0
- data/vendor/assets/javascripts/jquery.countdown-fi.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-fr.js +15 -0
- data/vendor/assets/javascripts/jquery.countdown-gl.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-gu.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-he.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-hr.js +16 -0
- data/vendor/assets/javascripts/jquery.countdown-hu.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-hy.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-id.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-it.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-ja.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-kn.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-ko.js +14 -0
- data/vendor/assets/javascripts/jquery.countdown-lt.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-lv.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-ml.js +14 -0
- data/vendor/assets/javascripts/jquery.countdown-ms.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-my.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-nb.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-nl.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-pl.js +18 -0
- data/vendor/assets/javascripts/jquery.countdown-pt-BR.js +14 -0
- data/vendor/assets/javascripts/jquery.countdown-ro.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-ru.js +19 -0
- data/vendor/assets/javascripts/jquery.countdown-sk.js +16 -0
- data/vendor/assets/javascripts/jquery.countdown-sl.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-sq.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-sr-SR.js +16 -0
- data/vendor/assets/javascripts/jquery.countdown-sr.js +16 -0
- data/vendor/assets/javascripts/jquery.countdown-sv.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-th.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-tr.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-uk.js +16 -0
- data/vendor/assets/javascripts/jquery.countdown-uz.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-vi.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-zh-CN.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown-zh-TW.js +13 -0
- data/vendor/assets/javascripts/jquery.countdown.js +838 -0
- data/vendor/assets/stylesheets/jquery.countdown.css +51 -0
- metadata +138 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: 5bfe693398a7410010a9a8a5f0871341067914ca
|
|
4
|
+
data.tar.gz: 80914be63674fb8087b6a5312f8b474c6b82c321
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: ac157c0a2590916a3ea92fa8d83f7101ac100f69f5fa4eff1e574d2628a5768c66f234eefe14b1a1ca17e0ae7047a955269608b83323bc55478e7d56a18fa3f2
|
|
7
|
+
data.tar.gz: 4c86dab102f17d89c07eda8b11bcfb2ffb4771af0a7e520d404eafd8f2df731bc7f39c59b208d5a9934228fa9a0b4c3d41fbc23988e735cbe86caff9ddf961c1
|
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
Copyright (c) 2013 Mauricio Pasquier Juan
|
|
2
|
+
|
|
3
|
+
MIT License
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
6
|
+
a copy of this software and associated documentation files (the
|
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
11
|
+
the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be
|
|
14
|
+
included in all copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# jquery-countdown-rails
|
|
2
|
+
|
|
3
|
+
[jquery-countdown][] for the asset pipeline. Despite the name, it works fine if
|
|
4
|
+
you're using [sprockets][] without rails.
|
|
5
|
+
|
|
6
|
+
## Installation
|
|
7
|
+
|
|
8
|
+
Add this line to your application's Gemfile:
|
|
9
|
+
|
|
10
|
+
gem 'jquery-countdown-rails'
|
|
11
|
+
|
|
12
|
+
And then execute:
|
|
13
|
+
|
|
14
|
+
$ bundle
|
|
15
|
+
|
|
16
|
+
Or install it yourself as:
|
|
17
|
+
|
|
18
|
+
$ gem install jquery-countdown-rails
|
|
19
|
+
|
|
20
|
+
## Usage
|
|
21
|
+
|
|
22
|
+
Require the core file, and any locale you need, in your `application.js` (`-en`
|
|
23
|
+
is already in the core file by default)
|
|
24
|
+
|
|
25
|
+
//= require jquery.countdown
|
|
26
|
+
//= require jquery.countdown-es
|
|
27
|
+
|
|
28
|
+
And default styles in your `application.css`
|
|
29
|
+
|
|
30
|
+
*= require jquery.countdown
|
|
31
|
+
|
|
32
|
+
## Contributing
|
|
33
|
+
|
|
34
|
+
1. Fork it
|
|
35
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
|
36
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
|
37
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
|
38
|
+
5. Create new Pull Request
|
|
39
|
+
|
|
40
|
+
[jquery-countdown]: https://github.com/kbwood/countdown
|
|
41
|
+
[sprockets]: https://github.com/sstephenson/sprockets
|
data/Rakefile
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
require "bundler/gem_tasks"
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
|
+
require 'jquery-countdown-rails/version'
|
|
5
|
+
|
|
6
|
+
Gem::Specification.new do |spec|
|
|
7
|
+
spec.name = "jquery-countdown-rails"
|
|
8
|
+
spec.version = JqueryCountdownRails::VERSION
|
|
9
|
+
spec.authors = ["Mauricio Pasquier Juan"]
|
|
10
|
+
spec.email = ["mauricio@pasquierjuan.com.ar"]
|
|
11
|
+
spec.description = %Q{"jQuery Countdown #{JqueryCountdownRails::ASSET_VERSION},
|
|
12
|
+
packaged for standalone sprockets or rails"}
|
|
13
|
+
spec.summary = %q{jQuery Countdown for the asset pipeline}
|
|
14
|
+
spec.homepage = "https://github.com/mauriciopasquier/jquery-countdown-rails"
|
|
15
|
+
spec.license = "MIT"
|
|
16
|
+
|
|
17
|
+
spec.files = `git ls-files`.split($/)
|
|
18
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
|
19
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
|
20
|
+
spec.require_paths = ["lib"]
|
|
21
|
+
|
|
22
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
|
23
|
+
spec.add_development_dependency "rake"
|
|
24
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
require "jquery-countdown-rails/version"
|
|
2
|
+
|
|
3
|
+
# Add jquery-countdown to the asset pipeline
|
|
4
|
+
module JqueryCountdownRails
|
|
5
|
+
|
|
6
|
+
if defined? ::Rails
|
|
7
|
+
if ::Rails.version.to_s < "3.1"
|
|
8
|
+
require "jquery-countdown-rails/railtie"
|
|
9
|
+
else
|
|
10
|
+
require "jquery-countdown-rails/engine"
|
|
11
|
+
end
|
|
12
|
+
else
|
|
13
|
+
require "jquery-countdown-rails/sprockets"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* http://keith-wood.name/countdown.html
|
|
2
|
+
Arabic (عربي) initialisation for the jQuery countdown extension
|
|
3
|
+
Translated by Talal Al Asmari (talal@psdgroups.com), April 2009. */
|
|
4
|
+
(function($) {
|
|
5
|
+
$.countdown.regional['ar'] = {
|
|
6
|
+
labels: ['سنوات','أشهر','أسابيع','أيام','ساعات','دقائق','ثواني'],
|
|
7
|
+
labels1: ['سنة','شهر','أسبوع','يوم','ساعة','دقيقة','ثانية'],
|
|
8
|
+
compactLabels: ['س', 'ش', 'أ', 'ي'],
|
|
9
|
+
whichLabels: null,
|
|
10
|
+
digits: ['٠', '١', '٢', '٣', '٤', '٥', '٦', '٧', '٨', '٩'],
|
|
11
|
+
timeSeparator: ':', isRTL: true};
|
|
12
|
+
$.countdown.setDefaults($.countdown.regional['ar']);
|
|
13
|
+
})(jQuery);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* http://keith-wood.name/countdown.html
|
|
2
|
+
* Bulgarian initialisation for the jQuery countdown extension
|
|
3
|
+
* Written by Manol Trendafilov manol@rastermania.com (2010) */
|
|
4
|
+
(function($) {
|
|
5
|
+
$.countdown.regional['bg'] = {
|
|
6
|
+
labels: ['Години', 'Месеца', 'Седмица', 'Дни', 'Часа', 'Минути', 'Секунди'],
|
|
7
|
+
labels1: ['Година', 'Месец', 'Седмица', 'Ден', 'Час', 'Минута', 'Секунда'],
|
|
8
|
+
compactLabels: ['l', 'm', 'n', 'd'], compactLabels1: ['g', 'm', 'n', 'd'],
|
|
9
|
+
whichLabels: null,
|
|
10
|
+
digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'],
|
|
11
|
+
timeSeparator: ':', isRTL: false};
|
|
12
|
+
$.countdown.setDefaults($.countdown.regional['bg']);
|
|
13
|
+
})(jQuery);
|
|
Binary file
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* http://keith-wood.name/countdown.html
|
|
2
|
+
* Bosnian Latin initialisation for the jQuery countdown extension
|
|
3
|
+
* Written by Miralem Mehic miralem@mehic.info (2011) */
|
|
4
|
+
(function($) {
|
|
5
|
+
$.countdown.regional['bs'] = {
|
|
6
|
+
labels: ['Godina', 'Mjeseci', 'Sedmica', 'Dana', 'Sati', 'Minuta', 'Sekundi'],
|
|
7
|
+
labels1: ['Godina', 'Mjesec', 'Sedmica', 'Dan', 'Sat', 'Minuta', 'Sekunda'],
|
|
8
|
+
labels2: ['Godine', 'Mjeseca', 'Sedmica', 'Dana', 'Sata', 'Minute', 'Sekunde'],
|
|
9
|
+
compactLabels: ['g', 'm', 't', 'd'],
|
|
10
|
+
whichLabels: function(amount) {
|
|
11
|
+
return (amount == 1 ? 1 : (amount >= 2 && amount <= 4 ? 2 : 0));
|
|
12
|
+
},
|
|
13
|
+
digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'],
|
|
14
|
+
timeSeparator: ':', isRTL: false};
|
|
15
|
+
$.countdown.setDefaults($.countdown.regional['bs']);
|
|
16
|
+
})(jQuery);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* http://keith-wood.name/countdown.html
|
|
2
|
+
Catalan initialisation for the jQuery countdown extension
|
|
3
|
+
Written by Amanida Media www.amanidamedia.com (2010) */
|
|
4
|
+
(function($) {
|
|
5
|
+
$.countdown.regional['ca'] = {
|
|
6
|
+
labels: ['Anys', 'Mesos', 'Setmanes', 'Dies', 'Hores', 'Minuts', 'Segons'],
|
|
7
|
+
labels1: ['Anys', 'Mesos', 'Setmanes', 'Dies', 'Hores', 'Minuts', 'Segons'],
|
|
8
|
+
compactLabels: ['a', 'm', 's', 'g'],
|
|
9
|
+
whichLabels: null,
|
|
10
|
+
digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'],
|
|
11
|
+
timeSeparator: ':', isRTL: false};
|
|
12
|
+
$.countdown.setDefaults($.countdown.regional['ca']);
|
|
13
|
+
})(jQuery);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* http://keith-wood.name/countdown.html
|
|
2
|
+
* Czech initialisation for the jQuery countdown extension
|
|
3
|
+
* Written by Roman Chlebec (creamd@c64.sk) (2008) */
|
|
4
|
+
(function($) {
|
|
5
|
+
$.countdown.regional['cs'] = {
|
|
6
|
+
labels: ['Roků', 'Měsíců', 'Týdnů', 'Dní', 'Hodin', 'Minut', 'Sekund'],
|
|
7
|
+
labels1: ['Rok', 'Měsíc', 'Týden', 'Den', 'Hodina', 'Minuta', 'Sekunda'],
|
|
8
|
+
labels2: ['Roky', 'Měsíce', 'Týdny', 'Dny', 'Hodiny', 'Minuty', 'Sekundy'],
|
|
9
|
+
compactLabels: ['r', 'm', 't', 'd'],
|
|
10
|
+
whichLabels: function(amount) {
|
|
11
|
+
return (amount == 1 ? 1 : (amount >= 2 && amount <= 4 ? 2 : 0));
|
|
12
|
+
},
|
|
13
|
+
digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'],
|
|
14
|
+
timeSeparator: ':', isRTL: false};
|
|
15
|
+
$.countdown.setDefaults($.countdown.regional['cs']);
|
|
16
|
+
})(jQuery);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* http://keith-wood.name/countdown.html
|
|
2
|
+
Danish initialisation for the jQuery countdown extension
|
|
3
|
+
Written by Buch (admin@buch90.dk). */
|
|
4
|
+
(function($) {
|
|
5
|
+
$.countdown.regional['da'] = {
|
|
6
|
+
labels: ['År', 'Måneder', 'Uger', 'Dage', 'Timer', 'Minutter', 'Sekunder'],
|
|
7
|
+
labels1: ['År', 'Månad', 'Uge', 'Dag', 'Time', 'Minut', 'Sekund'],
|
|
8
|
+
compactLabels: ['Å', 'M', 'U', 'D'],
|
|
9
|
+
whichLabels: null,
|
|
10
|
+
digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'],
|
|
11
|
+
timeSeparator: ':', isRTL: false};
|
|
12
|
+
$.countdown.setDefaults($.countdown.regional['da']);
|
|
13
|
+
})(jQuery);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* http://keith-wood.name/countdown.html
|
|
2
|
+
German initialisation for the jQuery countdown extension
|
|
3
|
+
Written by Samuel Wulf. */
|
|
4
|
+
(function($) {
|
|
5
|
+
$.countdown.regional['de'] = {
|
|
6
|
+
labels: ['Jahre', 'Monate', 'Wochen', 'Tage', 'Stunden', 'Minuten', 'Sekunden'],
|
|
7
|
+
labels1: ['Jahr', 'Monat', 'Woche', 'Tag', 'Stunde', 'Minute', 'Sekunde'],
|
|
8
|
+
compactLabels: ['J', 'M', 'W', 'T'],
|
|
9
|
+
whichLabels: null,
|
|
10
|
+
digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'],
|
|
11
|
+
timeSeparator: ':', isRTL: false};
|
|
12
|
+
$.countdown.setDefaults($.countdown.regional['de']);
|
|
13
|
+
})(jQuery);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* http://keith-wood.name/countdown.html
|
|
2
|
+
Greek initialisation for the jQuery countdown extension
|
|
3
|
+
Written by Philip. */
|
|
4
|
+
(function($) {
|
|
5
|
+
$.countdown.regional['el'] = {
|
|
6
|
+
labels: ['Χρόνια', 'Μήνες', 'Εβδομάδες', 'Μέρες', 'Ώρες', 'Λεπτά', 'Δευτερόλεπτα'],
|
|
7
|
+
labels1: ['Χρόνος', 'Μήνας', 'Εβδομάδα', 'Ημέρα', 'Ώρα', 'Λεπτό', 'Δευτερόλεπτο'],
|
|
8
|
+
compactLabels: ['Χρ.', 'Μην.', 'Εβδ.', 'Ημ.'],
|
|
9
|
+
whichLabels: null,
|
|
10
|
+
digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'],
|
|
11
|
+
timeSeparator: ':', isRTL: false};
|
|
12
|
+
$.countdown.setDefaults($.countdown.regional['el']);
|
|
13
|
+
})(jQuery);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* http://keith-wood.name/countdown.html
|
|
2
|
+
* Spanish initialisation for the jQuery countdown extension
|
|
3
|
+
* Written by Sergio Carracedo Martinez webmaster@neodisenoweb.com (2008) */
|
|
4
|
+
(function($) {
|
|
5
|
+
$.countdown.regional['es'] = {
|
|
6
|
+
labels: ['Años', 'Meses', 'Semanas', 'Días', 'Horas', 'Minutos', 'Segundos'],
|
|
7
|
+
labels1: ['Año', 'Mes', 'Semana', 'Día', 'Hora', 'Minuto', 'Segundo'],
|
|
8
|
+
compactLabels: ['a', 'm', 's', 'g'],
|
|
9
|
+
whichLabels: null,
|
|
10
|
+
digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'],
|
|
11
|
+
timeSeparator: ':', isRTL: false};
|
|
12
|
+
$.countdown.setDefaults($.countdown.regional['es']);
|
|
13
|
+
})(jQuery);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* http://keith-wood.name/countdown.html
|
|
2
|
+
Estonian initialisation for the jQuery countdown extension
|
|
3
|
+
Written by Helmer <helmer{at}city.ee> */
|
|
4
|
+
(function($) {
|
|
5
|
+
$.countdown.regional['et'] = {
|
|
6
|
+
labels: ['Aastat', 'Kuud', 'Nädalat', 'Päeva', 'Tundi', 'Minutit', 'Sekundit'],
|
|
7
|
+
labels1: ['Aasta', 'Kuu', 'Nädal', 'Päev', 'Tund', 'Minut', 'Sekund'],
|
|
8
|
+
compactLabels: ['a', 'k', 'n', 'p'],
|
|
9
|
+
whichLabels: null,
|
|
10
|
+
digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'],
|
|
11
|
+
timeSeparator: ':', isRTL: false};
|
|
12
|
+
$.countdown.setDefaults($.countdown.regional['et']);
|
|
13
|
+
})(jQuery);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* http://keith-wood.name/countdown.html
|
|
2
|
+
Persian (فارسی) initialisation for the jQuery countdown extension
|
|
3
|
+
Written by Alireza Ziaie (ziai@magfa.com) Oct 2008.
|
|
4
|
+
digits corrected by Hamed Ramezanian Feb 2013. */
|
|
5
|
+
(function($) {
|
|
6
|
+
$.countdown.regional['fa'] = {
|
|
7
|
+
labels: ['سال', 'ماه', 'هفته', 'روز', 'ساعت', 'دقیقه', 'ثانیه'],
|
|
8
|
+
labels1: ['سال', 'ماه', 'هفته', 'روز', 'ساعت', 'دقیقه', 'ثانیه'],
|
|
9
|
+
compactLabels: ['س', 'م', 'ه', 'ر'],
|
|
10
|
+
whichLabels: null,
|
|
11
|
+
digits: ['۰', '۱', '۲', '۳', '۴', '۵', '۶', '۷', '۸', '۹'],
|
|
12
|
+
timeSeparator: ':', isRTL: true};
|
|
13
|
+
$.countdown.setDefaults($.countdown.regional['fa']);
|
|
14
|
+
})(jQuery);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* http://keith-wood.name/countdown.html
|
|
2
|
+
Finnish initialisation for the jQuery countdown extension
|
|
3
|
+
Written by Kalle Vänskä and Juha Suni (juhis.suni@gmail.com). Corrected by Olli. */
|
|
4
|
+
(function($) {
|
|
5
|
+
$.countdown.regional['fi'] = {
|
|
6
|
+
labels: ['vuotta', 'kuukautta', 'viikkoa', 'päivää', 'tuntia', 'minuuttia', 'sekuntia'],
|
|
7
|
+
labels1: ['vuosi', 'kuukausi', 'viikko', 'päivä', 'tunti', 'minuutti', 'sekunti'],
|
|
8
|
+
compactLabels: ['v', 'kk', 'vk', 'pv'],
|
|
9
|
+
whichLabels: null,
|
|
10
|
+
digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'],
|
|
11
|
+
timeSeparator: ':', isRTL: false};
|
|
12
|
+
$.countdown.setDefaults($.countdown.regional['fi']);
|
|
13
|
+
})(jQuery);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/* http://keith-wood.name/countdown.html
|
|
2
|
+
French initialisation for the jQuery countdown extension
|
|
3
|
+
Written by Keith Wood (kbwood{at}iinet.com.au) Jan 2008. */
|
|
4
|
+
(function($) {
|
|
5
|
+
$.countdown.regional['fr'] = {
|
|
6
|
+
labels: ['Années', 'Mois', 'Semaines', 'Jours', 'Heures', 'Minutes', 'Secondes'],
|
|
7
|
+
labels1: ['Année', 'Mois', 'Semaine', 'Jour', 'Heure', 'Minute', 'Seconde'],
|
|
8
|
+
compactLabels: ['a', 'm', 's', 'j'],
|
|
9
|
+
whichLabels: function(amount) {
|
|
10
|
+
return (amount > 1 ? 0 : 1);
|
|
11
|
+
},
|
|
12
|
+
digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'],
|
|
13
|
+
timeSeparator: ':', isRTL: false};
|
|
14
|
+
$.countdown.setDefaults($.countdown.regional['fr']);
|
|
15
|
+
})(jQuery);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* http://keith-wood.name/countdown.html
|
|
2
|
+
* Galician initialisation for the jQuery countdown extension
|
|
3
|
+
* Written by Moncho Pena ramon.pena.rodriguez@gmail.com (2009) and Angel Farrapeira */
|
|
4
|
+
(function($) {
|
|
5
|
+
$.countdown.regional['gl'] = {
|
|
6
|
+
labels: ['Anos', 'Meses', 'Semanas', 'Días', 'Horas', 'Minutos', 'Segundos'],
|
|
7
|
+
labels1: ['Ano', 'Mes', 'Semana', 'Día', 'Hora', 'Minuto', 'Segundo'],
|
|
8
|
+
compactLabels: ['a', 'm', 's', 'g'],
|
|
9
|
+
whichLabels: null,
|
|
10
|
+
digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'],
|
|
11
|
+
timeSeparator: ':', isRTL: false};
|
|
12
|
+
$.countdown.setDefaults($.countdown.regional['gl']);
|
|
13
|
+
})(jQuery);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* http://keith-wood.name/countdown.html
|
|
2
|
+
* Gujarati initialization for the jQuery countdown extension
|
|
3
|
+
* Written by Sahil Jariwala jariwala.sahil@gmail.com (2012) */
|
|
4
|
+
(function($) {
|
|
5
|
+
$.countdown.regional['gu'] = {
|
|
6
|
+
labels: ['વર્ષ', 'મહિનો', 'અઠવાડિયા', 'દિવસ', 'કલાક', 'મિનિટ','સેકન્ડ'],
|
|
7
|
+
labels1: ['વર્ષ','મહિનો','અઠવાડિયા','દિવસ','કલાક','મિનિટ', 'સેકન્ડ'],
|
|
8
|
+
compactLabels: ['વ', 'મ', 'અ', 'દિ'],
|
|
9
|
+
whichLabels: null,
|
|
10
|
+
digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'],
|
|
11
|
+
timeSeparator: ':', isRTL: false};
|
|
12
|
+
$.countdown.setDefaults($.countdown.regional['gu']);
|
|
13
|
+
})(jQuery);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/* http://keith-wood.name/countdown.html
|
|
2
|
+
* Hebrew initialisation for the jQuery countdown extension
|
|
3
|
+
* Translated by Nir Livne, Dec 2008 */
|
|
4
|
+
(function($) {
|
|
5
|
+
$.countdown.regional['he'] = {
|
|
6
|
+
labels: ['שנים', 'חודשים', 'שבועות', 'ימים', 'שעות', 'דקות', 'שניות'],
|
|
7
|
+
labels1: ['שנה', 'חודש', 'שבוע', 'יום', 'שעה', 'דקה', 'שנייה'],
|
|
8
|
+
compactLabels: ['שנ', 'ח', 'שב', 'י'],
|
|
9
|
+
whichLabels: null,
|
|
10
|
+
digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'],
|
|
11
|
+
timeSeparator: ':', isRTL: true};
|
|
12
|
+
$.countdown.setDefaults($.countdown.regional['he']);
|
|
13
|
+
})(jQuery);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* http://keith-wood.name/countdown.html
|
|
2
|
+
* Croatian Latin initialisation for the jQuery countdown extension
|
|
3
|
+
* Written by Dejan Broz info@hqfactory.com (2011) */
|
|
4
|
+
(function($) {
|
|
5
|
+
$.countdown.regional['hr'] = {
|
|
6
|
+
labels: ['Godina', 'Mjeseci', 'Tjedana', 'Dana', 'Sati', 'Minuta', 'Sekundi'],
|
|
7
|
+
labels1: ['Godina', 'Mjesec', 'Tjedan', 'Dan', 'Sat', 'Minuta', 'Sekunda'],
|
|
8
|
+
labels2: ['Godine', 'Mjeseca', 'Tjedna', 'Dana', 'Sata', 'Minute', 'Sekunde'],
|
|
9
|
+
compactLabels: ['g', 'm', 't', 'd'],
|
|
10
|
+
whichLabels: function(amount) {
|
|
11
|
+
return (amount == 1 ? 1 : (amount >= 2 && amount <= 4 ? 2 : 0));
|
|
12
|
+
},
|
|
13
|
+
digits: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'],
|
|
14
|
+
timeSeparator: ':', isRTL: false};
|
|
15
|
+
$.countdown.setDefaults($.countdown.regional['hr']);
|
|
16
|
+
})(jQuery);
|