@codingame/monaco-vscode-markers-service-override 4.5.1 → 4.5.2

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.
@@ -2,191 +2,50 @@ import { localizeWithPath, localize2WithPath } from 'vscode/vscode/vs/nls';
2
2
  import { basename } from 'vscode/vscode/vs/base/common/resources';
3
3
  import { MarkerSeverity } from 'vscode/vscode/vs/platform/markers/common/markers';
4
4
 
5
+ const _moduleId = "vs/workbench/contrib/markers/browser/messages";
5
6
  class Messages {
6
- static { this.MARKERS_PANEL_TOGGLE_LABEL = ( localizeWithPath(
7
- 'vs/workbench/contrib/markers/browser/messages',
8
- 'problems.view.toggle.label',
9
- "Toggle Problems (Errors, Warnings, Infos)"
10
- )); }
11
- static { this.MARKERS_PANEL_SHOW_LABEL = ( localize2WithPath(
12
- 'vs/workbench/contrib/markers/browser/messages',
13
- 'problems.view.focus.label',
14
- "Focus Problems (Errors, Warnings, Infos)"
15
- )); }
16
- static { this.PROBLEMS_PANEL_CONFIGURATION_TITLE = ( localizeWithPath(
17
- 'vs/workbench/contrib/markers/browser/messages',
18
- 'problems.panel.configuration.title',
19
- "Problems View"
20
- )); }
7
+ static { this.MARKERS_PANEL_TOGGLE_LABEL = ( localizeWithPath(_moduleId, 0, "Toggle Problems (Errors, Warnings, Infos)")); }
8
+ static { this.MARKERS_PANEL_SHOW_LABEL = ( localize2WithPath(_moduleId, 1, "Focus Problems (Errors, Warnings, Infos)")); }
9
+ static { this.PROBLEMS_PANEL_CONFIGURATION_TITLE = ( localizeWithPath(_moduleId, 2, "Problems View")); }
21
10
  static { this.PROBLEMS_PANEL_CONFIGURATION_AUTO_REVEAL = ( localizeWithPath(
22
- 'vs/workbench/contrib/markers/browser/messages',
23
- 'problems.panel.configuration.autoreveal',
11
+ _moduleId,
12
+ 3,
24
13
  "Controls whether Problems view should automatically reveal files when opening them."
25
14
  )); }
26
- static { this.PROBLEMS_PANEL_CONFIGURATION_VIEW_MODE = ( localizeWithPath(
27
- 'vs/workbench/contrib/markers/browser/messages',
28
- 'problems.panel.configuration.viewMode',
29
- "Controls the default view mode of the Problems view."
30
- )); }
31
- static { this.PROBLEMS_PANEL_CONFIGURATION_SHOW_CURRENT_STATUS = ( localizeWithPath(
32
- 'vs/workbench/contrib/markers/browser/messages',
33
- 'problems.panel.configuration.showCurrentInStatus',
34
- "When enabled shows the current problem in the status bar."
35
- )); }
36
- static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER = ( localizeWithPath(
37
- 'vs/workbench/contrib/markers/browser/messages',
38
- 'problems.panel.configuration.compareOrder',
39
- "Controls the order in which problems are navigated."
40
- )); }
41
- static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER_SEVERITY = ( localizeWithPath(
42
- 'vs/workbench/contrib/markers/browser/messages',
43
- 'problems.panel.configuration.compareOrder.severity',
44
- "Navigate problems ordered by severity"
45
- )); }
46
- static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER_POSITION = ( localizeWithPath(
47
- 'vs/workbench/contrib/markers/browser/messages',
48
- 'problems.panel.configuration.compareOrder.position',
49
- "Navigate problems ordered by position"
50
- )); }
51
- static { this.MARKERS_PANEL_TITLE_PROBLEMS = ( localize2WithPath(
52
- 'vs/workbench/contrib/markers/browser/messages',
53
- 'markers.panel.title.problems',
54
- "Problems"
55
- )); }
56
- static { this.MARKERS_PANEL_NO_PROBLEMS_BUILT = ( localizeWithPath(
57
- 'vs/workbench/contrib/markers/browser/messages',
58
- 'markers.panel.no.problems.build',
59
- "No problems have been detected in the workspace."
60
- )); }
61
- static { this.MARKERS_PANEL_NO_PROBLEMS_ACTIVE_FILE_BUILT = ( localizeWithPath(
62
- 'vs/workbench/contrib/markers/browser/messages',
63
- 'markers.panel.no.problems.activeFile.build',
64
- "No problems have been detected in the current file."
65
- )); }
66
- static { this.MARKERS_PANEL_NO_PROBLEMS_FILTERS = ( localizeWithPath(
67
- 'vs/workbench/contrib/markers/browser/messages',
68
- 'markers.panel.no.problems.filters',
69
- "No results found with provided filter criteria."
70
- )); }
71
- static { this.MARKERS_PANEL_ACTION_TOOLTIP_MORE_FILTERS = ( localizeWithPath(
72
- 'vs/workbench/contrib/markers/browser/messages',
73
- 'markers.panel.action.moreFilters',
74
- "More Filters..."
75
- )); }
76
- static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_ERRORS = ( localizeWithPath(
77
- 'vs/workbench/contrib/markers/browser/messages',
78
- 'markers.panel.filter.showErrors',
79
- "Show Errors"
80
- )); }
81
- static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_WARNINGS = ( localizeWithPath(
82
- 'vs/workbench/contrib/markers/browser/messages',
83
- 'markers.panel.filter.showWarnings',
84
- "Show Warnings"
85
- )); }
86
- static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_INFOS = ( localizeWithPath(
87
- 'vs/workbench/contrib/markers/browser/messages',
88
- 'markers.panel.filter.showInfos',
89
- "Show Infos"
90
- )); }
91
- static { this.MARKERS_PANEL_FILTER_LABEL_EXCLUDED_FILES = ( localizeWithPath(
92
- 'vs/workbench/contrib/markers/browser/messages',
93
- 'markers.panel.filter.useFilesExclude',
94
- "Hide Excluded Files"
95
- )); }
96
- static { this.MARKERS_PANEL_FILTER_LABEL_ACTIVE_FILE = ( localizeWithPath(
97
- 'vs/workbench/contrib/markers/browser/messages',
98
- 'markers.panel.filter.activeFile',
99
- "Show Active File Only"
100
- )); }
101
- static { this.MARKERS_PANEL_ACTION_TOOLTIP_FILTER = ( localizeWithPath(
102
- 'vs/workbench/contrib/markers/browser/messages',
103
- 'markers.panel.action.filter',
104
- "Filter Problems"
105
- )); }
106
- static { this.MARKERS_PANEL_ACTION_TOOLTIP_QUICKFIX = ( localizeWithPath(
107
- 'vs/workbench/contrib/markers/browser/messages',
108
- 'markers.panel.action.quickfix',
109
- "Show fixes"
110
- )); }
111
- static { this.MARKERS_PANEL_FILTER_ARIA_LABEL = ( localizeWithPath(
112
- 'vs/workbench/contrib/markers/browser/messages',
113
- 'markers.panel.filter.ariaLabel',
114
- "Filter Problems"
115
- )); }
116
- static { this.MARKERS_PANEL_FILTER_PLACEHOLDER = ( localizeWithPath(
117
- 'vs/workbench/contrib/markers/browser/messages',
118
- 'markers.panel.filter.placeholder',
119
- "Filter (e.g. text, **/*.ts, !**/node_modules/**)"
120
- )); }
121
- static { this.MARKERS_PANEL_FILTER_ERRORS = ( localizeWithPath(
122
- 'vs/workbench/contrib/markers/browser/messages',
123
- 'markers.panel.filter.errors',
124
- "errors"
125
- )); }
126
- static { this.MARKERS_PANEL_FILTER_WARNINGS = ( localizeWithPath(
127
- 'vs/workbench/contrib/markers/browser/messages',
128
- 'markers.panel.filter.warnings',
129
- "warnings"
130
- )); }
131
- static { this.MARKERS_PANEL_FILTER_INFOS = ( localizeWithPath(
132
- 'vs/workbench/contrib/markers/browser/messages',
133
- 'markers.panel.filter.infos',
134
- "infos"
135
- )); }
136
- static { this.MARKERS_PANEL_SINGLE_ERROR_LABEL = ( localizeWithPath(
137
- 'vs/workbench/contrib/markers/browser/messages',
138
- 'markers.panel.single.error.label',
139
- "1 Error"
140
- )); }
141
- static { this.MARKERS_PANEL_MULTIPLE_ERRORS_LABEL = (noOfErrors) => { return ( localizeWithPath(
142
- 'vs/workbench/contrib/markers/browser/messages',
143
- 'markers.panel.multiple.errors.label',
144
- "{0} Errors",
145
- '' + noOfErrors
146
- )); }; }
147
- static { this.MARKERS_PANEL_SINGLE_WARNING_LABEL = ( localizeWithPath(
148
- 'vs/workbench/contrib/markers/browser/messages',
149
- 'markers.panel.single.warning.label',
150
- "1 Warning"
151
- )); }
152
- static { this.MARKERS_PANEL_MULTIPLE_WARNINGS_LABEL = (noOfWarnings) => { return ( localizeWithPath(
153
- 'vs/workbench/contrib/markers/browser/messages',
154
- 'markers.panel.multiple.warnings.label',
155
- "{0} Warnings",
156
- '' + noOfWarnings
157
- )); }; }
158
- static { this.MARKERS_PANEL_SINGLE_INFO_LABEL = ( localizeWithPath(
159
- 'vs/workbench/contrib/markers/browser/messages',
160
- 'markers.panel.single.info.label',
161
- "1 Info"
162
- )); }
163
- static { this.MARKERS_PANEL_MULTIPLE_INFOS_LABEL = (noOfInfos) => { return ( localizeWithPath(
164
- 'vs/workbench/contrib/markers/browser/messages',
165
- 'markers.panel.multiple.infos.label',
166
- "{0} Infos",
167
- '' + noOfInfos
168
- )); }; }
169
- static { this.MARKERS_PANEL_SINGLE_UNKNOWN_LABEL = ( localizeWithPath(
170
- 'vs/workbench/contrib/markers/browser/messages',
171
- 'markers.panel.single.unknown.label',
172
- "1 Unknown"
173
- )); }
174
- static { this.MARKERS_PANEL_MULTIPLE_UNKNOWNS_LABEL = (noOfUnknowns) => { return ( localizeWithPath(
175
- 'vs/workbench/contrib/markers/browser/messages',
176
- 'markers.panel.multiple.unknowns.label',
177
- "{0} Unknowns",
178
- '' + noOfUnknowns
179
- )); }; }
180
- static { this.MARKERS_PANEL_AT_LINE_COL_NUMBER = (ln, col) => { return ( localizeWithPath(
181
- 'vs/workbench/contrib/markers/browser/messages',
182
- 'markers.panel.at.ln.col.number',
183
- "[Ln {0}, Col {1}]",
184
- '' + ln,
185
- '' + col
186
- )); }; }
15
+ static { this.PROBLEMS_PANEL_CONFIGURATION_VIEW_MODE = ( localizeWithPath(_moduleId, 4, "Controls the default view mode of the Problems view.")); }
16
+ static { this.PROBLEMS_PANEL_CONFIGURATION_SHOW_CURRENT_STATUS = ( localizeWithPath(_moduleId, 5, "When enabled shows the current problem in the status bar.")); }
17
+ static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER = ( localizeWithPath(_moduleId, 6, "Controls the order in which problems are navigated.")); }
18
+ static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER_SEVERITY = ( localizeWithPath(_moduleId, 7, "Navigate problems ordered by severity")); }
19
+ static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER_POSITION = ( localizeWithPath(_moduleId, 8, "Navigate problems ordered by position")); }
20
+ static { this.MARKERS_PANEL_TITLE_PROBLEMS = ( localize2WithPath(_moduleId, 9, "Problems")); }
21
+ static { this.MARKERS_PANEL_NO_PROBLEMS_BUILT = ( localizeWithPath(_moduleId, 10, "No problems have been detected in the workspace.")); }
22
+ static { this.MARKERS_PANEL_NO_PROBLEMS_ACTIVE_FILE_BUILT = ( localizeWithPath(_moduleId, 11, "No problems have been detected in the current file.")); }
23
+ static { this.MARKERS_PANEL_NO_PROBLEMS_FILTERS = ( localizeWithPath(_moduleId, 12, "No results found with provided filter criteria.")); }
24
+ static { this.MARKERS_PANEL_ACTION_TOOLTIP_MORE_FILTERS = ( localizeWithPath(_moduleId, 13, "More Filters...")); }
25
+ static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_ERRORS = ( localizeWithPath(_moduleId, 14, "Show Errors")); }
26
+ static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_WARNINGS = ( localizeWithPath(_moduleId, 15, "Show Warnings")); }
27
+ static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_INFOS = ( localizeWithPath(_moduleId, 16, "Show Infos")); }
28
+ static { this.MARKERS_PANEL_FILTER_LABEL_EXCLUDED_FILES = ( localizeWithPath(_moduleId, 17, "Hide Excluded Files")); }
29
+ static { this.MARKERS_PANEL_FILTER_LABEL_ACTIVE_FILE = ( localizeWithPath(_moduleId, 18, "Show Active File Only")); }
30
+ static { this.MARKERS_PANEL_ACTION_TOOLTIP_FILTER = ( localizeWithPath(_moduleId, 19, "Filter Problems")); }
31
+ static { this.MARKERS_PANEL_ACTION_TOOLTIP_QUICKFIX = ( localizeWithPath(_moduleId, 20, "Show fixes")); }
32
+ static { this.MARKERS_PANEL_FILTER_ARIA_LABEL = ( localizeWithPath(_moduleId, 21, "Filter Problems")); }
33
+ static { this.MARKERS_PANEL_FILTER_PLACEHOLDER = ( localizeWithPath(_moduleId, 22, "Filter (e.g. text, **/*.ts, !**/node_modules/**)")); }
34
+ static { this.MARKERS_PANEL_FILTER_ERRORS = ( localizeWithPath(_moduleId, 23, "errors")); }
35
+ static { this.MARKERS_PANEL_FILTER_WARNINGS = ( localizeWithPath(_moduleId, 24, "warnings")); }
36
+ static { this.MARKERS_PANEL_FILTER_INFOS = ( localizeWithPath(_moduleId, 25, "infos")); }
37
+ static { this.MARKERS_PANEL_SINGLE_ERROR_LABEL = ( localizeWithPath(_moduleId, 26, "1 Error")); }
38
+ static { this.MARKERS_PANEL_MULTIPLE_ERRORS_LABEL = (noOfErrors) => { return ( localizeWithPath(_moduleId, 27, "{0} Errors", '' + noOfErrors)); }; }
39
+ static { this.MARKERS_PANEL_SINGLE_WARNING_LABEL = ( localizeWithPath(_moduleId, 28, "1 Warning")); }
40
+ static { this.MARKERS_PANEL_MULTIPLE_WARNINGS_LABEL = (noOfWarnings) => { return ( localizeWithPath(_moduleId, 29, "{0} Warnings", '' + noOfWarnings)); }; }
41
+ static { this.MARKERS_PANEL_SINGLE_INFO_LABEL = ( localizeWithPath(_moduleId, 30, "1 Info")); }
42
+ static { this.MARKERS_PANEL_MULTIPLE_INFOS_LABEL = (noOfInfos) => { return ( localizeWithPath(_moduleId, 31, "{0} Infos", '' + noOfInfos)); }; }
43
+ static { this.MARKERS_PANEL_SINGLE_UNKNOWN_LABEL = ( localizeWithPath(_moduleId, 32, "1 Unknown")); }
44
+ static { this.MARKERS_PANEL_MULTIPLE_UNKNOWNS_LABEL = (noOfUnknowns) => { return ( localizeWithPath(_moduleId, 33, "{0} Unknowns", '' + noOfUnknowns)); }; }
45
+ static { this.MARKERS_PANEL_AT_LINE_COL_NUMBER = (ln, col) => { return ( localizeWithPath(_moduleId, 34, "[Ln {0}, Col {1}]", '' + ln, '' + col)); }; }
187
46
  static { this.MARKERS_TREE_ARIA_LABEL_RESOURCE = (noOfProblems, fileName, folder) => { return ( localizeWithPath(
188
- 'vs/workbench/contrib/markers/browser/messages',
189
- 'problems.tree.aria.label.resource',
47
+ _moduleId,
48
+ 35,
190
49
  "{0} problems in file {1} of folder {2}",
191
50
  noOfProblems,
192
51
  fileName,
@@ -194,16 +53,16 @@ class Messages {
194
53
  )); }; }
195
54
  static { this.MARKERS_TREE_ARIA_LABEL_MARKER = (marker) => {
196
55
  const relatedInformationMessage = marker.relatedInformation.length ? ( localizeWithPath(
197
- 'vs/workbench/contrib/markers/browser/messages',
198
- 'problems.tree.aria.label.marker.relatedInformation',
56
+ _moduleId,
57
+ 36,
199
58
  " This problem has references to {0} locations.",
200
59
  marker.relatedInformation.length
201
60
  )) : '';
202
61
  switch (marker.marker.severity) {
203
62
  case MarkerSeverity.Error:
204
63
  return marker.marker.source ? ( localizeWithPath(
205
- 'vs/workbench/contrib/markers/browser/messages',
206
- 'problems.tree.aria.label.error.marker',
64
+ _moduleId,
65
+ 37,
207
66
  "Error: {0} at line {1} and character {2}.{3} generated by {4}",
208
67
  marker.marker.message,
209
68
  marker.marker.startLineNumber,
@@ -212,8 +71,8 @@ class Messages {
212
71
  marker.marker.source
213
72
  ))
214
73
  : ( localizeWithPath(
215
- 'vs/workbench/contrib/markers/browser/messages',
216
- 'problems.tree.aria.label.error.marker.nosource',
74
+ _moduleId,
75
+ 38,
217
76
  "Error: {0} at line {1} and character {2}.{3}",
218
77
  marker.marker.message,
219
78
  marker.marker.startLineNumber,
@@ -222,8 +81,8 @@ class Messages {
222
81
  ));
223
82
  case MarkerSeverity.Warning:
224
83
  return marker.marker.source ? ( localizeWithPath(
225
- 'vs/workbench/contrib/markers/browser/messages',
226
- 'problems.tree.aria.label.warning.marker',
84
+ _moduleId,
85
+ 39,
227
86
  "Warning: {0} at line {1} and character {2}.{3} generated by {4}",
228
87
  marker.marker.message,
229
88
  marker.marker.startLineNumber,
@@ -232,8 +91,8 @@ class Messages {
232
91
  marker.marker.source
233
92
  ))
234
93
  : ( localizeWithPath(
235
- 'vs/workbench/contrib/markers/browser/messages',
236
- 'problems.tree.aria.label.warning.marker.nosource',
94
+ _moduleId,
95
+ 40,
237
96
  "Warning: {0} at line {1} and character {2}.{3}",
238
97
  marker.marker.message,
239
98
  marker.marker.startLineNumber,
@@ -243,8 +102,8 @@ class Messages {
243
102
  ));
244
103
  case MarkerSeverity.Info:
245
104
  return marker.marker.source ? ( localizeWithPath(
246
- 'vs/workbench/contrib/markers/browser/messages',
247
- 'problems.tree.aria.label.info.marker',
105
+ _moduleId,
106
+ 41,
248
107
  "Info: {0} at line {1} and character {2}.{3} generated by {4}",
249
108
  marker.marker.message,
250
109
  marker.marker.startLineNumber,
@@ -253,8 +112,8 @@ class Messages {
253
112
  marker.marker.source
254
113
  ))
255
114
  : ( localizeWithPath(
256
- 'vs/workbench/contrib/markers/browser/messages',
257
- 'problems.tree.aria.label.info.marker.nosource',
115
+ _moduleId,
116
+ 42,
258
117
  "Info: {0} at line {1} and character {2}.{3}",
259
118
  marker.marker.message,
260
119
  marker.marker.startLineNumber,
@@ -263,8 +122,8 @@ class Messages {
263
122
  ));
264
123
  default:
265
124
  return marker.marker.source ? ( localizeWithPath(
266
- 'vs/workbench/contrib/markers/browser/messages',
267
- 'problems.tree.aria.label.marker',
125
+ _moduleId,
126
+ 43,
268
127
  "Problem: {0} at line {1} and character {2}.{3} generated by {4}",
269
128
  marker.marker.source,
270
129
  marker.marker.message,
@@ -274,8 +133,8 @@ class Messages {
274
133
  marker.marker.source
275
134
  ))
276
135
  : ( localizeWithPath(
277
- 'vs/workbench/contrib/markers/browser/messages',
278
- 'problems.tree.aria.label.marker.nosource',
136
+ _moduleId,
137
+ 44,
279
138
  "Problem: {0} at line {1} and character {2}.{3}",
280
139
  marker.marker.message,
281
140
  marker.marker.startLineNumber,
@@ -285,19 +144,15 @@ class Messages {
285
144
  }
286
145
  }; }
287
146
  static { this.MARKERS_TREE_ARIA_LABEL_RELATED_INFORMATION = (relatedInformation) => ( localizeWithPath(
288
- 'vs/workbench/contrib/markers/browser/messages',
289
- 'problems.tree.aria.label.relatedinfo.message',
147
+ _moduleId,
148
+ 45,
290
149
  "{0} at line {1} and character {2} in {3}",
291
150
  relatedInformation.message,
292
151
  relatedInformation.startLineNumber,
293
152
  relatedInformation.startColumn,
294
153
  basename(relatedInformation.resource)
295
154
  )); }
296
- static { this.SHOW_ERRORS_WARNINGS_ACTION_LABEL = ( localizeWithPath(
297
- 'vs/workbench/contrib/markers/browser/messages',
298
- 'errors.warnings.show.label',
299
- "Show Errors and Warnings"
300
- )); }
155
+ static { this.SHOW_ERRORS_WARNINGS_ACTION_LABEL = ( localizeWithPath(_moduleId, 46, "Show Errors and Warnings")); }
301
156
  }
302
157
 
303
158
  export { Messages as default };