jquery_datetimepick 1.3.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.
Files changed (51) hide show
  1. data/.gitignore +17 -0
  2. data/Gemfile +4 -0
  3. data/LICENSE.txt +22 -0
  4. data/README.md +74 -0
  5. data/Rakefile +1 -0
  6. data/jquery_datetimepick.gemspec +20 -0
  7. data/lib/jquery_datetimepick.rb +16 -0
  8. data/lib/jquery_datetimepick/datetimepick_helper.rb +12 -0
  9. data/lib/jquery_datetimepick/form_helper.rb +93 -0
  10. data/lib/jquery_datetimepick/version.rb +3 -0
  11. data/vendor/assets/javascripts/jquery-ui-sliderAccess.js +89 -0
  12. data/vendor/assets/javascripts/jquery-ui-timepicker-addon.js +2103 -0
  13. data/vendor/assets/javascripts/jquery-ui-timepicker-af.js +21 -0
  14. data/vendor/assets/javascripts/jquery-ui-timepicker-bg.js +21 -0
  15. data/vendor/assets/javascripts/jquery-ui-timepicker-ca.js +21 -0
  16. data/vendor/assets/javascripts/jquery-ui-timepicker-cs.js +21 -0
  17. data/vendor/assets/javascripts/jquery-ui-timepicker-da.js +21 -0
  18. data/vendor/assets/javascripts/jquery-ui-timepicker-de.js +21 -0
  19. data/vendor/assets/javascripts/jquery-ui-timepicker-el.js +21 -0
  20. data/vendor/assets/javascripts/jquery-ui-timepicker-es.js +21 -0
  21. data/vendor/assets/javascripts/jquery-ui-timepicker-et.js +21 -0
  22. data/vendor/assets/javascripts/jquery-ui-timepicker-eu.js +21 -0
  23. data/vendor/assets/javascripts/jquery-ui-timepicker-fi.js +21 -0
  24. data/vendor/assets/javascripts/jquery-ui-timepicker-fr.js +21 -0
  25. data/vendor/assets/javascripts/jquery-ui-timepicker-gl.js +21 -0
  26. data/vendor/assets/javascripts/jquery-ui-timepicker-he.js +21 -0
  27. data/vendor/assets/javascripts/jquery-ui-timepicker-hr.js +21 -0
  28. data/vendor/assets/javascripts/jquery-ui-timepicker-hu.js +21 -0
  29. data/vendor/assets/javascripts/jquery-ui-timepicker-id.js +21 -0
  30. data/vendor/assets/javascripts/jquery-ui-timepicker-it.js +21 -0
  31. data/vendor/assets/javascripts/jquery-ui-timepicker-ja.js +21 -0
  32. data/vendor/assets/javascripts/jquery-ui-timepicker-ko.js +21 -0
  33. data/vendor/assets/javascripts/jquery-ui-timepicker-lang.js +749 -0
  34. data/vendor/assets/javascripts/jquery-ui-timepicker-lt.js +21 -0
  35. data/vendor/assets/javascripts/jquery-ui-timepicker-nl.js +21 -0
  36. data/vendor/assets/javascripts/jquery-ui-timepicker-no.js +21 -0
  37. data/vendor/assets/javascripts/jquery-ui-timepicker-pl.js +21 -0
  38. data/vendor/assets/javascripts/jquery-ui-timepicker-pt-BR.js +21 -0
  39. data/vendor/assets/javascripts/jquery-ui-timepicker-pt.js +21 -0
  40. data/vendor/assets/javascripts/jquery-ui-timepicker-ro.js +21 -0
  41. data/vendor/assets/javascripts/jquery-ui-timepicker-ru.js +21 -0
  42. data/vendor/assets/javascripts/jquery-ui-timepicker-sk.js +21 -0
  43. data/vendor/assets/javascripts/jquery-ui-timepicker-sv.js +21 -0
  44. data/vendor/assets/javascripts/jquery-ui-timepicker-th.js +18 -0
  45. data/vendor/assets/javascripts/jquery-ui-timepicker-tr.js +21 -0
  46. data/vendor/assets/javascripts/jquery-ui-timepicker-uk.js +21 -0
  47. data/vendor/assets/javascripts/jquery-ui-timepicker-vi.js +21 -0
  48. data/vendor/assets/javascripts/jquery-ui-timepicker-zh-CN.js +21 -0
  49. data/vendor/assets/javascripts/jquery-ui-timepicker-zh-TW.js +21 -0
  50. data/vendor/assets/stylesheets/jquery-ui-timepicker-addon.css +10 -0
  51. metadata +118 -0
