@codingame/monaco-vscode-language-detection-worker-service-override 11.1.1 → 11.1.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-language-detection-worker-service-override",
3
- "version": "11.1.1",
3
+ "version": "11.1.2",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -29,7 +29,7 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "vscode": "npm:@codingame/monaco-vscode-api@11.1.1",
32
+ "vscode": "npm:@codingame/monaco-vscode-api@11.1.2",
33
33
  "@vscode/vscode-languagedetection": "1.0.21"
34
34
  }
35
35
  }
@@ -71,15 +71,15 @@ let LanguageDetectionStatusContribution = class LanguageDetectionStatusContribut
71
71
  const existing = editorModel.getLanguageId();
72
72
  if (lang && lang !== existing && skip[existing] !== lang) {
73
73
  const detectedName = this._languageService.getLanguageName(lang) || lang;
74
- let tooltip = ( localize(2221, "Accept Detected Language: {0}", detectedName));
74
+ let tooltip = ( localize(2577, "Accept Detected Language: {0}", detectedName));
75
75
  const keybinding = this._keybindingService.lookupKeybinding(detectLanguageCommandId);
76
76
  const label = keybinding?.getLabel();
77
77
  if (label) {
78
78
  tooltip += ` (${label})`;
79
79
  }
80
80
  const props = {
81
- name: ( localize(2222, "Language Detection")),
82
- ariaLabel: ( localize(2223, "Change to Detected Language: {0}", lang)),
81
+ name: ( localize(2578, "Language Detection")),
82
+ ariaLabel: ( localize(2579, "Change to Detected Language: {0}", lang)),
83
83
  tooltip,
84
84
  command: detectLanguageCommandId,
85
85
  text: '$(lightbulb-autofix)',
@@ -111,7 +111,7 @@ registerAction2(class extends Action2 {
111
111
  constructor() {
112
112
  super({
113
113
  id: detectLanguageCommandId,
114
- title: ( localize2(2224, "Detect Language from Content")),
114
+ title: ( localize2(2580, "Detect Language from Content")),
115
115
  f1: true,
116
116
  precondition: ( (ContextKeyExpr.and(
117
117
  (NOTEBOOK_EDITOR_EDITABLE.toNegated()),
@@ -132,7 +132,7 @@ registerAction2(class extends Action2 {
132
132
  editor.getModel()?.setLanguage(lang, LanguageDetectionLanguageEventSource);
133
133
  }
134
134
  else {
135
- notificationService.warn(( localize(2225, "Unable to detect editor language")));
135
+ notificationService.warn(( localize(2581, "Unable to detect editor language")));
136
136
  }
137
137
  }
138
138
  }