date_time_picker 0.5.3 → 0.5.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (58) hide show
  1. data/MIT-LICENSE +21 -21
  2. data/README.rdoc +72 -72
  3. data/lib/date_time_picker/date_time_picker_helpers.rb +78 -78
  4. data/lib/date_time_picker.rb +37 -37
  5. data/lib/generators/date_time_picker/USAGE +2 -2
  6. data/lib/generators/date_time_picker/date_time_picker_generator.rb +11 -11
  7. data/lib/generators/date_time_picker/templates/date_time_picker.rb +2 -2
  8. data/lib/simple_form/inputs/ui_date_input.rb +4 -4
  9. data/lib/simple_form/inputs/ui_date_time_input.rb +4 -4
  10. data/lib/simple_form/inputs/ui_time_input.rb +4 -4
  11. data/lib/simple_form/inputs_ext.rb +3 -3
  12. data/test/Rakefile +7 -7
  13. data/test/app/controllers/application_controller.rb +5 -5
  14. data/test/app/views/layouts/application.html.erb +12 -12
  15. data/test/config/application.rb +12 -12
  16. data/test/config/boot.rb +3 -3
  17. data/test/config/date_time_picker.yml +1 -1
  18. data/test/config/environment.rb +5 -5
  19. data/test/config/environments/test.rb +7 -7
  20. data/test/config/routes.rb +3 -3
  21. data/test/config.ru +4 -4
  22. data/test/script/rails +6 -6
  23. data/test/spec/application_spec.rb +13 -13
  24. data/test/spec/spec_helper.rb +4 -4
  25. data/vendor/assets/i18n/date_time_picker_ca.js +43 -0
  26. data/vendor/assets/i18n/date_time_picker_cs.js +43 -0
  27. data/vendor/assets/i18n/date_time_picker_de.js +43 -0
  28. data/vendor/assets/i18n/date_time_picker_el.js +42 -0
  29. data/vendor/assets/i18n/date_time_picker_es.js +42 -0
  30. data/vendor/assets/i18n/date_time_picker_et.js +42 -0
  31. data/vendor/assets/i18n/date_time_picker_fi.js +43 -0
  32. data/vendor/assets/i18n/date_time_picker_fr.js +45 -0
  33. data/vendor/assets/i18n/date_time_picker_gl.js +42 -0
  34. data/vendor/assets/i18n/date_time_picker_he.js +43 -0
  35. data/vendor/assets/i18n/date_time_picker_hu.js +43 -0
  36. data/vendor/assets/i18n/date_time_picker_id.js +42 -0
  37. data/vendor/assets/i18n/date_time_picker_it.js +43 -0
  38. data/vendor/assets/i18n/date_time_picker_ja.js +42 -0
  39. data/vendor/assets/i18n/date_time_picker_ko.js +42 -0
  40. data/vendor/assets/i18n/date_time_picker_lt.js +42 -0
  41. data/vendor/assets/i18n/date_time_picker_nl.js +42 -0
  42. data/vendor/assets/i18n/date_time_picker_no.js +43 -0
  43. data/vendor/assets/i18n/date_time_picker_pl.js +43 -0
  44. data/vendor/assets/i18n/date_time_picker_pt-BR.js +42 -0
  45. data/vendor/assets/i18n/date_time_picker_pt.js +41 -0
  46. data/vendor/assets/i18n/date_time_picker_ro.js +46 -0
  47. data/vendor/assets/i18n/date_time_picker_ru.js +42 -0
  48. data/vendor/assets/i18n/date_time_picker_sk.js +43 -0
  49. data/vendor/assets/i18n/date_time_picker_sv.js +43 -0
  50. data/vendor/assets/i18n/date_time_picker_tr.js +42 -0
  51. data/vendor/assets/i18n/date_time_picker_vi.js +43 -0
  52. data/vendor/assets/i18n/date_time_picker_zh-CN.js +43 -0
  53. data/vendor/assets/i18n/date_time_picker_zh-TW.js +43 -0
  54. data/vendor/assets/javascripts/date_time_picker.js +19 -19
  55. data/vendor/assets/javascripts/date_time_picker_all.js +1 -1
  56. data/vendor/assets/timepicker/jquery-ui-timepicker-addon.css +6 -0
  57. data/vendor/assets/timepicker/jquery-ui-timepicker-addon.js +1326 -0
  58. metadata +53 -22
