shorten weekday labels
This commit is contained in:
Vendored
+1
-1
@@ -1792,7 +1792,7 @@
|
|||||||
currentDate.setUTCMonth(newSelectedDate.getMonth());
|
currentDate.setUTCMonth(newSelectedDate.getMonth());
|
||||||
for (let i = 0; i < 7; i++) {
|
for (let i = 0; i < 7; i++) {
|
||||||
monthGridCells.value.push(
|
monthGridCells.value.push(
|
||||||
/* @__PURE__ */ createElement("b", { class: "secondary ellipsis width-100" }, translation.weekdays[i])
|
/* @__PURE__ */ createElement("b", { class: "secondary ellipsis width-100" }, translation.weekdays[i].substring(0, 3))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
const monthOffset = currentDate.getDay() - 1;
|
const monthOffset = currentDate.getDay() - 1;
|
||||||
|
|||||||
+21
-21
@@ -11,13 +11,13 @@ const englishTranslations = {
|
|||||||
rename: "Rename",
|
rename: "Rename",
|
||||||
|
|
||||||
weekdays: [
|
weekdays: [
|
||||||
"Sunday",
|
"Sun",
|
||||||
"Monday",
|
"Mon",
|
||||||
"Tuesday",
|
"Tue",
|
||||||
"Wednesday",
|
"Wed",
|
||||||
"Thursday",
|
"Thu",
|
||||||
"Friday",
|
"Fri",
|
||||||
"Saturday",
|
"Sat",
|
||||||
],
|
],
|
||||||
previousMonth: "previous month",
|
previousMonth: "previous month",
|
||||||
nextMonth: "next month",
|
nextMonth: "next month",
|
||||||
@@ -164,13 +164,13 @@ const allTranslations: { [key: string]: typeof englishTranslations } = {
|
|||||||
rename: "Renombrar",
|
rename: "Renombrar",
|
||||||
|
|
||||||
weekdays: [
|
weekdays: [
|
||||||
"Domingo",
|
"Dom",
|
||||||
"Lunes",
|
"Lun",
|
||||||
"Martes",
|
"Mar",
|
||||||
"Miércoles",
|
"Mié",
|
||||||
"Jueves",
|
"Jue",
|
||||||
"Viernes",
|
"Vie",
|
||||||
"Sábado",
|
"Sáb",
|
||||||
],
|
],
|
||||||
|
|
||||||
// settings
|
// settings
|
||||||
@@ -312,13 +312,13 @@ const allTranslations: { [key: string]: typeof englishTranslations } = {
|
|||||||
rename: "Umbenennen",
|
rename: "Umbenennen",
|
||||||
|
|
||||||
weekdays: [
|
weekdays: [
|
||||||
"Sonntag",
|
"So",
|
||||||
"Montag",
|
"Mo",
|
||||||
"Dienstag",
|
"Di",
|
||||||
"Mittwoch",
|
"Mi",
|
||||||
"Donnerstag",
|
"Do",
|
||||||
"Freitag",
|
"Fr",
|
||||||
"Samstag",
|
"Sa",
|
||||||
],
|
],
|
||||||
|
|
||||||
// settings
|
// settings
|
||||||
|
|||||||
Reference in New Issue
Block a user