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
data/test/script/rails CHANGED
@@ -1,6 +1,6 @@
1
- #!/usr/bin/env ruby1.8
2
- # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
-
4
- APP_PATH = File.expand_path('../../config/application', __FILE__)
5
- require File.expand_path('../../config/boot', __FILE__)
6
- require 'rails/commands'
1
+ #!/usr/bin/env ruby1.8
2
+ # This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
3
+
4
+ APP_PATH = File.expand_path('../../config/application', __FILE__)
5
+ require File.expand_path('../../config/boot', __FILE__)
6
+ require 'rails/commands'
@@ -1,13 +1,13 @@
1
- require 'spec_helper'
2
-
3
- describe 'application', :type => :request, :js => true do
4
-
5
- #include RSpec::Rails::ViewExampleGroup
6
-
7
- it 'simple' do
8
- visit '/1'
9
- sleep 100
10
- find('input[name="picker_1"]').click
11
- end
12
-
13
- end
1
+ require 'spec_helper'
2
+
3
+ describe 'application', :type => :request, :js => true do
4
+
5
+ #include RSpec::Rails::ViewExampleGroup
6
+
7
+ it 'simple' do
8
+ visit '/1'
9
+ sleep 100
10
+ find('input[name="picker_1"]').click
11
+ end
12
+
13
+ end
@@ -1,5 +1,5 @@
1
- ENV['RAILS_ENV'] = 'test'
2
- require File.expand_path('../../config/environment', __FILE__)
3
- require 'rspec/rails'
4
- require 'rspec/autorun'
1
+ ENV['RAILS_ENV'] = 'test'
2
+ require File.expand_path('../../config/environment', __FILE__)
3
+ require 'rspec/rails'
4
+ require 'rspec/autorun'
5
5
  require 'capybara/rspec'
