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 { ca as dateFnsCa } from "date-fns/locale";
import { DateLib } from "../classes/DateLib.js";
/** Catalan locale extended with DayPicker-specific translations. */
export const ca = {
...dateFnsCa,
labels: {
labelDayButton: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new 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(options)).formatMonthYear(date),
labelGridcell: (date, modifiers, options, dateLib) => {
const lib = dateLib ?? new 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(options)).format(date, "cccc"),
},
};