date_time_picker 0.5.4 → 0.5.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (59) hide show
  1. checksums.yaml +15 -0
  2. data/MIT-LICENSE +21 -21
  3. data/README.rdoc +72 -72
  4. data/lib/date_time_picker/date_time_picker_helpers.rb +78 -78
  5. data/lib/date_time_picker.rb +37 -37
  6. data/lib/generators/date_time_picker/USAGE +2 -2
  7. data/lib/generators/date_time_picker/date_time_picker_generator.rb +11 -11
  8. data/lib/generators/date_time_picker/templates/date_time_picker.rb +2 -2
  9. data/lib/simple_form/inputs/ui_date_input.rb +4 -4
  10. data/lib/simple_form/inputs/ui_date_time_input.rb +4 -4
  11. data/lib/simple_form/inputs/ui_time_input.rb +4 -4
  12. data/lib/simple_form/inputs_ext.rb +3 -3
  13. data/test/Rakefile +7 -7
  14. data/test/app/controllers/application_controller.rb +5 -5
  15. data/test/app/views/layouts/application.html.erb +12 -12
  16. data/test/config/application.rb +12 -12
  17. data/test/config/boot.rb +3 -3
  18. data/test/config/date_time_picker.yml +1 -1
  19. data/test/config/environment.rb +5 -5
  20. data/test/config/environments/test.rb +7 -7
  21. data/test/config/routes.rb +3 -3
  22. data/test/config.ru +4 -4
  23. data/test/script/rails +6 -6
  24. data/test/spec/application_spec.rb +13 -13
  25. data/test/spec/spec_helper.rb +4 -4
  26. data/vendor/assets/i18n/date_time_picker_ca.js +43 -43
  27. data/vendor/assets/i18n/date_time_picker_cs.js +43 -43
  28. data/vendor/assets/i18n/date_time_picker_de.js +43 -43
  29. data/vendor/assets/i18n/date_time_picker_el.js +42 -42
  30. data/vendor/assets/i18n/date_time_picker_es.js +42 -42
  31. data/vendor/assets/i18n/date_time_picker_et.js +42 -42
  32. data/vendor/assets/i18n/date_time_picker_fi.js +43 -43
  33. data/vendor/assets/i18n/date_time_picker_fr.js +45 -45
  34. data/vendor/assets/i18n/date_time_picker_gl.js +42 -42
  35. data/vendor/assets/i18n/date_time_picker_he.js +43 -43
  36. data/vendor/assets/i18n/date_time_picker_hu.js +43 -43
  37. data/vendor/assets/i18n/date_time_picker_id.js +42 -42
  38. data/vendor/assets/i18n/date_time_picker_it.js +43 -43
  39. data/vendor/assets/i18n/date_time_picker_ja.js +42 -42
  40. data/vendor/assets/i18n/date_time_picker_ko.js +42 -42
  41. data/vendor/assets/i18n/date_time_picker_lt.js +42 -42
  42. data/vendor/assets/i18n/date_time_picker_nl.js +42 -42
  43. data/vendor/assets/i18n/date_time_picker_no.js +43 -43
  44. data/vendor/assets/i18n/date_time_picker_pl.js +43 -43
  45. data/vendor/assets/i18n/date_time_picker_pt-BR.js +42 -42
  46. data/vendor/assets/i18n/date_time_picker_pt.js +41 -41
  47. data/vendor/assets/i18n/date_time_picker_ro.js +46 -46
  48. data/vendor/assets/i18n/date_time_picker_ru.js +42 -42
  49. data/vendor/assets/i18n/date_time_picker_sk.js +43 -43
  50. data/vendor/assets/i18n/date_time_picker_sv.js +43 -43
  51. data/vendor/assets/i18n/date_time_picker_tr.js +42 -42
  52. data/vendor/assets/i18n/date_time_picker_vi.js +43 -43
  53. data/vendor/assets/i18n/date_time_picker_zh-CN.js +43 -43
  54. data/vendor/assets/i18n/date_time_picker_zh-TW.js +43 -43
  55. data/vendor/assets/javascripts/date_time_picker.js +19 -19
  56. data/vendor/assets/javascripts/date_time_picker_all.js +1 -1
  57. data/vendor/assets/timepicker/jquery-ui-timepicker-addon.css +6 -6
  58. data/vendor/assets/timepicker/jquery-ui-timepicker-addon.js +1326 -1326
  59. metadata +35 -45
@@ -1,42 +1,42 @@
1
- /* Japanese initialisation for the jQuery UI date picker plugin. */
2
- /* Written by Kentaro SATO (kentaro@ranvis.com). */
3
- jQuery(function($){
4
- $.datepicker.regional['ja'] = {
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: '週',
17
- dateFormat: 'yy/mm/dd',
18
- firstDay: 0,
19
- isRTL: false,
20
- showMonthAfterYear: true,
21
- yearSuffix: '年'};
22
-
23
- });/* Japanese translation for the jQuery Timepicker Addon */
24
- /* Written by Jun Omae */
25
- jQuery(function($) {
26
- $.timepicker.regional['ja'] = {
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
- });
1
+ /* Japanese initialisation for the jQuery UI date picker plugin. */
2
+ /* Written by Kentaro SATO (kentaro@ranvis.com). */
3
+ jQuery(function($){
4
+ $.datepicker.regional['ja'] = {
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: '週',
17
+ dateFormat: 'yy/mm/dd',
18
+ firstDay: 0,
19
+ isRTL: false,
20
+ showMonthAfterYear: true,
21
+ yearSuffix: '年'};
22
+
23
+ });/* Japanese translation for the jQuery Timepicker Addon */
24
+ /* Written by Jun Omae */
25
+ jQuery(function($) {
26
+ $.timepicker.regional['ja'] = {
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
+ });
@@ -1,42 +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
- });
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
+ });
@@ -1,42 +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
- });
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
+ });
@@ -1,42 +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
- });
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
+ });
@@ -1,43 +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
- });
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
+ });
@@ -1,43 +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
- });
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
+ });
@@ -1,42 +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
- });
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
+ });