File tree Expand file tree Collapse file tree
src/vs/workbench/contrib/notebook/browser/view/renderers Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 * Licensed under the MIT License. See License.txt in the project root for license information.
44 *--------------------------------------------------------------------------------------------*/
55
6+ import { localize } from 'vs/nls' ;
67import * as DOM from 'vs/base/browser/dom' ;
78import { MenuEntryActionViewItem } from 'vs/platform/actions/browser/menuEntryActionViewItem' ;
89import { MenuItemAction } from 'vs/platform/actions/common/actions' ;
@@ -73,5 +74,6 @@ export class CellLanguageStatusBarItem extends Disposable {
7374 private render ( ) : void {
7475 const modeId = this . cell ?. cellKind === CellKind . Markdown ? 'markdown' : this . modeService . getModeIdForLanguageName ( this . cell ! . language ) || this . cell ! . language ;
7576 this . labelElement . textContent = this . modeService . getLanguageName ( modeId ) || this . modeService . getLanguageName ( 'plaintext' ) ;
77+ this . labelElement . title = localize ( 'notebook.cell.status.language' , "Select Cell Language Mode" ) ;
7678 }
7779}
You can’t perform that action at this time.
0 commit comments