@@ -1,43 +1,43 @@
1
- /* Inicialització en català per a l'extensió 'UI date picker' per jQuery. */
2
- /* Writers: (joan.leon@gmail.com). */
3
- jQuery(function($){
4
- $.datepicker.regional['ca'] = {
5
- closeText: 'Tanca',
6
- prevText: 'Anterior',
7
- nextText: 'Següent',
8
- currentText: 'Avui',
9
- monthNames: ['gener','febrer','març','abril','maig','juny',
10
- 'juliol','agost','setembre','octubre','novembre','desembre'],
11
- monthNamesShort: ['gen','feb','març','abr','maig','juny',
12
- 'jul','ag','set','oct','nov','des'],
13
- dayNames: ['diumenge','dilluns','dimarts','dimecres','dijous','divendres','dissabte'],
14
- dayNamesShort: ['dg','dl','dt','dc','dj','dv','ds'],
15
- dayNamesMin: ['dg','dl','dt','dc','dj','dv','ds'],
16
- weekHeader: 'Set',
17
- dateFormat: 'dd/mm/yy',
18
- firstDay: 1,
19
- isRTL: false,
20
- showMonthAfterYear: false,
21
- yearSuffix: ''};
22
-
23
- });
24
- /* Catalan translation for the jQuery Timepicker Addon */
25
- /* Written by Sergi Faber */
26
- jQuery(function($) {
27
- $.timepicker.regional['ca'] = {
28
- timeOnlyTitle: 'Escollir una hora',
29
- timeText: 'Hora',
30
- hourText: 'Hores',
31
- minuteText: 'Minuts',
32
- secondText: 'Segons',
33
- millisecText: 'Milisegons',
34
- timezoneText: 'Fus horari',
35
- currentText: 'Ara',
36
- closeText: 'Tancar',
37
- timeFormat: 'hh:mm',
38
- amNames: ['AM', 'A'],
39
- pmNames: ['PM', 'P'],
40
- ampm: false
41
- };
42
-
43
- });
1
+ /* Inicialització en català per a l'extensió 'UI date picker' per jQuery. */
2
+ /* Writers: (joan.leon@gmail.com). */
3
+ jQuery(function($){
4
+ $.datepicker.regional['ca'] = {
5
+ closeText: 'Tanca',
6
+ prevText: 'Anterior',
7
+ nextText: 'Següent',
8
+ currentText: 'Avui',
9
+ monthNames: ['gener','febrer','març','abril','maig','juny',
10
+ 'juliol','agost','setembre','octubre','novembre','desembre'],
11
+ monthNamesShort: ['gen','feb','març','abr','maig','juny',
12
+ 'jul','ag','set','oct','nov','des'],
13
+ dayNames: ['diumenge','dilluns','dimarts','dimecres','dijous','divendres','dissabte'],
14
+ dayNamesShort: ['dg','dl','dt','dc','dj','dv','ds'],
15
+ dayNamesMin: ['dg','dl','dt','dc','dj','dv','ds'],
16
+ weekHeader: 'Set',
17
+ dateFormat: 'dd/mm/yy',
18
+ firstDay: 1,
19
+ isRTL: false,
20
+ showMonthAfterYear: false,
21
+ yearSuffix: ''};
22
+
23
+ });
24
+ /* Catalan translation for the jQuery Timepicker Addon */
25
+ /* Written by Sergi Faber */
26
+ jQuery(function($) {
27
+ $.timepicker.regional['ca'] = {
28
+ timeOnlyTitle: 'Escollir una hora',
29
+ timeText: 'Hora',
30
+ hourText: 'Hores',
31
+ minuteText: 'Minuts',
32
+ secondText: 'Segons',
33
+ millisecText: 'Milisegons',
34
+ timezoneText: 'Fus horari',
35
+ currentText: 'Ara',
36
+ closeText: 'Tancar',
37
+ timeFormat: 'hh:mm',
38
+ amNames: ['AM', 'A'],
39
+ pmNames: ['PM', 'P'],
40
+ ampm: false
41
+ };
42
+
43
+ });
@@ -1,43 +1,43 @@
1
- /* Czech initialisation for the jQuery UI date picker plugin. */
2
- /* Written by Tomas Muller (tomas@tomas-muller.net). */
3
- jQuery(function($){
4
- $.datepicker.regional['cs'] = {
5
- closeText: 'Zavřít',
6
- prevText: '<Dříve',
7
- nextText: 'Později>',
8
- currentText: 'Nyní',
9
- monthNames: ['leden','únor','březen','duben','květen','červen',
10
- 'červenec','srpen','září','říjen','listopad','prosinec'],
11
- monthNamesShort: ['led','úno','bře','dub','kvě','čer',
12
- 'čvc','srp','zář','říj','lis','pro'],
13
- dayNames: ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'],
14
- dayNamesShort: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'],
15
- dayNamesMin: ['ne','po','út','st','čt','pá','so'],
16
- weekHeader: 'Týd',
17
- dateFormat: 'dd.mm.yy',
18
- firstDay: 1,
19
- isRTL: false,
20
- showMonthAfterYear: false,
21
- yearSuffix: ''};
22
-
23
- });
24
- /* Czech translation for the jQuery Timepicker Addon */
25
- /* Written by Ondřej Vodáček */
26
- jQuery(function($) {
27
- $.timepicker.regional['cs'] = {
28
- timeOnlyTitle: 'Vyberte čas',
29
- timeText: 'Čas',
30
- hourText: 'Hodiny',
31
- minuteText: 'Minuty',
32
- secondText: 'Vteřiny',
33
- millisecText: 'Milisekundy',
34
- timezoneText: 'Časové pásmo',
35
- currentText: 'Nyní',
36
- closeText: 'Zavřít',
37
- timeFormat: 'h:m',
38
- amNames: ['dop.', 'AM', 'A'],
39
- pmNames: ['odp.', 'PM', 'P'],
40
- ampm: false
41
- };
42
-
43
- });
1
+ /* Czech initialisation for the jQuery UI date picker plugin. */
2
+ /* Written by Tomas Muller (tomas@tomas-muller.net). */
3
+ jQuery(function($){
4
+ $.datepicker.regional['cs'] = {
5
+ closeText: 'Zavřít',
6
+ prevText: '<Dříve',
7
+ nextText: 'Později>',
8
+ currentText: 'Nyní',
9
+ monthNames: ['leden','únor','březen','duben','květen','červen',
10
+ 'červenec','srpen','září','říjen','listopad','prosinec'],
11
+ monthNamesShort: ['led','úno','bře','dub','kvě','čer',
12
+ 'čvc','srp','zář','říj','lis','pro'],
13
+ dayNames: ['neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota'],
14
+ dayNamesShort: ['ne', 'po', 'út', 'st', 'čt', 'pá', 'so'],
15
+ dayNamesMin: ['ne','po','út','st','čt','pá','so'],
16
+ weekHeader: 'Týd',
17
+ dateFormat: 'dd.mm.yy',
18
+ firstDay: 1,
19
+ isRTL: false,
20
+ showMonthAfterYear: false,
21
+ yearSuffix: ''};
22
+
23
+ });
24
+ /* Czech translation for the jQuery Timepicker Addon */
25
+ /* Written by Ondřej Vodáček */
26
+ jQuery(function($) {
27
+ $.timepicker.regional['cs'] = {
28
+ timeOnlyTitle: 'Vyberte čas',
29
+ timeText: 'Čas',
30
+ hourText: 'Hodiny',
31
+ minuteText: 'Minuty',
32
+ secondText: 'Vteřiny',
33
+ millisecText: 'Milisekundy',
34
+ timezoneText: 'Časové pásmo',
35
+ currentText: 'Nyní',
36
+ closeText: 'Zavřít',
37
+ timeFormat: 'h:m',
38
+ amNames: ['dop.', 'AM', 'A'],
39
+ pmNames: ['odp.', 'PM', 'P'],
40
+ ampm: false
41
+ };
42
+
43
+ });
@@ -1,43 +1,43 @@
1
- /* German initialisation for the jQuery UI date picker plugin. */
2
- /* Written by Milian Wolff (mail@milianw.de). */
3
- jQuery(function($){
4
- $.datepicker.regional['de'] = {
5
- closeText: 'schließen',
6
- prevText: '<zurück',
7
- nextText: 'Vor>',
8
- currentText: 'heute',
9
- monthNames: ['Januar','Februar','März','April','Mai','Juni',
10
- 'Juli','August','September','Oktober','November','Dezember'],
11
- monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun',
12
- 'Jul','Aug','Sep','Okt','Nov','Dez'],
13
- dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],
14
- dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'],
15
- dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'],
16
- weekHeader: 'Wo',
17
- dateFormat: 'dd.mm.yy',
18
- firstDay: 1,
19
- isRTL: false,
20
- showMonthAfterYear: false,
21
- yearSuffix: ''};
22
-
23
- });
24
- /* German translation for the jQuery Timepicker Addon */
25
- /* Written by Marvin */
26
- jQuery(function($) {
27
- $.timepicker.regional['de'] = {
28
- timeOnlyTitle: 'Zeit Wählen',
29
- timeText: 'Zeit',
30
- hourText: 'Stunde',
31
- minuteText: 'Minute',
32
- secondText: 'Sekunde',
33
- millisecText: 'Millisekunde',
34
- timezoneText: 'Zeitzone',
35
- currentText: 'Jetzt',
36
- closeText: 'Fertig',
37
- timeFormat: 'hh:mm tt',
38
- amNames: ['vorm.', 'AM', 'A'],
39
- pmNames: ['nachm.', 'PM', 'P'],
40
- ampm: false
41
- };
42
-
43
- });
1
+ /* German initialisation for the jQuery UI date picker plugin. */
2
+ /* Written by Milian Wolff (mail@milianw.de). */
3
+ jQuery(function($){
4
+ $.datepicker.regional['de'] = {
5
+ closeText: 'schließen',
6
+ prevText: '<zurück',
7
+ nextText: 'Vor>',
8
+ currentText: 'heute',
9
+ monthNames: ['Januar','Februar','März','April','Mai','Juni',
10
+ 'Juli','August','September','Oktober','November','Dezember'],
11
+ monthNamesShort: ['Jan','Feb','Mär','Apr','Mai','Jun',
12
+ 'Jul','Aug','Sep','Okt','Nov','Dez'],
13
+ dayNames: ['Sonntag','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag'],
14
+ dayNamesShort: ['So','Mo','Di','Mi','Do','Fr','Sa'],
15
+ dayNamesMin: ['So','Mo','Di','Mi','Do','Fr','Sa'],
16
+ weekHeader: 'Wo',
17
+ dateFormat: 'dd.mm.yy',
18
+ firstDay: 1,
19
+ isRTL: false,
20
+ showMonthAfterYear: false,
21
+ yearSuffix: ''};
22
+
23
+ });
24
+ /* German translation for the jQuery Timepicker Addon */
25
+ /* Written by Marvin */
26
+ jQuery(function($) {
27
+ $.timepicker.regional['de'] = {
28
+ timeOnlyTitle: 'Zeit Wählen',
29
+ timeText: 'Zeit',
30
+ hourText: 'Stunde',
31
+ minuteText: 'Minute',
32
+ secondText: 'Sekunde',
33
+ millisecText: 'Millisekunde',
34
+ timezoneText: 'Zeitzone',
35
+ currentText: 'Jetzt',
36
+ closeText: 'Fertig',
37
+ timeFormat: 'hh:mm tt',
38
+ amNames: ['vorm.', 'AM', 'A'],
39
+ pmNames: ['nachm.', 'PM', 'P'],
40
+ ampm: false
41
+ };
42
+
43
+ });
@@ -1,42 +1,42 @@
1
- /* Greek (el) initialisation for the jQuery UI date picker plugin. */
2
- /* Written by Alex Cicovic (http://www.alexcicovic.com) */
3
- jQuery(function($){
4
- $.datepicker.regional['el'] = {
5
- closeText: 'Κλείσιμο',
6
- prevText: 'Προηγούμενος',
7
- nextText: 'Επόμενος',
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
- });/* Hellenic translation for the jQuery Timepicker Addon */
24
- /* Written by Christos Pontikis */
25
- jQuery(function($) {
26
- $.timepicker.regional['el'] = {
27
- timeOnlyTitle: 'Επιλογή ώρας',
28
- timeText: 'Ώρα',
29
- hourText: 'Ώρες',
30
- minuteText: 'Λεπτά',
31
- secondText: 'Δευτερόλεπτα',
32
- millisecText: 'μιλιδευτερόλεπτο',
33
- timezoneText: 'Ζώνη ώρας',
34
- currentText: 'Τώρα',
35
- closeText: 'Κλείσιμο',
36
- timeFormat: 'hh:mm',
37
- amNames: ['π.μ.', 'AM', 'A'],
38
- pmNames: ['μ.μ.', 'PM', 'P'],
39
- ampm: false
40
- };
41
-
42
- });
1
+ /* Greek (el) initialisation for the jQuery UI date picker plugin. */
2
+ /* Written by Alex Cicovic (http://www.alexcicovic.com) */
3
+ jQuery(function($){
4
+ $.datepicker.regional['el'] = {
5
+ closeText: 'Κλείσιμο',
6
+ prevText: 'Προηγούμενος',
7
+ nextText: 'Επόμενος',
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
+ });/* Hellenic translation for the jQuery Timepicker Addon */
24
+ /* Written by Christos Pontikis */
25
+ jQuery(function($) {
26
+ $.timepicker.regional['el'] = {
27
+ timeOnlyTitle: 'Επιλογή ώρας',
28
+ timeText: 'Ώρα',
29
+ hourText: 'Ώρες',
30
+ minuteText: 'Λεπτά',
31
+ secondText: 'Δευτερόλεπτα',
32
+ millisecText: 'μιλιδευτερόλεπτο',
33
+ timezoneText: 'Ζώνη ώρας',
34
+ currentText: 'Τώρα',
35
+ closeText: 'Κλείσιμο',
36
+ timeFormat: 'hh:mm',
37
+ amNames: ['π.μ.', 'AM', 'A'],
38
+ pmNames: ['μ.μ.', 'PM', 'P'],
39
+ ampm: false
40
+ };
41
+
42
+ });
@@ -1,42 +1,42 @@
1
- /* Inicialización en español para la extensión 'UI date picker' para jQuery. */
2
- /* Traducido por Vester (xvester@gmail.com). */
3
- jQuery(function($){
4
- $.datepicker.regional['es'] = {
5
- closeText: 'Cerrar',
6
- prevText: '<Ant',
7
- nextText: 'Sig>',
8
- currentText: 'Hoy',
9
- monthNames: ['Enero','Febrero','Marzo','Abril','Mayo','Junio',
10
- 'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'],
11
- monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun',
12
- 'Jul','Ago','Sep','Oct','Nov','Dic'],
13
- dayNames: ['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'],
14
- dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'],
15
- dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sá'],
16
- weekHeader: 'Sm',
17
- dateFormat: 'dd/mm/yy',
18
- firstDay: 1,
19
- isRTL: false,
20
- showMonthAfterYear: false,
21
- yearSuffix: ''};
22
-
23
- });/* Spanish translation for the jQuery Timepicker Addon */
24
- /* Written by Ianaré Sévi */
25
- jQuery(function($) {
26
- $.timepicker.regional['es'] = {
27
- timeOnlyTitle: 'Elegir una hora',
28
- timeText: 'Hora',
29
- hourText: 'Horas',
30
- minuteText: 'Minutos',
31
- secondText: 'Segundos',
32
- millisecText: 'Milisegundos',
33
- timezoneText: 'Huso horario',
34
- currentText: 'Ahora',
35
- closeText: 'Cerrar',
36
- timeFormat: 'hh:mm',
37
- amNames: ['a.m.', 'AM', 'A'],
38
- pmNames: ['p.m.', 'PM', 'P'],
39
- ampm: false
40
- };
41
-
42
- });
1
+ /* Inicialización en español para la extensión 'UI date picker' para jQuery. */
2
+ /* Traducido por Vester (xvester@gmail.com). */
3
+ jQuery(function($){
4
+ $.datepicker.regional['es'] = {
5
+ closeText: 'Cerrar',
6
+ prevText: '<Ant',
7
+ nextText: 'Sig>',
8
+ currentText: 'Hoy',
9
+ monthNames: ['Enero','Febrero','Marzo','Abril','Mayo','Junio',
10
+ 'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'],
11
+ monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun',
12
+ 'Jul','Ago','Sep','Oct','Nov','Dic'],
13
+ dayNames: ['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'],
14
+ dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'],
15
+ dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sá'],
16
+ weekHeader: 'Sm',
17
+ dateFormat: 'dd/mm/yy',
18
+ firstDay: 1,
19
+ isRTL: false,
20
+ showMonthAfterYear: false,
21
+ yearSuffix: ''};
22
+
23
+ });/* Spanish translation for the jQuery Timepicker Addon */
24
+ /* Written by Ianaré Sévi */
25
+ jQuery(function($) {
26
+ $.timepicker.regional['es'] = {
27
+ timeOnlyTitle: 'Elegir una hora',
28
+ timeText: 'Hora',
29
+ hourText: 'Horas',
30
+ minuteText: 'Minutos',
31
+ secondText: 'Segundos',
32
+ millisecText: 'Milisegundos',
33
+ timezoneText: 'Huso horario',
34
+ currentText: 'Ahora',
35
+ closeText: 'Cerrar',
36
+ timeFormat: 'hh:mm',
37
+ amNames: ['a.m.', 'AM', 'A'],
38
+ pmNames: ['p.m.', 'PM', 'P'],
39
+ ampm: false
40
+ };
41
+
42
+ });
@@ -1,42 +1,42 @@
1
- /* Estonian initialisation for the jQuery UI date picker plugin. */
2
- /* Written by Mart Sõmermaa (mrts.pydev at gmail com). */
3
- jQuery(function($){
4
- $.datepicker.regional['et'] = {
5
- closeText: 'Sulge',
6
- prevText: 'Eelnev',
7
- nextText: 'Järgnev',
8
- currentText: 'Täna',
9
- monthNames: ['Jaanuar','Veebruar','Märts','Aprill','Mai','Juuni',
10
- 'Juuli','August','September','Oktoober','November','Detsember'],
11
- monthNamesShort: ['Jaan', 'Veebr', 'Märts', 'Apr', 'Mai', 'Juuni',
12
- 'Juuli', 'Aug', 'Sept', 'Okt', 'Nov', 'Dets'],
13
- dayNames: ['Pühapäev', 'Esmaspäev', 'Teisipäev', 'Kolmapäev', 'Neljapäev', 'Reede', 'Laupäev'],
14
- dayNamesShort: ['Pühap', 'Esmasp', 'Teisip', 'Kolmap', 'Neljap', 'Reede', 'Laup'],
15
- dayNamesMin: ['P','E','T','K','N','R','L'],
16
- weekHeader: 'näd',
17
- dateFormat: 'dd.mm.yy',
18
- firstDay: 1,
19
- isRTL: false,
20
- showMonthAfterYear: false,
21
- yearSuffix: ''};
22
-
23
- }); /* Estonian translation for the jQuery Timepicker Addon */
24
- /* Written by Karl Sutt (karl@sutt.ee) */
25
- jQuery(function($) {
26
- $.timepicker.regional['et'] = {
27
- timeOnlyTitle: 'Vali aeg',
28
- timeText: 'Aeg',
29
- hourText: 'Tund',
30
- minuteText: 'Minut',
31
- secondText: 'Sekund',
32
- millisecText: 'Millisekundis',
33
- timezoneText: 'Ajavöönd',
34
- currentText: 'Praegu',
35
- closeText: 'Valmis',
36
- timeFormat: 'hh:mm tt',
37
- amNames: ['AM', 'A'],
38
- pmNames: ['PM', 'P'],
39
- ampm: false
40
- };
41
-
42
- });
1
+ /* Estonian initialisation for the jQuery UI date picker plugin. */
2
+ /* Written by Mart Sõmermaa (mrts.pydev at gmail com). */
3
+ jQuery(function($){
4
+ $.datepicker.regional['et'] = {
5
+ closeText: 'Sulge',
6
+ prevText: 'Eelnev',
7
+ nextText: 'Järgnev',
8
+ currentText: 'Täna',
9
+ monthNames: ['Jaanuar','Veebruar','Märts','Aprill','Mai','Juuni',
10
+ 'Juuli','August','September','Oktoober','November','Detsember'],
11
+ monthNamesShort: ['Jaan', 'Veebr', 'Märts', 'Apr', 'Mai', 'Juuni',
12
+ 'Juuli', 'Aug', 'Sept', 'Okt', 'Nov', 'Dets'],
13
+ dayNames: ['Pühapäev', 'Esmaspäev', 'Teisipäev', 'Kolmapäev', 'Neljapäev', 'Reede', 'Laupäev'],
14
+ dayNamesShort: ['Pühap', 'Esmasp', 'Teisip', 'Kolmap', 'Neljap', 'Reede', 'Laup'],
15
+ dayNamesMin: ['P','E','T','K','N','R','L'],
16
+ weekHeader: 'näd',
17
+ dateFormat: 'dd.mm.yy',
18
+ firstDay: 1,
19
+ isRTL: false,
20
+ showMonthAfterYear: false,
21
+ yearSuffix: ''};
22
+
23
+ }); /* Estonian translation for the jQuery Timepicker Addon */
24
+ /* Written by Karl Sutt (karl@sutt.ee) */
25
+ jQuery(function($) {
26
+ $.timepicker.regional['et'] = {
27
+ timeOnlyTitle: 'Vali aeg',
28
+ timeText: 'Aeg',
29
+ hourText: 'Tund',
30
+ minuteText: 'Minut',
31
+ secondText: 'Sekund',
32
+ millisecText: 'Millisekundis',
33
+ timezoneText: 'Ajavöönd',
34
+ currentText: 'Praegu',
35
+ closeText: 'Valmis',
36
+ timeFormat: 'hh:mm tt',
37
+ amNames: ['AM', 'A'],
38
+ pmNames: ['PM', 'P'],
39
+ ampm: false
40
+ };
41
+
42
+ });