chore(views/table): translate row menu

This commit is contained in:
Elian Doran 2025-07-13 16:56:03 +03:00
parent c8ffb8d694
commit 23cef0ab94
No known key found for this signature in database
2 changed files with 5 additions and 3 deletions

View File

@ -1950,7 +1950,9 @@
"sort-column-descending": "Descending", "sort-column-descending": "Descending",
"sort-column-clear": "Clear sorting", "sort-column-clear": "Clear sorting",
"hide-column": "Hide column \"{{title}}\"", "hide-column": "Hide column \"{{title}}\"",
"show-hide-columns": "Show/hide columns" "show-hide-columns": "Show/hide columns",
"row-insert-above": "Insert row above",
"row-insert-below": "Insert row below"
}, },
"book_properties_config": { "book_properties_config": {
"hide-weekends": "Hide weekends", "hide-weekends": "Hide weekends",

View File

@ -102,7 +102,7 @@ export function showRowContextMenu(_e: UIEvent, row: RowComponent, parentNote: F
...link_context_menu.getItems(), ...link_context_menu.getItems(),
{ title: "----" }, { title: "----" },
{ {
title: "Insert row above", title: t("table_view.row-insert-above"),
uiIcon: "bx bx-list-plus", uiIcon: "bx bx-list-plus",
handler: () => { handler: () => {
const target = e.target; const target = e.target;
@ -119,7 +119,7 @@ export function showRowContextMenu(_e: UIEvent, row: RowComponent, parentNote: F
} }
}, },
{ {
title: "Insert row below", title: t("table_view.row-insert-below"),
uiIcon: "bx bx-empty", uiIcon: "bx bx-empty",
handler: () => { handler: () => {
const target = e.target; const target = e.target;