diff --git a/ui/src/views/list/SchedulerView.tsx b/ui/src/views/list/SchedulerView.tsx index b9047a9a..e1d89ffe 100644 --- a/ui/src/views/list/SchedulerView.tsx +++ b/ui/src/views/list/SchedulerView.tsx @@ -39,7 +39,12 @@ import { getMobilePopupPosition, shouldUseMobileEditPopup, } from './shared/editPopup' -import { getValueByField, resolveEditorType, withEditorTypeDefaults } from './shared/editingForm' +import { + getValueByField, + resolveEditorType, + translateCaption, + withEditorTypeDefaults, +} from './shared/editingForm' import { flattenGridColumns } from './shared/columns' import { useListFormCustomSources, @@ -678,7 +683,7 @@ const SchedulerView = (props: SchedulerViewProps) => { itemType: e.itemType, colCount: e.colCount || 1, colSpan: e.colSpan || 1, - caption: e.caption, + caption: translateCaption(translate, e.caption), items: groupItems, }) } else if (e.itemType === 'tabbed' && tabbedItems.length > 0 && e === tabbedItems[0]) { @@ -690,7 +695,7 @@ const SchedulerView = (props: SchedulerViewProps) => { const effectiveColCount = tabbedItem.colCount || 1 return { - title: tabbedItem.caption, + title: translateCaption(translate, tabbedItem.caption), colCount: effectiveColCount, items: tabbedItem.items ?.sort((a: any, b: any) =>