From aacf78e02f78754502f2f99144d7bb109edd5414 Mon Sep 17 00:00:00 2001 From: Alex Tideman Date: Tue, 22 Oct 2024 12:33:22 -0500 Subject: [PATCH] Don't use translation for default schedule column names (#2404) --- src/lib/stores/configurable-table-columns.ts | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/lib/stores/configurable-table-columns.ts b/src/lib/stores/configurable-table-columns.ts index 7fc8c5498..ab87d18ce 100644 --- a/src/lib/stores/configurable-table-columns.ts +++ b/src/lib/stores/configurable-table-columns.ts @@ -2,7 +2,6 @@ import { derived, type Readable, type Writable } from 'svelte/store'; import { page } from '$app/stores'; -import { translate } from '$lib/i18n/translate'; import type { Settings } from '$lib/types/global'; import { namespaces } from './namespaces'; @@ -117,12 +116,12 @@ const DEFAULT_AVAILABLE_WORKFLOWS_COLUMNS: ConfigurableTableHeader[] = [ ]; const DEFAULT_SCHEDULES_COLUMNS: ConfigurableTableHeader[] = [ - { label: translate('common.status'), pinned: false }, - { label: translate('schedules.id'), pinned: false }, - { label: translate('common.workflow-type'), pinned: false }, - { label: translate('schedules.recent-runs'), pinned: false }, - { label: translate('schedules.upcoming-runs'), pinned: false }, - { label: translate('schedules.schedule-spec'), pinned: false }, + { label: 'Status', pinned: false }, + { label: 'Schedule ID', pinned: false }, + { label: 'Workflow Type', pinned: false }, + { label: 'Recent Runs', pinned: false }, + { label: 'Upcoming Runs', pinned: false }, + { label: 'Schedule Spec', pinned: false }, ]; const isNotParentWorkflowIdColumn = (column: ConfigurableTableHeader) =>