@@ -0,0 +1,21 @@
1
+ /* Afrikaans translation for the jQuery Timepicker Addon */
2
+ /* Written by Deon Heyns */
3
+ (function($) {
4
+ $.timepicker.regional['af'] = {
5
+ timeOnlyTitle: 'Kies Tyd',
6
+ timeText: 'Tyd ',
7
+ hourText: 'Ure ',
8
+ minuteText: 'Minute',
9
+ secondText: 'Sekondes',
10
+ millisecText: 'Millisekondes',
11
+ microsecText: 'Mikrosekondes',
12
+ timezoneText: 'Tydsone',
13
+ currentText: 'Huidige Tyd',
14
+ closeText: 'Klaar',
15
+ timeFormat: 'HH:mm',
16
+ amNames: ['AM', 'A'],
17
+ pmNames: ['PM', 'P'],
18
+ isRTL: false
19
+ };
20
+ $.timepicker.setDefaults($.timepicker.regional['af']);
21
+ })(jQuery);
@@ -0,0 +1,21 @@
1
+ /* Bulgarian translation for the jQuery Timepicker Addon */
2
+ /* Written by Plamen Kovandjiev */
3
+ (function($) {
4
+ $.timepicker.regional['bg'] = {
5
+ timeOnlyTitle: 'Изберете време',
6
+ timeText: 'Време',
7
+ hourText: 'Час',
8
+ minuteText: 'Минути',
9
+ secondText: 'Секунди',
10
+ millisecText: 'Милисекунди',
11
+ microsecText: 'Микросекунди',
12
+ timezoneText: 'Часови пояс',
13
+ currentText: 'Сега',
14
+ closeText: 'Затвори',
15
+ timeFormat: 'HH:mm',
16
+ amNames: ['AM', 'A'],
17
+ pmNames: ['PM', 'P'],
18
+ isRTL: false
19
+ };
20
+ $.timepicker.setDefaults($.timepicker.regional['bg']);
21
+ })(jQuery);
@@ -0,0 +1,21 @@
1
+ /* Catalan translation for the jQuery Timepicker Addon */
2
+ /* Written by Sergi Faber */
3
+ (function($) {
4
+ $.timepicker.regional['ca'] = {
5
+ timeOnlyTitle: 'Escollir una hora',
6
+ timeText: 'Hora',
7
+ hourText: 'Hores',
8
+ minuteText: 'Minuts',
9
+ secondText: 'Segons',
10
+ millisecText: 'Milisegons',
11
+ microsecText: 'Microsegons',
12
+ timezoneText: 'Fus horari',
13
+ currentText: 'Ara',
14
+ closeText: 'Tancar',
15
+ timeFormat: 'HH:mm',
16
+ amNames: ['AM', 'A'],
17
+ pmNames: ['PM', 'P'],
18
+ isRTL: false
19
+ };
20
+ $.timepicker.setDefaults($.timepicker.regional['ca']);
21
+ })(jQuery);
@@ -0,0 +1,21 @@
1
+ /* Czech translation for the jQuery Timepicker Addon */
2
+ /* Written by Ondřej Vodáček */
3
+ (function($) {
4
+ $.timepicker.regional['cs'] = {
5
+ timeOnlyTitle: 'Vyberte čas',
6
+ timeText: 'Čas',
7
+ hourText: 'Hodiny',
8
+ minuteText: 'Minuty',
9
+ secondText: 'Vteřiny',
10
+ millisecText: 'Milisekundy',
11
+ microsecText: 'Mikrosekundy',
12
+ timezoneText: 'Časové pásmo',
13
+ currentText: 'Nyní',
14
+ closeText: 'Zavřít',
15
+ timeFormat: 'HH:mm',
16
+ amNames: ['dop.', 'AM', 'A'],
17
+ pmNames: ['odp.', 'PM', 'P'],
18
+ isRTL: false
19
+ };
20
+ $.timepicker.setDefaults($.timepicker.regional['cs']);
21
+ })(jQuery);
@@ -0,0 +1,21 @@
1
+ /* Danish translation for the jQuery Timepicker Addon */
2
+ /* Written by Lars H. Jensen (http://www.larshj.dk) */
3
+ (function ($) {
4
+ $.timepicker.regional['da'] = {
5
+ timeOnlyTitle: 'Vælg tid',
6
+ timeText: 'Tid',
7
+ hourText: 'Time',
8
+ minuteText: 'Minut',
9
+ secondText: 'Sekund',
10
+ millisecText: 'Millisekund',
11
+ microsecText: 'Mikrosekund',
12
+ timezoneText: 'Tidszone',
13
+ currentText: 'Nu',
14
+ closeText: 'Luk',
15
+ timeFormat: 'HH:mm',
16
+ amNames: ['am', 'AM', 'A'],
17
+ pmNames: ['pm', 'PM', 'P'],
18
+ isRTL: false
19
+ };
20
+ $.timepicker.setDefaults($.timepicker.regional['da']);
21
+ })(jQuery);
@@ -0,0 +1,21 @@
1
+ /* German translation for the jQuery Timepicker Addon */
2
+ /* Written by Marvin */
3
+ (function($) {
4
+ $.timepicker.regional['de'] = {
5
+ timeOnlyTitle: 'Zeit Wählen',
6
+ timeText: 'Zeit',
7
+ hourText: 'Stunde',
8
+ minuteText: 'Minute',
9
+ secondText: 'Sekunde',
10
+ millisecText: 'Millisekunde',
11
+ microsecText: 'Mikrosekunde',
12
+ timezoneText: 'Zeitzone',
13
+ currentText: 'Jetzt',
14
+ closeText: 'Fertig',
15
+ timeFormat: 'HH:mm',
16
+ amNames: ['vorm.', 'AM', 'A'],
17
+ pmNames: ['nachm.', 'PM', 'P'],
18
+ isRTL: false
19
+ };
20
+ $.timepicker.setDefaults($.timepicker.regional['de']);
21
+ })(jQuery);
@@ -0,0 +1,21 @@
1
+ /* Hellenic translation for the jQuery Timepicker Addon */
2
+ /* Written by Christos Pontikis */
3
+ (function($) {
4
+ $.timepicker.regional['el'] = {
5
+ timeOnlyTitle: 'Επιλογή ώρας',
6
+ timeText: 'Ώρα',
7
+ hourText: 'Ώρες',
8
+ minuteText: 'Λεπτά',
9
+ secondText: 'Δευτερόλεπτα',
10
+ millisecText: 'μιλιδευτερόλεπτο',
11
+ microsecText: 'Microseconds',
12
+ timezoneText: 'Ζώνη ώρας',
13
+ currentText: 'Τώρα',
14
+ closeText: 'Κλείσιμο',
15
+ timeFormat: 'HH:mm',
16
+ amNames: ['π.μ.', 'AM', 'A'],
17
+ pmNames: ['μ.μ.', 'PM', 'P'],
18
+ isRTL: false
19
+ };
20
+ $.timepicker.setDefaults($.timepicker.regional['el']);
21
+ })(jQuery);
@@ -0,0 +1,21 @@
1
+ /* Spanish translation for the jQuery Timepicker Addon */
2
+ /* Written by Ianaré Sévi */
3
+ (function($) {
4
+ $.timepicker.regional['es'] = {
5
+ timeOnlyTitle: 'Elegir una hora',
6
+ timeText: 'Hora',
7
+ hourText: 'Horas',
8
+ minuteText: 'Minutos',
9
+ secondText: 'Segundos',
10
+ millisecText: 'Milisegundos',
11
+ microsecText: 'Microsegundos',
12
+ timezoneText: 'Huso horario',
13
+ currentText: 'Ahora',
14
+ closeText: 'Cerrar',
15
+ timeFormat: 'HH:mm',
16
+ amNames: ['a.m.', 'AM', 'A'],
17
+ pmNames: ['p.m.', 'PM', 'P'],
18
+ isRTL: false
19
+ };
20
+ $.timepicker.setDefaults($.timepicker.regional['es']);
21
+ })(jQuery);
@@ -0,0 +1,21 @@
1
+ /* Estonian translation for the jQuery Timepicker Addon */
2
+ /* Written by Karl Sutt (karl@sutt.ee) */
3
+ (function($) {
4
+ $.timepicker.regional['et'] = {
5
+ timeOnlyTitle: 'Vali aeg',
6
+ timeText: 'Aeg',
7
+ hourText: 'Tund',
8
+ minuteText: 'Minut',
9
+ secondText: 'Sekund',
10
+ millisecText: 'Millisekundis',
11
+ microsecText: 'Mikrosekundis',
12
+ timezoneText: 'Ajavöönd',
13
+ currentText: 'Praegu',
14
+ closeText: 'Valmis',
15
+ timeFormat: 'HH:mm',
16
+ amNames: ['AM', 'A'],
17
+ pmNames: ['PM', 'P'],
18
+ isRTL: false
19
+ };
20
+ $.timepicker.setDefaults($.timepicker.regional['et']);
21
+ })(jQuery);
@@ -0,0 +1,21 @@
1
+ /* Basque trannslation for JQuery Timepicker Addon
2
+ /* Translated by Xabi Fer */
3
+ (function($) {
4
+ $.timepicker.regional['eu'] = {
5
+ timeOnlyTitle: 'Aukeratu ordua',
6
+ timeText: 'Ordua',
7
+ hourText: 'Orduak',
8
+ minuteText: 'Minutuak',
9
+ secondText: 'Segunduak',
10
+ millisecText: 'Milisegunduak',
11
+ microsecText: 'Mikrosegundotan',
12
+ timezoneText: 'Ordu-eremua',
13
+ currentText: 'Orain',
14
+ closeText: 'Itxi',
15
+ timeFormat: 'HH:mm',
16
+ amNames: ['a.m.', 'AM', 'A'],
17
+ pmNames: ['p.m.', 'PM', 'P'],
18
+ isRTL: false
19
+ };
20
+ $.timepicker.setDefaults($.timepicker.regional['eu']);
21
+ })(jQuery);
@@ -0,0 +1,21 @@
1
+ /* Finnish translation for the jQuery Timepicker Addon */
2
+ /* Written by Juga Paazmaya (http://github.com/paazmaya) */
3
+ (function($) {
4
+ $.timepicker.regional['fi'] = {
5
+ timeOnlyTitle: 'Valitse aika',
6
+ timeText: 'Aika',
7
+ hourText: 'Tunti',
8
+ minuteText: 'Minuutti',
9
+ secondText: 'Sekunti',
10
+ millisecText: 'Millisekunnin',
11
+ microsecText: 'Mikrosekuntia',
12
+ timezoneText: 'Aikavyöhyke',
13
+ currentText: 'Nyt',
14
+ closeText: 'Sulje',
15
+ timeFormat: 'HH:mm',
16
+ amNames: ['ap.', 'AM', 'A'],
17
+ pmNames: ['ip.', 'PM', 'P'],
18
+ isRTL: false
19
+ };
20
+ $.timepicker.setDefaults($.timepicker.regional['fi']);
21
+ })(jQuery);
@@ -0,0 +1,21 @@
1
+ /* French translation for the jQuery Timepicker Addon */
2
+ /* Written by Thomas Lété */
3
+ (function($) {
4
+ $.timepicker.regional['fr'] = {
5
+ timeOnlyTitle: 'Choisir une heure',
6
+ timeText: 'Heure',
7
+ hourText: 'Heures',
8
+ minuteText: 'Minutes',
9
+ secondText: 'Secondes',
10
+ millisecText: 'Millisecondes',
11
+ microsecText: 'Microsecondes',
12
+ timezoneText: 'Fuseau horaire',
13
+ currentText: 'Maintenant',
14
+ closeText: 'Terminé',
15
+ timeFormat: 'HH:mm',
16
+ amNames: ['AM', 'A'],
17
+ pmNames: ['PM', 'P'],
18
+ isRTL: false
19
+ };
20
+ $.timepicker.setDefaults($.timepicker.regional['fr']);
21
+ })(jQuery);
@@ -0,0 +1,21 @@
1
+ /* Galician translation for the jQuery Timepicker Addon */
2
+ /* Written by David Barral */
3
+ (function($) {
4
+ $.timepicker.regional['gl'] = {
5
+ timeOnlyTitle: 'Elixir unha hora',
6
+ timeText: 'Hora',
7
+ hourText: 'Horas',
8
+ minuteText: 'Minutos',
9
+ secondText: 'Segundos',
10
+ millisecText: 'Milisegundos',
11
+ microsecText: 'Microssegundos',
12
+ timezoneText: 'Fuso horario',
13
+ currentText: 'Agora',
14
+ closeText: 'Pechar',
15
+ timeFormat: 'HH:mm',
16
+ amNames: ['a.m.', 'AM', 'A'],
17
+ pmNames: ['p.m.', 'PM', 'P'],
18
+ isRTL: false
19
+ };
20
+ $.timepicker.setDefaults($.timepicker.regional['gl']);
21
+ })(jQuery);
@@ -0,0 +1,21 @@
1
+ /* Hebrew translation for the jQuery Timepicker Addon */
2
+ /* Written by Lior Lapid */
3
+ (function($) {
4
+ $.timepicker.regional["he"] = {
5
+ timeOnlyTitle: "בחירת זמן",
6
+ timeText: "שעה",
7
+ hourText: "שעות",
8
+ minuteText: "דקות",
9
+ secondText: "שניות",
10
+ millisecText: "אלפית השנייה",
11
+ microsecText: "מיקרו",
12
+ timezoneText: "אזור זמן",
13
+ currentText: "עכשיו",
14
+ closeText:"סגור",
15
+ timeFormat: "HH:mm",
16
+ amNames: ['לפנה"צ', 'AM', 'A'],
17
+ pmNames: ['אחה"צ', 'PM', 'P'],
18
+ isRTL: true
19
+ };
20
+ $.timepicker.setDefaults($.timepicker.regional["he"]);
21
+ })(jQuery);
@@ -0,0 +1,21 @@
1
+ /* Croatian translation for the jQuery Timepicker Addon */
2
+ /* Written by Mladen */
3
+ (function($) {
4
+ $.timepicker.regional['hr'] = {
5
+ timeOnlyTitle: 'Odaberi vrijeme',
6
+ timeText: 'Vrijeme',
7
+ hourText: 'Sati',
8
+ minuteText: 'Minute',
9
+ secondText: 'Sekunde',
10
+ millisecText: 'Milisekunde',
11
+ microsecText: 'Mikrosekunde',
12
+ timezoneText: 'Vremenska zona',
13
+ currentText: 'Sada',
14
+ closeText: 'Gotovo',
15
+ timeFormat: 'HH:mm',
16
+ amNames: ['a.m.', 'AM', 'A'],
17
+ pmNames: ['p.m.', 'PM', 'P'],
18
+ isRTL: false
19
+ };
20
+ $.timepicker.setDefaults($.timepicker.regional['hr']);
21
+ })(jQuery);
@@ -0,0 +1,21 @@
1
+ /* Hungarian translation for the jQuery Timepicker Addon */
2
+ /* Written by Vas Gábor */
3
+ (function($) {
4
+ $.timepicker.regional['hu'] = {
5
+ timeOnlyTitle: 'Válasszon időpontot',
6
+ timeText: 'Idő',
7
+ hourText: 'Óra',
8
+ minuteText: 'Perc',
9
+ secondText: 'Másodperc',
10
+ millisecText: 'Milliszekundumos',
11
+ microsecText: 'Ezredmásodperc',
12
+ timezoneText: 'Időzóna',
13
+ currentText: 'Most',
14
+ closeText: 'Kész',
15
+ timeFormat: 'HH:mm',
16
+ amNames: ['de.', 'AM', 'A'],
17
+ pmNames: ['du.', 'PM', 'P'],
18
+ isRTL: false
19
+ };
20
+ $.timepicker.setDefaults($.timepicker.regional['hu']);
21
+ })(jQuery);
@@ -0,0 +1,21 @@
1
+ /* Indonesian translation for the jQuery Timepicker Addon */
2
+ /* Written by Nia */
3
+ (function($) {
4
+ $.timepicker.regional['id'] = {
5
+ timeOnlyTitle: 'Pilih Waktu',
6
+ timeText: 'Waktu',
7
+ hourText: 'Pukul',
8
+ minuteText: 'Menit',
9
+ secondText: 'Detik',
10
+ millisecText: 'Milidetik',
11
+ microsecText: 'Mikrodetik',
12
+ timezoneText: 'Zona Waktu',
13
+ currentText: 'Sekarang',
14
+ closeText: 'OK',
15
+ timeFormat: 'HH:mm',
16
+ amNames: ['AM', 'A'],
17
+ pmNames: ['PM', 'P'],
18
+ isRTL: false
19
+ };
20
+ $.timepicker.setDefaults($.timepicker.regional['id']);
21
+ })(jQuery);
@@ -0,0 +1,21 @@
1
+ /* Italian translation for the jQuery Timepicker Addon */
2
+ /* Written by Marco "logicoder" Del Tongo */
3
+ (function($) {
4
+ $.timepicker.regional['it'] = {
5
+ timeOnlyTitle: 'Scegli orario',
6
+ timeText: 'Orario',
7
+ hourText: 'Ora',
8
+ minuteText: 'Minuti',
9
+ secondText: 'Secondi',
10
+ millisecText: 'Millisecondi',
11
+ microsecText: 'Microsecondi',
12
+ timezoneText: 'Fuso orario',
13
+ currentText: 'Adesso',
14
+ closeText: 'Chiudi',
15
+ timeFormat: 'HH:mm',
16
+ amNames: ['m.', 'AM', 'A'],
17
+ pmNames: ['p.', 'PM', 'P'],
18
+ isRTL: false
19
+ };
20
+ $.timepicker.setDefaults($.timepicker.regional['it']);
21
+ })(jQuery);
@@ -0,0 +1,21 @@
1
+ /* Japanese translation for the jQuery Timepicker Addon */
2
+ /* Written by Jun Omae */
3
+ (function($) {
4
+ $.timepicker.regional['ja'] = {
5
+ timeOnlyTitle: '時間を選択',
6
+ timeText: '時間',
7
+ hourText: '時',
8
+ minuteText: '分',
9
+ secondText: '秒',
10
+ millisecText: 'ミリ秒',
11
+ microsecText: 'マイクロ秒',
12
+ timezoneText: 'タイムゾーン',
13
+ currentText: '現時刻',
14
+ closeText: '閉じる',
15
+ timeFormat: 'HH:mm',
16
+ amNames: ['午前', 'AM', 'A'],
17
+ pmNames: ['午後', 'PM', 'P'],
18
+ isRTL: false
19
+ };
20
+ $.timepicker.setDefaults($.timepicker.regional['ja']);
21
+ })(jQuery);
@@ -0,0 +1,21 @@
1
+ /* Korean translation for the jQuery Timepicker Addon */
2
+ /* Written by Genie */
3
+ (function($) {
4
+ $.timepicker.regional['ko'] = {
5
+ timeOnlyTitle: '시간 선택',
6
+ timeText: '시간',
7
+ hourText: '시',
8
+ minuteText: '분',
9
+ secondText: '초',
10
+ millisecText: '밀리초',
11
+ microsecText: '마이크로',
12
+ timezoneText: '표준 시간대',
13
+ currentText: '현재 시각',
14
+ closeText: '닫기',
15
+ timeFormat: 'tt h:mm',
16
+ amNames: ['오전', 'AM', 'A'],
17
+ pmNames: ['오후', 'PM', 'P'],
18
+ isRTL: false
19
+ };
20
+ $.timepicker.setDefaults($.timepicker.regional['ko']);
21
+ })(jQuery);