mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
refactor(book_properties): use translations
This commit is contained in:
@@ -1965,7 +1965,9 @@
|
|||||||
},
|
},
|
||||||
"book_properties_config": {
|
"book_properties_config": {
|
||||||
"hide-weekends": "Hide weekends",
|
"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": {
|
"table_context_menu": {
|
||||||
"delete_row": "Delete row"
|
"delete_row": "Delete row"
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ export const bookPropertiesConfig: Record<ViewTypeOptions, BookConfig> = {
|
|||||||
geoMap: {
|
geoMap: {
|
||||||
properties: [
|
properties: [
|
||||||
{
|
{
|
||||||
label: "Map style:",
|
label: t("book_properties_config.map-style"),
|
||||||
type: "combobox",
|
type: "combobox",
|
||||||
bindToLabel: "mapStyle",
|
bindToLabel: "mapStyle",
|
||||||
options: [
|
options: [
|
||||||
@@ -112,7 +112,7 @@ export const bookPropertiesConfig: Record<ViewTypeOptions, BookConfig> = {
|
|||||||
table: {
|
table: {
|
||||||
properties: [
|
properties: [
|
||||||
{
|
{
|
||||||
label: "Max nesting depth:",
|
label: t("book_properties_config.max-nesting-depth"),
|
||||||
type: "number",
|
type: "number",
|
||||||
bindToLabel: "maxNestingDepth",
|
bindToLabel: "maxNestingDepth",
|
||||||
width: 65
|
width: 65
|
||||||
|
|||||||
Reference in New Issue
Block a user