@codingame/monaco-vscode-markers-service-override 1.83.2 → 1.83.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-markers-service-override",
3
- "version": "1.83.2",
3
+ "version": "1.83.3",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -18,7 +18,7 @@
18
18
  "module": "index.js",
19
19
  "types": "index.d.ts",
20
20
  "dependencies": {
21
- "vscode": "npm:@codingame/monaco-vscode-api@1.83.2",
21
+ "vscode": "npm:@codingame/monaco-vscode-api@1.83.3",
22
22
  "monaco-editor": "0.44.0"
23
23
  }
24
24
  }
@@ -3,7 +3,7 @@ import { ContextKeyExpr } from 'monaco-editor/esm/vs/platform/contextkey/common/
3
3
  import { Extensions } from 'monaco-editor/esm/vs/platform/configuration/common/configurationRegistry.js';
4
4
  import { Categories } from 'monaco-editor/esm/vs/platform/action/common/actionCommonCategories.js';
5
5
  import { KeybindingsRegistry } from 'monaco-editor/esm/vs/platform/keybinding/common/keybindingsRegistry.js';
6
- import { localize } from 'monaco-editor/esm/vs/nls.js';
6
+ import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
7
7
  import { Marker, ResourceMarkers, RelatedInformation } from './markersModel.js';
8
8
  import { MarkersView } from './markersView.js';
9
9
  import { registerAction2, MenuId, Action2 } from 'monaco-editor/esm/vs/platform/actions/common/actions.js';
@@ -108,7 +108,7 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
108
108
  },
109
109
  }
110
110
  });
