@codingame/monaco-vscode-localization-service-override 11.0.2 → 11.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-localization-service-override",
|
|
3
|
-
"version": "11.0
|
|
3
|
+
"version": "11.1.0",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"vscode": "npm:@codingame/monaco-vscode-api@11.0
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@11.1.0"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -12,13 +12,13 @@ class ConfigureDisplayLanguageAction extends Action2 {
|
|
|
12
12
|
constructor() {
|
|
13
13
|
super({
|
|
14
14
|
id: ConfigureDisplayLanguageAction.ID,
|
|
15
|
-
title: ( localize2(
|
|
15
|
+
title: ( localize2(10887, "Configure Display Language")),
|
|
16
16
|
menu: {
|
|
17
17
|
id: MenuId.CommandPalette
|
|
18
18
|
},
|
|
19
19
|
metadata: {
|
|
20
20
|
description: ( localize2(
|
|
21
|
-
|
|
21
|
+
10888,
|
|
22
22
|
"Changes the locale of VS Code based on installed language packs. Common languages include French, Chinese, Spanish, Japanese, German, Korean, and more."
|
|
23
23
|
))
|
|
24
24
|
}
|
|
@@ -33,9 +33,9 @@ class ConfigureDisplayLanguageAction extends Action2 {
|
|
|
33
33
|
const disposables = ( (new DisposableStore()));
|
|
34
34
|
const qp = disposables.add(quickInputService.createQuickPick({ useSeparators: true }));
|
|
35
35
|
qp.matchOnDescription = true;
|
|
36
|
-
qp.placeholder = ( localize(
|
|
36
|
+
qp.placeholder = ( localize(10889, "Select Display Language"));
|
|
37
37
|
if (installedLanguages?.length) {
|
|
38
|
-
const items = [{ type: 'separator', label: ( localize(
|
|
38
|
+
const items = [{ type: 'separator', label: ( localize(10890, "Installed")) }];
|
|
39
39
|
qp.items = items.concat(this.withMoreInfoButton(installedLanguages));
|
|
40
40
|
}
|
|
41
41
|
const source = ( (new CancellationTokenSource()));
|
|
@@ -49,7 +49,7 @@ class ConfigureDisplayLanguageAction extends Action2 {
|
|
|
49
49
|
if (newLanguages.length) {
|
|
50
50
|
qp.items = [
|
|
51
51
|
...qp.items,
|
|
52
|
-
{ type: 'separator', label: ( localize(
|
|
52
|
+
{ type: 'separator', label: ( localize(10891, "Available")) },
|
|
53
53
|
...this.withMoreInfoButton(newLanguages)
|
|
54
54
|
];
|
|
55
55
|
}
|
|
@@ -75,7 +75,7 @@ class ConfigureDisplayLanguageAction extends Action2 {
|
|
|
75
75
|
for (const item of items) {
|
|
76
76
|
if (item.extensionId) {
|
|
77
77
|
item.buttons = [{
|
|
78
|
-
tooltip: ( localize(
|
|
78
|
+
tooltip: ( localize(10892, "More Info")),
|
|
79
79
|
iconClass: 'codicon-info'
|
|
80
80
|
}];
|
|
81
81
|
}
|
|
@@ -85,7 +85,7 @@ class ConfigureDisplayLanguageAction extends Action2 {
|
|
|
85
85
|
}
|
|
86
86
|
class ClearDisplayLanguageAction extends Action2 {
|
|
87
87
|
static { this.ID = 'workbench.action.clearLocalePreference'; }
|
|
88
|
-
static { this.LABEL = ( localize2(
|
|
88
|
+
static { this.LABEL = ( localize2(10893, "Clear Display Language Preference")); }
|
|
89
89
|
constructor() {
|
|
90
90
|
super({
|
|
91
91
|
id: ClearDisplayLanguageAction.ID,
|