date_time_picker 0.5.3 → 0.5.4
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.
- data/MIT-LICENSE +21 -21
- data/README.rdoc +72 -72
- data/lib/date_time_picker/date_time_picker_helpers.rb +78 -78
- data/lib/date_time_picker.rb +37 -37
- data/lib/generators/date_time_picker/USAGE +2 -2
- data/lib/generators/date_time_picker/date_time_picker_generator.rb +11 -11
- data/lib/generators/date_time_picker/templates/date_time_picker.rb +2 -2
- data/lib/simple_form/inputs/ui_date_input.rb +4 -4
- data/lib/simple_form/inputs/ui_date_time_input.rb +4 -4
- data/lib/simple_form/inputs/ui_time_input.rb +4 -4
- data/lib/simple_form/inputs_ext.rb +3 -3
- data/test/Rakefile +7 -7
- data/test/app/controllers/application_controller.rb +5 -5
- data/test/app/views/layouts/application.html.erb +12 -12
- data/test/config/application.rb +12 -12
- data/test/config/boot.rb +3 -3
- data/test/config/date_time_picker.yml +1 -1
- data/test/config/environment.rb +5 -5
- data/test/config/environments/test.rb +7 -7
- data/test/config/routes.rb +3 -3
- data/test/config.ru +4 -4
- data/test/script/rails +6 -6
- data/test/spec/application_spec.rb +13 -13
- data/test/spec/spec_helper.rb +4 -4
- data/vendor/assets/i18n/date_time_picker_ca.js +43 -0
- data/vendor/assets/i18n/date_time_picker_cs.js +43 -0
- data/vendor/assets/i18n/date_time_picker_de.js +43 -0
- data/vendor/assets/i18n/date_time_picker_el.js +42 -0
- data/vendor/assets/i18n/date_time_picker_es.js +42 -0
- data/vendor/assets/i18n/date_time_picker_et.js +42 -0
- data/vendor/assets/i18n/date_time_picker_fi.js +43 -0
- data/vendor/assets/i18n/date_time_picker_fr.js +45 -0
- data/vendor/assets/i18n/date_time_picker_gl.js +42 -0
- data/vendor/assets/i18n/date_time_picker_he.js +43 -0
- data/vendor/assets/i18n/date_time_picker_hu.js +43 -0
- data/vendor/assets/i18n/date_time_picker_id.js +42 -0
- data/vendor/assets/i18n/date_time_picker_it.js +43 -0
- data/vendor/assets/i18n/date_time_picker_ja.js +42 -0
- data/vendor/assets/i18n/date_time_picker_ko.js +42 -0
- data/vendor/assets/i18n/date_time_picker_lt.js +42 -0
- data/vendor/assets/i18n/date_time_picker_nl.js +42 -0
- data/vendor/assets/i18n/date_time_picker_no.js +43 -0
- data/vendor/assets/i18n/date_time_picker_pl.js +43 -0
- data/vendor/assets/i18n/date_time_picker_pt-BR.js +42 -0
- data/vendor/assets/i18n/date_time_picker_pt.js +41 -0
- data/vendor/assets/i18n/date_time_picker_ro.js +46 -0
- data/vendor/assets/i18n/date_time_picker_ru.js +42 -0
- data/vendor/assets/i18n/date_time_picker_sk.js +43 -0
- data/vendor/assets/i18n/date_time_picker_sv.js +43 -0
- data/vendor/assets/i18n/date_time_picker_tr.js +42 -0
- data/vendor/assets/i18n/date_time_picker_vi.js +43 -0
- data/vendor/assets/i18n/date_time_picker_zh-CN.js +43 -0
- data/vendor/assets/i18n/date_time_picker_zh-TW.js +43 -0
- data/vendor/assets/javascripts/date_time_picker.js +19 -19
- data/vendor/assets/javascripts/date_time_picker_all.js +1 -1
- data/vendor/assets/timepicker/jquery-ui-timepicker-addon.css +6 -0
- data/vendor/assets/timepicker/jquery-ui-timepicker-addon.js +1326 -0
- metadata +53 -22
@@ -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
|
data/test/spec/spec_helper.rb
CHANGED
@@ -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'
|
@@ -0,0 +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
|
+
});
|
@@ -0,0 +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
|
+
});
|
@@ -0,0 +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
|
+
});
|
@@ -0,0 +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
|
+
});
|
@@ -0,0 +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
|
+
});
|
@@ -0,0 +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
|
+
});
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/* Finnish initialisation for the jQuery UI date picker plugin. */
|
2
|
+
/* Written by Harri Kilpi� (harrikilpio@gmail.com). */
|
3
|
+
jQuery(function($){
|
4
|
+
$.datepicker.regional['fi'] = {
|
5
|
+
closeText: 'Sulje',
|
6
|
+
prevText: '«Edellinen',
|
7
|
+
nextText: 'Seuraava»',
|
8
|
+
currentText: 'Tänään',
|
9
|
+
monthNames: ['Tammikuu','Helmikuu','Maaliskuu','Huhtikuu','Toukokuu','Kesäkuu',
|
10
|
+
'Heinäkuu','Elokuu','Syyskuu','Lokakuu','Marraskuu','Joulukuu'],
|
11
|
+
monthNamesShort: ['Tammi','Helmi','Maalis','Huhti','Touko','Kesä',
|
12
|
+
'Heinä','Elo','Syys','Loka','Marras','Joulu'],
|
13
|
+
dayNamesShort: ['Su','Ma','Ti','Ke','To','Pe','Su'],
|
14
|
+
dayNames: ['Sunnuntai','Maanantai','Tiistai','Keskiviikko','Torstai','Perjantai','Lauantai'],
|
15
|
+
dayNamesMin: ['Su','Ma','Ti','Ke','To','Pe','La'],
|
16
|
+
weekHeader: 'Vk',
|
17
|
+
dateFormat: 'dd.mm.yy',
|
18
|
+
firstDay: 1,
|
19
|
+
isRTL: false,
|
20
|
+
showMonthAfterYear: false,
|
21
|
+
yearSuffix: ''};
|
22
|
+
|
23
|
+
});
|
24
|
+
/* Finnish translation for the jQuery Timepicker Addon */
|
25
|
+
/* Written by Juga Paazmaya (http://github.com/paazmaya) */
|
26
|
+
jQuery(function($) {
|
27
|
+
$.timepicker.regional['fi'] = {
|
28
|
+
timeOnlyTitle: 'Valitse aika',
|
29
|
+
timeText: 'Aika',
|
30
|
+
hourText: 'Tunti',
|
31
|
+
minuteText: 'Minuutti',
|
32
|
+
secondText: 'Sekunti',
|
33
|
+
millisecText: 'Millisekunnin',
|
34
|
+
timezoneText: 'Aikavyöhyke',
|
35
|
+
currentText: 'Nyt',
|
36
|
+
closeText: 'Sulje',
|
37
|
+
timeFormat: 'hh:mm',
|
38
|
+
amNames: ['ap.', 'AM', 'A'],
|
39
|
+
pmNames: ['ip.', 'PM', 'P'],
|
40
|
+
ampm: false
|
41
|
+
};
|
42
|
+
|
43
|
+
});
|
@@ -0,0 +1,45 @@
|
|
1
|
+
/* French initialisation for the jQuery UI date picker plugin. */
|
2
|
+
/* Written by Keith Wood (kbwood{at}iinet.com.au),
|
3
|
+
Stéphane Nahmani (sholby@sholby.net),
|
4
|
+
Stéphane Raimbault <stephane.raimbault@gmail.com> */
|
5
|
+
jQuery(function($){
|
6
|
+
$.datepicker.regional['fr'] = {
|
7
|
+
closeText: 'Fermer',
|
8
|
+
prevText: 'Précédent',
|
9
|
+
nextText: 'Suivant',
|
10
|
+
currentText: 'Aujourd\'hui',
|
11
|
+
monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin',
|
12
|
+
'Juillet','Août','Septembre','Octobre','Novembre','Décembre'],
|
13
|
+
monthNamesShort: ['Janv.','Févr.','Mars','Avril','Mai','Juin',
|
14
|
+
'Juil.','Août','Sept.','Oct.','Nov.','Déc.'],
|
15
|
+
dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'],
|
16
|
+
dayNamesShort: ['Dim.','Lun.','Mar.','Mer.','Jeu.','Ven.','Sam.'],
|
17
|
+
dayNamesMin: ['D','L','M','M','J','V','S'],
|
18
|
+
weekHeader: 'Sem.',
|
19
|
+
dateFormat: 'dd/mm/yy',
|
20
|
+
firstDay: 1,
|
21
|
+
isRTL: false,
|
22
|
+
showMonthAfterYear: false,
|
23
|
+
yearSuffix: ''};
|
24
|
+
|
25
|
+
});
|
26
|
+
/* French translation for the jQuery Timepicker Addon */
|
27
|
+
/* Written by Thomas Lété */
|
28
|
+
jQuery(function($) {
|
29
|
+
$.timepicker.regional['fr'] = {
|
30
|
+
timeOnlyTitle: 'Choisir une heure',
|
31
|
+
timeText: 'Heure',
|
32
|
+
hourText: 'Heures',
|
33
|
+
minuteText: 'Minutes',
|
34
|
+
secondText: 'Secondes',
|
35
|
+
millisecText: 'Millisecondes',
|
36
|
+
timezoneText: 'Fuseau horaire',
|
37
|
+
currentText: 'Maintenant',
|
38
|
+
closeText: 'Terminé',
|
39
|
+
timeFormat: 'hh:mm',
|
40
|
+
amNames: ['AM', 'A'],
|
41
|
+
pmNames: ['PM', 'P'],
|
42
|
+
ampm: false
|
43
|
+
};
|
44
|
+
|
45
|
+
});
|
@@ -0,0 +1,42 @@
|
|
1
|
+
/* Galician localization for 'UI date picker' jQuery extension. */
|
2
|
+
/* Translated by Jorge Barreiro <yortx.barry@gmail.com>. */
|
3
|
+
jQuery(function($){
|
4
|
+
$.datepicker.regional['gl'] = {
|
5
|
+
closeText: 'Pechar',
|
6
|
+
prevText: '<Ant',
|
7
|
+
nextText: 'Seg>',
|
8
|
+
currentText: 'Hoxe',
|
9
|
+
monthNames: ['Xaneiro','Febreiro','Marzo','Abril','Maio','Xuño',
|
10
|
+
'Xullo','Agosto','Setembro','Outubro','Novembro','Decembro'],
|
11
|
+
monthNamesShort: ['Xan','Feb','Mar','Abr','Mai','Xuñ',
|
12
|
+
'Xul','Ago','Set','Out','Nov','Dec'],
|
13
|
+
dayNames: ['Domingo','Luns','Martes','Mércores','Xoves','Venres','Sábado'],
|
14
|
+
dayNamesShort: ['Dom','Lun','Mar','Mér','Xov','Ven','Sáb'],
|
15
|
+
dayNamesMin: ['Do','Lu','Ma','Mé','Xo','Ve','Sá'],
|
16
|
+
weekHeader: 'Sm',
|
17
|
+
dateFormat: 'dd/mm/yy',
|
18
|
+
firstDay: 1,
|
19
|
+
isRTL: false,
|
20
|
+
showMonthAfterYear: false,
|
21
|
+
yearSuffix: ''};
|
22
|
+
|
23
|
+
});/* Galician translation for the jQuery Timepicker Addon */
|
24
|
+
/* Written by David Barral */
|
25
|
+
jQuery(function($) {
|
26
|
+
$.timepicker.regional['gl'] = {
|
27
|
+
timeOnlyTitle: 'Elixir unha hora',
|
28
|
+
timeText: 'Hora',
|
29
|
+
hourText: 'Horas',
|
30
|
+
minuteText: 'Minutos',
|
31
|
+
secondText: 'Segundos',
|
32
|
+
millisecText: 'Milisegundos',
|
33
|
+
timezoneText: 'Fuso horario',
|
34
|
+
currentText: 'Agora',
|
35
|
+
closeText: 'Pechar',
|
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,43 @@
|
|
1
|
+
/* Hebrew initialisation for the UI Datepicker extension. */
|
2
|
+
/* Written by Amir Hardon (ahardon at gmail dot com). */
|
3
|
+
jQuery(function($){
|
4
|
+
$.datepicker.regional['he'] = {
|
5
|
+
closeText: 'סגור',
|
6
|
+
prevText: '<הקודם',
|
7
|
+
nextText: 'הבא>',
|
8
|
+
currentText: 'היום',
|
9
|
+
monthNames: ['ינואר','פברואר','מרץ','אפריל','מאי','יוני',
|
10
|
+
'יולי','אוגוסט','ספטמבר','אוקטובר','נובמבר','דצמבר'],
|
11
|
+
monthNamesShort: ['ינו','פבר','מרץ','אפר','מאי','יוני',
|
12
|
+
'יולי','אוג','ספט','אוק','נוב','דצמ'],
|
13
|
+
dayNames: ['ראשון','שני','שלישי','רביעי','חמישי','שישי','שבת'],
|
14
|
+
dayNamesShort: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
|
15
|
+
dayNamesMin: ['א\'','ב\'','ג\'','ד\'','ה\'','ו\'','שבת'],
|
16
|
+
weekHeader: 'Wk',
|
17
|
+
dateFormat: 'dd/mm/yy',
|
18
|
+
firstDay: 0,
|
19
|
+
isRTL: true,
|
20
|
+
showMonthAfterYear: false,
|
21
|
+
yearSuffix: ''};
|
22
|
+
|
23
|
+
});
|
24
|
+
/* Hebrew translation for the jQuery Timepicker Addon */
|
25
|
+
/* Written by Lior Lapid */
|
26
|
+
jQuery(function($) {
|
27
|
+
$.timepicker.regional["he"] = {
|
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
|
+
});
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/* Hungarian initialisation for the jQuery UI date picker plugin. */
|
2
|
+
/* Written by Istvan Karaszi (jquery@spam.raszi.hu). */
|
3
|
+
jQuery(function($){
|
4
|
+
$.datepicker.regional['hu'] = {
|
5
|
+
closeText: 'bezár',
|
6
|
+
prevText: 'vissza',
|
7
|
+
nextText: 'előre',
|
8
|
+
currentText: 'ma',
|
9
|
+
monthNames: ['Január', 'Február', 'Március', 'Április', 'Május', 'Június',
|
10
|
+
'Július', 'Augusztus', 'Szeptember', 'Október', 'November', 'December'],
|
11
|
+
monthNamesShort: ['Jan', 'Feb', 'Már', 'Ápr', 'Máj', 'Jún',
|
12
|
+
'Júl', 'Aug', 'Szep', 'Okt', 'Nov', 'Dec'],
|
13
|
+
dayNames: ['Vasárnap', 'Hétfő', 'Kedd', 'Szerda', 'Csütörtök', 'Péntek', 'Szombat'],
|
14
|
+
dayNamesShort: ['Vas', 'Hét', 'Ked', 'Sze', 'Csü', 'Pén', 'Szo'],
|
15
|
+
dayNamesMin: ['V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo'],
|
16
|
+
weekHeader: 'Hét',
|
17
|
+
dateFormat: 'yy.mm.dd.',
|
18
|
+
firstDay: 1,
|
19
|
+
isRTL: false,
|
20
|
+
showMonthAfterYear: true,
|
21
|
+
yearSuffix: ''};
|
22
|
+
|
23
|
+
});
|
24
|
+
/* Hungarian translation for the jQuery Timepicker Addon */
|
25
|
+
/* Written by Vas Gábor */
|
26
|
+
jQuery(function($) {
|
27
|
+
$.timepicker.regional['hu'] = {
|
28
|
+
timeOnlyTitle: 'Válasszon időpontot',
|
29
|
+
timeText: 'Idő',
|
30
|
+
hourText: 'Óra',
|
31
|
+
minuteText: 'Perc',
|
32
|
+
secondText: 'Másodperc',
|
33
|
+
millisecText: 'Milliszekundumos',
|
34
|
+
timezoneText: 'Időzóna',
|
35
|
+
currentText: 'Most',
|
36
|
+
closeText: 'Kész',
|
37
|
+
timeFormat: 'hh:mm tt',
|
38
|
+
amNames: ['de.', 'AM', 'A'],
|
39
|
+
pmNames: ['du.', 'PM', 'P'],
|
40
|
+
ampm: false
|
41
|
+
};
|
42
|
+
|
43
|
+
});
|
@@ -0,0 +1,42 @@
|
|
1
|
+
/* Indonesian initialisation for the jQuery UI date picker plugin. */
|
2
|
+
/* Written by Deden Fathurahman (dedenf@gmail.com). */
|
3
|
+
jQuery(function($){
|
4
|
+
$.datepicker.regional['id'] = {
|
5
|
+
closeText: 'Tutup',
|
6
|
+
prevText: '<mundur',
|
7
|
+
nextText: 'maju>',
|
8
|
+
currentText: 'hari ini',
|
9
|
+
monthNames: ['Januari','Februari','Maret','April','Mei','Juni',
|
10
|
+
'Juli','Agustus','September','Oktober','Nopember','Desember'],
|
11
|
+
monthNamesShort: ['Jan','Feb','Mar','Apr','Mei','Jun',
|
12
|
+
'Jul','Agus','Sep','Okt','Nop','Des'],
|
13
|
+
dayNames: ['Minggu','Senin','Selasa','Rabu','Kamis','Jumat','Sabtu'],
|
14
|
+
dayNamesShort: ['Min','Sen','Sel','Rab','kam','Jum','Sab'],
|
15
|
+
dayNamesMin: ['Mg','Sn','Sl','Rb','Km','jm','Sb'],
|
16
|
+
weekHeader: 'Mg',
|
17
|
+
dateFormat: 'dd/mm/yy',
|
18
|
+
firstDay: 0,
|
19
|
+
isRTL: false,
|
20
|
+
showMonthAfterYear: false,
|
21
|
+
yearSuffix: ''};
|
22
|
+
|
23
|
+
});/* Indonesian translation for the jQuery Timepicker Addon */
|
24
|
+
/* Written by Nia */
|
25
|
+
jQuery(function($) {
|
26
|
+
$.timepicker.regional['id'] = {
|
27
|
+
timeOnlyTitle: 'Pilih Waktu',
|
28
|
+
timeText: 'Waktu',
|
29
|
+
hourText: 'Pukul',
|
30
|
+
minuteText: 'Menit',
|
31
|
+
secondText: 'Detik',
|
32
|
+
millisecText: 'Milidetik',
|
33
|
+
timezoneText: 'Zona Waktu',
|
34
|
+
currentText: 'Sekarang',
|
35
|
+
closeText: 'OK',
|
36
|
+
timeFormat: 'hh:mm tt',
|
37
|
+
amNames: ['AM', 'A'],
|
38
|
+
pmNames: ['PM', 'P'],
|
39
|
+
ampm: false
|
40
|
+
};
|
41
|
+
|
42
|
+
});
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/* Italian initialisation for the jQuery UI date picker plugin. */
|
2
|
+
/* Written by Antonello Pasella (antonello.pasella@gmail.com). */
|
3
|
+
jQuery(function($){
|
4
|
+
$.datepicker.regional['it'] = {
|
5
|
+
closeText: 'Chiudi',
|
6
|
+
prevText: '<Prec',
|
7
|
+
nextText: 'Succ>',
|
8
|
+
currentText: 'Oggi',
|
9
|
+
monthNames: ['Gennaio','Febbraio','Marzo','Aprile','Maggio','Giugno',
|
10
|
+
'Luglio','Agosto','Settembre','Ottobre','Novembre','Dicembre'],
|
11
|
+
monthNamesShort: ['Gen','Feb','Mar','Apr','Mag','Giu',
|
12
|
+
'Lug','Ago','Set','Ott','Nov','Dic'],
|
13
|
+
dayNames: ['Domenica','Lunedì','Martedì','Mercoledì','Giovedì','Venerdì','Sabato'],
|
14
|
+
dayNamesShort: ['Dom','Lun','Mar','Mer','Gio','Ven','Sab'],
|
15
|
+
dayNamesMin: ['Do','Lu','Ma','Me','Gi','Ve','Sa'],
|
16
|
+
weekHeader: 'Sm',
|
17
|
+
dateFormat: 'dd/mm/yy',
|
18
|
+
firstDay: 1,
|
19
|
+
isRTL: false,
|
20
|
+
showMonthAfterYear: false,
|
21
|
+
yearSuffix: ''};
|
22
|
+
|
23
|
+
});
|
24
|
+
/* Italian translation for the jQuery Timepicker Addon */
|
25
|
+
/* Written by Marco "logicoder" Del Tongo */
|
26
|
+
jQuery(function($) {
|
27
|
+
$.timepicker.regional['it'] = {
|
28
|
+
timeOnlyTitle: 'Scegli orario',
|
29
|
+
timeText: 'Orario',
|
30
|
+
hourText: 'Ora',
|
31
|
+
minuteText: 'Minuto',
|
32
|
+
secondText: 'Secondo',
|
33
|
+
millisecText: 'Millisecondo',
|
34
|
+
timezoneText: 'Fuso orario',
|
35
|
+
currentText: 'Adesso',
|
36
|
+
closeText: 'Chiudi',
|
37
|
+
timeFormat: 'hh:mm',
|
38
|
+
amNames: ['m.', 'AM', 'A'],
|
39
|
+
pmNames: ['p.', 'PM', 'P'],
|
40
|
+
ampm: false
|
41
|
+
};
|
42
|
+
|
43
|
+
});
|
@@ -0,0 +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
|
+
});
|