@@ -44,6 +44,7 @@ import type {ExplainQueryState} from '../../../../types/store/explainQuery';
4444import type { ValueOf } from '../../../../types/common' ;
4545import type { EPathType } from '../../../../types/api/schema' ;
4646import type { RootState } from '../../../../store' ;
47+ import i18n from '../i18n' ;
4748
4849import './QueryEditor.scss' ;
4950
@@ -282,7 +283,7 @@ function QueryEditor(props: QueryEditorProps) {
282283 editor . focus ( ) ;
283284 editor . addAction ( {
284285 id : 'sendQuery' ,
285- label : 'Send query',
286+ label : i18n ( 'action.send- query') ,
286287 keybindings : [
287288 // eslint-disable-next-line no-bitwise
288289 monaco . KeyMod . CtrlCmd | monaco . KeyCode . Enter ,
@@ -308,7 +309,7 @@ function QueryEditor(props: QueryEditorProps) {
308309 } ) ;
309310 editor . addAction ( {
310311 id : 'sendSelectedQuery' ,
311- label : 'Send selected query',
312+ label : i18n ( 'action.send- selected- query') ,
312313 keybindings : [
313314 // eslint-disable-next-line no-bitwise
314315 monaco . KeyMod . CtrlCmd | monaco . KeyMod . Shift | monaco . KeyCode . Enter ,
@@ -321,7 +322,7 @@ function QueryEditor(props: QueryEditorProps) {
321322
322323 editor . addAction ( {
323324 id : 'previous-query' ,
324- label : 'Previous query',
325+ label : i18n ( 'action.previous- query') ,
325326 keybindings : [
326327 // eslint-disable-next-line no-bitwise
327328 monaco . KeyMod . CtrlCmd | monaco . KeyCode . UpArrow ,
@@ -334,7 +335,7 @@ function QueryEditor(props: QueryEditorProps) {
334335 } ) ;
335336 editor . addAction ( {
336337 id : 'next-query' ,
337- label : 'Next query',
338+ label : i18n ( 'action.next- query') ,
338339 keybindings : [
339340 // eslint-disable-next-line no-bitwise
340341 monaco . KeyMod . CtrlCmd | monaco . KeyCode . DownArrow ,
0 commit comments