deploy: v0.12 fix 存档key名

This commit is contained in:
2026-06-24 03:09:02 +00:00
parent 7a08d49fe3
commit e0a5281119
58743 changed files with 7297269 additions and 39505 deletions
+34
View File
@@ -0,0 +1,34 @@
import { mk as dateFnsMk } from "date-fns/locale";
import { DateLib } from "../classes/DateLib.js";
/** Macedonian locale extended with DayPicker-specific translations. */
export const mk = {
...dateFnsMk,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new 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(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new DateLib(options);
let label = lib.format(date, "PPPP");
if (modifiers?.today) {
label = `Денес, ${label}`;
}
return label;
},
labelNav: "Лента за навигација",
labelWeekNumberHeader: "Број на недела",
labelWeekday: (date, options, dateLib) => (dateLib ?? new DateLib(options)).format(date, "cccc"),
},
};