@codingame/monaco-vscode-language-detection-worker-service-override 32.0.1 → 33.0.7

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": "32.0.1",
3
+ "version": "33.0.7",
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": "32.0.1",
18
+ "@codingame/monaco-vscode-api": "33.0.7",
19
19
  "@vscode/vscode-languagedetection": "npm:@codingame/vscode-languagedetection@1.0.23"
20
20
  },
21
21
  "main": "index.js",
@@ -88,10 +88,10 @@ let LanguageDetectionStatusContribution = class LanguageDetectionStatusContribut
88
88
  const existing = editorModel.getLanguageId();
89
89
  if (lang && lang !== existing && skip[existing] !== lang) {
90
90
  const detectedName = this._languageService.getLanguageName(lang) || lang;
91
- const tooltip = this._keybindingService.appendKeybinding(( localize(10592, "Accept Detected Language: {0}", detectedName)), detectLanguageCommandId);
91
+ const tooltip = this._keybindingService.appendKeybinding(( localize(10719, "Accept Detected Language: {0}", detectedName)), detectLanguageCommandId);
92
92
  const props = {
93
- name: ( localize(10593, "Language Detection")),
94
- ariaLabel: ( localize(10594, "Change to Detected Language: {0}", lang)),
93
+ name: ( localize(10720, "Language Detection")),
94
+ ariaLabel: ( localize(10721, "Change to Detected Language: {0}", lang)),
95
95
  tooltip,
96
96
  command: detectLanguageCommandId,
97
97
  text: "$(lightbulb-autofix)"
@@ -126,7 +126,7 @@ registerAction2(class extends Action2 {
126
126
  constructor() {
127
127
  super({
128
128
  id: detectLanguageCommandId,
129
- title: ( localize2(10595, "Detect Language from Content")),
129
+ title: ( localize2(10722, "Detect Language from Content")),
130
130
  f1: true,
131
131
  precondition: ( ContextKeyExpr.and(( NOTEBOOK_EDITOR_EDITABLE.toNegated()), EditorContextKeys.editorTextFocus)),
132
132
  keybinding: {
@@ -146,7 +146,7 @@ registerAction2(class extends Action2 {
146
146
  if (lang) {
147
147
  editor.getModel()?.setLanguage(lang, LanguageDetectionLanguageEventSource);
148
148
  } else {
149
- notificationService.warn(( localize(10596, "Unable to detect editor language")));
149
+ notificationService.warn(( localize(10723, "Unable to detect editor language")));
150
150
  }
151
151
  }
152
152
  }