refactor(book_properties): use translations

This commit is contained in:
Elian Doran
2025-07-24 15:20:32 +03:00
parent f90bf1ce7c
commit 5f9a054441
2 changed files with 5 additions and 3 deletions

View File

@@ -1965,7 +1965,9 @@
},
"book_properties_config": {
"hide-weekends": "Hide weekends",
"display-week-numbers": "Display week numbers"
"display-week-numbers": "Display week numbers",
"map-style": "Map style:",
"max-nesting-depth": "Max nesting depth:"
},
"table_context_menu": {
"delete_row": "Delete row"

View File

@@ -99,7 +99,7 @@ export const bookPropertiesConfig: Record<ViewTypeOptions, BookConfig> = {
geoMap: {
properties: [
{
label: "Map style:",
label: t("book_properties_config.map-style"),
type: "combobox",
bindToLabel: "mapStyle",
options: [
@@ -112,7 +112,7 @@ export const bookPropertiesConfig: Record<ViewTypeOptions, BookConfig> = {
table: {
properties: [
{
label: "Max nesting depth:",
label: t("book_properties_config.max-nesting-depth"),
type: "number",
bindToLabel: "maxNestingDepth",
width: 65