File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
packages/jupyterlab-lsp/src/features/diagnostics Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ class DiagnosticsPanel {
111
111
column . is_visible = ! column . is_visible ;
112
112
widget . update ( ) ;
113
113
} ,
114
- label : args => args [ 'name' ] as string ,
114
+ label : args => this . trans . __ ( ` ${ args [ 'name' ] } ` ) as string ,
115
115
isToggled : args => {
116
116
let column = get_column ( args [ 'name' ] as string ) ;
117
117
return column . is_visible ;
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ export class DiagnosticsListing extends VDomRenderer<DiagnosticsListing.Model> {
169
169
name : 'Severity' ,
170
170
// TODO: use default diagnostic severity
171
171
render_cell : row => (
172
- < td key = { 3 } > { DiagnosticSeverity [ row . data . diagnostic . severity || 1 ] } </ td >
172
+ < td key = { 3 } > { trans . __ ( DiagnosticSeverity [ row . data . diagnostic . severity || 1 ] ) } </ td >
173
173
) ,
174
174
sort : ( a , b ) =>
175
175
a . data . diagnostic . severity > b . data . diagnostic . severity ? 1 : - 1
You can’t perform that action at this time.
0 commit comments