Favivon - Correção

This commit is contained in:
2026-05-30 19:59:39 -03:00
parent 76ddaa815d
commit d7dfd221f0
32859 changed files with 5459654 additions and 404 deletions
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Afrikaans locale extended with DayPicker-specific translations. */
export declare const af: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.af = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Afrikaans locale extended with DayPicker-specific translations. */
exports.af = {
...locale_1.af,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Vandag, ${label}`;
if (modifiers.selected)
label = `${label}, gekies`;
return label;
},
labelMonthDropdown: "Kies die maand",
labelNext: "Gaan na volgende maand",
labelPrevious: "Gaan na vorige maand",
labelWeekNumber: (weekNumber) => `Week ${weekNumber}`,
labelYearDropdown: "Kies die jaar",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Vandag, ${label}`;
}
return label;
},
labelNav: "Navigasiebalk",
labelWeekNumberHeader: "Weeknommer",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+7
View File
@@ -0,0 +1,7 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/**
* Amharic (Ethiopia) locale backed by Intl for core names plus DayPicker
* labels.
*/
export declare const amET: DayPickerLocale;
export default amET;
+131
View File
@@ -0,0 +1,131 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.amET = void 0;
const DateLib_js_1 = require("../classes/DateLib.js");
const en_US_js_1 = require("./en-US.js");
/**
* Minimal Amharic (Ethiopia) locale for date-fns v4.
*
* - Uses `Intl.DateTimeFormat('am-ET')` to localize month and weekday names.
* - Reuses `en-US` implementations for `formatLong`, `formatDistance`,
* `formatRelative`, and `match` to keep the footprint small.
* - Ordinals are returned as plain numeric strings.
*/
// Map date-fns widths to Intl widths
function mapWidth(width) {
switch (width) {
case "narrow":
return "narrow";
case "short":
case "abbreviated":
return "short";
default:
return "long";
}
}
function buildMonthNames(width) {
const intlWidth = mapWidth(width);
const fmt = new Intl.DateTimeFormat("am-ET", {
month: intlWidth,
timeZone: "UTC",
});
const names = [];
for (let i = 0; i < 12; i++) {
// Use a fixed UTC date to avoid locale-specific DST artifacts
names.push(fmt.format(new Date(Date.UTC(2017, i, 1))));
}
return names;
}
function buildDayNames(width) {
const intlWidth = mapWidth(width);
const fmt = new Intl.DateTimeFormat("am-ET", {
weekday: intlWidth,
timeZone: "UTC",
});
const names = [];
// 2017-01-01 was a Sunday; iterate 0..6
const base = Date.UTC(2017, 0, 1);
for (let i = 0; i < 7; i++) {
names.push(fmt.format(new Date(base + i * 24 * 60 * 60 * 1000)));
}
return names;
}
function getDayPeriod(value, width) {
if (value === "am" || value === "pm") {
const sampleHour = value === "am" ? 1 : 13;
const parts = new Intl.DateTimeFormat("am-ET", {
hour: "numeric",
hour12: true,
timeZone: "UTC",
})
.formatToParts(new Date(Date.UTC(2017, 0, 1, sampleHour)))
.find((p) => p.type === "dayPeriod");
if (parts?.value)
return parts.value;
}
// Fallback: delegate to en-US for anything else
return en_US_js_1.enUS.localize.dayPeriod(value, { width: width });
}
const localize = {
...en_US_js_1.enUS.localize,
// Ordinals in Amharic are commonly written as cardinals; keep simple numeric output
ordinalNumber: (n) => String(n),
month: (value, options) => {
const names = buildMonthNames(options?.width);
// value is 0..11 in date-fns v4
return names[value];
},
day: (value, options) => {
const names = buildDayNames(options?.width);
// value is 0..6, where 0 = Sunday
return names[value];
},
dayPeriod: (value, options) => getDayPeriod(value, options?.width),
};
const options = {
weekStartsOn: 1,
firstWeekContainsDate: 1,
};
/**
* Amharic (Ethiopia) locale backed by Intl for core names plus DayPicker
* labels.
*/
exports.amET = {
code: "am-ET",
// Reuse en-US for distance/relative formatting and formatLong skeletons
formatDistance: en_US_js_1.enUS.formatDistance,
formatRelative: en_US_js_1.enUS.formatRelative,
formatLong: en_US_js_1.enUS.formatLong,
localize,
match: en_US_js_1.enUS.match,
options,
labels: {
labelDayButton: (date, modifiers, opts, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(opts);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `ዛሬ፣ ${label}`;
if (modifiers.selected)
label = `${label}, ተመርጧል`;
return label;
},
labelMonthDropdown: "ወርን ይምረጡ",
labelNext: "ወደ ቀጣይ ወር ይሂዱ",
labelPrevious: "ወደ ቀዳሚ ወር ይሂዱ",
labelWeekNumber: (weekNumber) => `ሳምንት ${weekNumber}`,
labelYearDropdown: "ዓመቱን ይምረጡ",
labelGrid: (date, opts, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(opts)).formatMonthYear(date),
labelGridcell: (date, modifiers, opts, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(opts);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `ዛሬ፣ ${label}`;
}
return label;
},
labelNav: "መምሪያ አሞሌ",
labelWeekNumberHeader: "የሳምንት ቁጥር",
labelWeekday: (date, opts, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(opts)).format(date, "cccc"),
},
};
exports.default = exports.amET;
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Arabic (Algeria) locale extended with DayPicker-specific translations. */
export declare const arDZ: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.arDZ = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Arabic (Algeria) locale extended with DayPicker-specific translations. */
exports.arDZ = {
...locale_1.arDZ,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `اليوم، ${label}`;
if (modifiers.selected)
label = `${label}، محدد`;
return label;
},
labelMonthDropdown: "اختر الشهر",
labelNext: "اذهب إلى الشهر التالي",
labelPrevious: "اذهب إلى الشهر السابق",
labelWeekNumber: (weekNumber) => `الأسبوع ${weekNumber}`,
labelYearDropdown: "اختر السنة",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `اليوم، ${label}`;
}
return label;
},
labelNav: "شريط التنقل",
labelWeekNumberHeader: "رقم الأسبوع",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Arabic (Egypt) locale extended with DayPicker-specific translations. */
export declare const arEG: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.arEG = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Arabic (Egypt) locale extended with DayPicker-specific translations. */
exports.arEG = {
...locale_1.arEG,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `اليوم، ${label}`;
if (modifiers.selected)
label = `${label}، محدد`;
return label;
},
labelMonthDropdown: "اختر الشهر",
labelNext: "اذهب إلى الشهر التالي",
labelPrevious: "اذهب إلى الشهر السابق",
labelWeekNumber: (weekNumber) => `الأسبوع ${weekNumber}`,
labelYearDropdown: "اختر السنة",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `اليوم، ${label}`;
}
return label;
},
labelNav: "شريط التنقل",
labelWeekNumberHeader: "رقم الأسبوع",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Arabic (Morocco) locale extended with DayPicker-specific translations. */
export declare const arMA: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.arMA = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Arabic (Morocco) locale extended with DayPicker-specific translations. */
exports.arMA = {
...locale_1.arMA,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `اليوم، ${label}`;
if (modifiers.selected)
label = `${label}، محدد`;
return label;
},
labelMonthDropdown: "اختر الشهر",
labelNext: "اذهب إلى الشهر التالي",
labelPrevious: "اذهب إلى الشهر السابق",
labelWeekNumber: (weekNumber) => `الأسبوع ${weekNumber}`,
labelYearDropdown: "اختر السنة",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `اليوم، ${label}`;
}
return label;
},
labelNav: "شريط التنقل",
labelWeekNumberHeader: "رقم الأسبوع",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Arabic (Saudi Arabia) locale extended with DayPicker-specific translations. */
export declare const arSA: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.arSA = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Arabic (Saudi Arabia) locale extended with DayPicker-specific translations. */
exports.arSA = {
...locale_1.arSA,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `اليوم، ${label}`;
if (modifiers.selected)
label = `${label}، محدد`;
return label;
},
labelMonthDropdown: "اختر الشهر",
labelNext: "اذهب إلى الشهر التالي",
labelPrevious: "اذهب إلى الشهر السابق",
labelWeekNumber: (weekNumber) => `الأسبوع ${weekNumber}`,
labelYearDropdown: "اختر السنة",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `اليوم، ${label}`;
}
return label;
},
labelNav: "شريط التنقل",
labelWeekNumberHeader: "رقم الأسبوع",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Arabic (Tunisia) locale extended with DayPicker-specific translations. */
export declare const arTN: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.arTN = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Arabic (Tunisia) locale extended with DayPicker-specific translations. */
exports.arTN = {
...locale_1.arTN,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `اليوم، ${label}`;
if (modifiers.selected)
label = `${label}، محدد`;
return label;
},
labelMonthDropdown: "اختر الشهر",
labelNext: "اذهب إلى الشهر التالي",
labelPrevious: "اذهب إلى الشهر السابق",
labelWeekNumber: (weekNumber) => `الأسبوع ${weekNumber}`,
labelYearDropdown: "اختر السنة",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `اليوم، ${label}`;
}
return label;
},
labelNav: "شريط التنقل",
labelWeekNumberHeader: "رقم الأسبوع",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Arabic locale extended with DayPicker-specific translations. */
export declare const ar: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ar = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Arabic locale extended with DayPicker-specific translations. */
exports.ar = {
...locale_1.ar,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `اليوم، ${label}`;
if (modifiers.selected)
label = `${label}، محدد`;
return label;
},
labelMonthDropdown: "اختر الشهر",
labelNext: "اذهب إلى الشهر التالي",
labelPrevious: "اذهب إلى الشهر السابق",
labelWeekNumber: (weekNumber) => `الأسبوع ${weekNumber}`,
labelYearDropdown: "اختر السنة",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `اليوم، ${label}`;
}
return label;
},
labelNav: "شريط التنقل",
labelWeekNumberHeader: "رقم الأسبوع",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Azerbaijani locale extended with DayPicker-specific translations. */
export declare const az: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.az = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Azerbaijani locale extended with DayPicker-specific translations. */
exports.az = {
...locale_1.az,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Bu gün, ${label}`;
if (modifiers.selected)
label = `${label}, seçilmiş`;
return label;
},
labelMonthDropdown: "Ayı seçin",
labelNext: "Növbəti aya keç",
labelPrevious: "Əvvəlki aya keç",
labelWeekNumber: (weekNumber) => `Həftə ${weekNumber}`,
labelYearDropdown: "İli seçin",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Bu gün, ${label}`;
}
return label;
},
labelNav: "Naviqasiya paneli",
labelWeekNumberHeader: "Həftə nömrəsi",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+6
View File
@@ -0,0 +1,6 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/**
* Belarusian (Taraskievica) locale extended with DayPicker-specific
* translations.
*/
export declare const beTarask: DayPickerLocale;
+40
View File
@@ -0,0 +1,40 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.beTarask = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/**
* Belarusian (Taraskievica) locale extended with DayPicker-specific
* translations.
*/
exports.beTarask = {
...locale_1.beTarask,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Сёньня, ${label}`;
if (modifiers.selected)
label = `${label}, абрана`;
return label;
},
labelMonthDropdown: "Выберыце месяц",
labelNext: "Перайсьці да наступнага месяца",
labelPrevious: "Перайсьці да папярэдняга месяца",
labelWeekNumber: (weekNumber) => `Тыдзень ${weekNumber}`,
labelYearDropdown: "Выберыце год",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Сёньня, ${label}`;
}
return label;
},
labelNav: "Панэль навігацыі",
labelWeekNumberHeader: "Нумар тыдня",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Belarusian locale extended with DayPicker-specific translations. */
export declare const be: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.be = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Belarusian locale extended with DayPicker-specific translations. */
exports.be = {
...locale_1.be,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Сёння, ${label}`;
if (modifiers.selected)
label = `${label}, абрана`;
return label;
},
labelMonthDropdown: "Абярыце месяц",
labelNext: "Перайсці да наступнага месяца",
labelPrevious: "Перайсці да папярэдняга месяца",
labelWeekNumber: (weekNumber) => `Тыдзень ${weekNumber}`,
labelYearDropdown: "Абярыце год",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Сёння, ${label}`;
}
return label;
},
labelNav: "Панэль навігацыі",
labelWeekNumberHeader: "Нумар тыдня",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Bulgarian locale extended with DayPicker-specific translations. */
export declare const bg: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.bg = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Bulgarian locale extended with DayPicker-specific translations. */
exports.bg = {
...locale_1.bg,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Днес, ${label}`;
if (modifiers.selected)
label = `${label}, избрано`;
return label;
},
labelMonthDropdown: "Изберете месец",
labelNext: "Към следващия месец",
labelPrevious: "Към предишния месец",
labelWeekNumber: (weekNumber) => `Седмица ${weekNumber}`,
labelYearDropdown: "Изберете година",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Днес, ${label}`;
}
return label;
},
labelNav: "Лента за навигация",
labelWeekNumberHeader: "Номер на седмица",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Bengali locale extended with DayPicker-specific translations. */
export declare const bn: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.bn = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Bengali locale extended with DayPicker-specific translations. */
exports.bn = {
...locale_1.bn,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `আজ, ${label}`;
if (modifiers.selected)
label = `${label}, নির্বাচিত`;
return label;
},
labelMonthDropdown: "মাস নির্বাচন করুন",
labelNext: "পরবর্তী মাসে যান",
labelPrevious: "পূর্ববর্তী মাসে যান",
labelWeekNumber: (weekNumber) => `সপ্তাহ ${weekNumber}`,
labelYearDropdown: "বছর নির্বাচন করুন",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `আজ, ${label}`;
}
return label;
},
labelNav: "নেভিগেশন বার",
labelWeekNumberHeader: "সপ্তাহ নম্বর",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Bosnian locale extended with DayPicker-specific translations. */
export declare const bs: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.bs = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Bosnian locale extended with DayPicker-specific translations. */
exports.bs = {
...locale_1.bs,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Danas, ${label}`;
if (modifiers.selected)
label = `${label}, odabrano`;
return label;
},
labelMonthDropdown: "Odaberite mjesec",
labelNext: "Idi na sljedeći mjesec",
labelPrevious: "Idi na prethodni mjesec",
labelWeekNumber: (weekNumber) => `Sedmica ${weekNumber}`,
labelYearDropdown: "Odaberite godinu",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Danas, ${label}`;
}
return label;
},
labelNav: "Navigacijska traka",
labelWeekNumberHeader: "Broj sedmice",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Catalan locale extended with DayPicker-specific translations. */
export declare const ca: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ca = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Catalan locale extended with DayPicker-specific translations. */
exports.ca = {
...locale_1.ca,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Avui, ${label}`;
if (modifiers.selected)
label = `${label}, seleccionat`;
return label;
},
labelMonthDropdown: "Tria el mes",
labelNext: "Ves al mes següent",
labelPrevious: "Ves al mes anterior",
labelWeekNumber: (weekNumber) => `Setmana ${weekNumber}`,
labelYearDropdown: "Tria l'any",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Avui, ${label}`;
}
return label;
},
labelNav: "Barra de navegació",
labelWeekNumberHeader: "Número de setmana",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+6
View File
@@ -0,0 +1,6 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/**
* Central Kurdish (Sorani) locale extended with DayPicker-specific
* translations.
*/
export declare const ckb: DayPickerLocale;
+40
View File
@@ -0,0 +1,40 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ckb = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/**
* Central Kurdish (Sorani) locale extended with DayPicker-specific
* translations.
*/
exports.ckb = {
...locale_1.ckb,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `ئەمڕۆ، ${label}`;
if (modifiers.selected)
label = `${label}، هەڵبژێرا`;
return label;
},
labelMonthDropdown: "مانگ هەڵبژێرە",
labelNext: "بڕۆ بۆ مانگی داهاتوو",
labelPrevious: "بڕۆ بۆ مانگی پێشوو",
labelWeekNumber: (weekNumber) => `هەفتە ${weekNumber}`,
labelYearDropdown: "ساڵ هەڵبژێرە",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `ئەمڕۆ، ${label}`;
}
return label;
},
labelNav: "شریتی ڕاڕەوێژ",
labelWeekNumberHeader: "ژمارەی هەفتە",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Czech locale extended with DayPicker-specific translations. */
export declare const cs: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.cs = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Czech locale extended with DayPicker-specific translations. */
exports.cs = {
...locale_1.cs,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Dnes, ${label}`;
if (modifiers.selected)
label = `${label}, vybráno`;
return label;
},
labelMonthDropdown: "Vyberte měsíc",
labelNext: "Přejít na další měsíc",
labelPrevious: "Přejít na předchozí měsíc",
labelWeekNumber: (weekNumber) => `Týden ${weekNumber}`,
labelYearDropdown: "Vyberte rok",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Dnes, ${label}`;
}
return label;
},
labelNav: "Navigační panel",
labelWeekNumberHeader: "Číslo týdne",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Welsh locale extended with DayPicker-specific translations. */
export declare const cy: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.cy = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Welsh locale extended with DayPicker-specific translations. */
exports.cy = {
...locale_1.cy,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Heddiw, ${label}`;
if (modifiers.selected)
label = `${label}, wedi'i ddewis`;
return label;
},
labelMonthDropdown: "Dewiswch y mis",
labelNext: "Ewch i'r mis nesaf",
labelPrevious: "Ewch i'r mis blaenorol",
labelWeekNumber: (weekNumber) => `Wythnos ${weekNumber}`,
labelYearDropdown: "Dewiswch y flwyddyn",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Heddiw, ${label}`;
}
return label;
},
labelNav: "Bar llywio",
labelWeekNumberHeader: "Rhif yr wythnos",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Danish locale extended with DayPicker-specific translations. */
export declare const da: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.da = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Danish locale extended with DayPicker-specific translations. */
exports.da = {
...locale_1.da,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `I dag, ${label}`;
if (modifiers.selected)
label = `${label}, valgt`;
return label;
},
labelMonthDropdown: "Vælg måned",
labelNext: "Gå til næste måned",
labelPrevious: "Gå til forrige måned",
labelWeekNumber: (weekNumber) => `Uge ${weekNumber}`,
labelYearDropdown: "Vælg år",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `I dag, ${label}`;
}
return label;
},
labelNav: "Navigationslinje",
labelWeekNumberHeader: "Ugenummer",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** German (Austria) locale extended with DayPicker-specific translations. */
export declare const deAT: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.deAT = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** German (Austria) locale extended with DayPicker-specific translations. */
exports.deAT = {
...locale_1.deAT,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Heute, ${label}`;
if (modifiers.selected)
label = `${label}, ausgewählt`;
return label;
},
labelMonthDropdown: "Monat auswählen",
labelNext: "Zum nächsten Monat",
labelPrevious: "Zum vorherigen Monat",
labelWeekNumber: (weekNumber) => `Woche ${weekNumber}`,
labelYearDropdown: "Jahr auswählen",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Heute, ${label}`;
}
return label;
},
labelNav: "Navigationsleiste",
labelWeekNumberHeader: "Wochennummer",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** German locale extended with DayPicker-specific translations. */
export declare const de: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.de = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** German locale extended with DayPicker-specific translations. */
exports.de = {
...locale_1.de,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Heute, ${label}`;
if (modifiers.selected)
label = `${label}, ausgewählt`;
return label;
},
labelMonthDropdown: "Monat auswählen",
labelNext: "Zum nächsten Monat",
labelPrevious: "Zum vorherigen Monat",
labelWeekNumber: (weekNumber) => `Woche ${weekNumber}`,
labelYearDropdown: "Jahr auswählen",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Heute, ${label}`;
}
return label;
},
labelNav: "Navigationsleiste",
labelWeekNumberHeader: "Wochennummer",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Greek locale extended with DayPicker-specific translations. */
export declare const el: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.el = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Greek locale extended with DayPicker-specific translations. */
exports.el = {
...locale_1.el,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Σήμερα, ${label}`;
if (modifiers.selected)
label = `${label}, επιλεγμένο`;
return label;
},
labelMonthDropdown: "Επιλέξτε μήνα",
labelNext: "Μετάβαση στον επόμενο μήνα",
labelPrevious: "Μετάβαση στον προηγούμενο μήνα",
labelWeekNumber: (weekNumber) => `Εβδομάδα ${weekNumber}`,
labelYearDropdown: "Επιλέξτε έτος",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Σήμερα, ${label}`;
}
return label;
},
labelNav: "Γραμμή πλοήγησης",
labelWeekNumberHeader: "Αριθμός εβδομάδας",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** English (Australia) locale extended with DayPicker-specific translations. */
export declare const enAU: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.enAU = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** English (Australia) locale extended with DayPicker-specific translations. */
exports.enAU = {
...locale_1.enAU,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Today, ${label}`;
if (modifiers.selected)
label = `${label}, selected`;
return label;
},
labelMonthDropdown: "Choose the Month",
labelNext: "Go to the Next Month",
labelPrevious: "Go to the Previous Month",
labelWeekNumber: (weekNumber) => `Week ${weekNumber}`,
labelYearDropdown: "Choose the Year",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Today, ${label}`;
}
return label;
},
labelNav: "Navigation bar",
labelWeekNumberHeader: "Week Number",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** English (Canada) locale extended with DayPicker-specific translations. */
export declare const enCA: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.enCA = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** English (Canada) locale extended with DayPicker-specific translations. */
exports.enCA = {
...locale_1.enCA,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Today, ${label}`;
if (modifiers.selected)
label = `${label}, selected`;
return label;
},
labelMonthDropdown: "Choose the Month",
labelNext: "Go to the Next Month",
labelPrevious: "Go to the Previous Month",
labelWeekNumber: (weekNumber) => `Week ${weekNumber}`,
labelYearDropdown: "Choose the Year",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Today, ${label}`;
}
return label;
},
labelNav: "Navigation bar",
labelWeekNumberHeader: "Week Number",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+6
View File
@@ -0,0 +1,6 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/**
* English (United Kingdom) locale extended with DayPicker-specific
* translations.
*/
export declare const enGB: DayPickerLocale;
+40
View File
@@ -0,0 +1,40 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.enGB = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/**
* English (United Kingdom) locale extended with DayPicker-specific
* translations.
*/
exports.enGB = {
...locale_1.enGB,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Today, ${label}`;
if (modifiers.selected)
label = `${label}, selected`;
return label;
},
labelMonthDropdown: "Choose the Month",
labelNext: "Go to the Next Month",
labelPrevious: "Go to the Previous Month",
labelWeekNumber: (weekNumber) => `Week ${weekNumber}`,
labelYearDropdown: "Choose the Year",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Today, ${label}`;
}
return label;
},
labelNav: "Navigation bar",
labelWeekNumberHeader: "Week Number",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** English (Ireland) locale extended with DayPicker-specific translations. */
export declare const enIE: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.enIE = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** English (Ireland) locale extended with DayPicker-specific translations. */
exports.enIE = {
...locale_1.enIE,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Today, ${label}`;
if (modifiers.selected)
label = `${label}, selected`;
return label;
},
labelMonthDropdown: "Choose the Month",
labelNext: "Go to the Next Month",
labelPrevious: "Go to the Previous Month",
labelWeekNumber: (weekNumber) => `Week ${weekNumber}`,
labelYearDropdown: "Choose the Year",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Today, ${label}`;
}
return label;
},
labelNav: "Navigation bar",
labelWeekNumberHeader: "Week Number",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** English (India) locale extended with DayPicker-specific translations. */
export declare const enIN: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.enIN = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** English (India) locale extended with DayPicker-specific translations. */
exports.enIN = {
...locale_1.enIN,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Today, ${label}`;
if (modifiers.selected)
label = `${label}, selected`;
return label;
},
labelMonthDropdown: "Choose the Month",
labelNext: "Go to the Next Month",
labelPrevious: "Go to the Previous Month",
labelWeekNumber: (weekNumber) => `Week ${weekNumber}`,
labelYearDropdown: "Choose the Year",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Today, ${label}`;
}
return label;
},
labelNav: "Navigation bar",
labelWeekNumberHeader: "Week Number",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** English (New Zealand) locale extended with DayPicker-specific translations. */
export declare const enNZ: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.enNZ = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** English (New Zealand) locale extended with DayPicker-specific translations. */
exports.enNZ = {
...locale_1.enNZ,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Today, ${label}`;
if (modifiers.selected)
label = `${label}, selected`;
return label;
},
labelMonthDropdown: "Choose the Month",
labelNext: "Go to the Next Month",
labelPrevious: "Go to the Previous Month",
labelWeekNumber: (weekNumber) => `Week ${weekNumber}`,
labelYearDropdown: "Choose the Year",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Today, ${label}`;
}
return label;
},
labelNav: "Navigation bar",
labelWeekNumberHeader: "Week Number",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+6
View File
@@ -0,0 +1,6 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/**
* English (United States) locale for the Jalali (Persian) calendar, extended
* with DayPicker-specific translations.
*/
export declare const enUSJalali: DayPickerLocale;
+74
View File
@@ -0,0 +1,74 @@
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function (o) {
var ar = [];
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
__setModuleDefault(result, mod);
return result;
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.enUSJalali = void 0;
const dateFnsJalali = __importStar(require("date-fns-jalali"));
const locale_1 = require("date-fns-jalali/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/**
* English (United States) locale for the Jalali (Persian) calendar, extended
* with DayPicker-specific translations.
*/
exports.enUSJalali = {
...locale_1.enUS,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options, dateFnsJalali);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Today, ${label}`;
if (modifiers.selected)
label = `${label}, selected`;
return label;
},
labelMonthDropdown: "Choose the Month",
labelNext: "Go to the Next Month",
labelPrevious: "Go to the Previous Month",
labelWeekNumber: (weekNumber) => `Week ${weekNumber}`,
labelYearDropdown: "Choose the Year",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options, dateFnsJalali)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options, dateFnsJalali);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Today, ${label}`;
}
return label;
},
labelNav: "Navigation bar",
labelWeekNumberHeader: "Week Number",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options, dateFnsJalali)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** English (United States) locale extended with DayPicker-specific translations. */
export declare const enUS: DayPickerLocale;
+67
View File
@@ -0,0 +1,67 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.enUS = void 0;
const date_fns_1 = require("date-fns");
const locale_1 = require("date-fns/locale");
/** English (United States) locale extended with DayPicker-specific translations. */
exports.enUS = {
...locale_1.enUS,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
let formatDate;
if (dateLib && typeof dateLib.format === "function") {
formatDate = dateLib.format.bind(dateLib);
}
else {
formatDate = (d, pattern) => (0, date_fns_1.format)(d, pattern, { locale: locale_1.enUS, ...options });
}
let label = formatDate(date, "PPPP");
if (modifiers.today)
label = `Today, ${label}`;
if (modifiers.selected)
label = `${label}, selected`;
return label;
},
labelMonthDropdown: "Choose the Month",
labelNext: "Go to the Next Month",
labelPrevious: "Go to the Previous Month",
labelWeekNumber: (weekNumber) => `Week ${weekNumber}`,
labelYearDropdown: "Choose the Year",
labelGrid: (date, options, dateLib) => {
let formatDate;
if (dateLib && typeof dateLib.format === "function") {
formatDate = dateLib.format.bind(dateLib);
}
else {
formatDate = (d, pattern) => (0, date_fns_1.format)(d, pattern, { locale: locale_1.enUS, ...options });
}
return formatDate(date, "LLLL yyyy");
},
labelGridcell: (date, modifiers, options, dateLib) => {
let formatDate;
if (dateLib && typeof dateLib.format === "function") {
formatDate = dateLib.format.bind(dateLib);
}
else {
formatDate = (d, pattern) => (0, date_fns_1.format)(d, pattern, { locale: locale_1.enUS, ...options });
}
let label = formatDate(date, "PPPP");
if (modifiers?.today) {
label = `Today, ${label}`;
}
return label;
},
labelNav: "Navigation bar",
labelWeekNumberHeader: "Week Number",
labelWeekday: (date, options, dateLib) => {
let formatDate;
if (dateLib && typeof dateLib.format === "function") {
formatDate = dateLib.format.bind(dateLib);
}
else {
formatDate = (d, pattern) => (0, date_fns_1.format)(d, pattern, { locale: locale_1.enUS, ...options });
}
return formatDate(date, "cccc");
},
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** English (South Africa) locale extended with DayPicker-specific translations. */
export declare const enZA: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.enZA = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** English (South Africa) locale extended with DayPicker-specific translations. */
exports.enZA = {
...locale_1.enZA,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Today, ${label}`;
if (modifiers.selected)
label = `${label}, selected`;
return label;
},
labelMonthDropdown: "Choose the Month",
labelNext: "Go to the Next Month",
labelPrevious: "Go to the Previous Month",
labelWeekNumber: (weekNumber) => `Week ${weekNumber}`,
labelYearDropdown: "Choose the Year",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Today, ${label}`;
}
return label;
},
labelNav: "Navigation bar",
labelWeekNumberHeader: "Week Number",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Esperanto locale extended with DayPicker-specific translations. */
export declare const eo: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.eo = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Esperanto locale extended with DayPicker-specific translations. */
exports.eo = {
...locale_1.eo,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Hodiaŭ, ${label}`;
if (modifiers.selected)
label = `${label}, elektita`;
return label;
},
labelMonthDropdown: "Elektu la monaton",
labelNext: "Iru al la sekva monato",
labelPrevious: "Iru al la antaŭa monato",
labelWeekNumber: (weekNumber) => `Semajno ${weekNumber}`,
labelYearDropdown: "Elektu la jaron",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Hodiaŭ, ${label}`;
}
return label;
},
labelNav: "Naviga breto",
labelWeekNumberHeader: "Semajna numero",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Spanish locale extended with DayPicker-specific translations. */
export declare const es: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.es = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Spanish locale extended with DayPicker-specific translations. */
exports.es = {
...locale_1.es,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Hoy, ${label}`;
if (modifiers.selected)
label = `${label}, seleccionado`;
return label;
},
labelMonthDropdown: "Elegir el mes",
labelNext: "Ir al mes siguiente",
labelPrevious: "Ir al mes anterior",
labelWeekNumber: (weekNumber) => `Semana ${weekNumber}`,
labelYearDropdown: "Elegir el año",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Hoy, ${label}`;
}
return label;
},
labelNav: "Barra de navegación",
labelWeekNumberHeader: "Número de semana",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Estonian locale extended with DayPicker-specific translations. */
export declare const et: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.et = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Estonian locale extended with DayPicker-specific translations. */
exports.et = {
...locale_1.et,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Täna, ${label}`;
if (modifiers.selected)
label = `${label}, valitud`;
return label;
},
labelMonthDropdown: "Vali kuu",
labelNext: "Mine järgmisele kuule",
labelPrevious: "Mine eelmisele kuule",
labelWeekNumber: (weekNumber) => `Nädal ${weekNumber}`,
labelYearDropdown: "Vali aasta",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Täna, ${label}`;
}
return label;
},
labelNav: "Navigeerimisriba",
labelWeekNumberHeader: "Nädala number",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Basque locale extended with DayPicker-specific translations. */
export declare const eu: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.eu = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Basque locale extended with DayPicker-specific translations. */
exports.eu = {
...locale_1.eu,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Gaur, ${label}`;
if (modifiers.selected)
label = `${label}, hautatua`;
return label;
},
labelMonthDropdown: "Hautatu hilabetea",
labelNext: "Joan hurrengo hilabetera",
labelPrevious: "Joan aurreko hilabetera",
labelWeekNumber: (weekNumber) => `Astea ${weekNumber}`,
labelYearDropdown: "Hautatu urtea",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Gaur, ${label}`;
}
return label;
},
labelNav: "Nabigazio barra",
labelWeekNumberHeader: "Aste zenbakia",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+6
View File
@@ -0,0 +1,6 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/**
* Persian (Iran) locale for the Jalali (Persian) calendar, extended with
* DayPicker-specific translations.
*/
export declare const faIRJalali: DayPickerLocale;
+74
View File
@@ -0,0 +1,74 @@
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || (function () {
var ownKeys = function(o) {
ownKeys = Object.getOwnPropertyNames || function (o) {
var ar = [];
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
return ar;
};
return ownKeys(o);
};
return function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
__setModuleDefault(result, mod);
return result;
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.faIRJalali = void 0;
const dateFnsJalali = __importStar(require("date-fns-jalali"));
const locale_1 = require("date-fns-jalali/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/**
* Persian (Iran) locale for the Jalali (Persian) calendar, extended with
* DayPicker-specific translations.
*/
exports.faIRJalali = {
...locale_1.faIR,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options, dateFnsJalali);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `امروز، ${label}`;
if (modifiers.selected)
label = `${label}، انتخاب شده`;
return label;
},
labelMonthDropdown: "ماه را انتخاب کنید",
labelNext: "رفتن به ماه بعد",
labelPrevious: "رفتن به ماه قبل",
labelWeekNumber: (weekNumber) => `هفته ${weekNumber}`,
labelYearDropdown: "سال را انتخاب کنید",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options, dateFnsJalali)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options, dateFnsJalali);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `امروز، ${label}`;
}
return label;
},
labelNav: "نوار ناوبری",
labelWeekNumberHeader: "شماره هفته",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options, dateFnsJalali)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Persian (Iran) locale extended with DayPicker-specific translations. */
export declare const faIR: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.faIR = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Persian (Iran) locale extended with DayPicker-specific translations. */
exports.faIR = {
...locale_1.faIR,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `امروز، ${label}`;
if (modifiers.selected)
label = `${label}، انتخاب شده`;
return label;
},
labelMonthDropdown: "ماه را انتخاب کنید",
labelNext: "رفتن به ماه بعد",
labelPrevious: "رفتن به ماه قبل",
labelWeekNumber: (weekNumber) => `هفته ${weekNumber}`,
labelYearDropdown: "سال را انتخاب کنید",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `امروز، ${label}`;
}
return label;
},
labelNav: "نوار ناوبری",
labelWeekNumberHeader: "شماره هفته",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Finnish locale extended with DayPicker-specific translations. */
export declare const fi: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.fi = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Finnish locale extended with DayPicker-specific translations. */
exports.fi = {
...locale_1.fi,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Tänään, ${label}`;
if (modifiers.selected)
label = `${label}, valittu`;
return label;
},
labelMonthDropdown: "Valitse kuukausi",
labelNext: "Siirry seuraavaan kuukauteen",
labelPrevious: "Siirry edelliseen kuukauteen",
labelWeekNumber: (weekNumber) => `Viikko ${weekNumber}`,
labelYearDropdown: "Valitse vuosi",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Tänään, ${label}`;
}
return label;
},
labelNav: "Navigointipalkki",
labelWeekNumberHeader: "Viikkonumero",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** French (Canada) locale extended with DayPicker-specific translations. */
export declare const frCA: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.frCA = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** French (Canada) locale extended with DayPicker-specific translations. */
exports.frCA = {
...locale_1.frCA,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Aujourd'hui, ${label}`;
if (modifiers.selected)
label = `${label}, sélectionné`;
return label;
},
labelMonthDropdown: "Choisir le mois",
labelNext: "Aller au mois suivant",
labelPrevious: "Aller au mois précédent",
labelWeekNumber: (weekNumber) => `Semaine ${weekNumber}`,
labelYearDropdown: "Choisir l'année",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Aujourd'hui, ${label}`;
}
return label;
},
labelNav: "Barre de navigation",
labelWeekNumberHeader: "Numéro de semaine",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** French (Switzerland) locale extended with DayPicker-specific translations. */
export declare const frCH: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.frCH = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** French (Switzerland) locale extended with DayPicker-specific translations. */
exports.frCH = {
...locale_1.frCH,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Aujourd'hui, ${label}`;
if (modifiers.selected)
label = `${label}, sélectionné`;
return label;
},
labelMonthDropdown: "Choisir le mois",
labelNext: "Aller au mois suivant",
labelPrevious: "Aller au mois précédent",
labelWeekNumber: (weekNumber) => `Semaine ${weekNumber}`,
labelYearDropdown: "Choisir l'année",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Aujourd'hui, ${label}`;
}
return label;
},
labelNav: "Barre de navigation",
labelWeekNumberHeader: "Numéro de semaine",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** French locale extended with DayPicker-specific translations. */
export declare const fr: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.fr = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** French locale extended with DayPicker-specific translations. */
exports.fr = {
...locale_1.fr,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Aujourd'hui, ${label}`;
if (modifiers.selected)
label = `${label}, sélectionné`;
return label;
},
labelMonthDropdown: "Choisir le mois",
labelNext: "Aller au mois suivant",
labelPrevious: "Aller au mois précédent",
labelWeekNumber: (weekNumber) => `Semaine ${weekNumber}`,
labelYearDropdown: "Choisir l'année",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Aujourd'hui, ${label}`;
}
return label;
},
labelNav: "Barre de navigation",
labelWeekNumberHeader: "Numéro de semaine",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Frisian locale extended with DayPicker-specific translations. */
export declare const fy: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.fy = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Frisian locale extended with DayPicker-specific translations. */
exports.fy = {
...locale_1.fy,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Hjoed, ${label}`;
if (modifiers.selected)
label = `${label}, selektearre`;
return label;
},
labelMonthDropdown: "Kies de moanne",
labelNext: "Nei folgjende moanne",
labelPrevious: "Nei foarige moanne",
labelWeekNumber: (weekNumber) => `Wike ${weekNumber}`,
labelYearDropdown: "Kies it jier",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Hjoed, ${label}`;
}
return label;
},
labelNav: "Navigaasjebalke",
labelWeekNumberHeader: "Wikenûmer",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Scottish Gaelic locale extended with DayPicker-specific translations. */
export declare const gd: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.gd = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Scottish Gaelic locale extended with DayPicker-specific translations. */
exports.gd = {
...locale_1.gd,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `An-diugh, ${label}`;
if (modifiers.selected)
label = `${label}, air a thaghadh`;
return label;
},
labelMonthDropdown: "Tagh am mìos",
labelNext: "Rach gu mìos an ath mhìos",
labelPrevious: "Rach gu mìos roimhe",
labelWeekNumber: (weekNumber) => `Seachdain ${weekNumber}`,
labelYearDropdown: "Tagh am bliadhna",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `An-diugh, ${label}`;
}
return label;
},
labelNav: "Bàr seòlaidh",
labelWeekNumberHeader: "Àireamh seachdain",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Galician locale extended with DayPicker-specific translations. */
export declare const gl: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.gl = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Galician locale extended with DayPicker-specific translations. */
exports.gl = {
...locale_1.gl,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Hoxe, ${label}`;
if (modifiers.selected)
label = `${label}, seleccionado`;
return label;
},
labelMonthDropdown: "Escoller o mes",
labelNext: "Ir ao mes seguinte",
labelPrevious: "Ir ao mes anterior",
labelWeekNumber: (weekNumber) => `Semana ${weekNumber}`,
labelYearDropdown: "Escoller o ano",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Hoxe, ${label}`;
}
return label;
},
labelNav: "Barra de navegación",
labelWeekNumberHeader: "Número de semana",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Gujarati locale extended with DayPicker-specific translations. */
export declare const gu: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.gu = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Gujarati locale extended with DayPicker-specific translations. */
exports.gu = {
...locale_1.gu,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `આજે, ${label}`;
if (modifiers.selected)
label = `${label}, પસંદ કરાયેલ`;
return label;
},
labelMonthDropdown: "મહિનો પસંદ કરો",
labelNext: "આગલા મહિને જાઓ",
labelPrevious: "પાછલા મહિને જાઓ",
labelWeekNumber: (weekNumber) => `અઠવાડિયું ${weekNumber}`,
labelYearDropdown: "વર્ષ પસંદ કરો",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `આજે, ${label}`;
}
return label;
},
labelNav: "નેવિગેશન બાર",
labelWeekNumberHeader: "અઠવાડિયાનો નંબર",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Hebrew locale extended with DayPicker-specific translations. */
export declare const he: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.he = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Hebrew locale extended with DayPicker-specific translations. */
exports.he = {
...locale_1.he,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `היום, ${label}`;
if (modifiers.selected)
label = `${label}, נבחר`;
return label;
},
labelMonthDropdown: "בחר את החודש",
labelNext: "עבור לחודש הבא",
labelPrevious: "עבור לחודש הקודם",
labelWeekNumber: (weekNumber) => `שבוע ${weekNumber}`,
labelYearDropdown: "בחר את השנה",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `היום, ${label}`;
}
return label;
},
labelNav: "סרגל ניווט",
labelWeekNumberHeader: "מספר שבוע",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Hindi locale extended with DayPicker-specific translations. */
export declare const hi: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.hi = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Hindi locale extended with DayPicker-specific translations. */
exports.hi = {
...locale_1.hi,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `आज, ${label}`;
if (modifiers.selected)
label = `${label}, चयनित`;
return label;
},
labelMonthDropdown: "महीना चुनें",
labelNext: "अगले महीने पर जाएं",
labelPrevious: "पिछले महीने पर जाएं",
labelWeekNumber: (weekNumber) => `सप्ताह ${weekNumber}`,
labelYearDropdown: "वर्ष चुनें",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `आज, ${label}`;
}
return label;
},
labelNav: "नेविगेशन बार",
labelWeekNumberHeader: "सप्ताह संख्या",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Croatian locale extended with DayPicker-specific translations. */
export declare const hr: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.hr = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Croatian locale extended with DayPicker-specific translations. */
exports.hr = {
...locale_1.hr,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Danas, ${label}`;
if (modifiers.selected)
label = `${label}, odabrano`;
return label;
},
labelMonthDropdown: "Odaberite mjesec",
labelNext: "Prijeđi na sljedeći mjesec",
labelPrevious: "Prijeđi na prethodni mjesec",
labelWeekNumber: (weekNumber) => `Tjedan ${weekNumber}`,
labelYearDropdown: "Odaberite godinu",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Danas, ${label}`;
}
return label;
},
labelNav: "Navigacijska traka",
labelWeekNumberHeader: "Broj tjedna",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Haitian Creole locale extended with DayPicker-specific translations. */
export declare const ht: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ht = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Haitian Creole locale extended with DayPicker-specific translations. */
exports.ht = {
...locale_1.ht,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Jodi a, ${label}`;
if (modifiers.selected)
label = `${label}, chwazi`;
return label;
},
labelMonthDropdown: "Chwazi mwa a",
labelNext: "Ale nan pwochen mwa",
labelPrevious: "Ale nan mwa anvan",
labelWeekNumber: (weekNumber) => `Semèn ${weekNumber}`,
labelYearDropdown: "Chwazi ane a",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Jodi a, ${label}`;
}
return label;
},
labelNav: "Ba navigasyon",
labelWeekNumberHeader: "Nimewo semèn",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};
+3
View File
@@ -0,0 +1,3 @@
import type { DayPickerLocale } from "../classes/DateLib.js";
/** Hungarian locale extended with DayPicker-specific translations. */
export declare const hu: DayPickerLocale;
+37
View File
@@ -0,0 +1,37 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.hu = void 0;
const locale_1 = require("date-fns/locale");
const DateLib_js_1 = require("../classes/DateLib.js");
/** Hungarian locale extended with DayPicker-specific translations. */
exports.hu = {
...locale_1.hu,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers.today)
label = `Ma, ${label}`;
if (modifiers.selected)
label = `${label}, kiválasztva`;
return label;
},
labelMonthDropdown: "Válassza ki a hónapot",
labelNext: "Ugrás a következő hónapra",
labelPrevious: "Ugrás az előző hónapra",
labelWeekNumber: (weekNumber) => `Hét ${weekNumber}`,
labelYearDropdown: "Válassza ki az évet",
labelGrid: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib_js_1.DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Ma, ${label}`;
}
return label;
},
labelNav: "Navigációs sáv",
labelWeekNumberHeader: "Hét száma",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib_js_1.DateLib(options)).format(date, "cccc"),
},
};

Some files were not shown because too many files have changed in this diff Show More