trestle 0.8.3 → 0.8.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/trestle/_confirmation.js +23 -0
- data/app/assets/javascripts/trestle/_datepicker.js +22 -0
- data/app/assets/javascripts/trestle/_errors.js +11 -0
- data/app/assets/javascripts/trestle/_form.js +6 -0
- data/app/assets/javascripts/trestle/_gallery.js +27 -0
- data/app/assets/javascripts/trestle/_select.js +11 -0
- data/app/assets/javascripts/trestle/_sidebar.js +52 -0
- data/app/assets/javascripts/trestle/_table.js +21 -0
- data/app/assets/javascripts/trestle/_tabs.js +13 -0
- data/app/assets/javascripts/trestle/_tooltips.js +3 -0
- data/app/assets/javascripts/trestle/admin.js +23 -0
- data/app/assets/javascripts/trestle/custom.js +4 -0
- data/app/assets/stylesheets/trestle/components/_table.scss +6 -0
- data/app/helpers/trestle/form_helper.rb +1 -1
- data/app/helpers/trestle/format_helper.rb +48 -0
- data/app/helpers/trestle/url_helper.rb +2 -8
- data/app/views/layouts/trestle/admin.html.erb +3 -3
- data/app/views/trestle/admin/index.html.erb +1 -1
- data/app/views/trestle/dashboard/index.html.erb +2 -2
- data/app/views/trestle/resource/_form.html.erb +1 -1
- data/app/views/trestle/resource/edit.html.erb +2 -2
- data/app/views/trestle/resource/index.html.erb +1 -1
- data/app/views/trestle/resource/new.html.erb +1 -1
- data/app/views/trestle/resource/show.html.erb +2 -2
- data/app/views/trestle/shared/_sidebar.html.erb +4 -2
- data/bower.json +1 -1
- data/config/locales/en.yml +16 -2
- data/lib/generators/trestle/install/install_generator.rb +3 -3
- data/lib/generators/trestle/install/templates/custom.js +7 -0
- data/lib/generators/trestle/install/templates/trestle.rb.erb +3 -2
- data/lib/trestle/adapters.rb +7 -64
- data/lib/trestle/adapters/active_record_adapter.rb +46 -20
- data/lib/trestle/adapters/adapter.rb +176 -0
- data/lib/trestle/adapters/sequel_adapter.rb +85 -0
- data/lib/trestle/admin.rb +1 -1
- data/lib/trestle/attribute.rb +14 -37
- data/lib/trestle/breadcrumb.rb +6 -0
- data/lib/trestle/configuration.rb +1 -1
- data/lib/trestle/form/automatic.rb +29 -21
- data/lib/trestle/form/builder.rb +4 -0
- data/lib/trestle/form/field.rb +2 -2
- data/lib/trestle/form/fields/check_box.rb +1 -1
- data/lib/trestle/form/fields/collection_select.rb +1 -1
- data/lib/trestle/form/fields/date_select.rb +1 -1
- data/lib/trestle/form/fields/datetime_select.rb +1 -1
- data/lib/trestle/form/fields/grouped_collection_select.rb +1 -1
- data/lib/trestle/form/fields/select.rb +2 -2
- data/lib/trestle/form/fields/tag_select.rb +1 -2
- data/lib/trestle/form/fields/time_select.rb +1 -1
- data/lib/trestle/form/fields/time_zone_select.rb +1 -1
- data/lib/trestle/resource.rb +11 -7
- data/lib/trestle/resource/builder.rb +2 -1
- data/lib/trestle/resource/controller.rb +61 -17
- data/lib/trestle/scope.rb +1 -1
- data/lib/trestle/table/automatic.rb +5 -11
- data/lib/trestle/table/builder.rb +1 -0
- data/lib/trestle/table/column.rb +24 -43
- data/lib/trestle/version.rb +1 -1
- data/trestle.gemspec +3 -4
- data/vendor/assets/bower_components/trestle/flatpickr/dist/flatpickr.css +51 -26
- data/vendor/assets/bower_components/trestle/flatpickr/dist/flatpickr.js +349 -299
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/ar.js +5 -5
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/bg.js +5 -5
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/bn.js +5 -5
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/cat.js +7 -7
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/cs.js +7 -7
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/cy.js +7 -7
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/da.js +6 -6
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/de.js +10 -10
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/eo.js +11 -11
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/es.js +7 -7
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/et.js +11 -11
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/fa.js +6 -6
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/fi.js +7 -7
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/fr.js +11 -11
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/gr.js +13 -13
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/he.js +5 -5
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/hi.js +5 -5
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/hr.js +6 -6
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/hu.js +10 -10
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/id.js +7 -7
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/index.js +97 -0
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/it.js +10 -10
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/ja.js +5 -5
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/ko.js +6 -6
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/lt.js +10 -10
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/lv.js +6 -6
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/mk.js +8 -8
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/ms.js +7 -7
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/my.js +7 -7
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/nl.js +11 -11
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/no.js +11 -11
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/pa.js +5 -5
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/pl.js +6 -6
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/pt.js +6 -8
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/ro.js +7 -9
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/ru.js +6 -8
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/si.js +5 -7
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/sk.js +8 -8
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/sl.js +8 -10
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/sq.js +5 -7
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/sr.js +9 -10
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/sv.js +8 -10
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/th.js +10 -11
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/tr.js +6 -8
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/uk.js +6 -7
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/vn.js +6 -8
- data/vendor/assets/bower_components/trestle/flatpickr/dist/l10n/zh.js +9 -11
- metadata +24 -34
- data/app/assets/javascripts/trestle/_confirmation.js.coffee +0 -18
- data/app/assets/javascripts/trestle/_datepicker.js.coffee +0 -18
- data/app/assets/javascripts/trestle/_errors.js.coffee +0 -8
- data/app/assets/javascripts/trestle/_form.js.coffee +0 -4
- data/app/assets/javascripts/trestle/_gallery.js.coffee +0 -21
- data/app/assets/javascripts/trestle/_select.js.coffee +0 -7
- data/app/assets/javascripts/trestle/_sidebar.js.coffee +0 -45
- data/app/assets/javascripts/trestle/_table.js.coffee +0 -16
- data/app/assets/javascripts/trestle/_tabs.js.coffee +0 -9
- data/app/assets/javascripts/trestle/_tooltips.js.coffee +0 -2
- data/app/assets/javascripts/trestle/admin.js.coffee +0 -22
- data/app/assets/javascripts/trestle/custom.js.coffee +0 -4
- data/lib/generators/trestle/install/templates/custom.js.coffee +0 -7
@@ -1,27 +1,27 @@
|
|
1
1
|
/* Dutch locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.nl = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.nl.weekdays = {
|
6
6
|
shorthand: ["zo", "ma", "di", "wo", "do", "vr", "za"],
|
7
7
|
longhand: ["zondag", "maandag", "dinsdag", "woensdag", "donderdag", "vrijdag", "zaterdag"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.nl.months = {
|
11
11
|
shorthand: ["jan", "feb", "mrt", "apr", "mei", "jun", "jul", "aug", "sept", "okt", "nov", "dec"],
|
12
12
|
longhand: ["januari", "februari", "maart", "april", "mei", "juni", "juli", "augustus", "september", "oktober", "november", "december"]
|
13
13
|
};
|
14
14
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
15
|
+
flatpickr.l10ns.nl.firstDayOfWeek = 1;
|
16
|
+
flatpickr.l10ns.nl.weekAbbreviation = "wk";
|
17
|
+
flatpickr.l10ns.nl.rangeSeparator = " tot ";
|
18
|
+
flatpickr.l10ns.nl.scrollTitle = "Scroll voor volgende / vorige";
|
19
|
+
flatpickr.l10ns.nl.toggleTitle = "Klik om te wisselen";
|
20
20
|
|
21
|
-
|
21
|
+
flatpickr.l10ns.nl.ordinal = function (nth) {
|
22
22
|
if (nth === 1 || nth === 8 || nth >= 20) return "ste";
|
23
23
|
|
24
24
|
return "de";
|
25
25
|
};
|
26
26
|
|
27
|
-
if (typeof module !== "undefined") module.exports =
|
27
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,24 +1,24 @@
|
|
1
1
|
/* Norwegian locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.no = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.no.weekdays = {
|
6
6
|
shorthand: ["Søn", "Man", "Tir", "Ons", "Tor", "Fre", "Lør"],
|
7
7
|
longhand: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.no.months = {
|
11
11
|
shorthand: ["Jan", "Feb", "Mar", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Des"],
|
12
12
|
longhand: ["Januar", "Februar", "Mars", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Desember"]
|
13
13
|
};
|
14
14
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
15
|
+
flatpickr.l10ns.no.firstDayOfWeek = 1;
|
16
|
+
flatpickr.l10ns.no.rangeSeparator = " til ";
|
17
|
+
flatpickr.l10ns.no.weekAbbreviation = "Uke";
|
18
|
+
flatpickr.l10ns.no.scrollTitle = "Scroll for å endre";
|
19
|
+
flatpickr.l10ns.no.toggleTitle = "Klikk for å veksle";
|
20
20
|
|
21
|
-
|
21
|
+
flatpickr.l10ns.no.ordinal = function () {
|
22
22
|
return ".";
|
23
23
|
};
|
24
|
-
if (typeof module !== "undefined") module.exports =
|
24
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,14 +1,14 @@
|
|
1
1
|
/* Punjabi locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.pa = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.pa.weekdays = {
|
6
6
|
shorthand: ["ਐਤ", "ਸੋਮ", "ਮੰਗਲ", "ਬੁੱਧ", "ਵੀਰ", "ਸ਼ੁੱਕਰ", "ਸ਼ਨਿੱਚਰ"],
|
7
7
|
longhand: ["ਐਤਵਾਰ", "ਸੋਮਵਾਰ", "ਮੰਗਲਵਾਰ", "ਬੁੱਧਵਾਰ", "ਵੀਰਵਾਰ", "ਸ਼ੁੱਕਰਵਾਰ", "ਸ਼ਨਿੱਚਰਵਾਰ"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.pa.months = {
|
11
11
|
shorthand: ["ਜਨ", "ਫ਼ਰ", "ਮਾਰ", "ਅਪ੍ਰੈ", "ਮਈ", "ਜੂਨ", "ਜੁਲਾ", "ਅਗ", "ਸਤੰ", "ਅਕ", "ਨਵੰ", "ਦਸੰ"],
|
12
12
|
longhand: ["ਜਨਵਰੀ", "ਫ਼ਰਵਰੀ", "ਮਾਰਚ", "ਅਪ੍ਰੈਲ", "ਮਈ", "ਜੂਨ", "ਜੁਲਾਈ", "ਅਗਸਤ", "ਸਤੰਬਰ", "ਅਕਤੂਬਰ", "ਨਵੰਬਰ", "ਦਸੰਬਰ"]
|
13
13
|
};
|
14
|
-
if (typeof module !== "undefined") module.exports =
|
14
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,18 +1,18 @@
|
|
1
1
|
/* Polish locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.pl = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.pl.weekdays = {
|
6
6
|
shorthand: ["Nd", "Pn", "Wt", "Śr", "Cz", "Pt", "So"],
|
7
7
|
longhand: ["Niedziela", "Poniedziałek", "Wtorek", "Środa", "Czwartek", "Piątek", "Sobota"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.pl.months = {
|
11
11
|
shorthand: ["Sty", "Lut", "Mar", "Kwi", "Maj", "Cze", "Lip", "Sie", "Wrz", "Paź", "Lis", "Gru"],
|
12
12
|
longhand: ["Styczeń", "Luty", "Marzec", "Kwiecień", "Maj", "Czerwiec", "Lipiec", "Sierpień", "Wrzesień", "Październik", "Listopad", "Grudzień"]
|
13
13
|
};
|
14
14
|
|
15
|
-
|
15
|
+
flatpickr.l10ns.pl.ordinal = function () {
|
16
16
|
return ".";
|
17
17
|
};
|
18
|
-
if (typeof module !== "undefined") module.exports =
|
18
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,19 +1,17 @@
|
|
1
1
|
/* Portuguese locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.pt = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.pt.weekdays = {
|
6
6
|
shorthand: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb"],
|
7
7
|
longhand: ["Domingo", "Segunda-feira", "Terça-feira", "Quarta-feira", "Quinta-feira", "Sexta-feira", "Sábado"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.pt.months = {
|
11
11
|
shorthand: ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"],
|
12
12
|
longhand: ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"]
|
13
13
|
};
|
14
14
|
|
15
|
-
|
16
|
-
|
17
|
-
if (typeof module !== "undefined")
|
18
|
-
module.exports = Flatpickr.l10ns;
|
15
|
+
flatpickr.l10ns.pt.rangeSeparator = " até ";
|
19
16
|
|
17
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,23 +1,21 @@
|
|
1
1
|
/* Romanian locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.ro = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.ro.weekdays = {
|
6
6
|
shorthand: ["Dum", "Lun", "Mar", "Mie", "Joi", "Vin", "Sam"],
|
7
7
|
longhand: ["Duminică", "Luni", "Marți", "Miercuri", "Joi", "Vineri", "Sâmbătă"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.ro.months = {
|
11
11
|
shorthand: ["Ian", "Feb", "Mar", "Apr", "Mai", "Iun", "Iul", "Aug", "Sep", "Oct", "Noi", "Dec"],
|
12
12
|
longhand: ["Ianuarie", "Februarie", "Martie", "Aprilie", "Mai", "Iunie", "Iulie", "August", "Septembrie", "Octombrie", "Noiembrie", "Decembrie"]
|
13
13
|
};
|
14
14
|
|
15
|
-
|
15
|
+
flatpickr.l10ns.ro.firstDayOfWeek = 1;
|
16
16
|
|
17
|
-
|
17
|
+
flatpickr.l10ns.ro.ordinal = function () {
|
18
18
|
return "";
|
19
19
|
};
|
20
20
|
|
21
|
-
if (typeof module !== "undefined")
|
22
|
-
module.exports = Flatpickr.l10ns;
|
23
|
-
|
21
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,18 +1,16 @@
|
|
1
1
|
/* Russian locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.ru = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.ru.firstDayOfWeek = 1; // Monday
|
6
6
|
|
7
|
-
|
7
|
+
flatpickr.l10ns.ru.weekdays = {
|
8
8
|
shorthand: ["Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
|
9
9
|
longhand: ["Воскресенье", "Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота"]
|
10
10
|
};
|
11
11
|
|
12
|
-
|
12
|
+
flatpickr.l10ns.ru.months = {
|
13
13
|
shorthand: ["Янв", "Фев", "Март", "Апр", "Май", "Июнь", "Июль", "Авг", "Сен", "Окт", "Ноя", "Дек"],
|
14
14
|
longhand: ["Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"]
|
15
15
|
};
|
16
|
-
if (typeof module !== "undefined")
|
17
|
-
module.exports = Flatpickr.l10ns;
|
18
|
-
|
16
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,17 +1,15 @@
|
|
1
1
|
/* Sinhala locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.si = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.si.weekdays = {
|
6
6
|
shorthand: ["ඉ", "ස", "අ", "බ", "බ්ර", "සි", "සෙ"],
|
7
7
|
longhand: ["ඉරිදා", "සඳුදා", "අඟහරුවාදා", "බදාදා", "බ්රහස්පතින්දා", "සිකුරාදා", "සෙනසුරාදා"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.si.months = {
|
11
11
|
shorthand: ["ජන", "පෙබ", "මාර්", "අප්රේ", "මැයි", "ජුනි", "ජූලි", "අගෝ", "සැප්", "ඔක්", "නොවැ", "දෙසැ"],
|
12
12
|
longhand: ["ජනවාරි", "පෙබරවාරි", "මාර්තු", "අප්රේල්", "මැයි", "ජුනි", "ජූලි", "අගෝස්තු", "සැප්තැම්බර්", "ඔක්තෝබර්", "නොවැම්බර්", "දෙසැම්බර්"]
|
13
13
|
};
|
14
14
|
|
15
|
-
if (typeof module !== "undefined")
|
16
|
-
module.exports = Flatpickr.l10ns;
|
17
|
-
|
15
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,21 +1,21 @@
|
|
1
1
|
/* Slovak locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.sk = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.sk.weekdays = {
|
6
6
|
shorthand: ["Ned", "Pon", "Ut", "Str", "Štv", "Pia", "Sob"],
|
7
7
|
longhand: ["Nedeľa", "Pondelok", "Utorok", "Streda", "Štvrtok", "Piatok", "Sobota"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.sk.months = {
|
11
11
|
shorthand: ["Jan", "Feb", "Mar", "Apr", "Máj", "Jún", "Júl", "Aug", "Sep", "Okt", "Nov", "Dec"],
|
12
12
|
longhand: ["Január", "Február", "Marec", "Apríl", "Máj", "Jún", "Júl", "August", "September", "Október", "November", "December"]
|
13
13
|
};
|
14
14
|
|
15
|
-
|
16
|
-
|
17
|
-
|
15
|
+
flatpickr.l10ns.sk.firstDayOfWeek = 1;
|
16
|
+
flatpickr.l10ns.sk.rangeSeparator = " do ";
|
17
|
+
flatpickr.l10ns.sk.ordinal = function () {
|
18
18
|
return ".";
|
19
19
|
};
|
20
20
|
|
21
|
-
if (typeof module !== "undefined") module.exports =
|
21
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,23 +1,21 @@
|
|
1
1
|
/* Slovenian locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.sl = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.sl.weekdays = {
|
6
6
|
shorthand: ["Ned", "Pon", "Tor", "Sre", "Čet", "Pet", "Sob"],
|
7
7
|
longhand: ["Nedelja", "Ponedeljek", "Torek", "Sreda", "Četrtek", "Petek", "Sobota"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.sl.months = {
|
11
11
|
shorthand: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec"],
|
12
12
|
longhand: ["Januar", "Februar", "Marec", "April", "Maj", "Junij", "Julij", "Avgust", "September", "Oktober", "November", "December"]
|
13
13
|
};
|
14
14
|
|
15
|
-
|
16
|
-
|
17
|
-
|
15
|
+
flatpickr.l10ns.sl.firstDayOfWeek = 1;
|
16
|
+
flatpickr.l10ns.sl.rangeSeparator = " do ";
|
17
|
+
flatpickr.l10ns.sl.ordinal = function () {
|
18
18
|
return ".";
|
19
19
|
};
|
20
20
|
|
21
|
-
if (typeof module !== "undefined")
|
22
|
-
module.exports = Flatpickr.l10ns;
|
23
|
-
|
21
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,16 +1,14 @@
|
|
1
1
|
/* Albanian locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.sq = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.sq.weekdays = {
|
6
6
|
shorthand: ["Di", "Hë", "Ma", "Më", "En", "Pr", "Sh"],
|
7
7
|
longhand: ["E Diel", "E Hënë", "E Martë", "E Mërkurë", "E Enjte", "E Premte", "E Shtunë"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.sq.months = {
|
11
11
|
shorthand: ["Jan", "Shk", "Mar", "Pri", "Maj", "Qer", "Kor", "Gus", "Sht", "Tet", "Nën", "Dhj"],
|
12
12
|
longhand: ["Janar", "Shkurt", "Mars", "Prill", "Maj", "Qershor", "Korrik", "Gusht", "Shtator", "Tetor", "Nëntor", "Dhjetor"]
|
13
13
|
};
|
14
|
-
if (typeof module !== "undefined")
|
15
|
-
module.exports = Flatpickr.l10ns;
|
16
|
-
|
14
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,20 +1,19 @@
|
|
1
1
|
/* Serbian locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.sr = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.sr.weekdays = {
|
6
6
|
shorthand: ["Ned", "Pon", "Uto", "Sre", "Čet", "Pet", "Sub", "Ned"],
|
7
|
-
longhand: ["Nedelja","Ponedeljak", "Utorak", "Sreda", "Četvrtak", "Petak", "Subota", "Nedelja"]
|
7
|
+
longhand: ["Nedelja", "Ponedeljak", "Utorak", "Sreda", "Četvrtak", "Petak", "Subota", "Nedelja"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.sr.months = {
|
11
11
|
shorthand: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Avg", "Sep", "Okt", "Nov", "Dec"],
|
12
12
|
longhand: ["Januar", "Februar", "Mart", "April", "Maj", "Jun", "Jul", "Avgust", "Septembar", "Oktobar", "Novembar", "Decembar"]
|
13
13
|
};
|
14
14
|
|
15
|
-
|
16
|
-
|
17
|
-
|
15
|
+
flatpickr.l10ns.sr.firstDayOfWeek = 1;
|
16
|
+
flatpickr.l10ns.sr.weekAbbreviation = "Ned.";
|
17
|
+
flatpickr.l10ns.sr.rangeSeparator = " do ";
|
18
18
|
|
19
|
-
if (typeof module !== "undefined")
|
20
|
-
module.exports = Flatpickr.l10ns;
|
19
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,23 +1,21 @@
|
|
1
1
|
/* Swedish locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.sv = {};
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
flatpickr.l10ns.sv.firstDayOfWeek = 1;
|
6
|
+
flatpickr.l10ns.sv.weekAbbreviation = "v";
|
7
7
|
|
8
|
-
|
8
|
+
flatpickr.l10ns.sv.weekdays = {
|
9
9
|
shorthand: ["Sön", "Mån", "Tis", "Ons", "Tor", "Fre", "Lör"],
|
10
10
|
longhand: ["Söndag", "Måndag", "Tisdag", "Onsdag", "Torsdag", "Fredag", "Lördag"]
|
11
11
|
};
|
12
12
|
|
13
|
-
|
13
|
+
flatpickr.l10ns.sv.months = {
|
14
14
|
shorthand: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
|
15
15
|
longhand: ["Januari", "Februari", "Mars", "April", "Maj", "Juni", "Juli", "Augusti", "September", "Oktober", "November", "December"]
|
16
16
|
};
|
17
17
|
|
18
|
-
|
18
|
+
flatpickr.l10ns.sv.ordinal = function () {
|
19
19
|
return ".";
|
20
20
|
};
|
21
|
-
if (typeof module !== "undefined")
|
22
|
-
module.exports = Flatpickr.l10ns;
|
23
|
-
|
21
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,25 +1,24 @@
|
|
1
1
|
/* Thai locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.th = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.th.weekdays = {
|
6
6
|
shorthand: ["อา", "จ", "อ", "พ", "พฤ", "ศ", "ส"],
|
7
7
|
longhand: ["อาทิตย์", "จันทร์", "อังคาร", "พุธ", "พฤหัสบดี", "ศุกร์", "เสาร์"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.th.months = {
|
11
11
|
shorthand: ["ม.ค.", "ก.พ.", "มี.ค.", "เม.ย.", "พ.ค.", "มิ.ย.", "ก.ค.", "ส.ค.", "ก.ย.", "ต.ค.", "พ.ย.", "ธ.ค."],
|
12
12
|
longhand: ["มกราคม", "กุมภาพันธ์", "มีนาคม", "เมษายน", "พฤษภาคม", "มิถุนายน", "กรกฎาคม", "สิงหาคม", "กันยายน", "ตุลาคม", "พฤศจิกายน", "ธันวาคม"]
|
13
13
|
};
|
14
14
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
15
|
+
flatpickr.l10ns.th.firstDayOfWeek = 1;
|
16
|
+
flatpickr.l10ns.th.rangeSeparator = " ถึง ";
|
17
|
+
flatpickr.l10ns.th.scrollTitle = "เลื่อนเพื่อเพิ่มหรือลด";
|
18
|
+
flatpickr.l10ns.th.toggleTitle = "คลิกเพื่อเปลี่ยน";
|
19
19
|
|
20
|
-
|
20
|
+
flatpickr.l10ns.th.ordinal = function () {
|
21
21
|
return "";
|
22
22
|
};
|
23
23
|
|
24
|
-
if (typeof module !== "undefined")
|
25
|
-
module.exports = Flatpickr.l10ns;
|
24
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,18 +1,16 @@
|
|
1
1
|
/* Turkish locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.tr = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.tr.firstDayOfWeek = 1;
|
6
6
|
|
7
|
-
|
7
|
+
flatpickr.l10ns.tr.weekdays = {
|
8
8
|
shorthand: ["Paz", "Pzt", "Sal", "Çar", "Per", "Cum", "Cmt"],
|
9
9
|
longhand: ["Pazar", "Pazartesi", "Salı", "Çarşamba", "Perşembe", "Cuma", "Cumartesi"]
|
10
10
|
};
|
11
11
|
|
12
|
-
|
12
|
+
flatpickr.l10ns.tr.months = {
|
13
13
|
shorthand: ["Oca", "Şub", "Mar", "Nis", "May", "Haz", "Tem", "Ağu", "Eyl", "Eki", "Kas", "Ara"],
|
14
14
|
longhand: ["Ocak", "Şubat", "Mart", "Nisan", "Mayıs", "Haziran", "Temmuz", "Ağustos", "Eylül", "Ekim", "Kasım", "Aralık"]
|
15
15
|
};
|
16
|
-
if (typeof module !== "undefined")
|
17
|
-
module.exports = Flatpickr.l10ns;
|
18
|
-
|
16
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,17 +1,16 @@
|
|
1
1
|
/* Ukrainian locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.uk = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.uk.firstDayOfWeek = 1;
|
6
6
|
|
7
|
-
|
7
|
+
flatpickr.l10ns.uk.weekdays = {
|
8
8
|
shorthand: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
|
9
9
|
longhand: ["Неділя", "Понеділок", "Вівторок", "Середа", "Четвер", "П'ятниця", "Субота"]
|
10
10
|
};
|
11
11
|
|
12
|
-
|
12
|
+
flatpickr.l10ns.uk.months = {
|
13
13
|
shorthand: ["Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру"],
|
14
14
|
longhand: ["Січень", "Лютий", "Березень", "Квітень", "Травень", "Червень", "Липень", "Серпень", "Вересень", "Жовтень", "Листопад", "Грудень"]
|
15
15
|
};
|
16
|
-
if (typeof module !== "undefined")
|
17
|
-
module.exports = Flatpickr.l10ns;
|
16
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|