@codingame/monaco-vscode-dialogs-service-override 8.0.2 → 8.0.4
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-dialogs-service-override",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.4",
|
|
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@8.0.
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@8.0.4"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -58,7 +58,7 @@ let BrowserDialogHandler = class BrowserDialogHandler extends AbstractDialogHand
|
|
|
58
58
|
async about() {
|
|
59
59
|
const detailString = (useAgo) => {
|
|
60
60
|
return ( localize(
|
|
61
|
-
|
|
61
|
+
5677,
|
|
62
62
|
"Version: {0}\nCommit: {1}\nDate: {2}\nBrowser: {3}",
|
|
63
63
|
this.productService.version || 'Unknown',
|
|
64
64
|
this.productService.commit || 'Unknown',
|
|
@@ -69,8 +69,8 @@ let BrowserDialogHandler = class BrowserDialogHandler extends AbstractDialogHand
|
|
|
69
69
|
const detail = detailString(true);
|
|
70
70
|
const detailToCopy = detailString(false);
|
|
71
71
|
const { button } = await this.doShow(Severity$1.Info, this.productService.nameLong, [
|
|
72
|
-
( localize(
|
|
73
|
-
( localize(
|
|
72
|
+
( localize(5678, "&&Copy")),
|
|
73
|
+
( localize(5679, "OK"))
|
|
74
74
|
], detail, 1);
|
|
75
75
|
if (button === 0) {
|
|
76
76
|
this.clipboardService.writeText(detailToCopy);
|
|
@@ -71,7 +71,7 @@ class WelcomeWidget extends Disposable {
|
|
|
71
71
|
}
|
|
72
72
|
async buildWidgetContent(title, message, buttonText, buttonAction) {
|
|
73
73
|
const actionBar = this._register(( (new ActionBar(this.element, {}))));
|
|
74
|
-
const action = this._register(( (new Action('dialog.close', ( localize(
|
|
74
|
+
const action = this._register(( (new Action('dialog.close', ( localize(5676, "Close Dialog")), ThemeIcon.asClassName(Codicon.dialogClose), true, async () => {
|
|
75
75
|
this._hide();
|
|
76
76
|
}))));
|
|
77
77
|
actionBar.push(action, { icon: true, label: false });
|