@codingame/monaco-vscode-welcome-service-override 2.0.3 → 2.1.0

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-welcome-service-override",
3
- "version": "2.0.3",
3
+ "version": "2.1.0",
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@2.0.3",
21
+ "vscode": "npm:@codingame/monaco-vscode-api@2.1.0",
22
22
  "vscode-marked": "npm:marked@=3.0.2"
23
23
  }
24
24
  }
@@ -1,5 +1,5 @@
1
1
  import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
2
- import { localizeWithPath } from 'vscode/vscode/vs/nls';
2
+ import { localize2WithPath, localizeWithPath } from 'vscode/vscode/vs/nls';
3
3
  import { GettingStartedInputSerializer, GettingStartedPage, inWelcomeContext } from './gettingStarted.js';
4
4
  import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
5
5
  import { EditorExtensions } from 'vscode/vscode/vs/workbench/common/editor';
@@ -29,11 +29,11 @@ registerAction2(class extends Action2 {
29
29
  constructor() {
30
30
  super({
31
31
  id: 'workbench.action.openWalkthrough',
32
- title: { value: ( localizeWithPath(
32
+ title: ( localize2WithPath(
33
33
  'vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution',
34
34
  'miWelcome',
35
- "Welcome"
36
- )), original: 'Welcome' },
35
+ 'Welcome'
36
+ )),
37
37
  category: Categories.Help,
38
38
  f1: true,
39
39
  menu: {
@@ -103,20 +103,20 @@ registerAction2(class extends Action2 {
103
103
  ))), [
104
104
  ( new SyncDescriptor(GettingStartedInput))
105
105
  ]);
106
- const category = { value: ( localizeWithPath(
106
+ const category = ( localize2WithPath(
107
107
  'vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution',
108
108
  'welcome',
109
109
  "Welcome"
110
- )), original: 'Welcome' };
110
+ ));
111
111
  registerAction2(class extends Action2 {
112
112
  constructor() {
113
113
  super({
114
114
  id: 'welcome.goBack',
115
- title: { value: ( localizeWithPath(
115
+ title: ( localize2WithPath(
116
116
  'vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution',
117
117
  'welcome.goBack',
118
- "Go Back"
119
- )), original: 'Go Back' },
118
+ 'Go Back'
119
+ )),
120
120
  category,
121
121
  keybinding: {
122
122
  weight: 100 ,
@@ -192,11 +192,11 @@ registerAction2(class extends Action2 {
192
192
  constructor() {
193
193
  super({
194
194
  id: 'welcome.showAllWalkthroughs',
195
- title: { value: ( localizeWithPath(
195
+ title: ( localize2WithPath(
196
196
  'vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.contribution',
197
197
  'welcome.showAllWalkthroughs',
198
- "Open Walkthrough..."
199
- )), original: 'Open Walkthrough...' },
198
+ 'Open Walkthrough...'
199
+ )),
200
200
  category,
201
201
  f1: true,
202
202
  });
@@ -21,7 +21,7 @@ import { URI } from 'vscode/vscode/vs/base/common/uri';
21
21
  import { generateUuid } from 'vscode/vscode/vs/base/common/uuid';
22
22
  import './media/gettingStarted.css.js';
23
23
  import { ILanguageService } from 'vscode/vscode/vs/editor/common/languages/language';
24
- import { MarkdownRenderer } from 'vscode/vscode/vs/editor/contrib/markdownRenderer/browser/markdownRenderer';
24
+ import { MarkdownRenderer } from 'vscode/vscode/vs/editor/browser/widget/markdownRenderer/browser/markdownRenderer';
25
25
  import { localizeWithPath } from 'vscode/vscode/vs/nls';
26
26
  import { IAccessibilityService } from 'vscode/vscode/vs/platform/accessibility/common/accessibility';
27
27
  import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands';
@@ -1,7 +1,7 @@
1
1
  import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
2
2
  import { Disposable, DisposableStore } from 'vscode/vscode/vs/base/common/lifecycle';
3
3
  import { assertIsDefined } from 'vscode/vscode/vs/base/common/types';
4
- import { localizeWithPath } from 'vscode/vscode/vs/nls';
4
+ import { localizeWithPath, localize2WithPath } from 'vscode/vscode/vs/nls';
5
5
  import { registerAction2, Action2, MenuId, MenuItemAction, MenuRegistry, IMenuService } from 'vscode/vscode/vs/platform/actions/common/actions';
6
6
  import { ICommandService } from 'vscode/vscode/vs/platform/commands/common/commands';
7
7
  import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
@@ -16,20 +16,20 @@ const builtInSource = ( localizeWithPath(
16
16
  'Built-In',
17
17
  "Built-In"
18
18
  ));
19
- const category = { value: ( localizeWithPath(
19
+ const category = ( localize2WithPath(
20
20
  'vs/workbench/contrib/welcomeViews/common/newFile.contribution',
21
21
  'Create',
22
- "Create"
23
- )), original: 'Create' };
22
+ 'Create'
23
+ ));
24
24
  registerAction2(class extends Action2 {
25
25
  constructor() {
26
26
  super({
27
27
  id: 'welcome.showNewFileEntries',
28
- title: { value: ( localizeWithPath(
28
+ title: ( localize2WithPath(
29
29
  'vs/workbench/contrib/welcomeViews/common/newFile.contribution',
30
30
  'welcome.newFile',
31
- "New File..."
32
- )), original: 'New File...' },
31
+ 'New File...'
32
+ )),
33
33
  category,
34
34
  f1: true,
35
35
  keybinding: {
@@ -1,4 +1,4 @@
1
- import { localizeWithPath } from 'vscode/vscode/vs/nls';
1
+ import { localizeWithPath, localize2WithPath } from 'vscode/vscode/vs/nls';
2
2
  import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
3
3
  import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
4
4
  import { WalkThroughInput } from '../walkThroughInput.js';
@@ -25,11 +25,11 @@ const inputOptions = {
25
25
  };
26
26
  class EditorWalkThroughAction extends Action2 {
27
27
  static { this.ID = 'workbench.action.showInteractivePlayground'; }
28
- static { this.LABEL = { value: ( localizeWithPath(
28
+ static { this.LABEL = ( localize2WithPath(
29
29
  'vs/workbench/contrib/welcomeWalkthrough/browser/editor/editorWalkThrough',
30
30
  'editorWalkThrough',
31
- "Interactive Editor Playground"
32
- )), original: 'Interactive Editor Playground' }; }
31
+ 'Interactive Editor Playground'
32
+ )); }
33
33
  constructor() {
34
34
  super({
35
35
  id: EditorWalkThroughAction.ID,