111
- const markersViewIcon = registerIcon('markers-view-icon', Codicon.warning, ( localize('markersViewIcon', 'View icon of the markers view.')));
111
+ const markersViewIcon = registerIcon('markers-view-icon', Codicon.warning, localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'markersViewIcon', 'View icon of the markers view.'));
112
112
  const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).registerViewContainer({
113
113
  id: Markers.MARKERS_CONTAINER_ID,
114
114
  title: { value: Messages.MARKERS_PANEL_TITLE_PROBLEMS, original: Messages.MARKERS_PANEL_ORIGINAL_TITLE_PROBLEMS },
@@ -130,7 +130,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).regis
130
130
  ctorDescriptor: ( new SyncDescriptor(MarkersView)),
131
131
  openCommandActionDescriptor: {
132
132
  id: 'workbench.actions.view.problems',
133
- mnemonicTitle: ( localize({ key: 'miMarker', comment: ['&& denotes a mnemonic'] }, "&&Problems")),
133
+ mnemonicTitle: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', { key: 'miMarker', comment: ['&& denotes a mnemonic'] }, "&&Problems"),
134
134
  keybindings: { primary: 2048 | 1024 | 43 },
135
135
  order: 0,
136
136
  }
@@ -140,7 +140,7 @@ registerAction2(class extends ViewAction {
140
140
  constructor() {
141
141
  super({
142
142
  id: `workbench.actions.table.${Markers.MARKERS_VIEW_ID}.viewAsTree`,
143
- title: ( localize('viewAsTree', "View as Tree")),
143
+ title: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'viewAsTree', "View as Tree"),
144
144
  menu: {
145
145
  id: MenuId.ViewTitle,
146
146
  when: ( ContextKeyExpr.and(( ContextKeyExpr.equals('view', Markers.MARKERS_VIEW_ID)), ( MarkersContextKeys.MarkersViewModeContextKey.isEqualTo("table" )))),
@@ -159,7 +159,7 @@ registerAction2(class extends ViewAction {
159
159
  constructor() {
160
160
  super({
161
161
  id: `workbench.actions.table.${Markers.MARKERS_VIEW_ID}.viewAsTable`,
162
- title: ( localize('viewAsTable', "View as Table")),
162
+ title: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'viewAsTable', "View as Table"),
163
163
  menu: {
164
164
  id: MenuId.ViewTitle,
165
165
  when: ( ContextKeyExpr.and(( ContextKeyExpr.equals('view', Markers.MARKERS_VIEW_ID)), ( MarkersContextKeys.MarkersViewModeContextKey.isEqualTo("tree" )))),
@@ -178,11 +178,11 @@ registerAction2(class extends ViewAction {
178
178
  constructor() {
179
179
  super({
180
180
  id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleErrors`,
181
- title: ( localize('toggle errors', "Toggle Errors")),
182
- category: ( localize('problems', "Problems")),
181
+ title: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'toggle errors', "Toggle Errors"),
182
+ category: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'problems', "Problems"),
183
183
  toggled: {
184
184
  condition: MarkersContextKeys.ShowErrorsFilterContextKey,
185
- title: ( localize('errors', "Show Errors"))
185
+ title: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'errors', "Show Errors")
186
186
  },
187
187
  menu: {
188
188
  id: viewFilterSubmenu,
@@ -201,11 +201,11 @@ registerAction2(class extends ViewAction {
201
201
  constructor() {
202
202
  super({
203
203
  id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleWarnings`,
204
- title: ( localize('toggle warnings', "Toggle Warnings")),
205
- category: ( localize('problems', "Problems")),
204
+ title: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'toggle warnings', "Toggle Warnings"),
205
+ category: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'problems', "Problems"),
206
206
  toggled: {
207
207
  condition: MarkersContextKeys.ShowWarningsFilterContextKey,
208
- title: ( localize('warnings', "Show Warnings"))
208
+ title: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'warnings', "Show Warnings")
209
209
  },
210
210
  menu: {
211
211
  id: viewFilterSubmenu,
@@ -224,11 +224,11 @@ registerAction2(class extends ViewAction {
224
224
  constructor() {
225
225
  super({
226
226
  id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleInfos`,
227
- title: ( localize('toggle infos', "Toggle Infos")),
228
- category: ( localize('problems', "Problems")),
227
+ title: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'toggle infos', "Toggle Infos"),
228
+ category: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'problems', "Problems"),
229
229
  toggled: {
230
230
  condition: MarkersContextKeys.ShowInfoFilterContextKey,
231
- title: ( localize('Infos', "Show Infos"))
231
+ title: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'Infos', "Show Infos")
232
232
  },
233
233
  menu: {
234
234
  id: viewFilterSubmenu,
@@ -247,11 +247,11 @@ registerAction2(class extends ViewAction {
247
247
  constructor() {
248
248
  super({
249
249
  id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleActiveFile`,
250
- title: ( localize('toggle active file', "Toggle Active File")),
251
- category: ( localize('problems', "Problems")),
250
+ title: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'toggle active file', "Toggle Active File"),
251
+ category: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'problems', "Problems"),
252
252
  toggled: {
253
253
  condition: MarkersContextKeys.ShowActiveFileFilterContextKey,
254
- title: ( localize('Active File', "Show Active File Only"))
254
+ title: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'Active File', "Show Active File Only")
255
255
  },
256
256
  menu: {
257
257
  id: viewFilterSubmenu,
@@ -270,11 +270,11 @@ registerAction2(class extends ViewAction {
270
270
  constructor() {
271
271
  super({
272
272
  id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleExcludedFiles`,
273
- title: ( localize('toggle Excluded Files', "Toggle Excluded Files")),
274
- category: ( localize('problems', "Problems")),
273
+ title: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'toggle Excluded Files', "Toggle Excluded Files"),
274
+ category: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'problems', "Problems"),
275
275
  toggled: {
276
276
  condition: MarkersContextKeys.ShowExcludedFilesFilterContextKey,
277
- title: ( localize('Excluded Files', "Hide Excluded Files"))
277
+ title: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'Excluded Files', "Hide Excluded Files")
278
278
  },
279
279
  menu: {
280
280
  id: viewFilterSubmenu,
@@ -307,7 +307,7 @@ registerAction2(class extends ViewAction {
307
307
  const when = ( ContextKeyExpr.and(( FocusedViewContext.isEqualTo(Markers.MARKERS_VIEW_ID)), MarkersContextKeys.MarkersTreeVisibilityContextKey, ( MarkersContextKeys.RelatedInformationFocusContextKey.toNegated())));
308
308
  super({
309
309
  id: Markers.MARKER_COPY_ACTION_ID,
310
- title: { value: ( localize('copyMarker', "Copy")), original: 'Copy' },
310
+ title: { value: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'copyMarker', "Copy"), original: 'Copy' },
311
311
  menu: {
312
312
  id: MenuId.ProblemsPanelContext,
313
313
  when,
@@ -347,7 +347,7 @@ registerAction2(class extends ViewAction {
347
347
  constructor() {
348
348
  super({
349
349
  id: Markers.MARKER_COPY_MESSAGE_ACTION_ID,
350
- title: { value: ( localize('copyMessage', "Copy Message")), original: 'Copy Message' },
350
+ title: { value: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'copyMessage', "Copy Message"), original: 'Copy Message' },
351
351
  menu: {
352
352
  id: MenuId.ProblemsPanelContext,
353
353
  when: MarkersContextKeys.MarkerFocusContextKey,
@@ -368,7 +368,7 @@ registerAction2(class extends ViewAction {
368
368
  constructor() {
369
369
  super({
370
370
  id: Markers.RELATED_INFORMATION_COPY_MESSAGE_ACTION_ID,
371
- title: { value: ( localize('copyMessage', "Copy Message")), original: 'Copy Message' },
371
+ title: { value: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'copyMessage', "Copy Message"), original: 'Copy Message' },
372
372
  menu: {
373
373
  id: MenuId.ProblemsPanelContext,
374
374
  when: MarkersContextKeys.RelatedInformationFocusContextKey,
@@ -389,7 +389,7 @@ registerAction2(class extends ViewAction {
389
389
  constructor() {
390
390
  super({
391
391
  id: Markers.FOCUS_PROBLEMS_FROM_FILTER,
392
- title: ( localize('focusProblemsList', "Focus problems view")),
392
+ title: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'focusProblemsList', "Focus problems view"),
393
393
  keybinding: {
394
394
  when: MarkersContextKeys.MarkerViewFilterFocusContextKey,
395
395
  weight: 200 ,
@@ -406,7 +406,7 @@ registerAction2(class extends ViewAction {
406
406
  constructor() {
407
407
  super({
408
408
  id: Markers.MARKERS_VIEW_FOCUS_FILTER,
409
- title: ( localize('focusProblemsFilter', "Focus problems filter")),
409
+ title: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'focusProblemsFilter', "Focus problems filter"),
410
410
  keybinding: {
411
411
  when: ( FocusedViewContext.isEqualTo(Markers.MARKERS_VIEW_ID)),
412
412
  weight: 200 ,
@@ -423,8 +423,8 @@ registerAction2(class extends ViewAction {
423
423
  constructor() {
424
424
  super({
425
425
  id: Markers.MARKERS_VIEW_SHOW_MULTILINE_MESSAGE,
426
- title: { value: ( localize('show multiline', "Show message in multiple lines")), original: 'Problems: Show message in multiple lines' },
427
- category: ( localize('problems', "Problems")),
426
+ title: { value: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'show multiline', "Show message in multiple lines"), original: 'Problems: Show message in multiple lines' },
427
+ category: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'problems', "Problems"),
428
428
  menu: {
429
429
  id: MenuId.CommandPalette,
430
430
  when: ( ContextKeyExpr.has(getVisbileViewContextKey(Markers.MARKERS_VIEW_ID)))
@@ -440,8 +440,8 @@ registerAction2(class extends ViewAction {
440
440
  constructor() {
441
441
  super({
442
442
  id: Markers.MARKERS_VIEW_SHOW_SINGLELINE_MESSAGE,
443
- title: { value: ( localize('show singleline', "Show message in single line")), original: 'Problems: Show message in single line' },
444
- category: ( localize('problems', "Problems")),
443
+ title: { value: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'show singleline', "Show message in single line"), original: 'Problems: Show message in single line' },
444
+ category: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'problems', "Problems"),
445
445
  menu: {
446
446
  id: MenuId.CommandPalette,
447
447
  when: ( ContextKeyExpr.has(getVisbileViewContextKey(Markers.MARKERS_VIEW_ID)))
@@ -457,8 +457,8 @@ registerAction2(class extends ViewAction {
457
457
  constructor() {
458
458
  super({
459
459
  id: Markers.MARKERS_VIEW_CLEAR_FILTER_TEXT,
460
- title: ( localize('clearFiltersText', "Clear filters text")),
461
- category: ( localize('problems', "Problems")),
460
+ title: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'clearFiltersText', "Clear filters text"),
461
+ category: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'problems', "Problems"),
462
462
  keybinding: {
463
463
  when: MarkersContextKeys.MarkerViewFilterFocusContextKey,
464
464
  weight: 200 ,
@@ -475,7 +475,7 @@ registerAction2(class extends ViewAction {
475
475
  constructor() {
476
476
  super({
477
477
  id: `workbench.actions.treeView.${Markers.MARKERS_VIEW_ID}.collapseAll`,
478
- title: ( localize('collapseAll', "Collapse All")),
478
+ title: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'collapseAll', "Collapse All"),
479
479
  menu: {
480
480
  id: MenuId.ViewTitle,
481
481
  when: ( ContextKeyExpr.and(( ContextKeyExpr.equals('view', Markers.MARKERS_VIEW_ID)), ( MarkersContextKeys.MarkersViewModeContextKey.isEqualTo("tree" )))),
@@ -519,7 +519,7 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
519
519
  const markersStatistics = this.markerService.getStatistics();
520
520
  const tooltip = this.getMarkersTooltip(markersStatistics);
521
521
  return {
522
- name: ( localize('status.problems', "Problems")),
522
+ name: localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'status.problems', "Problems"),
523
523
  text: this.getMarkersText(markersStatistics),
524
524
  ariaLabel: tooltip,
525
525
  tooltip,
@@ -527,9 +527,9 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
527
527
  };
528
528
  }
529
529
  getMarkersTooltip(stats) {
530
- const errorTitle = (n) => ( localize('totalErrors', "Errors: {0}", n));
531
- const warningTitle = (n) => ( localize('totalWarnings', "Warnings: {0}", n));
532
- const infoTitle = (n) => ( localize('totalInfos', "Infos: {0}", n));
530
+ const errorTitle = (n) => localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'totalErrors', "Errors: {0}", n);
531
+ const warningTitle = (n) => localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'totalWarnings', "Warnings: {0}", n);
532
+ const infoTitle = (n) => localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'totalInfos', "Infos: {0}", n);
533
533
  const titles = [];
534
534
  if (stats.errors > 0) {
535
535
  titles.push(errorTitle(stats.errors));
@@ -541,7 +541,7 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
541
541
  titles.push(infoTitle(stats.infos));
542
542
  }
543
543
  if (titles.length === 0) {
544
- return ( localize('noProblems', "No Problems"));
544
+ return localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'noProblems', "No Problems");
545
545
  }
546
546
  return titles.join(', ');
547
547
  }
@@ -555,7 +555,7 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
555
555
  return problemsText.join(' ');
556
556
  }
557
557
  packNumber(n) {
558
- const manyProblems = ( localize('manyProblems', "10K+"));
558
+ const manyProblems = localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'manyProblems', "10K+");
559
559
  return n > 9999 ? manyProblems : n > 999 ? ( n.toString()).charAt(0) + 'K' : ( n.toString());
560
560
  }
561
561
  };
@@ -576,7 +576,7 @@ let ActivityUpdater = class ActivityUpdater extends Disposable {
576
576
  updateBadge() {
577
577
  const { errors, warnings, infos } = this.markerService.getStatistics();
578
578
  const total = errors + warnings + infos;
579
- const message = ( localize('totalProblems', 'Total {0} Problems', total));
579
+ const message = localizeWithPath('vs/workbench/contrib/markers/browser/markers.contribution', 'totalProblems', 'Total {0} Problems', total);
580
580
  this.activity.value = this.activityService.showViewActivity(Markers.MARKERS_VIEW_ID, { badge: ( new NumberBadge(total, () => message)) });
581
581
  }
582
582
  };
@@ -1,5 +1,5 @@
1
1
  import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
2
- import { localize } from 'monaco-editor/esm/vs/nls.js';
2
+ import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
3
3
  import * as dom from 'monaco-editor/esm/vs/base/browser/dom.js';
4
4
  import { Event } from 'monaco-editor/esm/vs/base/common/event.js';
5
5
  import { Disposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
@@ -209,7 +209,7 @@ let MarkersTable = class MarkersTable extends Disposable {
209
209
  project(row) { return row; }
210
210
  },
211
211
  {
212
- label: ( localize('codeColumnLabel', "Code")),
212
+ label: localizeWithPath('vs/workbench/contrib/markers/browser/markersTable', 'codeColumnLabel', "Code"),
213
213
  tooltip: '',
214
214
  weight: 1,
215
215
  minimumWidth: 100,
@@ -218,21 +218,21 @@ let MarkersTable = class MarkersTable extends Disposable {
218
218
  project(row) { return row; }
219
219
  },
220
220
  {
221
- label: ( localize('messageColumnLabel', "Message")),
221
+ label: localizeWithPath('vs/workbench/contrib/markers/browser/markersTable', 'messageColumnLabel', "Message"),
222
222
  tooltip: '',
223
223
  weight: 4,
224
224
  templateId: MarkerMessageColumnRenderer.TEMPLATE_ID,
225
225
  project(row) { return row; }
226
226
  },
227
227
  {
228
- label: ( localize('fileColumnLabel', "File")),
228
+ label: localizeWithPath('vs/workbench/contrib/markers/browser/markersTable', 'fileColumnLabel', "File"),
229
229
  tooltip: '',
230
230
  weight: 2,
231
231
  templateId: MarkerFileColumnRenderer.TEMPLATE_ID,
232
232
  project(row) { return row; }
233
233
  },
234
234
  {
235
- label: ( localize('sourceColumnLabel', "Source")),
235
+ label: localizeWithPath('vs/workbench/contrib/markers/browser/markersTable', 'sourceColumnLabel', "Source"),
236
236
  tooltip: '',
237
237
  weight: 1,
238
238
  minimumWidth: 100,
@@ -18,7 +18,7 @@ import { FilterOptions } from './markersFilterOptions.js';
18
18
  import { Emitter } from 'monaco-editor/esm/vs/base/common/event.js';
19
19
  import { isUndefinedOrNull } from 'monaco-editor/esm/vs/base/common/types.js';
20
20
  import { Action } from 'monaco-editor/esm/vs/base/common/actions.js';
21
- import { localize } from 'monaco-editor/esm/vs/nls.js';
21
+ import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
22
22
  import { createCancelablePromise, Delayer } from 'monaco-editor/esm/vs/base/common/async.js';
23
23
  import { IModelService } from 'monaco-editor/esm/vs/editor/common/services/model.js';
24
24
  import { Range } from 'monaco-editor/esm/vs/editor/common/core/range.js';
@@ -45,7 +45,7 @@ let MarkersWidgetAccessibilityProvider = class MarkersWidgetAccessibilityProvide
45
45
  this.labelService = labelService;
46
46
  }
47
47
  getWidgetAriaLabel() {
48
- return ( localize('problemsView', "Problems View"));
48
+ return localizeWithPath('vs/workbench/contrib/markers/browser/markersTreeViewer', 'problemsView', "Problems View");
49
49
  }
50
50
  getAriaLabel(element) {
51
51
  if (element instanceof ResourceMarkers) {
@@ -170,14 +170,8 @@ MarkerRenderer = ( __decorate([
170
170
  ( __param(1, IInstantiationService)),
171
171
  ( __param(2, IOpenerService))
172
172
  ], MarkerRenderer));
173
- const expandedIcon = registerIcon('markers-view-multi-line-expanded', Codicon.chevronUp, ( localize(
174
- 'expandedIcon',
175
- 'Icon indicating that multiple lines are shown in the markers view.'
176
- )));
177
- const collapsedIcon = registerIcon('markers-view-multi-line-collapsed', Codicon.chevronDown, ( localize(
178
- 'collapsedIcon',
179
- 'Icon indicating that multiple lines are collapsed in the markers view.'
180
- )));
173
+ const expandedIcon = registerIcon('markers-view-multi-line-expanded', Codicon.chevronUp, localizeWithPath('vs/workbench/contrib/markers/browser/markersTreeViewer', 'expandedIcon', 'Icon indicating that multiple lines are shown in the markers view.'));
174
+ const collapsedIcon = registerIcon('markers-view-multi-line-collapsed', Codicon.chevronDown, localizeWithPath('vs/workbench/contrib/markers/browser/markersTreeViewer', 'collapsedIcon', 'Icon indicating that multiple lines are collapsed in the markers view.'));
181
175
  const toggleMultilineAction = 'problems.action.toggleMultiline';
182
176
  class ToggleMultilineActionViewItem extends ActionViewItem {
183
177
  render(container) {
@@ -250,7 +244,7 @@ class MarkerWidget extends Disposable {
250
244
  const multiline = viewModel && viewModel.multiline;
251
245
  const action = ( new Action(toggleMultilineAction));
252
246
  action.enabled = !!viewModel && marker.lines.length > 1;
253
- action.tooltip = multiline ? ( localize('single line', "Show message in single line")) : ( localize('multi line', "Show message in multiple lines"));
247
+ action.tooltip = multiline ? localizeWithPath('vs/workbench/contrib/markers/browser/markersTreeViewer', 'single line', "Show message in single line") : localizeWithPath('vs/workbench/contrib/markers/browser/markersTreeViewer', 'multi line', "Show message in multiple lines");
254
248
  action.class = ThemeIcon.asClassName(multiline ? expandedIcon : collapsedIcon);
255
249
  action.run = () => { if (viewModel) {
256
250
  viewModel.multiline = !viewModel.multiline;
@@ -12,7 +12,7 @@ import Messages from './messages.js';
12
12
  import { RangeHighlightDecorations } from 'vscode/vscode/vs/workbench/browser/codeeditor';
13
13
  import { IThemeService } from 'monaco-editor/esm/vs/platform/theme/common/themeService.js';
14
14
  import { IStorageService } from 'monaco-editor/esm/vs/platform/storage/common/storage.js';
15
- import { localize } from 'monaco-editor/esm/vs/nls.js';
15
+ import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
16
16
  import { IContextKeyService } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
17
17
  import { Iterable } from 'monaco-editor/esm/vs/base/common/iterator.js';
18
18
  import { Event, Relay } from 'monaco-editor/esm/vs/base/common/event.js';
@@ -158,7 +158,7 @@ let MarkersView = class MarkersView extends FilterViewPane {
158
158
  this.filterWidget.focus();
159
159
  }
160
160
  updateBadge(total, filtered) {
161
- this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize('showing filtered problems', "Showing {0} of {1}", filtered, total)));
161
+ this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : localizeWithPath('vs/workbench/contrib/markers/browser/markersView', 'showing filtered problems', "Showing {0} of {1}", filtered, total));
162
162
  }
163
163
  checkMoreFilters() {
164
164
  this.filterWidget.checkMoreFilters(!this.filters.showErrors || !this.filters.showWarnings || !this.filters.showInfos || this.filters.excludedFiles || this.filters.activeFile);
@@ -538,10 +538,10 @@ let MarkersView = class MarkersView extends FilterViewPane {
538
538
  else {
539
539
  this.messageBoxContainer.style.display = 'none';
540
540
  if (filtered === total) {
541
- this.setAriaLabel(( localize('No problems filtered', "Showing {0} problems", total)));
541
+ this.setAriaLabel(localizeWithPath('vs/workbench/contrib/markers/browser/markersView', 'No problems filtered', "Showing {0} problems", total));
542
542
  }
543
543
  else {
544
- this.setAriaLabel(( localize('problems filtered', "Showing {0} of {1} problems", filtered, total)));
544
+ this.setAriaLabel(localizeWithPath('vs/workbench/contrib/markers/browser/markersView', 'problems filtered', "Showing {0} of {1} problems", filtered, total));
545
545
  }
546
546
  this.messageBoxContainer.removeAttribute('tabIndex');
547
547
  }
@@ -558,7 +558,7 @@ let MarkersView = class MarkersView extends FilterViewPane {
558
558
  const span1 = dom.append(container, dom.$('span'));
559
559
  span1.textContent = Messages.MARKERS_PANEL_NO_PROBLEMS_FILTERS;
560
560
  const link = dom.append(container, dom.$('a.messageAction'));
561
- link.textContent = ( localize('clearFilter', "Clear Filters"));
561
+ link.textContent = localizeWithPath('vs/workbench/contrib/markers/browser/markersView', 'clearFilter', "Clear Filters");
562
562
  link.setAttribute('tabIndex', '0');
563
563
  const span2 = dom.append(container, dom.$('span'));
564
564
  span2.textContent = '.';
@@ -3,171 +3,62 @@ import { basename } from 'monaco-editor/esm/vs/base/common/resources.js';
3
3
  import { MarkerSeverity } from 'monaco-editor/esm/vs/platform/markers/common/markers.js';
4
4
 
5
5
  class Messages {
6
- static { this.MARKERS_PANEL_TOGGLE_LABEL = ( nls.localize('problems.view.toggle.label', "Toggle Problems (Errors, Warnings, Infos)")); }
7
- static { this.MARKERS_PANEL_SHOW_LABEL = ( nls.localize('problems.view.focus.label', "Focus Problems (Errors, Warnings, Infos)")); }
8
- static { this.PROBLEMS_PANEL_CONFIGURATION_TITLE = ( nls.localize('problems.panel.configuration.title', "Problems View")); }
9
- static { this.PROBLEMS_PANEL_CONFIGURATION_AUTO_REVEAL = ( nls.localize(
10
- 'problems.panel.configuration.autoreveal',
11
- "Controls whether Problems view should automatically reveal files when opening them."
12
- )); }
13
- static { this.PROBLEMS_PANEL_CONFIGURATION_VIEW_MODE = ( nls.localize(
14
- 'problems.panel.configuration.viewMode',
15
- "Controls the default view mode of the Problems view."
16
- )); }
17
- static { this.PROBLEMS_PANEL_CONFIGURATION_SHOW_CURRENT_STATUS = ( nls.localize(
18
- 'problems.panel.configuration.showCurrentInStatus',
19
- "When enabled shows the current problem in the status bar."
20
- )); }
21
- static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER = ( nls.localize(
22
- 'problems.panel.configuration.compareOrder',
23
- "Controls the order in which problems are navigated."
24
- )); }
25
- static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER_SEVERITY = ( nls.localize(
26
- 'problems.panel.configuration.compareOrder.severity',
27
- "Navigate problems ordered by severity"
28
- )); }
29
- static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER_POSITION = ( nls.localize(
30
- 'problems.panel.configuration.compareOrder.position',
31
- "Navigate problems ordered by position"
32
- )); }
6
+ static { this.MARKERS_PANEL_TOGGLE_LABEL = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'problems.view.toggle.label', "Toggle Problems (Errors, Warnings, Infos)"); }
7
+ static { this.MARKERS_PANEL_SHOW_LABEL = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'problems.view.focus.label', "Focus Problems (Errors, Warnings, Infos)"); }
8
+ static { this.PROBLEMS_PANEL_CONFIGURATION_TITLE = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'problems.panel.configuration.title', "Problems View"); }
9
+ static { this.PROBLEMS_PANEL_CONFIGURATION_AUTO_REVEAL = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'problems.panel.configuration.autoreveal', "Controls whether Problems view should automatically reveal files when opening them."); }
10
+ static { this.PROBLEMS_PANEL_CONFIGURATION_VIEW_MODE = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'problems.panel.configuration.viewMode', "Controls the default view mode of the Problems view."); }
11
+ static { this.PROBLEMS_PANEL_CONFIGURATION_SHOW_CURRENT_STATUS = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'problems.panel.configuration.showCurrentInStatus', "When enabled shows the current problem in the status bar."); }
12
+ static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'problems.panel.configuration.compareOrder', "Controls the order in which problems are navigated."); }
13
+ static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER_SEVERITY = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'problems.panel.configuration.compareOrder.severity', "Navigate problems ordered by severity"); }
14
+ static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER_POSITION = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'problems.panel.configuration.compareOrder.position', "Navigate problems ordered by position"); }
33
15
  static { this.MARKERS_PANEL_ORIGINAL_TITLE_PROBLEMS = 'Problems'; }
34
- static { this.MARKERS_PANEL_TITLE_PROBLEMS = ( nls.localize('markers.panel.title.problems', "Problems")); }
35
- static { this.MARKERS_PANEL_NO_PROBLEMS_BUILT = ( nls.localize(
36
- 'markers.panel.no.problems.build',
37
- "No problems have been detected in the workspace."
38
- )); }
39
- static { this.MARKERS_PANEL_NO_PROBLEMS_ACTIVE_FILE_BUILT = ( nls.localize(
40
- 'markers.panel.no.problems.activeFile.build',
41
- "No problems have been detected in the current file."
42
- )); }
43
- static { this.MARKERS_PANEL_NO_PROBLEMS_FILTERS = ( nls.localize(
44
- 'markers.panel.no.problems.filters',
45
- "No results found with provided filter criteria."
46
- )); }
47
- static { this.MARKERS_PANEL_ACTION_TOOLTIP_MORE_FILTERS = ( nls.localize('markers.panel.action.moreFilters', "More Filters...")); }
48
- static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_ERRORS = ( nls.localize('markers.panel.filter.showErrors', "Show Errors")); }
49
- static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_WARNINGS = ( nls.localize('markers.panel.filter.showWarnings', "Show Warnings")); }
50
- static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_INFOS = ( nls.localize('markers.panel.filter.showInfos', "Show Infos")); }
51
- static { this.MARKERS_PANEL_FILTER_LABEL_EXCLUDED_FILES = ( nls.localize('markers.panel.filter.useFilesExclude', "Hide Excluded Files")); }
52
- static { this.MARKERS_PANEL_FILTER_LABEL_ACTIVE_FILE = ( nls.localize('markers.panel.filter.activeFile', "Show Active File Only")); }
53
- static { this.MARKERS_PANEL_ACTION_TOOLTIP_FILTER = ( nls.localize('markers.panel.action.filter', "Filter Problems")); }
54
- static { this.MARKERS_PANEL_ACTION_TOOLTIP_QUICKFIX = ( nls.localize('markers.panel.action.quickfix', "Show fixes")); }
55
- static { this.MARKERS_PANEL_FILTER_ARIA_LABEL = ( nls.localize('markers.panel.filter.ariaLabel', "Filter Problems")); }
56
- static { this.MARKERS_PANEL_FILTER_PLACEHOLDER = ( nls.localize(
57
- 'markers.panel.filter.placeholder',
58
- "Filter (e.g. text, **/*.ts, !**/node_modules/**)"
59
- )); }
60
- static { this.MARKERS_PANEL_FILTER_ERRORS = ( nls.localize('markers.panel.filter.errors', "errors")); }
61
- static { this.MARKERS_PANEL_FILTER_WARNINGS = ( nls.localize('markers.panel.filter.warnings', "warnings")); }
62
- static { this.MARKERS_PANEL_FILTER_INFOS = ( nls.localize('markers.panel.filter.infos', "infos")); }
63
- static { this.MARKERS_PANEL_SINGLE_ERROR_LABEL = ( nls.localize('markers.panel.single.error.label', "1 Error")); }
64
- static { this.MARKERS_PANEL_MULTIPLE_ERRORS_LABEL = (noOfErrors) => { return ( nls.localize('markers.panel.multiple.errors.label', "{0} Errors", '' + noOfErrors)); }; }
65
- static { this.MARKERS_PANEL_SINGLE_WARNING_LABEL = ( nls.localize('markers.panel.single.warning.label', "1 Warning")); }
66
- static { this.MARKERS_PANEL_MULTIPLE_WARNINGS_LABEL = (noOfWarnings) => { return ( nls.localize('markers.panel.multiple.warnings.label', "{0} Warnings", '' + noOfWarnings)); }; }
67
- static { this.MARKERS_PANEL_SINGLE_INFO_LABEL = ( nls.localize('markers.panel.single.info.label', "1 Info")); }
68
- static { this.MARKERS_PANEL_MULTIPLE_INFOS_LABEL = (noOfInfos) => { return ( nls.localize('markers.panel.multiple.infos.label', "{0} Infos", '' + noOfInfos)); }; }
69
- static { this.MARKERS_PANEL_SINGLE_UNKNOWN_LABEL = ( nls.localize('markers.panel.single.unknown.label', "1 Unknown")); }
70
- static { this.MARKERS_PANEL_MULTIPLE_UNKNOWNS_LABEL = (noOfUnknowns) => { return ( nls.localize('markers.panel.multiple.unknowns.label', "{0} Unknowns", '' + noOfUnknowns)); }; }
71
- static { this.MARKERS_PANEL_AT_LINE_COL_NUMBER = (ln, col) => { return ( nls.localize('markers.panel.at.ln.col.number', "[Ln {0}, Col {1}]", '' + ln, '' + col)); }; }
72
- static { this.MARKERS_TREE_ARIA_LABEL_RESOURCE = (noOfProblems, fileName, folder) => { return ( nls.localize(
73
- 'problems.tree.aria.label.resource',
74
- "{0} problems in file {1} of folder {2}",
75
- noOfProblems,
76
- fileName,
77
- folder
78
- )); }; }
16
+ static { this.MARKERS_PANEL_TITLE_PROBLEMS = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'markers.panel.title.problems', "Problems"); }
17
+ static { this.MARKERS_PANEL_NO_PROBLEMS_BUILT = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'markers.panel.no.problems.build', "No problems have been detected in the workspace."); }
18
+ static { this.MARKERS_PANEL_NO_PROBLEMS_ACTIVE_FILE_BUILT = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'markers.panel.no.problems.activeFile.build', "No problems have been detected in the current file."); }
19
+ static { this.MARKERS_PANEL_NO_PROBLEMS_FILTERS = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'markers.panel.no.problems.filters', "No results found with provided filter criteria."); }
20
+ static { this.MARKERS_PANEL_ACTION_TOOLTIP_MORE_FILTERS = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'markers.panel.action.moreFilters', "More Filters..."); }
21
+ static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_ERRORS = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'markers.panel.filter.showErrors', "Show Errors"); }
22
+ static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_WARNINGS = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'markers.panel.filter.showWarnings', "Show Warnings"); }
23
+ static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_INFOS = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'markers.panel.filter.showInfos', "Show Infos"); }
24
+ static { this.MARKERS_PANEL_FILTER_LABEL_EXCLUDED_FILES = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'markers.panel.filter.useFilesExclude', "Hide Excluded Files"); }
25
+ static { this.MARKERS_PANEL_FILTER_LABEL_ACTIVE_FILE = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'markers.panel.filter.activeFile', "Show Active File Only"); }
26
+ static { this.MARKERS_PANEL_ACTION_TOOLTIP_FILTER = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'markers.panel.action.filter', "Filter Problems"); }
27
+ static { this.MARKERS_PANEL_ACTION_TOOLTIP_QUICKFIX = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'markers.panel.action.quickfix', "Show fixes"); }
28
+ static { this.MARKERS_PANEL_FILTER_ARIA_LABEL = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'markers.panel.filter.ariaLabel', "Filter Problems"); }
29
+ static { this.MARKERS_PANEL_FILTER_PLACEHOLDER = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'markers.panel.filter.placeholder', "Filter (e.g. text, **/*.ts, !**/node_modules/**)"); }
30
+ static { this.MARKERS_PANEL_FILTER_ERRORS = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'markers.panel.filter.errors', "errors"); }
31
+ static { this.MARKERS_PANEL_FILTER_WARNINGS = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'markers.panel.filter.warnings', "warnings"); }
32
+ static { this.MARKERS_PANEL_FILTER_INFOS = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'markers.panel.filter.infos', "infos"); }
33
+ static { this.MARKERS_PANEL_SINGLE_ERROR_LABEL = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'markers.panel.single.error.label', "1 Error"); }
34
+ static { this.MARKERS_PANEL_MULTIPLE_ERRORS_LABEL = (noOfErrors) => { return nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'markers.panel.multiple.errors.label', "{0} Errors", '' + noOfErrors); }; }
35
+ static { this.MARKERS_PANEL_SINGLE_WARNING_LABEL = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'markers.panel.single.warning.label', "1 Warning"); }
36
+ static { this.MARKERS_PANEL_MULTIPLE_WARNINGS_LABEL = (noOfWarnings) => { return nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'markers.panel.multiple.warnings.label', "{0} Warnings", '' + noOfWarnings); }; }
37
+ static { this.MARKERS_PANEL_SINGLE_INFO_LABEL = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'markers.panel.single.info.label', "1 Info"); }
38
+ static { this.MARKERS_PANEL_MULTIPLE_INFOS_LABEL = (noOfInfos) => { return nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'markers.panel.multiple.infos.label', "{0} Infos", '' + noOfInfos); }; }
39
+ static { this.MARKERS_PANEL_SINGLE_UNKNOWN_LABEL = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'markers.panel.single.unknown.label', "1 Unknown"); }
40
+ static { this.MARKERS_PANEL_MULTIPLE_UNKNOWNS_LABEL = (noOfUnknowns) => { return nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'markers.panel.multiple.unknowns.label', "{0} Unknowns", '' + noOfUnknowns); }; }
41
+ static { this.MARKERS_PANEL_AT_LINE_COL_NUMBER = (ln, col) => { return nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'markers.panel.at.ln.col.number', "[Ln {0}, Col {1}]", '' + ln, '' + col); }; }
42
+ static { this.MARKERS_TREE_ARIA_LABEL_RESOURCE = (noOfProblems, fileName, folder) => { return nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'problems.tree.aria.label.resource', "{0} problems in file {1} of folder {2}", noOfProblems, fileName, folder); }; }
79
43
  static { this.MARKERS_TREE_ARIA_LABEL_MARKER = (marker) => {
80
- const relatedInformationMessage = marker.relatedInformation.length ? ( nls.localize(
81
- 'problems.tree.aria.label.marker.relatedInformation',
82
- " This problem has references to {0} locations.",
83
- marker.relatedInformation.length
84
- )) : '';
44
+ const relatedInformationMessage = marker.relatedInformation.length ? nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'problems.tree.aria.label.marker.relatedInformation', " This problem has references to {0} locations.", marker.relatedInformation.length) : '';
85
45
  switch (marker.marker.severity) {
86
46
  case MarkerSeverity.Error:
87
- return marker.marker.source ? ( nls.localize(
88
- 'problems.tree.aria.label.error.marker',
89
- "Error: {0} at line {1} and character {2}.{3} generated by {4}",
90
- marker.marker.message,
91
- marker.marker.startLineNumber,
92
- marker.marker.startColumn,
93
- relatedInformationMessage,
94
- marker.marker.source
95
- ))
96
- : ( nls.localize(
97
- 'problems.tree.aria.label.error.marker.nosource',
98
- "Error: {0} at line {1} and character {2}.{3}",
99
- marker.marker.message,
100
- marker.marker.startLineNumber,
101
- marker.marker.startColumn,
102
- relatedInformationMessage
103
- ));
47
+ return marker.marker.source ? nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'problems.tree.aria.label.error.marker', "Error: {0} at line {1} and character {2}.{3} generated by {4}", marker.marker.message, marker.marker.startLineNumber, marker.marker.startColumn, relatedInformationMessage, marker.marker.source)
48
+ : nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'problems.tree.aria.label.error.marker.nosource', "Error: {0} at line {1} and character {2}.{3}", marker.marker.message, marker.marker.startLineNumber, marker.marker.startColumn, relatedInformationMessage);
104
49
  case MarkerSeverity.Warning:
105
- return marker.marker.source ? ( nls.localize(
106
- 'problems.tree.aria.label.warning.marker',
107
- "Warning: {0} at line {1} and character {2}.{3} generated by {4}",
108
- marker.marker.message,
109
- marker.marker.startLineNumber,
110
- marker.marker.startColumn,
111
- relatedInformationMessage,
112
- marker.marker.source
113
- ))
114
- : ( nls.localize(
115
- 'problems.tree.aria.label.warning.marker.nosource',
116
- "Warning: {0} at line {1} and character {2}.{3}",
117
- marker.marker.message,
118
- marker.marker.startLineNumber,
119
- marker.marker.startColumn,
120
- relatedInformationMessage,
121
- relatedInformationMessage
122
- ));
50
+ return marker.marker.source ? nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'problems.tree.aria.label.warning.marker', "Warning: {0} at line {1} and character {2}.{3} generated by {4}", marker.marker.message, marker.marker.startLineNumber, marker.marker.startColumn, relatedInformationMessage, marker.marker.source)
51
+ : nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'problems.tree.aria.label.warning.marker.nosource', "Warning: {0} at line {1} and character {2}.{3}", marker.marker.message, marker.marker.startLineNumber, marker.marker.startColumn, relatedInformationMessage, relatedInformationMessage);
123
52
  case MarkerSeverity.Info:
124
- return marker.marker.source ? ( nls.localize(
125
- 'problems.tree.aria.label.info.marker',
126
- "Info: {0} at line {1} and character {2}.{3} generated by {4}",
127
- marker.marker.message,
128
- marker.marker.startLineNumber,
129
- marker.marker.startColumn,
130
- relatedInformationMessage,
131
- marker.marker.source
132
- ))
133
- : ( nls.localize(
134
- 'problems.tree.aria.label.info.marker.nosource',
135
- "Info: {0} at line {1} and character {2}.{3}",
136
- marker.marker.message,
137
- marker.marker.startLineNumber,
138
- marker.marker.startColumn,
139
- relatedInformationMessage
140
- ));
53
+ return marker.marker.source ? nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'problems.tree.aria.label.info.marker', "Info: {0} at line {1} and character {2}.{3} generated by {4}", marker.marker.message, marker.marker.startLineNumber, marker.marker.startColumn, relatedInformationMessage, marker.marker.source)
54
+ : nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'problems.tree.aria.label.info.marker.nosource', "Info: {0} at line {1} and character {2}.{3}", marker.marker.message, marker.marker.startLineNumber, marker.marker.startColumn, relatedInformationMessage);
141
55
  default:
142
- return marker.marker.source ? ( nls.localize(
143
- 'problems.tree.aria.label.marker',
144
- "Problem: {0} at line {1} and character {2}.{3} generated by {4}",
145
- marker.marker.source,
146
- marker.marker.message,
147
- marker.marker.startLineNumber,
148
- marker.marker.startColumn,
149
- relatedInformationMessage,
150
- marker.marker.source
151
- ))
152
- : ( nls.localize(
153
- 'problems.tree.aria.label.marker.nosource',
154
- "Problem: {0} at line {1} and character {2}.{3}",
155
- marker.marker.message,
156
- marker.marker.startLineNumber,
157
- marker.marker.startColumn,
158
- relatedInformationMessage
159
- ));
56
+ return marker.marker.source ? nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'problems.tree.aria.label.marker', "Problem: {0} at line {1} and character {2}.{3} generated by {4}", marker.marker.source, marker.marker.message, marker.marker.startLineNumber, marker.marker.startColumn, relatedInformationMessage, marker.marker.source)
57
+ : nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'problems.tree.aria.label.marker.nosource', "Problem: {0} at line {1} and character {2}.{3}", marker.marker.message, marker.marker.startLineNumber, marker.marker.startColumn, relatedInformationMessage);
160
58
  }
161
59
  }; }
162
- static { this.MARKERS_TREE_ARIA_LABEL_RELATED_INFORMATION = (relatedInformation) => ( nls.localize(
163
- 'problems.tree.aria.label.relatedinfo.message',
164
- "{0} at line {1} and character {2} in {3}",
165
- relatedInformation.message,
166
- relatedInformation.startLineNumber,
167
- relatedInformation.startColumn,
168
- basename(relatedInformation.resource)
169
- )); }
170
- static { this.SHOW_ERRORS_WARNINGS_ACTION_LABEL = ( nls.localize('errors.warnings.show.label', "Show Errors and Warnings")); }
60
+ static { this.MARKERS_TREE_ARIA_LABEL_RELATED_INFORMATION = (relatedInformation) => nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'problems.tree.aria.label.relatedinfo.message', "{0} at line {1} and character {2} in {3}", relatedInformation.message, relatedInformation.startLineNumber, relatedInformation.startColumn, basename(relatedInformation.resource)); }
61
+ static { this.SHOW_ERRORS_WARNINGS_ACTION_LABEL = nls.localizeWithPath('vs/workbench/contrib/markers/browser/messages', 'errors.warnings.show.label', "Show Errors and Warnings"); }
171
62
  }
172
63
 
173
64
  export { Messages as default };