chore(book_properties): add translations

This commit is contained in:
Elian Doran
2025-07-09 20:40:04 +03:00
parent 51b7955ccd
commit e25727441d
2 changed files with 6 additions and 2 deletions

View File

@@ -1942,5 +1942,9 @@
"table_view": { "table_view": {
"new-row": "New row", "new-row": "New row",
"new-column": "New column" "new-column": "New column"
},
"book_properties_config": {
"hide-weekends": "Hide weekends",
"display-week-numbers": "Display week numbers"
} }
} }

View File

@@ -33,12 +33,12 @@ export const bookPropertiesConfig: Record<ViewTypeOptions, BookConfig> = {
calendar: { calendar: {
properties: [ properties: [
{ {
label: "Hide weekends", label: t("book_properties_config.hide-weekends"),
type: "checkbox", type: "checkbox",
bindToLabel: "calendar:hideWeekends" bindToLabel: "calendar:hideWeekends"
}, },
{ {
label: "Show week numbers", label: t("book_properties_config.display-week-numbers"),
type: "checkbox", type: "checkbox",
bindToLabel: "calendar:weekNumbers" bindToLabel: "calendar:weekNumbers"
} }