File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ export async function createCodeMirrorDiffWidget(
9191 cellFooterTracker,
9292 originalSource,
9393 newSource,
94+ trans,
9495 showActionButtons = true ,
9596 openDiff = true
9697 } = options ;
@@ -101,7 +102,8 @@ export async function createCodeMirrorDiffWidget(
101102 cell,
102103 cellFooterTracker,
103104 showActionButtons,
104- openDiff
105+ openDiff,
106+ trans
105107 } ) ;
106108
107109 diffWidget . addClass ( 'jupyterlab-cell-diff' ) ;
Original file line number Diff line number Diff line change 11import { ICellModel } from '@jupyterlab/cells' ;
2- import { nullTranslator , TranslationBundle } from '@jupyterlab/translation' ;
2+ import { TranslationBundle } from '@jupyterlab/translation' ;
33import { checkIcon , ToolbarButton , undoIcon } from '@jupyterlab/ui-components' ;
44import { Widget } from '@lumino/widgets' ;
55import { ICellFooterTracker } from 'jupyterlab-cell-input-footer' ;
You can’t perform that action at this time.
0 commit comments