Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
chore(book_properties): add translations
Elian Dorane25727441d60
diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.jsonindex bb45d88193..cf79ca8c14 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.tsindex 97f400b6ad..c2522610a5 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<ViewTypeOptions, BookConfig> = {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"}