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
|
/* Hebrew locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.he = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.he.weekdays = {
|
6
6
|
shorthand: ["א", "ב", "ג", "ד", "ה", "ו", "ז"],
|
7
7
|
longhand: ["ראשון", "שני", "שלישי", "רביעי", "חמישי", "שישי", "שבת"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.he.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
|
/* Hindi locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.hi = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.hi.weekdays = {
|
6
6
|
shorthand: ["रवि", "सोम", "मंगल", "बुध", "गुरु", "शुक्र", "शनि"],
|
7
7
|
longhand: ["रविवार", "सोमवार", "मंगलवार", "बुधवार", "गुरुवार", "शुक्रवार", "शनिवार"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.hi.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,17 +1,17 @@
|
|
1
1
|
/* Croatian locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.hr = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.hr.firstDayOfWeek = 1;
|
6
6
|
|
7
|
-
|
7
|
+
flatpickr.l10ns.hr.weekdays = {
|
8
8
|
shorthand: ["Ned", "Pon", "Uto", "Sri", "Čet", "Pet", "Sub"],
|
9
9
|
longhand: ["Nedjelja", "Ponedjeljak", "Utorak", "Srijeda", "Četvrtak", "Petak", "Subota"]
|
10
10
|
};
|
11
11
|
|
12
|
-
|
12
|
+
flatpickr.l10ns.hr.months = {
|
13
13
|
shorthand: ["Sij", "Velj", "Ožu", "Tra", "Svi", "Lip", "Srp", "Kol", "Ruj", "Lis", "Stu", "Pro"],
|
14
14
|
longhand: ["Siječanj", "Veljača", "Ožujak", "Travanj", "Svibanj", "Lipanj", "Srpanj", "Kolovoz", "Rujan", "Listopad", "Studeni", "Prosinac"]
|
15
15
|
};
|
16
16
|
|
17
|
-
if (typeof module !== "undefined") module.exports =
|
17
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,25 +1,25 @@
|
|
1
1
|
/* Hungarian locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.hu = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.hu.firstDayOfWeek = 1;
|
6
6
|
|
7
|
-
|
7
|
+
flatpickr.l10ns.hu.weekdays = {
|
8
8
|
shorthand: ["V", "H", "K", "Sz", "Cs", "P", "Szo"],
|
9
9
|
longhand: ["Vasárnap", "Hétfő", "Kedd", "Szerda", "Csütörtök", "Péntek", "Szombat"]
|
10
10
|
};
|
11
11
|
|
12
|
-
|
12
|
+
flatpickr.l10ns.hu.months = {
|
13
13
|
shorthand: ["Jan", "Feb", "Már", "Ápr", "Máj", "Jún", "Júl", "Aug", "Szep", "Okt", "Nov", "Dec"],
|
14
14
|
longhand: ["Január", "Február", "Március", "Április", "Május", "Június", "Július", "Augusztus", "Szeptember", "Október", "November", "December"]
|
15
15
|
};
|
16
16
|
|
17
|
-
|
17
|
+
flatpickr.l10ns.hu.ordinal = function () {
|
18
18
|
return ".";
|
19
19
|
};
|
20
20
|
|
21
|
-
|
22
|
-
|
23
|
-
|
21
|
+
flatpickr.l10ns.hu.weekAbbreviation = "Hét";
|
22
|
+
flatpickr.l10ns.hu.scrollTitle = "Görgessen";
|
23
|
+
flatpickr.l10ns.hu.toggleTitle = "Kattintson a váltáshoz";
|
24
24
|
|
25
|
-
if (typeof module !== "undefined") module.exports =
|
25
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,20 +1,20 @@
|
|
1
1
|
/* Indonesian locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.id = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.id.weekdays = {
|
6
6
|
shorthand: ["Min", "Sen", "Sel", "Rab", "Kam", "Jum", "Sab"],
|
7
7
|
longhand: ["Minggu", "Senin", "Selasa", "Rabu", "Kamis", "Jumat", "Sabtu"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.id.months = {
|
11
11
|
shorthand: ["Jan", "Feb", "Mar", "Apr", "Mei", "Jun", "Jul", "Agu", "Sep", "Okt", "Nov", "Des"],
|
12
12
|
longhand: ["Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"]
|
13
13
|
};
|
14
14
|
|
15
|
-
|
15
|
+
flatpickr.l10ns.id.firstDayOfWeek = 1;
|
16
16
|
|
17
|
-
|
17
|
+
flatpickr.l10ns.id.ordinal = function () {
|
18
18
|
return "";
|
19
19
|
};
|
20
|
-
if (typeof module !== "undefined") module.exports =
|
20
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -0,0 +1,97 @@
|
|
1
|
+
var ar = require("./ar")["ar"];
|
2
|
+
var bg = require("./bg")["bg"];
|
3
|
+
var bn = require("./bn")["bn"];
|
4
|
+
var cat = require("./cat")["cat"];
|
5
|
+
var cs = require("./cs")["cs"];
|
6
|
+
var cy = require("./cy")["cy"];
|
7
|
+
var da = require("./da")["da"];
|
8
|
+
var de = require("./de")["de"];
|
9
|
+
var eo = require("./eo")["eo"];
|
10
|
+
var es = require("./es")["es"];
|
11
|
+
var et = require("./et")["et"];
|
12
|
+
var fa = require("./fa")["fa"];
|
13
|
+
var fi = require("./fi")["fi"];
|
14
|
+
var fr = require("./fr")["fr"];
|
15
|
+
var gr = require("./gr")["gr"];
|
16
|
+
var he = require("./he")["he"];
|
17
|
+
var hi = require("./hi")["hi"];
|
18
|
+
var hr = require("./hr")["hr"];
|
19
|
+
var hu = require("./hu")["hu"];
|
20
|
+
var id = require("./id")["id"];
|
21
|
+
var it = require("./it")["it"];
|
22
|
+
var ja = require("./ja")["ja"];
|
23
|
+
var ko = require("./ko")["ko"];
|
24
|
+
var lt = require("./lt")["lt"];
|
25
|
+
var lv = require("./lv")["lv"];
|
26
|
+
var mk = require("./mk")["mk"];
|
27
|
+
var ms = require("./ms")["ms"];
|
28
|
+
var my = require("./my")["my"];
|
29
|
+
var nl = require("./nl")["nl"];
|
30
|
+
var no = require("./no")["no"];
|
31
|
+
var pa = require("./pa")["pa"];
|
32
|
+
var pl = require("./pl")["pl"];
|
33
|
+
var pt = require("./pt")["pt"];
|
34
|
+
var ro = require("./ro")["ro"];
|
35
|
+
var ru = require("./ru")["ru"];
|
36
|
+
var si = require("./si")["si"];
|
37
|
+
var sk = require("./sk")["sk"];
|
38
|
+
var sl = require("./sl")["sl"];
|
39
|
+
var sq = require("./sq")["sq"];
|
40
|
+
var sr = require("./sr")["sr"];
|
41
|
+
var sv = require("./sv")["sv"];
|
42
|
+
var th = require("./th")["th"];
|
43
|
+
var tr = require("./tr")["tr"];
|
44
|
+
var uk = require("./uk")["uk"];
|
45
|
+
var vn = require("./vn")["vn"];
|
46
|
+
var zh = require("./zh")["zh"];
|
47
|
+
|
48
|
+
var l10n = {
|
49
|
+
ar: ar,
|
50
|
+
bg: bg,
|
51
|
+
bn: bn,
|
52
|
+
cat: cat,
|
53
|
+
cs: cs,
|
54
|
+
cy: cy,
|
55
|
+
da: da,
|
56
|
+
de: de,
|
57
|
+
eo: eo,
|
58
|
+
es: es,
|
59
|
+
et: et,
|
60
|
+
fa: fa,
|
61
|
+
fi: fi,
|
62
|
+
fr: fr,
|
63
|
+
gr: gr,
|
64
|
+
he: he,
|
65
|
+
hi: hi,
|
66
|
+
hr: hr,
|
67
|
+
hu: hu,
|
68
|
+
id: id,
|
69
|
+
it: it,
|
70
|
+
ja: ja,
|
71
|
+
ko: ko,
|
72
|
+
lt: lt,
|
73
|
+
lv: lv,
|
74
|
+
mk: mk,
|
75
|
+
ms: ms,
|
76
|
+
my: my,
|
77
|
+
nl: nl,
|
78
|
+
no: no,
|
79
|
+
pa: pa,
|
80
|
+
pl: pl,
|
81
|
+
pt: pt,
|
82
|
+
ro: ro,
|
83
|
+
ru: ru,
|
84
|
+
si: si,
|
85
|
+
sk: sk,
|
86
|
+
sl: sl,
|
87
|
+
sq: sq,
|
88
|
+
sr: sr,
|
89
|
+
sv: sv,
|
90
|
+
th: th,
|
91
|
+
tr: tr,
|
92
|
+
uk: uk,
|
93
|
+
vn: vn,
|
94
|
+
zh: zh
|
95
|
+
};
|
96
|
+
|
97
|
+
if (typeof module !== "undefined") module.exports = l10n;
|
@@ -1,25 +1,25 @@
|
|
1
1
|
/* Italian locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.it = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.it.weekdays = {
|
6
6
|
shorthand: ["Dom", "Lun", "Mar", "Mer", "Gio", "Ven", "Sab"],
|
7
7
|
longhand: ["Domenica", "Lunedì", "Martedì", "Mercoledì", "Giovedì", "Venerdì", "Sabato"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.it.months = {
|
11
11
|
shorthand: ["Gen", "Feb", "Mar", "Apr", "Mag", "Giu", "Lug", "Ago", "Set", "Ott", "Nov", "Dic"],
|
12
12
|
longhand: ["Gennaio", "Febbraio", "Marzo", "Aprile", "Maggio", "Giugno", "Luglio", "Agosto", "Settembre", "Ottobre", "Novembre", "Dicembre"]
|
13
13
|
};
|
14
14
|
|
15
|
-
|
15
|
+
flatpickr.l10ns.it.firstDayOfWeek = 1;
|
16
16
|
|
17
|
-
|
17
|
+
flatpickr.l10ns.it.ordinal = "°";
|
18
18
|
|
19
|
-
|
19
|
+
flatpickr.l10ns.it.weekAbbreviation = "Se";
|
20
20
|
|
21
|
-
|
21
|
+
flatpickr.l10ns.it.scrollTitle = "Scrolla per aumentare";
|
22
22
|
|
23
|
-
|
23
|
+
flatpickr.l10ns.it.toggleTitle = "Clicca per cambiare";
|
24
24
|
|
25
|
-
if (typeof module !== "undefined") module.exports =
|
25
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,14 +1,14 @@
|
|
1
1
|
/* Japanese locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.ja = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.ja.weekdays = {
|
6
6
|
shorthand: ["日", "月", "火", "水", "木", "金", "土"],
|
7
7
|
longhand: ["日曜日", "月曜日", "火曜日", "水曜日", "木曜日", "金曜日", "土曜日"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.ja.months = {
|
11
11
|
shorthand: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"],
|
12
12
|
longhand: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"]
|
13
13
|
};
|
14
|
-
if (typeof module !== "undefined") module.exports =
|
14
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,18 +1,18 @@
|
|
1
1
|
/* Republic of Korea locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.ko = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.ko.weekdays = {
|
6
6
|
shorthand: ["일", "월", "화", "수", "목", "금", "토"],
|
7
7
|
longhand: ["일요일", "월요일", "화요일", "수요일", "목요일", "금요일", "토요일"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.ko.months = {
|
11
11
|
shorthand: ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"],
|
12
12
|
longhand: ["1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월"]
|
13
13
|
};
|
14
14
|
|
15
|
-
|
15
|
+
flatpickr.l10ns.ko.ordinal = function () {
|
16
16
|
return "일";
|
17
17
|
};
|
18
|
-
if (typeof module !== "undefined") module.exports =
|
18
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,25 +1,25 @@
|
|
1
1
|
/* Lithuanian locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.lt = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.lt.weekdays = {
|
6
6
|
shorthand: ["S", "Pr", "A", "T", "K", "Pn", "Š"],
|
7
7
|
longhand: ["Sekmadienis", "Pirmadienis", "Antradienis", "Trečiadienis", "Ketvirtadienis", "Penktadienis", "Šeštadienis"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.lt.months = {
|
11
11
|
shorthand: ["Sau", "Vas", "Kov", "Bal", "Geg", "Bir", "Lie", "Rgp", "Rgs", "Spl", "Lap", "Grd"],
|
12
12
|
longhand: ["Sausis", "Vasaris", "Kovas", "Balandis", "Gegužė", "Birželis", "Liepa", "Rugpjūtis", "Rugsėjis", "Spalis", "Lapkritis", "Gruodis"]
|
13
13
|
};
|
14
14
|
|
15
|
-
|
15
|
+
flatpickr.l10ns.lt.firstDayOfWeek = 1;
|
16
16
|
|
17
|
-
|
17
|
+
flatpickr.l10ns.lt.ordinal = function () {
|
18
18
|
return "-a";
|
19
19
|
};
|
20
20
|
|
21
|
-
|
22
|
-
|
23
|
-
|
21
|
+
flatpickr.l10ns.lt.weekAbbreviation = "Sav";
|
22
|
+
flatpickr.l10ns.lt.scrollTitle = "Keisti laiką pelės rateliu";
|
23
|
+
flatpickr.l10ns.lt.toggleTitle = "Perjungti laiko formatą";
|
24
24
|
|
25
|
-
if (typeof module !== "undefined") module.exports =
|
25
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,16 +1,16 @@
|
|
1
1
|
/* Latvian locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.lv = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.lv.firstDayOfWeek = 1;
|
6
6
|
|
7
|
-
|
7
|
+
flatpickr.l10ns.lv.weekdays = {
|
8
8
|
shorthand: ["Sv", "P", "Ot", "Tr", "Ce", "Pk", "Se"],
|
9
9
|
longhand: ["Svētdiena", "Pirmdiena", "Otrdiena", "Trešdiena", "Ceturtdiena", "Piektdiena", "Sestdiena"]
|
10
10
|
};
|
11
11
|
|
12
|
-
|
12
|
+
flatpickr.l10ns.lv.months = {
|
13
13
|
shorthand: ["Jan", "Feb", "Mar", "Mai", "Apr", "Jūn", "Jūl", "Aug", "Sep", "Okt", "Nov", "Dec"],
|
14
14
|
longhand: ["Janvāris", "Februāris", "Marts", "Aprīlis", "Maijs", "Jūnijs", "Jūlijs", "Augusts", "Septembris", "Oktobris", "Novembris", "Decembris"]
|
15
15
|
};
|
16
|
-
if (typeof module !== "undefined") module.exports =
|
16
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,19 +1,19 @@
|
|
1
1
|
/* Macedonian locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.mk = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.mk.weekdays = {
|
6
6
|
shorthand: ["Не", "По", "Вт", "Ср", "Че", "Пе", "Са", "Не"],
|
7
7
|
longhand: ["Недела", "Понеделник", "Вторник", "Среда", "Четврток", "Петок", "Сабота", "Недела"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.mk.months = {
|
11
11
|
shorthand: ["Јан", "Фев", "Мар", "Апр", "Мај", "Јун", "Јул", "Авг", "Сеп", "Окт", "Ное", "Дек"],
|
12
12
|
longhand: ["Јануари", "Февруари", "Март", "Април", "Мај", "Јуни", "Јули", "Август", "Септември", "Октомври", "Ноември", "Декември"]
|
13
13
|
};
|
14
14
|
|
15
|
-
|
16
|
-
|
17
|
-
|
15
|
+
flatpickr.l10ns.mk.firstDayOfWeek = 1;
|
16
|
+
flatpickr.l10ns.mk.weekAbbreviation = "Нед.";
|
17
|
+
flatpickr.l10ns.mk.rangeSeparator = " до ";
|
18
18
|
|
19
|
-
if (typeof module !== "undefined") module.exports =
|
19
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|
@@ -1,20 +1,20 @@
|
|
1
1
|
/* Malaysian locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.ms = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.ms.weekdays = {
|
6
6
|
shorthand: ["Min", "Isn", "Sel", "Rab", "Kha", "Jum", "Sab"],
|
7
7
|
longhand: ["Minggu", "Isnin", "Selasa", "Rabu", "Khamis", "Jumaat", "Sabtu"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.ms.months = {
|
11
11
|
shorthand: ["Jan", "Feb", "Mac", "Apr", "Mei", "Jun", "Jul", "Ogo", "Sep", "Okt", "Nov", "Dis"],
|
12
12
|
longhand: ["Januari", "Februari", "Mac", "April", "Mei", "Jun", "Julai", "Ogos", "September", "Oktober", "November", "Disember"]
|
13
13
|
};
|
14
14
|
|
15
|
-
|
15
|
+
flatpickr.l10ns.ms.firstDayOfWeek = 1;
|
16
16
|
|
17
|
-
|
17
|
+
flatpickr.l10ns.ms.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
|
/* Burmese locals for flatpickr */
|
2
|
-
var
|
3
|
-
|
2
|
+
var flatpickr = flatpickr || { l10ns: {} };
|
3
|
+
flatpickr.l10ns.my = {};
|
4
4
|
|
5
|
-
|
5
|
+
flatpickr.l10ns.my.weekdays = {
|
6
6
|
shorthand: ["နွေ", "လာ", "ဂါ", "ဟူး", "ကြာ", "သော", "နေ"],
|
7
7
|
longhand: ["တနင်္ဂနွေ", "တနင်္လာ", "အင်္ဂါ", "ဗုဒ္ဓဟူး", "ကြာသပတေး", "သောကြာ", "စနေ"]
|
8
8
|
};
|
9
9
|
|
10
|
-
|
10
|
+
flatpickr.l10ns.my.months = {
|
11
11
|
shorthand: ["ဇန်", "ဖေ", "မတ်", "ပြီ", "မေ", "ဇွန်", "လိုင်", "သြ", "စက်", "အောက်", "နို", "ဒီ"],
|
12
12
|
longhand: ["ဇန်နဝါရီ", "ဖေဖော်ဝါရီ", "မတ်", "ဧပြီ", "မေ", "ဇွန်", "ဇူလိုင်", "သြဂုတ်", "စက်တင်ဘာ", "အောက်တိုဘာ", "နိုဝင်ဘာ", "ဒီဇင်ဘာ"]
|
13
13
|
};
|
14
14
|
|
15
|
-
|
15
|
+
flatpickr.l10ns.my.firstDayOfWeek = 1;
|
16
16
|
|
17
|
-
|
17
|
+
flatpickr.l10ns.my.ordinal = function () {
|
18
18
|
return "";
|
19
19
|
};
|
20
|
-
if (typeof module !== "undefined") module.exports =
|
20
|
+
if (typeof module !== "undefined") module.exports = flatpickr.l10ns;
|