-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
eo.ts
71 lines (64 loc) · 1.23 KB
/
eo.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/* Esperanto locals for flatpickr */
import { CustomLocale } from "../types/locale";
import { FlatpickrFn } from "../types/instance";
const fp =
typeof window !== "undefined" && window.flatpickr !== undefined
? window.flatpickr
: ({
l10ns: {},
} as FlatpickrFn);
export const Esperanto: CustomLocale = {
firstDayOfWeek: 1,
rangeSeparator: " ĝis ",
weekAbbreviation: "Sem",
scrollTitle: "Rulumu por pligrandigi la valoron",
toggleTitle: "Klaku por ŝalti",
weekdays: {
shorthand: ["Dim", "Lun", "Mar", "Mer", "Ĵaŭ", "Ven", "Sab"],
longhand: [
"dimanĉo",
"lundo",
"mardo",
"merkredo",
"ĵaŭdo",
"vendredo",
"sabato",
],
},
months: {
shorthand: [
"Jan",
"Feb",
"Mar",
"Apr",
"Maj",
"Jun",
"Jul",
"Aŭg",
"Sep",
"Okt",
"Nov",
"Dec",
],
longhand: [
"januaro",
"februaro",
"marto",
"aprilo",
"majo",
"junio",
"julio",
"aŭgusto",
"septembro",
"oktobro",
"novembro",
"decembro",
],
},
ordinal: () => {
return "-a";
},
time_24hr: true,
};
fp.l10ns.eo = Esperanto;
export default fp.l10ns;