diff --git a/src/sql/workbench/contrib/notebook/browser/cellViews/collapse.component.ts b/src/sql/workbench/contrib/notebook/browser/cellViews/collapse.component.ts index 4bc08acac8..26fb2a86f5 100644 --- a/src/sql/workbench/contrib/notebook/browser/cellViews/collapse.component.ts +++ b/src/sql/workbench/contrib/notebook/browser/cellViews/collapse.component.ts @@ -7,6 +7,7 @@ import 'vs/css!./code'; import { OnInit, Component, Input, ElementRef, ViewChild, SimpleChange, OnChanges } from '@angular/core'; import { CellView } from 'sql/workbench/contrib/notebook/browser/cellViews/interfaces'; import { ICellModel } from 'sql/workbench/contrib/notebook/browser/models/modelInterfaces'; +import { localize } from 'vs/nls'; export const COLLAPSE_SELECTOR: string = 'collapse-component'; @@ -27,6 +28,8 @@ export class CollapseComponent extends CellView implements OnInit, OnChanges { } ngOnInit() { + this.collapseCellButtonElement.nativeElement.title = localize('collapseCellContents', "Collapse code cell contents"); + this.expandCellButtonElement.nativeElement.title = localize('expandCellContents', "Expand code cell contents"); } ngOnChanges(changes: { [propKey: string]: SimpleChange }) {