提交 fc89088f 编写于 作者: I isidor

fixes #11978

上级 c3512121
......@@ -1763,7 +1763,7 @@ export class RevertFileAction extends Action {
export class FocusOpenEditorsView extends Action {
public static ID = 'workbench.files.action.focusOpenEditorsView';
public static LABEL = nls.localize('focusOpenEditors', "Focus on Open Editors View");
public static LABEL = nls.localize({ key: 'focusOpenEditors', comment: ['Open is an adjective'] }, "Focus on Open Editors View");
constructor(
id: string,
......
......@@ -245,12 +245,12 @@ configurationRegistry.registerConfiguration({
'properties': {
'explorer.openEditors.visible': {
'type': 'number',
'description': nls.localize('openEditorsVisible', "Number of editors shown in the Open Editors pane. Set it to 0 to hide the pane."),
'description': nls.localize({ key: 'openEditorsVisible', comment: ['Open is an adjective'] }, "Number of editors shown in the Open Editors pane. Set it to 0 to hide the pane."),
'default': 9
},
'explorer.openEditors.dynamicHeight': {
'type': 'boolean',
'description': nls.localize('dynamicHeight', "Controls if the height of the open editors section should adapt dynamically to the number of elements or not."),
'description': nls.localize({ key: 'dynamicHeight', comment: ['Open is an adjective'] }, "Controls if the height of the open editors section should adapt dynamically to the number of elements or not."),
'default': true
},
'explorer.autoReveal': {
......
......@@ -58,7 +58,7 @@ export class OpenEditorsView extends AdaptiveCollapsibleViewletView {
@IViewletService private viewletService: IViewletService,
@IEventService private eventService: IEventService
) {
super(actionRunner, OpenEditorsView.computeExpandedBodySize(editorGroupService.getStacksModel()), !!settings[OpenEditorsView.MEMENTO_COLLAPSED], nls.localize('openEditosrSection', "Open Editors Section"), messageService, keybindingService, contextMenuService);
super(actionRunner, OpenEditorsView.computeExpandedBodySize(editorGroupService.getStacksModel()), !!settings[OpenEditorsView.MEMENTO_COLLAPSED], nls.localize({ key: 'openEditosrSection', comment: ['Open is an adjective'] }, "Open Editors Section"), messageService, keybindingService, contextMenuService);
this.settings = settings;
this.model = editorGroupService.getStacksModel();
......@@ -70,7 +70,7 @@ export class OpenEditorsView extends AdaptiveCollapsibleViewletView {
public renderHeader(container: HTMLElement): void {
const titleDiv = dom.append(container, $('.title'));
const titleSpan = dom.append(titleDiv, $('span'));
titleSpan.textContent = nls.localize('openEditors', "Open Editors");
titleSpan.textContent = nls.localize({ key: 'openEditors', comment: ['Open is an adjective'] }, "Open Editors");
this.dirtyCountElement = dom.append(titleDiv, $('.monaco-count-badge'));
this.updateDirtyIndicator();
......@@ -105,7 +105,7 @@ export class OpenEditorsView extends AdaptiveCollapsibleViewletView {
}, {
indentPixels: 0,
twistiePixels: 20,
ariaLabel: nls.localize('treeAriaLabel', "Open Editors")
ariaLabel: nls.localize({ key: 'treeAriaLabel', comment: ['Open is an adjective'] }, "Open Editors")
});
this.fullRefreshNeeded = true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册