diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json index 281554d66..35e835e30 100644 --- a/apps/client/src/translations/en/translation.json +++ b/apps/client/src/translations/en/translation.json @@ -1958,7 +1958,9 @@ "add-column-to-the-right": "Add column to the right", "edit-column": "Edit column", "delete_column_confirmation": "Are you sure you want to delete this column? The corresponding attribute will be removed from all notes.", - "delete-column": "Delete column" + "delete-column": "Delete column", + "new-column-label": "Label", + "new-column-relation": "Relation" }, "book_properties_config": { "hide-weekends": "Hide weekends", diff --git a/apps/client/src/widgets/view_widgets/table_view/context_menu.ts b/apps/client/src/widgets/view_widgets/table_view/context_menu.ts index efb28d5b9..e4de2198b 100644 --- a/apps/client/src/widgets/view_widgets/table_view/context_menu.ts +++ b/apps/client/src/widgets/view_widgets/table_view/context_menu.ts @@ -249,7 +249,7 @@ function buildColumnItems(tabulator: Tabulator) { function buildInsertSubmenu(e: MouseEvent, referenceColumn: ColumnComponent, direction: "before" | "after"): MenuItem[] { return [ { - title: "Label", + title: t("table_view.new-column-label"), handler: () => { getParentComponent(e)?.triggerCommand("addNewTableColumn", { referenceColumn, @@ -259,7 +259,7 @@ function buildInsertSubmenu(e: MouseEvent, referenceColumn: ColumnComponent, dir } }, { - title: "Relation", + title: t("table_view.new-column-relation"), handler: () => { getParentComponent(e)?.triggerCommand("addNewTableColumn", { referenceColumn,