From d3d35e2ae13038d90bab744f18becdcd27088df1 Mon Sep 17 00:00:00 2001 From: Sandeep Somavarapu Date: Tue, 27 Sep 2016 17:22:32 +0200 Subject: [PATCH] Fix #12508 --- .../parts/markers/browser/markersWorkbenchContributions.ts | 2 +- src/vs/workbench/parts/markers/common/markersModel.ts | 2 +- src/vs/workbench/parts/markers/common/messages.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/vs/workbench/parts/markers/browser/markersWorkbenchContributions.ts b/src/vs/workbench/parts/markers/browser/markersWorkbenchContributions.ts index 4b3a6fcbf25..96a05562b79 100644 --- a/src/vs/workbench/parts/markers/browser/markersWorkbenchContributions.ts +++ b/src/vs/workbench/parts/markers/browser/markersWorkbenchContributions.ts @@ -74,7 +74,7 @@ export function registerContributions(): void { 'vs/workbench/parts/markers/browser/markersPanel', 'MarkersPanel', Constants.MARKERS_PANEL_ID, - Messages.MARKERS_PANEL_TITLE_NO_PROBLEMS, + Messages.MARKERS_PANEL_TITLE_PROBLEMS, 'markersPanel', 10 diff --git a/src/vs/workbench/parts/markers/common/markersModel.ts b/src/vs/workbench/parts/markers/common/markersModel.ts index 11a6f4f3877..39af05f77d8 100644 --- a/src/vs/workbench/parts/markers/common/markersModel.ts +++ b/src/vs/workbench/parts/markers/common/markersModel.ts @@ -290,7 +290,7 @@ export class MarkersModel { public getTitle(markerStatistics: MarkerStatistics):string { let title= MarkersModel.getStatisticsLabel(markerStatistics); - return title ? title : Messages.MARKERS_PANEL_TITLE_NO_PROBLEMS; + return title ? title : Messages.MARKERS_PANEL_TITLE_PROBLEMS; } public getMessage():string { diff --git a/src/vs/workbench/parts/markers/common/messages.ts b/src/vs/workbench/parts/markers/common/messages.ts index 56bf2cd5b98..cebb49db925 100644 --- a/src/vs/workbench/parts/markers/common/messages.ts +++ b/src/vs/workbench/parts/markers/common/messages.ts @@ -16,7 +16,7 @@ export default class Messages { public static PROBLEMS_PANEL_CONFIGURATION_TITLE:string= nls.localize('problems.panel.configuration.title', "Problems View"); public static PROBLEMS_PANEL_CONFIGURATION_AUTO_REVEAL:string= nls.localize('problems.panel.configuration.autoreveal', "Controls if Problems view should automatically reveal files when opening them"); - public static MARKERS_PANEL_TITLE_NO_PROBLEMS:string= nls.localize('markers.panel.title.no.problems', "No problems"); + public static MARKERS_PANEL_TITLE_PROBLEMS:string= nls.localize('markers.panel.title.problems', "Problems"); public static MARKERS_PANEL_ARIA_LABEL_PROBLEMS_TREE:string= nls.localize('markers.panel.aria.label.problems.tree', "Problems grouped by files"); public static MARKERS_PANEL_NO_PROBLEMS_BUILT:string= nls.localize('markers.panel.no.problems.build', "No problems have been detected in the workspace so far.");