Skip to content

Build your personal knowledge base with Trilium Notes

client/collections/board: reorganize the column menu

Adorian Doran13ec4c02ea1d
diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json
index 698a8bbfa0..d7088301d9 100644
--- a/apps/client/src/translations/en/translation.json
+++ b/apps/client/src/translations/en/translation.json
@@ -3350,20 +3350,21 @@
"move-to": "Move to",
"insert-above": "Insert above",
"insert-below": "Insert below",
- "delete-column": "Delete column",
+ "delete-column": "Delete column...",
"archive-column": "Archive column",
"unarchive-column": "Unarchive column",
"delete-column-confirmation": "Are you sure you want to delete this column? The corresponding attribute will be deleted in the notes under this column as well.",
"new-item": "New item",
"new-item-placeholder": "Enter note title...",
+ "add-new-item": "Add new note",
"add-existing-item": "Add existing note...",
"add-existing-item-title": "Add an existing note to the board",
"add-existing-item-ok": "Add to column",
"existing-item-conflict": "This note already belongs to another board that groups by “{{label}}”. Adding it here will move it to a different column on the original board as well. Add it anyway?",
- "add-column": "Add Column",
+ "add-column": "Add column",
"add-column-placeholder": "Enter column name...",
"edit-note-title": "Click to edit note title",
- "edit-column-title": "Edit column title",
+ "rename-column": "Rename column",
"change-column-icon": "Change column icon",
"column-menu": "Column menu",
"column-already-exists": "This column already exists on the board.",
diff --git a/apps/client/src/widgets/collections/board/context_menu.ts b/apps/client/src/widgets/collections/board/context_menu.ts
index 9a13f99531..381167798a 100644
--- a/apps/client/src/widgets/collections/board/context_menu.ts
+++ b/apps/client/src/widgets/collections/board/context_menu.ts
@@ -28,13 +28,13 @@ export function openColumnContextMenu(api: Api, event: ContextMenuEvent, column:
y: event.pageY,
items: [
{
- title: t("board_view.edit-column-title"),
+ title: t("board_view.rename-column"),
uiIcon: "bx bx-edit-alt",
handler: column.onEditTitle
},
{ kind: "separator" },
{
- title: t("board_view.new-item"),
+ title: t("board_view.add-new-item"),
uiIcon: "bx bx-plus",
handler: column.onNewItem
},