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,14 +1,14 @@
|
|
1
1
|
/* Arabic locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.ar = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.ar.weekdays = {
|
6
6
|
shorthand: ["أحد", "اثنين", "ثلاثاء", "أربعاء", "خميس", "جمعة", "سبت"],
|
7
7
|
longhand: ["الأحد", "الاثنين", "الثلاثاء", "الأربعاء", "الخميس", "الجمعة", "السبت"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.ar.months = {
|
11
11
|
shorthand: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"],
|
12
12
|
longhand: ["يناير", "فبراير", "مارس", "أبريل", "مايو", "يونيو", "يوليو", "أغسطس", "سبتمبر", "أكتوبر", "نوفمبر", "ديسمبر"]
|
13
13
|
};
|
14
|
-
if (typeof module !== "undefined") module.exports =
|
14
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,14 +1,14 @@
|
|
1
1
|
/* Bulgarian locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.bg = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.bg.weekdays = {
|
6
6
|
shorthand: ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"],
|
7
7
|
longhand: ["Неделя", "Понеделник", "Вторник", "Сряда", "Четвъртък", "Петък", "Събота"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.bg.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,14 +1,14 @@
|
|
1
1
|
/* Bangla locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.bn = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.bn.weekdays = {
|
6
6
|
shorthand: ["রবি", "সোম", "মঙ্গল", "বুধ", "বৃহস্পতি", "শুক্র", "শনি"],
|
7
7
|
longhand: ["রবিবার", "সোমবার", "মঙ্গলবার", "বুধবার", "বৃহস্পতিবার", "শুক্রবার", "শনিবার"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.bn.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
|
/* Catalan locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.cat = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.cat.weekdays = {
|
6
6
|
shorthand: ["Dg", "Dl", "Dt", "Dc", "Dj", "Dv", "Ds"],
|
7
7
|
longhand: ["Diumenge", "Dilluns", "Dimarts", "Dimecres", "Dijous", "Divendres", "Dissabte"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.cat.months = {
|
11
11
|
shorthand: ["Gen", "Febr", "Març", "Abr", "Maig", "Juny", "Jul", "Ag", "Set", "Oct", "Nov", "Des"],
|
12
12
|
longhand: ["Gener", "Febrer", "Març", "Abril", "Maig", "Juny", "Juliol", "Agost", "Setembre", "Octubre", "Novembre", "Desembre"]
|
13
13
|
};
|
14
14
|
|
15
|
-
|
15
|
+
flatpickr.l10ns.cat.ordinal = function (nth) {
|
16
16
|
var s = nth % 100;
|
17
17
|
if (s > 3 && s < 21) return "è";
|
18
18
|
switch (s % 10) {
|
@@ -29,6 +29,6 @@ Flatpickr.l10ns.cat.ordinal = function (nth) {
|
|
29
29
|
}
|
30
30
|
};
|
31
31
|
|
32
|
-
|
32
|
+
flatpickr.l10ns.cat.firstDayOfWeek = 1;
|
33
33
|
|
34
|
-
if (typeof module !== "undefined") module.exports =
|
34
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,20 +1,20 @@
|
|
1
1
|
/* Czech locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.cs = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.cs.weekdays = {
|
6
6
|
shorthand: ["Ne", "Po", "Út", "St", "Čt", "Pá", "So"],
|
7
7
|
longhand: ["Neděle", "Pondělí", "Úterý", "Středa", "Čtvrtek", "Pátek", "Sobota"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.cs.months = {
|
11
11
|
shorthand: ["Led", "Ún", "Bře", "Dub", "Kvě", "Čer", "Čvc", "Srp", "Zář", "Říj", "Lis", "Pro"],
|
12
12
|
longhand: ["Leden", "Únor", "Březen", "Duben", "Květen", "Červen", "Červenec", "Srpen", "Září", "Říjen", "Listopad", "Prosinec"]
|
13
13
|
};
|
14
14
|
|
15
|
-
|
15
|
+
flatpickr.l10ns.cs.firstDayOfWeek = 1;
|
16
16
|
|
17
|
-
|
17
|
+
flatpickr.l10ns.cs.ordinal = function () {
|
18
18
|
return ".";
|
19
19
|
};
|
20
|
-
if (typeof module !== "undefined") module.exports =
|
20
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,20 +1,20 @@
|
|
1
1
|
/* Welsh locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.cy = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.cy.weekdays = {
|
6
6
|
shorthand: ["Sul", "Llun", "Maw", "Mer", "Iau", "Gwe", "Sad"],
|
7
7
|
longhand: ["Dydd Sul", "Dydd Llun", "Dydd Mawrth", "Dydd Mercher", "Dydd Iau", "Dydd Gwener", "Dydd Sadwrn"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.cy.months = {
|
11
11
|
shorthand: ["Ion", "Chwef", "Maw", "Ebr", "Mai", "Meh", "Gorff", "Awst", "Medi", "Hyd", "Tach", "Rhag"],
|
12
12
|
longhand: ["Ionawr", "Chwefror", "Mawrth", "Ebrill", "Mai", "Mehefin", "Gorffennaf", "Awst", "Medi", "Hydref", "Tachwedd", "Rhagfyr"]
|
13
13
|
};
|
14
14
|
|
15
|
-
|
15
|
+
flatpickr.l10ns.cy.firstDayOfWeek = 1;
|
16
16
|
|
17
|
-
|
17
|
+
flatpickr.l10ns.cy.ordinal = function (nth) {
|
18
18
|
if (nth === 1) return "af";
|
19
19
|
|
20
20
|
if (nth === 2) return "ail";
|
@@ -33,4 +33,4 @@ Flatpickr.l10ns.cy.ordinal = function (nth) {
|
|
33
33
|
return "";
|
34
34
|
};
|
35
35
|
|
36
|
-
if (typeof module !== "undefined") module.exports =
|
36
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,18 +1,18 @@
|
|
1
1
|
/* Danish locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.da = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.da.weekdays = {
|
6
6
|
shorthand: ["Søn", "Man", "Tir", "Ons", "Tors", "Fre", "Lør"],
|
7
7
|
longhand: ["Søndag", "Mandag", "Tirsdag", "Onsdag", "Torsdag", "Fredag", "Lørdag"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.da.months = {
|
11
11
|
shorthand: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dec"],
|
12
12
|
longhand: ["Januar", "Februar", "Marts", "April", "Maj", "Juni", "Juli", "August", "September", "Oktober", "November", "December"]
|
13
13
|
};
|
14
14
|
|
15
|
-
|
15
|
+
flatpickr.l10ns.da.ordinal = function () {
|
16
16
|
return ".";
|
17
17
|
};
|
18
|
-
if (typeof module !== "undefined") module.exports =
|
18
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,21 +1,21 @@
|
|
1
1
|
/* German locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.de = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.de.weekdays = {
|
6
6
|
shorthand: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
|
7
7
|
longhand: ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.de.months = {
|
11
11
|
shorthand: ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Okt", "Nov", "Dez"],
|
12
12
|
longhand: ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember"]
|
13
13
|
};
|
14
14
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
15
|
+
flatpickr.l10ns.de.firstDayOfWeek = 1;
|
16
|
+
flatpickr.l10ns.de.weekAbbreviation = "KW";
|
17
|
+
flatpickr.l10ns.de.rangeSeparator = " bis ";
|
18
|
+
flatpickr.l10ns.de.scrollTitle = "Zum Ändern scrollen";
|
19
|
+
flatpickr.l10ns.de.toggleTitle = "Zum Umschalten klicken";
|
20
20
|
|
21
|
-
if (typeof module !== "undefined") module.exports =
|
21
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,26 +1,26 @@
|
|
1
1
|
/* Esperanto locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.eo = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.eo.firstDayOfWeek = 1;
|
6
6
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
7
|
+
flatpickr.l10ns.eo.rangeSeparator = " ĝis ";
|
8
|
+
flatpickr.l10ns.eo.weekAbbreviation = "Sem";
|
9
|
+
flatpickr.l10ns.eo.scrollTitle = "Rulumu por pligrandigi la valoron";
|
10
|
+
flatpickr.l10ns.eo.toggleTitle = "Klaku por ŝalti";
|
11
11
|
|
12
|
-
|
12
|
+
flatpickr.l10ns.eo.weekdays = {
|
13
13
|
shorthand: ["Dim", "Lun", "Mar", "Mer", "Ĵaŭ", "Ven", "Sab"],
|
14
14
|
longhand: ["dimanĉo", "lundo", "mardo", "merkredo", "ĵaŭdo", "vendredo", "sabato"]
|
15
15
|
};
|
16
16
|
|
17
|
-
|
17
|
+
flatpickr.l10ns.eo.months = {
|
18
18
|
shorthand: ["Jan", "Feb", "Mar", "Apr", "Maj", "Jun", "Jul", "Aŭg", "Sep", "Okt", "Nov", "Dec"],
|
19
19
|
longhand: ["januaro", "februaro", "marto", "aprilo", "majo", "junio", "julio", "aŭgusto", "septembro", "oktobro", "novembro", "decembro"]
|
20
20
|
};
|
21
21
|
|
22
|
-
|
22
|
+
flatpickr.l10ns.eo.ordinal = function () {
|
23
23
|
return "-a";
|
24
24
|
};
|
25
25
|
|
26
|
-
if (typeof module !== "undefined") module.exports =
|
26
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,20 +1,20 @@
|
|
1
1
|
/* Spanish locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.es = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.es.weekdays = {
|
6
6
|
shorthand: ["Dom", "Lun", "Mar", "Mié", "Jue", "Vie", "Sáb"],
|
7
7
|
longhand: ["Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.es.months = {
|
11
11
|
shorthand: ["Ene", "Feb", "Mar", "Abr", "May", "Jun", "Jul", "Ago", "Sep", "Oct", "Nov", "Dic"],
|
12
12
|
longhand: ["Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"]
|
13
13
|
};
|
14
14
|
|
15
|
-
|
15
|
+
flatpickr.l10ns.es.ordinal = function () {
|
16
16
|
return "º";
|
17
17
|
};
|
18
18
|
|
19
|
-
|
20
|
-
if (typeof module !== "undefined") module.exports =
|
19
|
+
flatpickr.l10ns.es.firstDayOfWeek = 1;
|
20
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,26 +1,26 @@
|
|
1
1
|
/* Estonian locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.et = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.et.weekdays = {
|
6
6
|
shorthand: ["P", "E", "T", "K", "N", "R", "L"],
|
7
7
|
longhand: ["Pühapäev", "Esmaspäev", "Teisipäev", "Kolmapäev", "Neljapäev", "Reede", "Laupäev"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.et.months = {
|
11
11
|
shorthand: ["Jaan", "Veebr", "Märts", "Apr", "Mai", "Juuni", "Juuli", "Aug", "Sept", "Okt", "Nov", "Dets"],
|
12
12
|
longhand: ["Jaanuar", "Veebruar", "Märts", "Aprill", "Mai", "Juuni", "Juuli", "August", "September", "Oktoober", "November", "Detsember"]
|
13
13
|
};
|
14
14
|
|
15
|
-
|
15
|
+
flatpickr.l10ns.et.firstDayOfWeek = 1;
|
16
16
|
|
17
|
-
|
17
|
+
flatpickr.l10ns.et.ordinal = function () {
|
18
18
|
return ".";
|
19
19
|
};
|
20
20
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
21
|
+
flatpickr.l10ns.et.weekAbbreviation = "Näd";
|
22
|
+
flatpickr.l10ns.et.rangeSeparator = " kuni ";
|
23
|
+
flatpickr.l10ns.et.scrollTitle = "Keri, et suurendada";
|
24
|
+
flatpickr.l10ns.et.toggleTitle = "Klõpsa, et vahetada";
|
25
25
|
|
26
|
-
if (typeof module !== "undefined") module.exports =
|
26
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,18 +1,18 @@
|
|
1
1
|
/* Farsi (Persian) locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.fa = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.fa.weekdays = {
|
6
6
|
shorthand: ["یک", "دو", "سه", "چهار", "پنج", "آدینه", "شنبه"],
|
7
7
|
longhand: ["یکشنبه", "دوشنبه", "سهشنبه", "چهارشنبه", "پنچشنبه", "آدینه", "شنبه"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.fa.months = {
|
11
11
|
shorthand: ["ژانویه", "فوریه", "مارس", "آوریل", "مه", "ژوئن", "ژوئیه", "اوت", "سپتامبر", "اکتبر", "نوامبر", "دسامبر"],
|
12
12
|
longhand: ["ژانویه", "فوریه", "مارس", "آوریل", "مه", "ژوئن", "ژوئیه", "اوت", "سپتامبر", "اکتبر", "نوامبر", "دسامبر"]
|
13
13
|
};
|
14
14
|
|
15
|
-
|
15
|
+
flatpickr.l10ns.fa.ordinal = function () {
|
16
16
|
return "";
|
17
17
|
};
|
18
|
-
if (typeof module !== "undefined") module.exports =
|
18
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,20 +1,20 @@
|
|
1
1
|
/* Finnish locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.fi = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.fi.firstDayOfWeek = 1;
|
6
6
|
|
7
|
-
|
7
|
+
flatpickr.l10ns.fi.weekdays = {
|
8
8
|
shorthand: ["Su", "Ma", "Ti", "Ke", "To", "Pe", "La"],
|
9
9
|
longhand: ["Sunnuntai", "Maanantai", "Tiistai", "Keskiviikko", "Torstai", "Perjantai", "Lauantai"]
|
10
10
|
};
|
11
11
|
|
12
|
-
|
12
|
+
flatpickr.l10ns.fi.months = {
|
13
13
|
shorthand: ["Tammi", "Helmi", "Maalis", "Huhti", "Touko", "Kesä", "Heinä", "Elo", "Syys", "Loka", "Marras", "Joulu"],
|
14
14
|
longhand: ["Tammikuu", "Helmikuu", "Maaliskuu", "Huhtikuu", "Toukokuu", "Kesäkuu", "Heinäkuu", "Elokuu", "Syyskuu", "Lokakuu", "Marraskuu", "Joulukuu"]
|
15
15
|
};
|
16
16
|
|
17
|
-
|
17
|
+
flatpickr.l10ns.fi.ordinal = function () {
|
18
18
|
return ".";
|
19
19
|
};
|
20
|
-
if (typeof module !== "undefined") module.exports =
|
20
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,27 +1,27 @@
|
|
1
1
|
/* French locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.fr = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.fr.firstDayOfWeek = 1;
|
6
6
|
|
7
|
-
|
7
|
+
flatpickr.l10ns.fr.weekdays = {
|
8
8
|
shorthand: ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam"],
|
9
9
|
longhand: ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"]
|
10
10
|
};
|
11
11
|
|
12
|
-
|
12
|
+
flatpickr.l10ns.fr.months = {
|
13
13
|
shorthand: ["Janv", "Févr", "Mars", "Avr", "Mai", "Juin", "Juil", "Août", "Sept", "Oct", "Nov", "Déc"],
|
14
14
|
longhand: ["Janvier", "Février", "Mars", "Avril", "Mai", "Juin", "Juillet", "Août", "Septembre", "Octobre", "Novembre", "Décembre"]
|
15
15
|
};
|
16
16
|
|
17
|
-
|
17
|
+
flatpickr.l10ns.fr.ordinal = function (nth) {
|
18
18
|
if (nth > 1) return "ème";
|
19
19
|
|
20
20
|
return "er";
|
21
21
|
};
|
22
|
-
if (typeof module !== "undefined") module.exports =
|
22
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
23
23
|
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
24
|
+
flatpickr.l10ns.fr.rangeSeparator = " au ";
|
25
|
+
flatpickr.l10ns.fr.weekAbbreviation = "Sem";
|
26
|
+
flatpickr.l10ns.fr.scrollTitle = "Défiler pour augmenter la valeur";
|
27
|
+
flatpickr.l10ns.fr.toggleTitle = "Cliquer pour basculer";
|
@@ -1,29 +1,29 @@
|
|
1
1
|
/* Greek locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.gr = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.gr.weekdays = {
|
6
6
|
shorthand: ["Κυ", "Δε", "Τρ", "Τε", "Πέ", "Πα", "Σά"],
|
7
7
|
longhand: ["Κυριακή", "Δευτέρα", "Τρίτη", "Τετάρτη", "Πέμπτη", "Παρασκευή", "Σάββατο"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.gr.months = {
|
11
11
|
shorthand: ["Ιαν", "Φεβ", "Μάρ", "Απρ", "Μάι", "Ιού", "Ιού", "Αύγ", "Σεπ", "Οκτ", "Νοέ", "Δεκ"],
|
12
12
|
longhand: ["Ιανουάριος", "Φεβρουάριος", "Μάρτιος", "Απρίλιος", "Μάιος", "Ιούνιος", "Ιούλιος", "Αύγουστος", "Σεπτέμβριος", "Οκτώβριος", "Νοέμβριος", "Δεκέμβριος"]
|
13
13
|
};
|
14
14
|
|
15
|
-
|
15
|
+
flatpickr.l10ns.gr.firstDayOfWeek = 1;
|
16
16
|
|
17
|
-
|
17
|
+
flatpickr.l10ns.gr.ordinal = function () {
|
18
18
|
return "";
|
19
19
|
};
|
20
20
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
21
|
+
flatpickr.l10ns.gr.weekAbbreviation = "Εβδ";
|
22
|
+
flatpickr.l10ns.gr.rangeSeparator = " έως ";
|
23
|
+
flatpickr.l10ns.gr.scrollTitle = "Μετακυλήστε για προσαύξηση";
|
24
|
+
flatpickr.l10ns.gr.toggleTitle = "Κάντε κλικ για αλλαγή";
|
25
25
|
|
26
|
-
|
27
|
-
|
26
|
+
flatpickr.l10ns.gr.am = "ΠΜ";
|
27
|
+
flatpickr.l10ns.gr.pm = "ΜΜ";
|
28
28
|
|
29
|
-
if (typeof module !== "undefined") module.exports =
|
29
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|