esday 0.3.0 → 0.5.0
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.
- package/CHANGELOG.md +8 -0
- package/LICENSE +21 -0
- package/README.md +51 -0
- package/chunks/B5f9poqo.js +120 -0
- package/chunks/BDssPbM_.js +106 -0
- package/chunks/BRRrAbUl.js +56 -0
- package/chunks/BXRGSAJG.js +128 -0
- package/chunks/BeVgU2nj.js +188 -0
- package/chunks/BtmEtAW3.js +43 -0
- package/chunks/CQ57zhVp.js +106 -0
- package/chunks/CQJ0-ZuR.js +106 -0
- package/chunks/CWqzr5E5.js +108 -0
- package/chunks/Cb5SvF6r.js +25 -0
- package/chunks/Cg4ZI9v8.js +180 -0
- package/chunks/CoBtJ4c1.js +144 -0
- package/chunks/D009Z-ld.js +109 -0
- package/chunks/DMtTiWuY.js +127 -0
- package/chunks/DXHbH1CI.js +9 -0
- package/chunks/Dixb5KKs.js +116 -0
- package/chunks/DjY7KvwG.js +28 -0
- package/chunks/DqhiVwLi.d.ts +203 -0
- package/chunks/GjKpN6U-.js +135 -0
- package/chunks/MtjcOKi-.d.ts +6 -0
- package/chunks/St35qgL0.d.ts +103 -0
- package/chunks/Y32qdU_5.js +62 -0
- package/chunks/br7kModF.js +110 -0
- package/chunks/l2Rxo2H0.js +106 -0
- package/chunks/tfkJ5D3p.js +115 -0
- package/index.d.ts +3 -6
- package/index.js +552 -326
- package/locales/af.d.ts +8 -0
- package/locales/af.js +106 -0
- package/locales/am.d.ts +8 -0
- package/locales/am.js +106 -0
- package/locales/ar-dz.d.ts +11 -0
- package/locales/ar-dz.js +32 -0
- package/locales/ar-iq.d.ts +11 -0
- package/locales/ar-iq.js +14 -0
- package/locales/ar-kw.d.ts +11 -0
- package/locales/ar-kw.js +28 -0
- package/locales/ar-ly.d.ts +11 -0
- package/locales/ar-ly.js +14 -0
- package/locales/ar-ma.d.ts +11 -0
- package/locales/ar-ma.js +29 -0
- package/locales/ar-sa.d.ts +11 -0
- package/locales/ar-sa.js +29 -0
- package/locales/ar-tn.d.ts +11 -0
- package/locales/ar-tn.js +29 -0
- package/locales/ar.d.ts +8 -0
- package/locales/ar.js +3 -0
- package/locales/az.d.ts +8 -0
- package/locales/az.js +106 -0
- package/locales/be.d.ts +8 -0
- package/locales/be.js +140 -0
- package/locales/bg.d.ts +8 -0
- package/locales/bg.js +125 -0
- package/locales/bi.d.ts +8 -0
- package/locales/bi.js +106 -0
- package/locales/bm.d.ts +8 -0
- package/locales/bm.js +106 -0
- package/locales/bn-bd.d.ts +11 -0
- package/locales/bn-bd.js +24 -0
- package/locales/bn.d.ts +8 -0
- package/locales/bn.js +3 -0
- package/locales/bo.d.ts +8 -0
- package/locales/bo.js +106 -0
- package/locales/br.d.ts +8 -0
- package/locales/br.js +179 -0
- package/locales/bs.d.ts +8 -0
- package/locales/bs.js +128 -0
- package/locales/ca.d.ts +8 -0
- package/locales/ca.js +143 -0
- package/locales/cs.d.ts +8 -0
- package/locales/cs.js +182 -0
- package/locales/cv.d.ts +8 -0
- package/locales/cv.js +106 -0
- package/locales/cy.d.ts +8 -0
- package/locales/cy.js +106 -0
- package/locales/da.d.ts +8 -0
- package/locales/da.js +106 -0
- package/locales/de-at.d.ts +11 -0
- package/locales/de-at.js +44 -0
- package/locales/de-ch.d.ts +11 -0
- package/locales/de-ch.js +14 -0
- package/locales/de.d.ts +8 -0
- package/locales/de.js +3 -0
- package/locales/dv.d.ts +8 -0
- package/locales/dv.js +106 -0
- package/locales/el.d.ts +8 -0
- package/locales/el.js +115 -0
- package/locales/en-au.d.ts +11 -0
- package/locales/en-au.js +27 -0
- package/locales/en-ca.d.ts +11 -0
- package/locales/en-ca.js +27 -0
- package/locales/en-gb.d.ts +13 -0
- package/locales/en-gb.js +28 -0
- package/locales/en-ie.d.ts +11 -0
- package/locales/en-ie.js +26 -0
- package/locales/en-il.d.ts +11 -0
- package/locales/en-il.js +28 -0
- package/locales/en-in.d.ts +11 -0
- package/locales/en-in.js +26 -0
- package/locales/en-nz.d.ts +11 -0
- package/locales/en-nz.js +28 -0
- package/locales/en-sg.d.ts +11 -0
- package/locales/en-sg.js +28 -0
- package/locales/en-tt.d.ts +11 -0
- package/locales/en-tt.js +28 -0
- package/locales/en-us.d.ts +11 -0
- package/locales/en-us.js +13 -0
- package/locales/en.d.ts +8 -0
- package/locales/en.js +3 -0
- package/locales/eo.d.ts +8 -0
- package/locales/eo.js +106 -0
- package/locales/es-do.d.ts +11 -0
- package/locales/es-do.js +27 -0
- package/locales/es-mx.d.ts +11 -0
- package/locales/es-mx.js +15 -0
- package/locales/es-pr.d.ts +11 -0
- package/locales/es-pr.js +18 -0
- package/locales/es-us.d.ts +11 -0
- package/locales/es-us.js +14 -0
- package/locales/es.d.ts +8 -0
- package/locales/es.js +3 -0
- package/locales/et.d.ts +8 -0
- package/locales/et.js +142 -0
- package/locales/eu.d.ts +8 -0
- package/locales/eu.js +106 -0
- package/locales/fa.d.ts +8 -0
- package/locales/fa.js +106 -0
- package/locales/fi.d.ts +8 -0
- package/locales/fi.js +165 -0
- package/locales/fil.d.ts +8 -0
- package/locales/fil.js +106 -0
- package/locales/fo.d.ts +8 -0
- package/locales/fo.js +106 -0
- package/locales/fr-ca.d.ts +11 -0
- package/locales/fr-ca.js +18 -0
- package/locales/fr-ch.d.ts +11 -0
- package/locales/fr-ch.js +18 -0
- package/locales/fr.d.ts +8 -0
- package/locales/fr.js +3 -0
- package/locales/fy.d.ts +8 -0
- package/locales/fy.js +106 -0
- package/locales/ga.d.ts +8 -0
- package/locales/ga.js +106 -0
- package/locales/gd.d.ts +8 -0
- package/locales/gd.js +106 -0
- package/locales/gl.d.ts +8 -0
- package/locales/gl.js +116 -0
- package/locales/gom-deva.d.ts +8 -0
- package/locales/gom-deva.js +146 -0
- package/locales/gom-latn.d.ts +8 -0
- package/locales/gom-latn.js +146 -0
- package/locales/gu.d.ts +8 -0
- package/locales/gu.js +106 -0
- package/locales/he.d.ts +8 -0
- package/locales/he.js +129 -0
- package/locales/hi.d.ts +8 -0
- package/locales/hi.js +125 -0
- package/locales/hr.d.ts +8 -0
- package/locales/hr.js +189 -0
- package/locales/ht.d.ts +8 -0
- package/locales/ht.js +106 -0
- package/locales/hu.d.ts +8 -0
- package/locales/hu.js +140 -0
- package/locales/hy-am.d.ts +8 -0
- package/locales/hy-am.js +127 -0
- package/locales/id.d.ts +8 -0
- package/locales/id.js +106 -0
- package/locales/is.d.ts +8 -0
- package/locales/is.js +155 -0
- package/locales/it-ch.d.ts +11 -0
- package/locales/it-ch.js +32 -0
- package/locales/it.d.ts +8 -0
- package/locales/it.js +3 -0
- package/locales/ja.d.ts +15 -0
- package/locales/ja.js +109 -0
- package/locales/jv.d.ts +8 -0
- package/locales/jv.js +106 -0
- package/locales/ka.d.ts +8 -0
- package/locales/ka.js +126 -0
- package/locales/kk.d.ts +8 -0
- package/locales/kk.js +106 -0
- package/locales/km.d.ts +8 -0
- package/locales/km.js +106 -0
- package/locales/kn.d.ts +8 -0
- package/locales/kn.js +106 -0
- package/locales/ko.d.ts +8 -0
- package/locales/ko.js +105 -0
- package/locales/ku.d.ts +8 -0
- package/locales/ku.js +119 -0
- package/locales/ky.d.ts +8 -0
- package/locales/ky.js +106 -0
- package/locales/lb.d.ts +8 -0
- package/locales/lb.js +166 -0
- package/locales/lo.d.ts +8 -0
- package/locales/lo.js +105 -0
- package/locales/lt.d.ts +8 -0
- package/locales/lt.js +106 -0
- package/locales/lv.d.ts +8 -0
- package/locales/lv.js +106 -0
- package/locales/me.d.ts +8 -0
- package/locales/me.js +129 -0
- package/locales/mi.d.ts +8 -0
- package/locales/mi.js +106 -0
- package/locales/mk.d.ts +8 -0
- package/locales/mk.js +117 -0
- package/locales/ml.d.ts +8 -0
- package/locales/ml.js +109 -0
- package/locales/mn.d.ts +8 -0
- package/locales/mn.js +106 -0
- package/locales/mr.d.ts +8 -0
- package/locales/mr.js +215 -0
- package/locales/ms-my.d.ts +11 -0
- package/locales/ms-my.js +14 -0
- package/locales/ms.d.ts +8 -0
- package/locales/ms.js +3 -0
- package/locales/mt.d.ts +8 -0
- package/locales/mt.js +106 -0
- package/locales/my.d.ts +8 -0
- package/locales/my.js +132 -0
- package/locales/nb.d.ts +8 -0
- package/locales/nb.js +106 -0
- package/locales/ne.d.ts +8 -0
- package/locales/ne.js +106 -0
- package/locales/nl-be.d.ts +11 -0
- package/locales/nl-be.js +18 -0
- package/locales/nl.d.ts +8 -0
- package/locales/nl.js +3 -0
- package/locales/nn.d.ts +8 -0
- package/locales/nn.js +106 -0
- package/locales/oc-lnc.d.ts +8 -0
- package/locales/oc-lnc.js +126 -0
- package/locales/pa-in.d.ts +8 -0
- package/locales/pa-in.js +123 -0
- package/locales/pl.d.ts +8 -0
- package/locales/pl.js +159 -0
- package/locales/pt-br.d.ts +11 -0
- package/locales/pt-br.js +53 -0
- package/locales/pt.d.ts +8 -0
- package/locales/pt.js +3 -0
- package/locales/rn.d.ts +8 -0
- package/locales/rn.js +106 -0
- package/locales/ro.d.ts +8 -0
- package/locales/ro.js +106 -0
- package/locales/ru.d.ts +15 -0
- package/locales/ru.js +236 -0
- package/locales/rw.d.ts +8 -0
- package/locales/rw.js +106 -0
- package/locales/sd.d.ts +8 -0
- package/locales/sd.js +106 -0
- package/locales/se.d.ts +8 -0
- package/locales/se.js +106 -0
- package/locales/si.d.ts +8 -0
- package/locales/si.js +106 -0
- package/locales/sk.d.ts +8 -0
- package/locales/sk.js +162 -0
- package/locales/sl.d.ts +8 -0
- package/locales/sl.js +171 -0
- package/locales/sq.d.ts +8 -0
- package/locales/sq.js +106 -0
- package/locales/sr-cyrl.d.ts +11 -0
- package/locales/sr-cyrl.js +173 -0
- package/locales/sr.d.ts +8 -0
- package/locales/sr.js +3 -0
- package/locales/ss.d.ts +8 -0
- package/locales/ss.js +108 -0
- package/locales/sv-fi.d.ts +11 -0
- package/locales/sv-fi.js +27 -0
- package/locales/sv.d.ts +8 -0
- package/locales/sv.js +3 -0
- package/locales/sw.d.ts +8 -0
- package/locales/sw.js +106 -0
- package/locales/ta.d.ts +8 -0
- package/locales/ta.js +137 -0
- package/locales/te.d.ts +8 -0
- package/locales/te.js +109 -0
- package/locales/tet.d.ts +8 -0
- package/locales/tet.js +110 -0
- package/locales/tg.d.ts +8 -0
- package/locales/tg.js +128 -0
- package/locales/th.d.ts +8 -0
- package/locales/th.js +106 -0
- package/locales/tk.d.ts +8 -0
- package/locales/tk.js +134 -0
- package/locales/tl-ph.d.ts +8 -0
- package/locales/tl-ph.js +106 -0
- package/locales/tlh.d.ts +8 -0
- package/locales/tlh.js +152 -0
- package/locales/tr.d.ts +8 -0
- package/locales/tr.js +134 -0
- package/locales/tzl.d.ts +8 -0
- package/locales/tzl.js +123 -0
- package/locales/tzm-latn.d.ts +11 -0
- package/locales/tzm-latn.js +68 -0
- package/locales/tzm.d.ts +8 -0
- package/locales/tzm.js +3 -0
- package/locales/ug-cn.d.ts +8 -0
- package/locales/ug-cn.js +111 -0
- package/locales/uk.d.ts +8 -0
- package/locales/uk.js +194 -0
- package/locales/ur.d.ts +8 -0
- package/locales/ur.js +108 -0
- package/locales/uz-latn.d.ts +11 -0
- package/locales/uz-latn.js +68 -0
- package/locales/uz.d.ts +8 -0
- package/locales/uz.js +3 -0
- package/locales/vi.d.ts +8 -0
- package/locales/vi.js +106 -0
- package/locales/x-pseudo.d.ts +8 -0
- package/locales/x-pseudo.js +110 -0
- package/locales/yo.d.ts +8 -0
- package/locales/yo.js +106 -0
- package/locales/zh-cn.d.ts +11 -0
- package/locales/zh-cn.js +14 -0
- package/locales/zh-hk.d.ts +11 -0
- package/locales/zh-hk.js +23 -0
- package/locales/zh-mo.d.ts +11 -0
- package/locales/zh-mo.js +23 -0
- package/locales/zh-tw.d.ts +11 -0
- package/locales/zh-tw.js +23 -0
- package/locales/zh.d.ts +15 -0
- package/locales/zh.js +3 -0
- package/package.json +79 -21
- package/plugins/advancedFormat/index.d.ts +8 -0
- package/plugins/advancedFormat/index.js +20 -0
- package/plugins/advancedParse/index.d.ts +8 -0
- package/plugins/advancedParse/index.js +406 -0
- package/plugins/calendar/index.d.ts +14 -0
- package/plugins/calendar/index.js +33 -0
- package/plugins/dayOfYear/index.d.ts +13 -0
- package/plugins/dayOfYear/index.js +12 -0
- package/plugins/isBetween/index.d.ts +23 -0
- package/plugins/isBetween/index.js +16 -0
- package/plugins/isLeapYear/index.d.ts +12 -0
- package/plugins/isLeapYear/index.js +11 -0
- package/plugins/isSameOrAfter/index.d.ts +12 -0
- package/plugins/isSameOrAfter/index.js +10 -0
- package/plugins/isSameOrBefore/index.d.ts +12 -0
- package/plugins/isSameOrBefore/index.js +10 -0
- package/plugins/isToday/index.d.ts +8 -6
- package/plugins/isToday/index.js +10 -6
- package/plugins/isTomorrow/index.d.ts +12 -0
- package/plugins/isTomorrow/index.js +14 -0
- package/plugins/isYesterday/index.d.ts +12 -0
- package/plugins/isYesterday/index.js +14 -0
- package/plugins/isoWeek/index.d.ts +21 -0
- package/plugins/isoWeek/index.js +240 -0
- package/plugins/locale/index.d.ts +4 -0
- package/plugins/locale/index.js +7 -0
- package/plugins/localeData/index.d.ts +8 -0
- package/plugins/localeData/index.js +148 -0
- package/plugins/localizedFormat/index.d.ts +8 -0
- package/plugins/localizedFormat/index.js +88 -0
- package/plugins/localizedParse/index.d.ts +8 -0
- package/plugins/localizedParse/index.js +199 -0
- package/plugins/minMax/index.d.ts +13 -0
- package/plugins/minMax/index.js +22 -0
- package/plugins/objectSupport/index.d.ts +8 -0
- package/plugins/objectSupport/index.js +104 -0
- package/plugins/pluralGetSet/index.d.ts +20 -0
- package/plugins/pluralGetSet/index.js +16 -0
- package/plugins/quarterOfYear/index.d.ts +16 -0
- package/plugins/quarterOfYear/index.js +58 -0
- package/plugins/relativeTime/index.d.ts +59 -0
- package/plugins/relativeTime/index.js +154 -0
- package/plugins/toArray/index.d.ts +12 -0
- package/plugins/toArray/index.js +18 -0
- package/plugins/toObject/index.d.ts +20 -0
- package/plugins/toObject/index.js +18 -0
- package/plugins/utc/index.d.ts +19 -0
- package/plugins/utc/index.js +194 -0
- package/plugins/week/index.d.ts +21 -0
- package/plugins/week/index.js +360 -0
- package/EsDay-CKy0jEj2.d.ts +0 -68
- package/plugins/customParseFormat/index.d.ts +0 -5
- package/plugins/customParseFormat/index.js +0 -159
package/locales/et.d.ts
ADDED
package/locales/et.js
ADDED
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
//#region src/locales/et.ts
|
|
2
|
+
const relativeTimeFormatter = (timeValue, withoutSuffix, token, isFuture) => {
|
|
3
|
+
const timeValueAsString = `${timeValue}`;
|
|
4
|
+
const format = {
|
|
5
|
+
s: [
|
|
6
|
+
"mõne sekundi",
|
|
7
|
+
"mõni sekund",
|
|
8
|
+
"paar sekundit"
|
|
9
|
+
],
|
|
10
|
+
ss: ["%d sekundi", "%d sekundit"],
|
|
11
|
+
m: ["ühe minuti", "üks minut"],
|
|
12
|
+
mm: ["%d minuti", "%d minutit"],
|
|
13
|
+
h: [
|
|
14
|
+
"ühe tunni",
|
|
15
|
+
"tund aega",
|
|
16
|
+
"üks tund"
|
|
17
|
+
],
|
|
18
|
+
hh: ["%d tunni", "%d tundi"],
|
|
19
|
+
d: ["ühe päeva", "üks päev"],
|
|
20
|
+
dd: ["%d päeva", "%d päeva"],
|
|
21
|
+
M: [
|
|
22
|
+
"kuu aja",
|
|
23
|
+
"kuu aega",
|
|
24
|
+
"üks kuu"
|
|
25
|
+
],
|
|
26
|
+
MM: ["%d kuu", "%d kuud"],
|
|
27
|
+
y: [
|
|
28
|
+
"ühe aasta",
|
|
29
|
+
"aasta",
|
|
30
|
+
"üks aasta"
|
|
31
|
+
],
|
|
32
|
+
yy: ["%d aasta", "%d aastat"]
|
|
33
|
+
};
|
|
34
|
+
if (token === "dd") return format[token][0].replace("%d", timeValueAsString);
|
|
35
|
+
if (withoutSuffix) return (format[token][2] ? format[token][2] : format[token][1]).replace("%d", timeValueAsString);
|
|
36
|
+
return (isFuture ? format[token][0] : format[token][1]).replace("%d", timeValueAsString);
|
|
37
|
+
};
|
|
38
|
+
const localeEt = {
|
|
39
|
+
name: "et",
|
|
40
|
+
weekdays: [
|
|
41
|
+
"pühapäev",
|
|
42
|
+
"esmaspäev",
|
|
43
|
+
"teisipäev",
|
|
44
|
+
"kolmapäev",
|
|
45
|
+
"neljapäev",
|
|
46
|
+
"reede",
|
|
47
|
+
"laupäev"
|
|
48
|
+
],
|
|
49
|
+
weekdaysShort: [
|
|
50
|
+
"P",
|
|
51
|
+
"E",
|
|
52
|
+
"T",
|
|
53
|
+
"K",
|
|
54
|
+
"N",
|
|
55
|
+
"R",
|
|
56
|
+
"L"
|
|
57
|
+
],
|
|
58
|
+
weekdaysMin: [
|
|
59
|
+
"P",
|
|
60
|
+
"E",
|
|
61
|
+
"T",
|
|
62
|
+
"K",
|
|
63
|
+
"N",
|
|
64
|
+
"R",
|
|
65
|
+
"L"
|
|
66
|
+
],
|
|
67
|
+
months: [
|
|
68
|
+
"jaanuar",
|
|
69
|
+
"veebruar",
|
|
70
|
+
"märts",
|
|
71
|
+
"aprill",
|
|
72
|
+
"mai",
|
|
73
|
+
"juuni",
|
|
74
|
+
"juuli",
|
|
75
|
+
"august",
|
|
76
|
+
"september",
|
|
77
|
+
"oktoober",
|
|
78
|
+
"november",
|
|
79
|
+
"detsember"
|
|
80
|
+
],
|
|
81
|
+
monthsShort: [
|
|
82
|
+
"jaan",
|
|
83
|
+
"veebr",
|
|
84
|
+
"märts",
|
|
85
|
+
"apr",
|
|
86
|
+
"mai",
|
|
87
|
+
"juuni",
|
|
88
|
+
"juuli",
|
|
89
|
+
"aug",
|
|
90
|
+
"sept",
|
|
91
|
+
"okt",
|
|
92
|
+
"nov",
|
|
93
|
+
"dets"
|
|
94
|
+
],
|
|
95
|
+
ordinal: (n) => `${n}.`,
|
|
96
|
+
weekStart: 1,
|
|
97
|
+
yearStart: 4,
|
|
98
|
+
formats: {
|
|
99
|
+
LT: "H:mm",
|
|
100
|
+
LTS: "H:mm:ss",
|
|
101
|
+
L: "DD.MM.YYYY",
|
|
102
|
+
LL: "D. MMMM YYYY",
|
|
103
|
+
LLL: "D. MMMM YYYY H:mm",
|
|
104
|
+
LLLL: "dddd, D. MMMM YYYY H:mm",
|
|
105
|
+
l: "DD.MM.YYYY",
|
|
106
|
+
ll: "D. MMMM YYYY",
|
|
107
|
+
lll: "D. MMMM YYYY H:mm",
|
|
108
|
+
llll: "dddd, D. MMMM YYYY H:mm"
|
|
109
|
+
},
|
|
110
|
+
calendar: {
|
|
111
|
+
sameDay: "[Täna,] LT",
|
|
112
|
+
nextDay: "[Homme,] LT",
|
|
113
|
+
nextWeek: "[Järgmine] dddd LT",
|
|
114
|
+
lastDay: "[Eile,] LT",
|
|
115
|
+
lastWeek: "[Eelmine] dddd LT",
|
|
116
|
+
sameElse: "L"
|
|
117
|
+
},
|
|
118
|
+
relativeTime: {
|
|
119
|
+
future: "%s pärast",
|
|
120
|
+
past: "%s tagasi",
|
|
121
|
+
s: relativeTimeFormatter,
|
|
122
|
+
ss: relativeTimeFormatter,
|
|
123
|
+
m: relativeTimeFormatter,
|
|
124
|
+
mm: relativeTimeFormatter,
|
|
125
|
+
h: relativeTimeFormatter,
|
|
126
|
+
hh: relativeTimeFormatter,
|
|
127
|
+
d: relativeTimeFormatter,
|
|
128
|
+
dd: relativeTimeFormatter,
|
|
129
|
+
M: relativeTimeFormatter,
|
|
130
|
+
MM: relativeTimeFormatter,
|
|
131
|
+
y: relativeTimeFormatter,
|
|
132
|
+
yy: relativeTimeFormatter
|
|
133
|
+
},
|
|
134
|
+
meridiem: (hour, _minute, isLowercase) => {
|
|
135
|
+
const m = hour < 12 ? "AM" : "PM";
|
|
136
|
+
return isLowercase ? m.toLowerCase() : m;
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
var et_default = localeEt;
|
|
140
|
+
|
|
141
|
+
//#endregion
|
|
142
|
+
export { et_default as default };
|
package/locales/eu.d.ts
ADDED
package/locales/eu.js
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
//#region src/locales/eu.ts
|
|
2
|
+
const localeEu = {
|
|
3
|
+
name: "eu",
|
|
4
|
+
weekdays: [
|
|
5
|
+
"igandea",
|
|
6
|
+
"astelehena",
|
|
7
|
+
"asteartea",
|
|
8
|
+
"asteazkena",
|
|
9
|
+
"osteguna",
|
|
10
|
+
"ostirala",
|
|
11
|
+
"larunbata"
|
|
12
|
+
],
|
|
13
|
+
weekdaysShort: [
|
|
14
|
+
"ig.",
|
|
15
|
+
"al.",
|
|
16
|
+
"ar.",
|
|
17
|
+
"az.",
|
|
18
|
+
"og.",
|
|
19
|
+
"ol.",
|
|
20
|
+
"lr."
|
|
21
|
+
],
|
|
22
|
+
weekdaysMin: [
|
|
23
|
+
"ig",
|
|
24
|
+
"al",
|
|
25
|
+
"ar",
|
|
26
|
+
"az",
|
|
27
|
+
"og",
|
|
28
|
+
"ol",
|
|
29
|
+
"lr"
|
|
30
|
+
],
|
|
31
|
+
months: [
|
|
32
|
+
"urtarrila",
|
|
33
|
+
"otsaila",
|
|
34
|
+
"martxoa",
|
|
35
|
+
"apirila",
|
|
36
|
+
"maiatza",
|
|
37
|
+
"ekaina",
|
|
38
|
+
"uztaila",
|
|
39
|
+
"abuztua",
|
|
40
|
+
"iraila",
|
|
41
|
+
"urria",
|
|
42
|
+
"azaroa",
|
|
43
|
+
"abendua"
|
|
44
|
+
],
|
|
45
|
+
monthsShort: [
|
|
46
|
+
"urt.",
|
|
47
|
+
"ots.",
|
|
48
|
+
"mar.",
|
|
49
|
+
"api.",
|
|
50
|
+
"mai.",
|
|
51
|
+
"eka.",
|
|
52
|
+
"uzt.",
|
|
53
|
+
"abu.",
|
|
54
|
+
"ira.",
|
|
55
|
+
"urr.",
|
|
56
|
+
"aza.",
|
|
57
|
+
"abe."
|
|
58
|
+
],
|
|
59
|
+
weekStart: 1,
|
|
60
|
+
yearStart: 4,
|
|
61
|
+
ordinal: (n) => `${n}`,
|
|
62
|
+
formats: {
|
|
63
|
+
LT: "HH:mm",
|
|
64
|
+
LTS: "HH:mm:ss",
|
|
65
|
+
L: "YYYY-MM-DD",
|
|
66
|
+
LL: "YYYY[ko] MMMM[ren] D[a]",
|
|
67
|
+
LLL: "YYYY[ko] MMMM[ren] D[a] HH:mm",
|
|
68
|
+
LLLL: "dddd, YYYY[ko] MMMM[ren] D[a] HH:mm",
|
|
69
|
+
l: "YYYY-M-D",
|
|
70
|
+
ll: "YYYY[ko] MMM D[a]",
|
|
71
|
+
lll: "YYYY[ko] MMM D[a] HH:mm",
|
|
72
|
+
llll: "ddd, YYYY[ko] MMM D[a] HH:mm"
|
|
73
|
+
},
|
|
74
|
+
calendar: {
|
|
75
|
+
sameDay: "[gaur] LT[etan]",
|
|
76
|
+
nextDay: "[bihar] LT[etan]",
|
|
77
|
+
nextWeek: "dddd LT[etan]",
|
|
78
|
+
lastDay: "[atzo] LT[etan]",
|
|
79
|
+
lastWeek: "[aurreko] dddd LT[etan]",
|
|
80
|
+
sameElse: "L"
|
|
81
|
+
},
|
|
82
|
+
relativeTime: {
|
|
83
|
+
future: "%s barru",
|
|
84
|
+
past: "duela %s",
|
|
85
|
+
s: "segundo batzuk",
|
|
86
|
+
ss: "%d segundo",
|
|
87
|
+
m: "minutu bat",
|
|
88
|
+
mm: "%d minutu",
|
|
89
|
+
h: "ordu bat",
|
|
90
|
+
hh: "%d ordu",
|
|
91
|
+
d: "egun bat",
|
|
92
|
+
dd: "%d egun",
|
|
93
|
+
M: "hilabete bat",
|
|
94
|
+
MM: "%d hilabete",
|
|
95
|
+
y: "urte bat",
|
|
96
|
+
yy: "%d urte"
|
|
97
|
+
},
|
|
98
|
+
meridiem: (hour, _minute, isLowercase) => {
|
|
99
|
+
const m = hour < 12 ? "AM" : "PM";
|
|
100
|
+
return isLowercase ? m.toLowerCase() : m;
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
var eu_default = localeEu;
|
|
104
|
+
|
|
105
|
+
//#endregion
|
|
106
|
+
export { eu_default as default };
|
package/locales/fa.d.ts
ADDED
package/locales/fa.js
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
//#region src/locales/fa.ts
|
|
2
|
+
const locale = {
|
|
3
|
+
name: "fa",
|
|
4
|
+
weekdays: [
|
|
5
|
+
"یکشنبه",
|
|
6
|
+
"دوشنبه",
|
|
7
|
+
"سهشنبه",
|
|
8
|
+
"چهارشنبه",
|
|
9
|
+
"پنجشنبه",
|
|
10
|
+
"جمعه",
|
|
11
|
+
"شنبه"
|
|
12
|
+
],
|
|
13
|
+
weekdaysShort: [
|
|
14
|
+
"یکشنبه",
|
|
15
|
+
"دوشنبه",
|
|
16
|
+
"سهشنبه",
|
|
17
|
+
"چهارشنبه",
|
|
18
|
+
"پنجشنبه",
|
|
19
|
+
"جمعه",
|
|
20
|
+
"شنبه"
|
|
21
|
+
],
|
|
22
|
+
weekdaysMin: [
|
|
23
|
+
"ی",
|
|
24
|
+
"د",
|
|
25
|
+
"س",
|
|
26
|
+
"چ",
|
|
27
|
+
"پ",
|
|
28
|
+
"ج",
|
|
29
|
+
"ش"
|
|
30
|
+
],
|
|
31
|
+
months: [
|
|
32
|
+
"ژانویه",
|
|
33
|
+
"فوریه",
|
|
34
|
+
"مارس",
|
|
35
|
+
"آوریل",
|
|
36
|
+
"مه",
|
|
37
|
+
"ژوئن",
|
|
38
|
+
"ژوئیه",
|
|
39
|
+
"اوت",
|
|
40
|
+
"سپتامبر",
|
|
41
|
+
"اکتبر",
|
|
42
|
+
"نوامبر",
|
|
43
|
+
"دسامبر"
|
|
44
|
+
],
|
|
45
|
+
monthsShort: [
|
|
46
|
+
"ژانویه",
|
|
47
|
+
"فوریه",
|
|
48
|
+
"مارس",
|
|
49
|
+
"آوریل",
|
|
50
|
+
"مه",
|
|
51
|
+
"ژوئن",
|
|
52
|
+
"ژوئیه",
|
|
53
|
+
"اوت",
|
|
54
|
+
"سپتامبر",
|
|
55
|
+
"اکتبر",
|
|
56
|
+
"نوامبر",
|
|
57
|
+
"دسامبر"
|
|
58
|
+
],
|
|
59
|
+
ordinal: (n) => `${n}`,
|
|
60
|
+
weekStart: 6,
|
|
61
|
+
yearStart: 4,
|
|
62
|
+
formats: {
|
|
63
|
+
LT: "HH:mm",
|
|
64
|
+
LTS: "HH:mm:ss",
|
|
65
|
+
L: "DD/MM/YYYY",
|
|
66
|
+
LL: "D MMMM YYYY",
|
|
67
|
+
LLL: "D MMMM YYYY HH:mm",
|
|
68
|
+
LLLL: "dddd, D MMMM YYYY HH:mm",
|
|
69
|
+
l: "DD/MM/YYYY",
|
|
70
|
+
ll: "D MMMM YYYY",
|
|
71
|
+
lll: "D MMMM YYYY HH:mm",
|
|
72
|
+
llll: "dddd, D MMMM YYYY HH:mm"
|
|
73
|
+
},
|
|
74
|
+
calendar: {
|
|
75
|
+
sameDay: "[امروز ساعت] LT",
|
|
76
|
+
nextDay: "[فردا ساعت] LT",
|
|
77
|
+
nextWeek: "dddd [ساعت] LT",
|
|
78
|
+
lastDay: "[دیروز ساعت] LT",
|
|
79
|
+
lastWeek: "dddd [پیش] [ساعت] LT",
|
|
80
|
+
sameElse: "L"
|
|
81
|
+
},
|
|
82
|
+
relativeTime: {
|
|
83
|
+
future: "در %s",
|
|
84
|
+
past: "%s پیش",
|
|
85
|
+
s: "چند ثانیه",
|
|
86
|
+
ss: "%d ثانیه",
|
|
87
|
+
m: "یک دقیقه",
|
|
88
|
+
mm: "%d دقیقه",
|
|
89
|
+
h: "یک ساعت",
|
|
90
|
+
hh: "%d ساعت",
|
|
91
|
+
d: "یک روز",
|
|
92
|
+
dd: "%d روز",
|
|
93
|
+
M: "یک ماه",
|
|
94
|
+
MM: "%d ماه",
|
|
95
|
+
y: "یک سال",
|
|
96
|
+
yy: "%d سال"
|
|
97
|
+
},
|
|
98
|
+
meridiem: (hour, _minute, isLowercase) => {
|
|
99
|
+
const m = hour < 12 ? "AM" : "PM";
|
|
100
|
+
return isLowercase ? m.toLowerCase() : m;
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
var fa_default = locale;
|
|
104
|
+
|
|
105
|
+
//#endregion
|
|
106
|
+
export { fa_default as default };
|
package/locales/fi.d.ts
ADDED
package/locales/fi.js
ADDED
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
//#region src/locales/fi.ts
|
|
2
|
+
const relativeTimeFormatter = (timeValue, withoutSuffix, token, isFuture) => {
|
|
3
|
+
const pastWords = {
|
|
4
|
+
s: "muutama sekunti",
|
|
5
|
+
ss: "%d sekuntia",
|
|
6
|
+
m: "minuutti",
|
|
7
|
+
mm: "%d minuuttia",
|
|
8
|
+
h: "tunti",
|
|
9
|
+
hh: "%d tuntia",
|
|
10
|
+
d: "päivä",
|
|
11
|
+
dd: "%d päivää",
|
|
12
|
+
M: "kuukausi",
|
|
13
|
+
MM: "%d kuukautta",
|
|
14
|
+
y: "vuosi",
|
|
15
|
+
yy: "%d vuotta"
|
|
16
|
+
};
|
|
17
|
+
const pastNumbers = [
|
|
18
|
+
"nolla",
|
|
19
|
+
"yksi",
|
|
20
|
+
"kaksi",
|
|
21
|
+
"kolme",
|
|
22
|
+
"neljä",
|
|
23
|
+
"viisi",
|
|
24
|
+
"kuusi",
|
|
25
|
+
"seitsemän",
|
|
26
|
+
"kahdeksan",
|
|
27
|
+
"yhdeksän"
|
|
28
|
+
];
|
|
29
|
+
const futureWords = {
|
|
30
|
+
s: "muutaman sekunnin",
|
|
31
|
+
ss: "%d sekunnin",
|
|
32
|
+
m: "minuutin",
|
|
33
|
+
mm: "%d minuutin",
|
|
34
|
+
h: "tunnin",
|
|
35
|
+
hh: "%d tunnin",
|
|
36
|
+
d: "päivän",
|
|
37
|
+
dd: "%d päivän",
|
|
38
|
+
M: "kuukauden",
|
|
39
|
+
MM: "%d kuukauden",
|
|
40
|
+
y: "vuoden",
|
|
41
|
+
yy: "%d vuoden"
|
|
42
|
+
};
|
|
43
|
+
const futureNumbers = [
|
|
44
|
+
"nollan",
|
|
45
|
+
"yhden",
|
|
46
|
+
"kahden",
|
|
47
|
+
"kolmen",
|
|
48
|
+
"neljän",
|
|
49
|
+
"viiden",
|
|
50
|
+
"kuuden",
|
|
51
|
+
"seitsemän",
|
|
52
|
+
"kahdeksan",
|
|
53
|
+
"yhdeksän"
|
|
54
|
+
];
|
|
55
|
+
const words = isFuture && !withoutSuffix ? futureWords : pastWords;
|
|
56
|
+
const numbers = isFuture && !withoutSuffix ? futureNumbers : pastNumbers;
|
|
57
|
+
const result = words[token];
|
|
58
|
+
if (+timeValue < 10) return result.replace("%d", numbers[+timeValue]);
|
|
59
|
+
return result.replace("%d", timeValue.toString());
|
|
60
|
+
};
|
|
61
|
+
const localeFi = {
|
|
62
|
+
name: "fi",
|
|
63
|
+
weekdays: [
|
|
64
|
+
"sunnuntai",
|
|
65
|
+
"maanantai",
|
|
66
|
+
"tiistai",
|
|
67
|
+
"keskiviikko",
|
|
68
|
+
"torstai",
|
|
69
|
+
"perjantai",
|
|
70
|
+
"lauantai"
|
|
71
|
+
],
|
|
72
|
+
weekdaysShort: [
|
|
73
|
+
"su",
|
|
74
|
+
"ma",
|
|
75
|
+
"ti",
|
|
76
|
+
"ke",
|
|
77
|
+
"to",
|
|
78
|
+
"pe",
|
|
79
|
+
"la"
|
|
80
|
+
],
|
|
81
|
+
weekdaysMin: [
|
|
82
|
+
"su",
|
|
83
|
+
"ma",
|
|
84
|
+
"ti",
|
|
85
|
+
"ke",
|
|
86
|
+
"to",
|
|
87
|
+
"pe",
|
|
88
|
+
"la"
|
|
89
|
+
],
|
|
90
|
+
months: [
|
|
91
|
+
"tammikuu",
|
|
92
|
+
"helmikuu",
|
|
93
|
+
"maaliskuu",
|
|
94
|
+
"huhtikuu",
|
|
95
|
+
"toukokuu",
|
|
96
|
+
"kesäkuu",
|
|
97
|
+
"heinäkuu",
|
|
98
|
+
"elokuu",
|
|
99
|
+
"syyskuu",
|
|
100
|
+
"lokakuu",
|
|
101
|
+
"marraskuu",
|
|
102
|
+
"joulukuu"
|
|
103
|
+
],
|
|
104
|
+
monthsShort: [
|
|
105
|
+
"tammi",
|
|
106
|
+
"helmi",
|
|
107
|
+
"maalis",
|
|
108
|
+
"huhti",
|
|
109
|
+
"touko",
|
|
110
|
+
"kesä",
|
|
111
|
+
"heinä",
|
|
112
|
+
"elo",
|
|
113
|
+
"syys",
|
|
114
|
+
"loka",
|
|
115
|
+
"marras",
|
|
116
|
+
"joulu"
|
|
117
|
+
],
|
|
118
|
+
ordinal: (n) => `${n}.`,
|
|
119
|
+
weekStart: 1,
|
|
120
|
+
yearStart: 4,
|
|
121
|
+
formats: {
|
|
122
|
+
LT: "HH.mm",
|
|
123
|
+
LTS: "HH.mm.ss",
|
|
124
|
+
L: "DD.MM.YYYY",
|
|
125
|
+
LL: "D. MMMM[ta] YYYY",
|
|
126
|
+
LLL: "D. MMMM[ta] YYYY, [klo] HH.mm",
|
|
127
|
+
LLLL: "dddd, D. MMMM[ta] YYYY, [klo] HH.mm",
|
|
128
|
+
l: "D.M.YYYY",
|
|
129
|
+
ll: "D. MMM YYYY",
|
|
130
|
+
lll: "D. MMM YYYY, [klo] HH.mm",
|
|
131
|
+
llll: "ddd, D. MMM YYYY, [klo] HH.mm"
|
|
132
|
+
},
|
|
133
|
+
calendar: {
|
|
134
|
+
sameDay: "[tänään] [klo] LT",
|
|
135
|
+
nextDay: "[huomenna] [klo] LT",
|
|
136
|
+
nextWeek: "dddd [klo] LT",
|
|
137
|
+
lastDay: "[eilen] [klo] LT",
|
|
138
|
+
lastWeek: "[viime] dddd[na] [klo] LT",
|
|
139
|
+
sameElse: "L"
|
|
140
|
+
},
|
|
141
|
+
relativeTime: {
|
|
142
|
+
future: "%s päästä",
|
|
143
|
+
past: "%s sitten",
|
|
144
|
+
s: relativeTimeFormatter,
|
|
145
|
+
ss: relativeTimeFormatter,
|
|
146
|
+
m: relativeTimeFormatter,
|
|
147
|
+
mm: relativeTimeFormatter,
|
|
148
|
+
h: relativeTimeFormatter,
|
|
149
|
+
hh: relativeTimeFormatter,
|
|
150
|
+
d: relativeTimeFormatter,
|
|
151
|
+
dd: relativeTimeFormatter,
|
|
152
|
+
M: relativeTimeFormatter,
|
|
153
|
+
MM: relativeTimeFormatter,
|
|
154
|
+
y: relativeTimeFormatter,
|
|
155
|
+
yy: relativeTimeFormatter
|
|
156
|
+
},
|
|
157
|
+
meridiem: (hour, _minute, isLowercase) => {
|
|
158
|
+
const m = hour < 12 ? "AM" : "PM";
|
|
159
|
+
return isLowercase ? m.toLowerCase() : m;
|
|
160
|
+
}
|
|
161
|
+
};
|
|
162
|
+
var fi_default = localeFi;
|
|
163
|
+
|
|
164
|
+
//#endregion
|
|
165
|
+
export { fi_default as default };
|
package/locales/fil.d.ts
ADDED
package/locales/fil.js
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
//#region src/locales/fil.ts
|
|
2
|
+
const localeFil = {
|
|
3
|
+
name: "fil",
|
|
4
|
+
weekdays: [
|
|
5
|
+
"Linggo",
|
|
6
|
+
"Lunes",
|
|
7
|
+
"Martes",
|
|
8
|
+
"Miyerkules",
|
|
9
|
+
"Huwebes",
|
|
10
|
+
"Biyernes",
|
|
11
|
+
"Sabado"
|
|
12
|
+
],
|
|
13
|
+
weekdaysShort: [
|
|
14
|
+
"Lin",
|
|
15
|
+
"Lun",
|
|
16
|
+
"Mar",
|
|
17
|
+
"Miy",
|
|
18
|
+
"Huw",
|
|
19
|
+
"Biy",
|
|
20
|
+
"Sab"
|
|
21
|
+
],
|
|
22
|
+
weekdaysMin: [
|
|
23
|
+
"Li",
|
|
24
|
+
"Lu",
|
|
25
|
+
"Ma",
|
|
26
|
+
"Mi",
|
|
27
|
+
"Hu",
|
|
28
|
+
"Bi",
|
|
29
|
+
"Sab"
|
|
30
|
+
],
|
|
31
|
+
months: [
|
|
32
|
+
"Enero",
|
|
33
|
+
"Pebrero",
|
|
34
|
+
"Marso",
|
|
35
|
+
"Abril",
|
|
36
|
+
"Mayo",
|
|
37
|
+
"Hunyo",
|
|
38
|
+
"Hulyo",
|
|
39
|
+
"Agosto",
|
|
40
|
+
"Setyembre",
|
|
41
|
+
"Oktubre",
|
|
42
|
+
"Nobyembre",
|
|
43
|
+
"Disyembre"
|
|
44
|
+
],
|
|
45
|
+
monthsShort: [
|
|
46
|
+
"Ene",
|
|
47
|
+
"Peb",
|
|
48
|
+
"Mar",
|
|
49
|
+
"Abr",
|
|
50
|
+
"May",
|
|
51
|
+
"Hun",
|
|
52
|
+
"Hul",
|
|
53
|
+
"Ago",
|
|
54
|
+
"Set",
|
|
55
|
+
"Okt",
|
|
56
|
+
"Nob",
|
|
57
|
+
"Dis"
|
|
58
|
+
],
|
|
59
|
+
ordinal: (n) => `${n}`,
|
|
60
|
+
weekStart: 1,
|
|
61
|
+
yearStart: 4,
|
|
62
|
+
formats: {
|
|
63
|
+
LT: "HH:mm",
|
|
64
|
+
LTS: "HH:mm:ss",
|
|
65
|
+
L: "MM/D/YYYY",
|
|
66
|
+
LL: "MMMM D, YYYY",
|
|
67
|
+
LLL: "MMMM D, YYYY HH:mm",
|
|
68
|
+
LLLL: "dddd, MMMM DD, YYYY HH:mm",
|
|
69
|
+
l: "MM/D/YYYY",
|
|
70
|
+
ll: "MMMM D, YYYY",
|
|
71
|
+
lll: "MMMM D, YYYY HH:mm",
|
|
72
|
+
llll: "dddd, MMMM DD, YYYY HH:mm"
|
|
73
|
+
},
|
|
74
|
+
calendar: {
|
|
75
|
+
sameDay: "LT [ngayong araw]",
|
|
76
|
+
nextDay: "[Bukas ng] LT",
|
|
77
|
+
nextWeek: "LT [sa susunod na] dddd",
|
|
78
|
+
lastDay: "LT [kahapon]",
|
|
79
|
+
lastWeek: "LT [noong nakaraang] dddd",
|
|
80
|
+
sameElse: "L"
|
|
81
|
+
},
|
|
82
|
+
relativeTime: {
|
|
83
|
+
future: "sa loob ng %s",
|
|
84
|
+
past: "%s ang nakalipas",
|
|
85
|
+
s: "ilang segundo",
|
|
86
|
+
ss: "%d segundo",
|
|
87
|
+
m: "isang minuto",
|
|
88
|
+
mm: "%d minuto",
|
|
89
|
+
h: "isang oras",
|
|
90
|
+
hh: "%d oras",
|
|
91
|
+
d: "isang araw",
|
|
92
|
+
dd: "%d araw",
|
|
93
|
+
M: "isang buwan",
|
|
94
|
+
MM: "%d buwan",
|
|
95
|
+
y: "isang taon",
|
|
96
|
+
yy: "%d taon"
|
|
97
|
+
},
|
|
98
|
+
meridiem: (hour, _minute, isLowercase) => {
|
|
99
|
+
const m = hour < 12 ? "AM" : "PM";
|
|
100
|
+
return isLowercase ? m.toLowerCase() : m;
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
var fil_default = localeFil;
|
|
104
|
+
|
|
105
|
+
//#endregion
|
|
106
|
+
export { fil_default as default };
|
package/locales/fo.d.ts
ADDED