mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
chore(views/table): add translations
This commit is contained in:
parent
cf31367acd
commit
ab093ed9a0
@ -1953,7 +1953,9 @@
|
||||
"show-hide-columns": "Show/hide columns",
|
||||
"row-insert-above": "Insert row above",
|
||||
"row-insert-below": "Insert row below",
|
||||
"row-insert-child": "Insert child note"
|
||||
"row-insert-child": "Insert child note",
|
||||
"add-column-to-the-left": "Add column to the left",
|
||||
"add-column-to-the-right": "Add column to the right"
|
||||
},
|
||||
"book_properties_config": {
|
||||
"hide-weekends": "Hide weekends",
|
||||
|
@ -80,23 +80,19 @@ function showColumnContextMenu(_e: UIEvent, column: ColumnComponent, tabulator:
|
||||
},
|
||||
{ title: "----" },
|
||||
{
|
||||
title: "Add column to the left",
|
||||
handler: () => {
|
||||
getParentComponent(e)?.triggerCommand("addNoteListItem", {
|
||||
title: t("table_view.add-column-to-the-left"),
|
||||
uiIcon: "bx bx-horizontal-left",
|
||||
handler: () => getParentComponent(e)?.triggerCommand("addNoteListItem", {
|
||||
referenceColumn: column
|
||||
});
|
||||
console.log("Add col");
|
||||
}
|
||||
})
|
||||
},
|
||||
{
|
||||
title: "Add column to the right",
|
||||
handler: () => {
|
||||
getParentComponent(e)?.triggerCommand("addNoteListItem", {
|
||||
title: t("table_view.add-column-to-the-right"),
|
||||
uiIcon: "bx bx-horizontal-right",
|
||||
handler: () => getParentComponent(e)?.triggerCommand("addNoteListItem", {
|
||||
referenceColumn: column,
|
||||
direction: "after"
|
||||
});
|
||||
console.log("Add col after");
|
||||
}
|
||||
})
|
||||
}
|
||||
],
|
||||
selectMenuItemHandler() {},
|
||||
|
Loading…
x
Reference in New Issue
Block a user