@codingame/monaco-vscode-language-detection-worker-service-override 24.2.0 → 25.0.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-language-detection-worker-service-override",
3
- "version": "24.2.0",
3
+ "version": "25.0.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - language-detection-worker service-override",
6
6
  "keywords": [],
@@ -15,7 +15,7 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "24.2.0",
18
+ "@codingame/monaco-vscode-api": "25.0.0",
19
19
  "@vscode/vscode-languagedetection": "npm:@codingame/vscode-languagedetection@1.0.23"
20
20
  },
21
21
  "main": "index.js",
@@ -76,15 +76,15 @@ let LanguageDetectionStatusContribution = class LanguageDetectionStatusContribut
76
76
  const existing = editorModel.getLanguageId();
77
77
  if (lang && lang !== existing && skip[existing] !== lang) {
78
78
  const detectedName = this._languageService.getLanguageName(lang) || lang;
79
- let tooltip = ( localize(8478, "Accept Detected Language: {0}", detectedName));
79
+ let tooltip = ( localize(8503, "Accept Detected Language: {0}", detectedName));
80
80
  const keybinding = this._keybindingService.lookupKeybinding(detectLanguageCommandId);
81
81
  const label = keybinding?.getLabel();
82
82
  if (label) {
83
83
  tooltip += ` (${label})`;
84
84
  }
85
85
  const props = {
86
- name: ( localize(8479, "Language Detection")),
87
- ariaLabel: ( localize(8480, "Change to Detected Language: {0}", lang)),
86
+ name: ( localize(8504, "Language Detection")),
87
+ ariaLabel: ( localize(8505, "Change to Detected Language: {0}", lang)),
88
88
  tooltip,
89
89
  command: detectLanguageCommandId,
90
90
  text: '$(lightbulb-autofix)',
@@ -116,7 +116,7 @@ registerAction2(class extends Action2 {
116
116
  constructor() {
117
117
  super({
118
118
  id: detectLanguageCommandId,
119
- title: ( localize2(8481, "Detect Language from Content")),
119
+ title: ( localize2(8506, "Detect Language from Content")),
120
120
  f1: true,
121
121
  precondition: ( ContextKeyExpr.and(( NOTEBOOK_EDITOR_EDITABLE.toNegated()), EditorContextKeys.editorTextFocus)),
122
122
  keybinding: { primary: KeyCode.KeyD | KeyMod.Alt | KeyMod.Shift, weight: KeybindingWeight.WorkbenchContrib }
@@ -134,7 +134,7 @@ registerAction2(class extends Action2 {
134
134
  editor.getModel()?.setLanguage(lang, LanguageDetectionLanguageEventSource);
135
135
  }
136
136
  else {
137
- notificationService.warn(( localize(8482, "Unable to detect editor language")));
137
+ notificationService.warn(( localize(8507, "Unable to detect editor language")));
138
138
  }
139
139
  }
140
140
  }