@@ -0,0 +1,42 @@
1
+ /* Korean initialisation for the jQuery calendar extension. */
2
+ /* Written by DaeKwon Kang (ncrash.dk@gmail.com), Edited by Genie. */
3
+ jQuery(function($){
4
+ $.datepicker.regional['ko'] = {
5
+ closeText: '닫기',
6
+ prevText: '이전달',
7
+ nextText: '다음달',
8
+ currentText: '오늘',
9
+ monthNames: ['1월','2월','3월','4월','5월','6월',
10
+ '7월','8월','9월','10월','11월','12월'],
11
+ monthNamesShort: ['1월','2월','3월','4월','5월','6월',
12
+ '7월','8월','9월','10월','11월','12월'],
13
+ dayNames: ['일요일','월요일','화요일','수요일','목요일','금요일','토요일'],
14
+ dayNamesShort: ['일','월','화','수','목','금','토'],
15
+ dayNamesMin: ['일','월','화','수','목','금','토'],
16
+ weekHeader: 'Wk',
17
+ dateFormat: 'yy-mm-dd',
18
+ firstDay: 0,
19
+ isRTL: false,
20
+ showMonthAfterYear: true,
21
+ yearSuffix: '년'};
22
+
23
+ });/* Korean translation for the jQuery Timepicker Addon */
24
+ /* Written by Genie */
25
+ jQuery(function($) {
26
+ $.timepicker.regional['ko'] = {
27
+ timeOnlyTitle: '시간 선택',
28
+ timeText: '시간',
29
+ hourText: '시',
30
+ minuteText: '분',
31
+ secondText: '초',
32
+ millisecText: '밀리초',
33
+ timezoneText: '표준 시간대',
34
+ currentText: '현재 시각',
35
+ closeText: '닫기',
36
+ timeFormat: 'tt h:mm',
37
+ amNames: ['오전', 'AM', 'A'],
38
+ pmNames: ['오후', 'PM', 'P'],
39
+ ampm: true
40
+ };
41
+
42
+ });
@@ -0,0 +1,42 @@
1
+ /* Lithuanian (UTF-8) initialisation for the jQuery UI date picker plugin. */
2
+ /* @author Arturas Paleicikas <arturas@avalon.lt> */
3
+ jQuery(function($){
4
+ $.datepicker.regional['lt'] = {
5
+ closeText: 'Uždaryti',
6
+ prevText: '&#x3C;Atgal',
7
+ nextText: 'Pirmyn&#x3E;',
8
+ currentText: 'Šiandien',
9
+ monthNames: ['Sausis','Vasaris','Kovas','Balandis','Gegužė','Birželis',
10
+ 'Liepa','Rugpjūtis','Rugsėjis','Spalis','Lapkritis','Gruodis'],
11
+ monthNamesShort: ['Sau','Vas','Kov','Bal','Geg','Bir',
12
+ 'Lie','Rugp','Rugs','Spa','Lap','Gru'],
13
+ dayNames: ['sekmadienis','pirmadienis','antradienis','trečiadienis','ketvirtadienis','penktadienis','šeštadienis'],
14
+ dayNamesShort: ['sek','pir','ant','tre','ket','pen','šeš'],
15
+ dayNamesMin: ['Se','Pr','An','Tr','Ke','Pe','Še'],
16
+ weekHeader: 'Wk',
17
+ dateFormat: 'yy-mm-dd',
18
+ firstDay: 1,
19
+ isRTL: false,
20
+ showMonthAfterYear: false,
21
+ yearSuffix: ''};
22
+
23
+ });/* Lithuanian translation for the jQuery Timepicker Addon */
24
+ /* Written by Irmantas Šiupšinskas */
25
+ jQuery(function($) {
26
+ $.timepicker.regional['lt'] = {
27
+ timeOnlyTitle: 'Pasirinkite laiką',
28
+ timeText: 'Laikas',
29
+ hourText: 'Valandos',
30
+ minuteText: 'Minutės',
31
+ secondText: 'Sekundės',
32
+ millisecText: 'Milisekundės',
33
+ timezoneText: 'Laiko zona',
34
+ currentText: 'Dabar',
35
+ closeText: 'Uždaryti',
36
+ timeFormat: 'hh:mm',
37
+ amNames: ['priešpiet', 'AM', 'A'],
38
+ pmNames: ['popiet', 'PM', 'P'],
39
+ ampm: false
40
+ };
41
+
42
+ });
@@ -0,0 +1,42 @@
1
+ /* Dutch (UTF-8) initialisation for the jQuery UI date picker plugin. */
2
+ /* Written by Mathias Bynens <http://mathiasbynens.be/> */
3
+ jQuery(function($){
4
+ $.datepicker.regional.nl = {
5
+ closeText: 'Sluiten',
6
+ prevText: '←',
7
+ nextText: '→',
8
+ currentText: 'Vandaag',
9
+ monthNames: ['januari', 'februari', 'maart', 'april', 'mei', 'juni',
10
+ 'juli', 'augustus', 'september', 'oktober', 'november', 'december'],
11
+ monthNamesShort: ['jan', 'feb', 'mrt', 'apr', 'mei', 'jun',
12
+ 'jul', 'aug', 'sep', 'okt', 'nov', 'dec'],
13
+ dayNames: ['zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag'],
14
+ dayNamesShort: ['zon', 'maa', 'din', 'woe', 'don', 'vri', 'zat'],
15
+ dayNamesMin: ['zo', 'ma', 'di', 'wo', 'do', 'vr', 'za'],
16
+ weekHeader: 'Wk',
17
+ dateFormat: 'dd-mm-yy',
18
+ firstDay: 1,
19
+ isRTL: false,
20
+ showMonthAfterYear: false,
21
+ yearSuffix: ''};
22
+
23
+ });/* Dutch translation for the jQuery Timepicker Addon */
24
+ /* Written by Martijn van der Lee */
25
+ jQuery(function($) {
26
+ $.timepicker.regional['nl'] = {
27
+ timeOnlyTitle: 'Tijdstip',
28
+ timeText: 'Tijd',
29
+ hourText: 'Uur',
30
+ minuteText: 'Minuut',
31
+ secondText: 'Seconde',
32
+ millisecText: 'Milliseconde',
33
+ timezoneText: 'Tijdzone',
34
+ currentText: 'Vandaag',
35
+ closeText: 'Sluiten',
36
+ timeFormat: 'hh:mm tt',
37
+ amNames: ['AM', 'A'],
38
+ pmNames: ['PM', 'P'],
39
+ ampm: false
40
+ };
41
+
42
+ });
@@ -0,0 +1,43 @@
1
+ /* Norwegian initialisation for the jQuery UI date picker plugin. */
2
+ /* Written by Naimdjon Takhirov (naimdjon@gmail.com). */
3
+
4
+ jQuery(function($){
5
+ $.datepicker.regional['no'] = {
6
+ closeText: 'Lukk',
7
+ prevText: '&#xAB;Forrige',
8
+ nextText: 'Neste&#xBB;',
9
+ currentText: 'I dag',
10
+ monthNames: ['januar','februar','mars','april','mai','juni','juli','august','september','oktober','november','desember'],
11
+ monthNamesShort: ['jan','feb','mar','apr','mai','jun','jul','aug','sep','okt','nov','des'],
12
+ dayNamesShort: ['søn','man','tir','ons','tor','fre','lør'],
13
+ dayNames: ['søndag','mandag','tirsdag','onsdag','torsdag','fredag','lørdag'],
14
+ dayNamesMin: ['sø','ma','ti','on','to','fr','lø'],
15
+ weekHeader: 'Uke',
16
+ dateFormat: 'dd.mm.yy',
17
+ firstDay: 1,
18
+ isRTL: false,
19
+ showMonthAfterYear: false,
20
+ yearSuffix: ''
21
+ };
22
+
23
+ });
24
+ /* Norwegian translation for the jQuery Timepicker Addon */
25
+ /* Written by Morten Hauan (http://hauan.me) */
26
+ jQuery(function($) {
27
+ $.timepicker.regional['no'] = {
28
+ timeOnlyTitle: 'Velg tid',
29
+ timeText: 'Tid',
30
+ hourText: 'Time',
31
+ minuteText: 'Minutt',
32
+ secondText: 'Sekund',
33
+ millisecText: 'Millisekund',
34
+ timezoneText: 'Tidssone',
35
+ currentText: 'Nå',
36
+ closeText: 'Lukk',
37
+ timeFormat: 'hh:mm',
38
+ amNames: ['am', 'AM', 'A'],
39
+ pmNames: ['pm', 'PM', 'P'],
40
+ ampm: false
41
+ };
42
+
43
+ });
@@ -0,0 +1,43 @@
1
+ /* Polish initialisation for the jQuery UI date picker plugin. */
2
+ /* Written by Jacek Wysocki (jacek.wysocki@gmail.com). */
3
+ jQuery(function($){
4
+ $.datepicker.regional['pl'] = {
5
+ closeText: 'Zamknij',
6
+ prevText: '&#x3C;Poprzedni',
7
+ nextText: 'Następny&#x3E;',
8
+ currentText: 'Dziś',
9
+ monthNames: ['Styczeń','Luty','Marzec','Kwiecień','Maj','Czerwiec',
10
+ 'Lipiec','Sierpień','Wrzesień','Październik','Listopad','Grudzień'],
11
+ monthNamesShort: ['Sty','Lu','Mar','Kw','Maj','Cze',
12
+ 'Lip','Sie','Wrz','Pa','Lis','Gru'],
13
+ dayNames: ['Niedziela','Poniedziałek','Wtorek','Środa','Czwartek','Piątek','Sobota'],
14
+ dayNamesShort: ['Nie','Pn','Wt','Śr','Czw','Pt','So'],
15
+ dayNamesMin: ['N','Pn','Wt','Śr','Cz','Pt','So'],
16
+ weekHeader: 'Tydz',
17
+ dateFormat: 'dd.mm.yy',
18
+ firstDay: 1,
19
+ isRTL: false,
20
+ showMonthAfterYear: false,
21
+ yearSuffix: ''};
22
+
23
+ });
24
+ /* Polish translation for the jQuery Timepicker Addon */
25
+ /* Written by Michał Pena */
26
+ jQuery(function($) {
27
+ $.timepicker.regional['pl'] = {
28
+ timeOnlyTitle: 'Wybierz godzinę',
29
+ timeText: 'Czas',
30
+ hourText: 'Godzina',
31
+ minuteText: 'Minuta',
32
+ secondText: 'Sekunda',
33
+ millisecText: 'Milisekunda',
34
+ timezoneText: 'Strefa czasowa',
35
+ currentText: 'Teraz',
36
+ closeText: 'Gotowe',
37
+ timeFormat: 'hh:mm tt',
38
+ amNames: ['AM', 'A'],
39
+ pmNames: ['PM', 'P'],
40
+ ampm: false
41
+ };
42
+
43
+ });
@@ -0,0 +1,42 @@
1
+ /* Brazilian initialisation for the jQuery UI date picker plugin. */
2
+ /* Written by Leonildo Costa Silva (leocsilva@gmail.com). */
3
+ jQuery(function($){
4
+ $.datepicker.regional['pt-BR'] = {
5
+ closeText: 'Fechar',
6
+ prevText: '&#x3C;Anterior',
7
+ nextText: 'Pr&#xF3;ximo&#x3E;',
8
+ currentText: 'Hoje',
9
+ monthNames: ['Janeiro','Fevereiro','Mar&#xE7;o','Abril','Maio','Junho',
10
+ 'Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'],
11
+ monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun',
12
+ 'Jul','Ago','Set','Out','Nov','Dez'],
13
+ dayNames: ['Domingo','Segunda-feira','Ter&#xE7;a-feira','Quarta-feira','Quinta-feira','Sexta-feira','S&#xE1;bado'],
14
+ dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','S&#xE1;b'],
15
+ dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','S&#xE1;b'],
16
+ weekHeader: 'Sm',
17
+ dateFormat: 'dd/mm/yy',
18
+ firstDay: 0,
19
+ isRTL: false,
20
+ showMonthAfterYear: false,
21
+ yearSuffix: ''};
22
+
23
+ });/* Brazilian Portuguese translation for the jQuery Timepicker Addon */
24
+ /* Written by Diogo Damiani (diogodamiani@gmail.com) */
25
+ (function ($) {
26
+ $.timepicker.regional['pt-BR'] = {
27
+ timeOnlyTitle: 'Escolha a hora',
28
+ timeText: 'Hora',
29
+ hourText: 'Horas',
30
+ minuteText: 'Minutos',
31
+ secondText: 'Segundos',
32
+ millisecText: 'Milissegundos',
33
+ timezoneText: 'Fuso hor�rio',
34
+ currentText: 'Agora',
35
+ closeText: 'Fechar',
36
+ timeFormat: 'hh:mm',
37
+ amNames: ['a.m.', 'AM', 'A'],
38
+ pmNames: ['p.m.', 'PM', 'P'],
39
+ ampm: false
40
+ };
41
+
42
+ });
@@ -0,0 +1,41 @@
1
+ /* Portuguese initialisation for the jQuery UI date picker plugin. */
2
+ jQuery(function($){
3
+ $.datepicker.regional['pt'] = {
4
+ closeText: 'Fechar',
5
+ prevText: '&#x3C;Anterior',
6
+ nextText: 'Seguinte',
7
+ currentText: 'Hoje',
8
+ monthNames: ['Janeiro','Fevereiro','Mar&#xE7;o','Abril','Maio','Junho',
9
+ 'Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'],
10
+ monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun',
11
+ 'Jul','Ago','Set','Out','Nov','Dez'],
12
+ dayNames: ['Domingo','Segunda-feira','Ter&#xE7;a-feira','Quarta-feira','Quinta-feira','Sexta-feira','S&#xE1;bado'],
13
+ dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','S&#xE1;b'],
14
+ dayNamesMin: ['Dom','Seg','Ter','Qua','Qui','Sex','S&#xE1;b'],
15
+ weekHeader: 'Sem',
16
+ dateFormat: 'dd/mm/yy',
17
+ firstDay: 0,
18
+ isRTL: false,
19
+ showMonthAfterYear: false,
20
+ yearSuffix: ''};
21
+
22
+ });/* Portuguese translation for the jQuery Timepicker Addon */
23
+ /* Written by Luan Almeida */
24
+ jQuery(function($) {
25
+ $.timepicker.regional['pt'] = {
26
+ timeOnlyTitle: 'Escolha uma hora',
27
+ timeText: 'Hora',
28
+ hourText: 'Horas',
29
+ minuteText: 'Minutos',
30
+ secondText: 'Segundos',
31
+ millisecText: 'Milissegundos',
32
+ timezoneText: 'Fuso horário',
33
+ currentText: 'Agora',
34
+ closeText: 'Fechar',
35
+ timeFormat: 'hh:mm',
36
+ amNames: ['a.m.', 'AM', 'A'],
37
+ pmNames: ['p.m.', 'PM', 'P'],
38
+ ampm: false
39
+ };
40
+
41
+ });
@@ -0,0 +1,46 @@
1
+ /* Romanian initialisation for the jQuery UI date picker plugin.
2
+ *
3
+ * Written by Edmond L. (ll_edmond@walla.com)
4
+ * and Ionut G. Stan (ionut.g.stan@gmail.com)
5
+ */
6
+ jQuery(function($){
7
+ $.datepicker.regional['ro'] = {
8
+ closeText: 'Închide',
9
+ prevText: '&#xAB; Luna precedentă',
10
+ nextText: 'Luna următoare &#xBB;',
11
+ currentText: 'Azi',
12
+ monthNames: ['Ianuarie','Februarie','Martie','Aprilie','Mai','Iunie',
13
+ 'Iulie','August','Septembrie','Octombrie','Noiembrie','Decembrie'],
14
+ monthNamesShort: ['Ian', 'Feb', 'Mar', 'Apr', 'Mai', 'Iun',
15
+ 'Iul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
16
+ dayNames: ['Duminică', 'Luni', 'Marţi', 'Miercuri', 'Joi', 'Vineri', 'Sâmbătă'],
17
+ dayNamesShort: ['Dum', 'Lun', 'Mar', 'Mie', 'Joi', 'Vin', 'Sâm'],
18
+ dayNamesMin: ['Du','Lu','Ma','Mi','Jo','Vi','Sâ'],
19
+ weekHeader: 'Săpt',
20
+ dateFormat: 'dd.mm.yy',
21
+ firstDay: 1,
22
+ isRTL: false,
23
+ showMonthAfterYear: false,
24
+ yearSuffix: ''};
25
+
26
+ });
27
+ /* Romanian translation for the jQuery Timepicker Addon */
28
+ /* Written by Romeo Adrian Cioaba */
29
+ jQuery(function($) {
30
+ $.timepicker.regional['ro'] = {
31
+ timeOnlyTitle: 'Alegeţi o oră',
32
+ timeText: 'Timp',
33
+ hourText: 'Ore',
34
+ minuteText: 'Minute',
35
+ secondText: 'Secunde',
36
+ millisecText: 'Milisecunde',
37
+ timezoneText: 'Fus orar',
38
+ currentText: 'Acum',
39
+ closeText: 'Închide',
40
+ timeFormat: 'hh:mm',
41
+ amNames: ['AM', 'A'],
42
+ pmNames: ['PM', 'P'],
43
+ ampm: false
44
+ };
45
+
46
+ });
@@ -0,0 +1,42 @@
1
+ /* Russian (UTF-8) initialisation for the jQuery UI date picker plugin. */
2
+ /* Written by Andrew Stromnov (stromnov@gmail.com). */
3
+ jQuery(function($){
4
+ $.datepicker.regional['ru'] = {
5
+ closeText: 'Закрыть',
6
+ prevText: '&#x3C;Пред',
7
+ nextText: 'След&#x3E;',
8
+ currentText: 'Сегодня',
9
+ monthNames: ['Январь','Февраль','Март','Апрель','Май','Июнь',
10
+ 'Июль','Август','Сентябрь','Октябрь','Ноябрь','Декабрь'],
11
+ monthNamesShort: ['Янв','Фев','Мар','Апр','Май','Июн',
12
+ 'Июл','Авг','Сен','Окт','Ноя','Дек'],
13
+ dayNames: ['воскресенье','понедельник','вторник','среда','четверг','пятница','суббота'],
14
+ dayNamesShort: ['вск','пнд','втр','срд','чтв','птн','сбт'],
15
+ dayNamesMin: ['Вс','Пн','Вт','Ср','Чт','Пт','Сб'],
16
+ weekHeader: 'Нед',
17
+ dateFormat: 'dd.mm.yy',
18
+ firstDay: 1,
19
+ isRTL: false,
20
+ showMonthAfterYear: false,
21
+ yearSuffix: ''};
22
+
23
+ });/* Russian translation for the jQuery Timepicker Addon */
24
+ /* Written by Trent Richardson */
25
+ jQuery(function($) {
26
+ $.timepicker.regional['ru'] = {
27
+ timeOnlyTitle: 'Выберите время',
28
+ timeText: 'Время',
29
+ hourText: 'Часы',
30
+ minuteText: 'Минуты',
31
+ secondText: 'Секунды',
32
+ millisecText: 'Миллисекунды',
33
+ timezoneText: 'Часовой пояс',
34
+ currentText: 'Сейчас',
35
+ closeText: 'Закрыть',
36
+ timeFormat: 'hh:mm tt',
37
+ amNames: ['AM', 'A'],
38
+ pmNames: ['PM', 'P'],
39
+ ampm: false
40
+ };
41
+
42
+ });
@@ -0,0 +1,43 @@
1
+ /* Slovak initialisation for the jQuery UI date picker plugin. */
2
+ /* Written by Vojtech Rinik (vojto@hmm.sk). */
3
+ jQuery(function($){
4
+ $.datepicker.regional['sk'] = {
5
+ closeText: 'Zavrieť',
6
+ prevText: '&#x3C;Predchádzajúci',
7
+ nextText: 'Nasledujúci&#x3E;',
8
+ currentText: 'Dnes',
9
+ monthNames: ['Január','Február','Marec','Apríl','Máj','Jún',
10
+ 'Júl','August','September','Október','November','December'],
11
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Máj','Jún',
12
+ 'Júl','Aug','Sep','Okt','Nov','Dec'],
13
+ dayNames: ['Nedeľa','Pondelok','Utorok','Streda','Štvrtok','Piatok','Sobota'],
14
+ dayNamesShort: ['Ned','Pon','Uto','Str','Štv','Pia','Sob'],
15
+ dayNamesMin: ['Ne','Po','Ut','St','Št','Pia','So'],
16
+ weekHeader: 'Ty',
17
+ dateFormat: 'dd.mm.yy',
18
+ firstDay: 1,
19
+ isRTL: false,
20
+ showMonthAfterYear: false,
21
+ yearSuffix: ''};
22
+
23
+ });
24
+ /* Slovak translation for the jQuery Timepicker Addon */
25
+ /* Written by David Vallner */
26
+ jQuery(function($) {
27
+ $.timepicker.regional['sk'] = {
28
+ timeOnlyTitle: 'Zvoľte čas',
29
+ timeText: 'Čas',
30
+ hourText: 'Hodiny',
31
+ minuteText: 'Minúty',
32
+ secondText: 'Sekundy',
33
+ millisecText: 'Milisekundy',
34
+ timezoneText: 'Časové pásmo',
35
+ currentText: 'Teraz',
36
+ closeText: 'Zavrieť',
37
+ timeFormat: 'h:m',
38
+ amNames: ['dop.', 'AM', 'A'],
39
+ pmNames: ['pop.', 'PM', 'P'],
40
+ ampm: false
41
+ };
42
+
43
+ });
@@ -0,0 +1,43 @@
1
+ /* Swedish initialisation for the jQuery UI date picker plugin. */
2
+ /* Written by Anders Ekdahl ( anders@nomadiz.se). */
3
+ jQuery(function($){
4
+ $.datepicker.regional['sv'] = {
5
+ closeText: 'Stäng',
6
+ prevText: '&#xAB;Förra',
7
+ nextText: 'Nästa&#xBB;',
8
+ currentText: 'Idag',
9
+ monthNames: ['Januari','Februari','Mars','April','Maj','Juni',
10
+ 'Juli','Augusti','September','Oktober','November','December'],
11
+ monthNamesShort: ['Jan','Feb','Mar','Apr','Maj','Jun',
12
+ 'Jul','Aug','Sep','Okt','Nov','Dec'],
13
+ dayNamesShort: ['Sön','Mån','Tis','Ons','Tor','Fre','Lör'],
14
+ dayNames: ['Söndag','Måndag','Tisdag','Onsdag','Torsdag','Fredag','Lördag'],
15
+ dayNamesMin: ['Sö','Må','Ti','On','To','Fr','Lö'],
16
+ weekHeader: 'Ve',
17
+ dateFormat: 'yy-mm-dd',
18
+ firstDay: 1,
19
+ isRTL: false,
20
+ showMonthAfterYear: false,
21
+ yearSuffix: ''};
22
+
23
+ });
24
+ /* Swedish translation for the jQuery Timepicker Addon */
25
+ /* Written by Nevon */
26
+ jQuery(function($) {
27
+ $.timepicker.regional['sv'] = {
28
+ timeOnlyTitle: 'Välj en tid',
29
+ timeText: 'Timme',
30
+ hourText: 'Timmar',
31
+ minuteText: 'Minuter',
32
+ secondText: 'Sekunder',
33
+ millisecText: 'Millisekunder',
34
+ timezoneText: 'Tidszon',
35
+ currentText: 'Nu',
36
+ closeText: 'Stäng',
37
+ timeFormat: 'hh:mm',
38
+ amNames: ['AM', 'A'],
39
+ pmNames: ['PM', 'P'],
40
+ ampm: false
41
+ };
42
+
43
+ });
@@ -0,0 +1,42 @@
1
+ /* Turkish initialisation for the jQuery UI date picker plugin. */
2
+ /* Written by Izzet Emre Erkan (kara@karalamalar.net). */
3
+ jQuery(function($){
4
+ $.datepicker.regional['tr'] = {
5
+ closeText: 'kapat',
6
+ prevText: '&#x3C;geri',
7
+ nextText: 'ileri&#x3e',
8
+ currentText: 'bugün',
9
+ monthNames: ['Ocak','Şubat','Mart','Nisan','Mayıs','Haziran',
10
+ 'Temmuz','Ağustos','Eylül','Ekim','Kasım','Aralık'],
11
+ monthNamesShort: ['Oca','Şub','Mar','Nis','May','Haz',
12
+ 'Tem','Ağu','Eyl','Eki','Kas','Ara'],
13
+ dayNames: ['Pazar','Pazartesi','Salı','Çarşamba','Perşembe','Cuma','Cumartesi'],
14
+ dayNamesShort: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],
15
+ dayNamesMin: ['Pz','Pt','Sa','Ça','Pe','Cu','Ct'],
16
+ weekHeader: 'Hf',
17
+ dateFormat: 'dd.mm.yy',
18
+ firstDay: 1,
19
+ isRTL: false,
20
+ showMonthAfterYear: false,
21
+ yearSuffix: ''};
22
+
23
+ });/* Turkish translation for the jQuery Timepicker Addon */
24
+ /* Written by Fehmi Can Saglam, Edited by Goktug Ozturk */
25
+ jQuery(function($) {
26
+ $.timepicker.regional['tr'] = {
27
+ timeOnlyTitle: 'Zaman Seçiniz',
28
+ timeText: 'Zaman',
29
+ hourText: 'Saat',
30
+ minuteText: 'Dakika',
31
+ secondText: 'Saniye',
32
+ millisecText: 'Milisaniye',
33
+ timezoneText: 'Zaman Dilimi',
34
+ currentText: 'Şu an',
35
+ closeText: 'Tamam',
36
+ timeFormat: 'hh:mm',
37
+ amNames: ['ÖÖ', 'Ö'],
38
+ pmNames: ['ÖS', 'S'],
39
+ ampm: false
40
+ };
41
+
42
+ });
@@ -0,0 +1,43 @@
1
+ /* Vietnamese initialisation for the jQuery UI date picker plugin. */
2
+ /* Translated by Le Thanh Huy (lthanhhuy@cit.ctu.edu.vn). */
3
+ jQuery(function($){
4
+ $.datepicker.regional['vi'] = {
5
+ closeText: 'Đóng',
6
+ prevText: '&#x3C;Trước',
7
+ nextText: 'Tiếp&#x3E;',
8
+ currentText: 'Hôm nay',
9
+ monthNames: ['Tháng Một', 'Tháng Hai', 'Tháng Ba', 'Tháng Tư', 'Tháng Năm', 'Tháng Sáu',
10
+ 'Tháng Bảy', 'Tháng Tám', 'Tháng Chín', 'Tháng Mười', 'Tháng Mười Một', 'Tháng Mười Hai'],
11
+ monthNamesShort: ['Tháng 1', 'Tháng 2', 'Tháng 3', 'Tháng 4', 'Tháng 5', 'Tháng 6',
12
+ 'Tháng 7', 'Tháng 8', 'Tháng 9', 'Tháng 10', 'Tháng 11', 'Tháng 12'],
13
+ dayNames: ['Chủ Nhật', 'Thứ Hai', 'Thứ Ba', 'Thứ Tư', 'Thứ Năm', 'Thứ Sáu', 'Thứ Bảy'],
14
+ dayNamesShort: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'],
15
+ dayNamesMin: ['CN', 'T2', 'T3', 'T4', 'T5', 'T6', 'T7'],
16
+ weekHeader: 'Tu',
17
+ dateFormat: 'dd/mm/yy',
18
+ firstDay: 0,
19
+ isRTL: false,
20
+ showMonthAfterYear: false,
21
+ yearSuffix: ''};
22
+
23
+ });
24
+ /* Vietnamese translation for the jQuery Timepicker Addon */
25
+ /* Written by Nguyen Dinh Trung */
26
+ jQuery(function($) {
27
+ $.timepicker.regional['vi'] = {
28
+ timeOnlyTitle: 'Chọn giờ',
29
+ timeText: 'Thời gian',
30
+ hourText: 'Giờ',
31
+ minuteText: 'Phút',
32
+ secondText: 'Giây',
33
+ millisecText: 'Phần nghìn giây',
34
+ timezoneText: 'Múi giờ',
35
+ currentText: 'Hiện thời',
36
+ closeText: 'Đóng'
37
+ timeFormat: 'h:m',
38
+ amNames: ['SA', 'AM', 'A'],
39
+ pmNames: ['CH', 'PM', 'P'],
40
+ ampm: false
41
+ };
42
+
43
+ });
@@ -0,0 +1,43 @@
1
+ /* Chinese initialisation for the jQuery UI date picker plugin. */
2
+ /* Written by Cloudream (cloudream@gmail.com). */
3
+ jQuery(function($){
4
+ $.datepicker.regional['zh-CN'] = {
5
+ closeText: '关闭',
6
+ prevText: '&#x3C;上月',
7
+ nextText: '下月&#x3E;',
8
+ currentText: '今天',
9
+ monthNames: ['一月','二月','三月','四月','五月','六月',
10
+ '七月','八月','九月','十月','十一月','十二月'],
11
+ monthNamesShort: ['一','二','三','四','五','六',
12
+ '七','八','九','十','十一','十二'],
13
+ dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
14
+ dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
15
+ dayNamesMin: ['日','一','二','三','四','五','六'],
16
+ weekHeader: '周',
17
+ dateFormat: 'yy-mm-dd',
18
+ firstDay: 1,
19
+ isRTL: false,
20
+ showMonthAfterYear: true,
21
+ yearSuffix: '年'};
22
+
23
+ });
24
+ /* Simplified Chinese translation for the jQuery Timepicker Addon /
25
+ / Written by Will Lu */
26
+ jQuery(function($) {
27
+ $.timepicker.regional['zh-CN'] = {
28
+ timeOnlyTitle: '选择时间',
29
+ timeText: '时间',
30
+ hourText: '小时',
31
+ minuteText: '分钟',
32
+ secondText: '秒钟',
33
+ millisecText: '微秒',
34
+ timezoneText: '时区',
35
+ currentText: '现在时间',
36
+ closeText: '关闭',
37
+ timeFormat: 'hh:mm',
38
+ amNames: ['AM', 'A'],
39
+ pmNames: ['PM', 'P'],
40
+ ampm: false
41
+ };
42
+
43
+ });
@@ -0,0 +1,43 @@
1
+ /* Chinese initialisation for the jQuery UI date picker plugin. */
2
+ /* Written by Ressol (ressol@gmail.com). */
3
+ jQuery(function($){
4
+ $.datepicker.regional['zh-TW'] = {
5
+ closeText: '關閉',
6
+ prevText: '&#x3C;上月',
7
+ nextText: '下月&#x3E;',
8
+ currentText: '今天',
9
+ monthNames: ['一月','二月','三月','四月','五月','六月',
10
+ '七月','八月','九月','十月','十一月','十二月'],
11
+ monthNamesShort: ['一','二','三','四','五','六',
12
+ '七','八','九','十','十一','十二'],
13
+ dayNames: ['星期日','星期一','星期二','星期三','星期四','星期五','星期六'],
14
+ dayNamesShort: ['周日','周一','周二','周三','周四','周五','周六'],
15
+ dayNamesMin: ['日','一','二','三','四','五','六'],
16
+ weekHeader: '周',
17
+ dateFormat: 'yy/mm/dd',
18
+ firstDay: 1,
19
+ isRTL: false,
20
+ showMonthAfterYear: true,
21
+ yearSuffix: '年'};
22
+
23
+ });
24
+ /* Chinese translation for the jQuery Timepicker Addon */
25
+ /* Written by Alang.lin */
26
+ jQuery(function($) {
27
+ $.timepicker.regional['zh-TW'] = {
28
+ timeOnlyTitle: '選擇時分秒',
29
+ timeText: '時間',
30
+ hourText: '時',
31
+ minuteText: '分',
32
+ secondText: '秒',
33
+ millisecText: '毫秒',
34
+ timezoneText: '時區',
35
+ currentText: '現在時間',
36
+ closeText: '確定',
37
+ timeFormat: 'hh:mm tt',
38
+ amNames: ['上午', 'AM', 'A'],
39
+ pmNames: ['下午', 'PM', 'P'],
40
+ ampm: false
41
+ };
42
+
43
+ });