From e25727441d6064c4ee5134aca6d140595db33a71 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Wed, 9 Jul 2025 20:40:04 +0300 Subject: [PATCH] chore(book_properties): add translations --- apps/client/src/translations/en/translation.json | 4 ++++ .../src/widgets/ribbon_widgets/book_properties_config.ts | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json index bb45d8819..cf79ca8c1 100644 --- a/apps/client/src/translations/en/translation.json +++ b/apps/client/src/translations/en/translation.json @@ -1942,5 +1942,9 @@ "table_view": { "new-row": "New row", "new-column": "New column" + }, + "book_properties_config": { + "hide-weekends": "Hide weekends", + "display-week-numbers": "Display week numbers" } } diff --git a/apps/client/src/widgets/ribbon_widgets/book_properties_config.ts b/apps/client/src/widgets/ribbon_widgets/book_properties_config.ts index 97f400b6a..c2522610a 100644 --- a/apps/client/src/widgets/ribbon_widgets/book_properties_config.ts +++ b/apps/client/src/widgets/ribbon_widgets/book_properties_config.ts @@ -33,12 +33,12 @@ export const bookPropertiesConfig: Record = { calendar: { properties: [ { - label: "Hide weekends", + label: t("book_properties_config.hide-weekends"), type: "checkbox", bindToLabel: "calendar:hideWeekends" }, { - label: "Show week numbers", + label: t("book_properties_config.display-week-numbers"), type: "checkbox", bindToLabel: "calendar:weekNumbers" }