@codingame/monaco-vscode-scm-service-override 14.0.3 → 14.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 +12 -12
- package/vscode/src/vs/workbench/contrib/scm/browser/activity.js +4 -4
- package/vscode/src/vs/workbench/contrib/scm/browser/menus.js +1 -1
- package/vscode/src/vs/workbench/contrib/scm/browser/quickDiffDecorator.js +3 -3
- package/vscode/src/vs/workbench/contrib/scm/browser/quickDiffWidget.js +13 -13
- package/vscode/src/vs/workbench/contrib/scm/browser/scm.contribution.js +75 -75
- package/vscode/src/vs/workbench/contrib/scm/browser/scmAccessibilityHelp.js +23 -23
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistoryViewPane.js +28 -28
- package/vscode/src/vs/workbench/contrib/scm/browser/scmRepositoriesViewPane.js +1 -1
- package/vscode/src/vs/workbench/contrib/scm/browser/scmViewPane.js +21 -21
- package/vscode/src/vs/workbench/contrib/scm/browser/scmViewPaneContainer.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-scm-service-override",
|
|
3
|
-
"version": "14.0.
|
|
3
|
+
"version": "14.0.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - scm service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,17 +15,17 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-27663a0b-1249-58ba-9085-e52d706b50bc-common": "14.0.
|
|
19
|
-
"@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common": "14.0.
|
|
20
|
-
"@codingame/monaco-vscode-91789cdf-e3cb-5a04-aaeb-6f7df7d3d231-common": "14.0.
|
|
21
|
-
"@codingame/monaco-vscode-a17f5129-e16c-5dac-857e-dcd91bfeffa2-common": "14.0.
|
|
22
|
-
"@codingame/monaco-vscode-a7c9ae3c-16d2-5d17-86b2-981be7094566-common": "14.0.
|
|
23
|
-
"@codingame/monaco-vscode-api": "14.0.
|
|
24
|
-
"@codingame/monaco-vscode-b4efa70b-52b9-5670-ab5c-f10b10b6834e-common": "14.0.
|
|
25
|
-
"@codingame/monaco-vscode-be8ddbb5-094a-5657-b1cc-fe106c94c632-common": "14.0.
|
|
26
|
-
"@codingame/monaco-vscode-f48982c4-9e82-55e2-b800-20e6d1e6096f-common": "14.0.
|
|
27
|
-
"@codingame/monaco-vscode-f99b74f5-fcb7-512f-8c6c-35f5a107577d-common": "14.0.
|
|
28
|
-
"@codingame/monaco-vscode-ff9fa663-eae3-5274-8573-c2b918871e4b-common": "14.0.
|
|
18
|
+
"@codingame/monaco-vscode-27663a0b-1249-58ba-9085-e52d706b50bc-common": "14.0.4",
|
|
19
|
+
"@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common": "14.0.4",
|
|
20
|
+
"@codingame/monaco-vscode-91789cdf-e3cb-5a04-aaeb-6f7df7d3d231-common": "14.0.4",
|
|
21
|
+
"@codingame/monaco-vscode-a17f5129-e16c-5dac-857e-dcd91bfeffa2-common": "14.0.4",
|
|
22
|
+
"@codingame/monaco-vscode-a7c9ae3c-16d2-5d17-86b2-981be7094566-common": "14.0.4",
|
|
23
|
+
"@codingame/monaco-vscode-api": "14.0.4",
|
|
24
|
+
"@codingame/monaco-vscode-b4efa70b-52b9-5670-ab5c-f10b10b6834e-common": "14.0.4",
|
|
25
|
+
"@codingame/monaco-vscode-be8ddbb5-094a-5657-b1cc-fe106c94c632-common": "14.0.4",
|
|
26
|
+
"@codingame/monaco-vscode-f48982c4-9e82-55e2-b800-20e6d1e6096f-common": "14.0.4",
|
|
27
|
+
"@codingame/monaco-vscode-f99b74f5-fcb7-512f-8c6c-35f5a107577d-common": "14.0.4",
|
|
28
|
+
"@codingame/monaco-vscode-ff9fa663-eae3-5274-8573-c2b918871e4b-common": "14.0.4"
|
|
29
29
|
},
|
|
30
30
|
"main": "index.js",
|
|
31
31
|
"module": "index.js",
|
|
@@ -103,7 +103,7 @@ let SCMActiveRepositoryController = class SCMActiveRepositoryController extends
|
|
|
103
103
|
if (count === 0) {
|
|
104
104
|
return;
|
|
105
105
|
}
|
|
106
|
-
const badge = ( new NumberBadge(count, num => ( localize(
|
|
106
|
+
const badge = ( new NumberBadge(count, num => ( localize(8584, '{0} pending changes', num))));
|
|
107
107
|
store.add(this.activityService.showViewActivity(VIEW_PANE_ID, { badge }));
|
|
108
108
|
}
|
|
109
109
|
_updateStatusBar(repository, commands, store) {
|
|
@@ -129,7 +129,7 @@ let SCMActiveRepositoryController = class SCMActiveRepositoryController extends
|
|
|
129
129
|
repoAgnosticActionName = '';
|
|
130
130
|
}
|
|
131
131
|
const statusbarEntry = {
|
|
132
|
-
name: ( localize(
|
|
132
|
+
name: ( localize(8585, "Source Control")) + (repoAgnosticActionName ? ` ${repoAgnosticActionName}` : ''),
|
|
133
133
|
text: command.title,
|
|
134
134
|
ariaLabel: tooltip,
|
|
135
135
|
tooltip,
|
|
@@ -161,8 +161,8 @@ let SCMActiveResourceContextKeyController = class SCMActiveResourceContextKeyCon
|
|
|
161
161
|
this.uriIdentityService = uriIdentityService;
|
|
162
162
|
this._repositories = observableFromEvent(this, Event.any(this.scmService.onDidAddRepository, this.scmService.onDidRemoveRepository), () => this.scmService.repositories);
|
|
163
163
|
this._onDidRepositoryChange = ( new Emitter());
|
|
164
|
-
const activeResourceHasChangesContextKey = ( new RawContextKey('scmActiveResourceHasChanges', false, ( localize(
|
|
165
|
-
const activeResourceRepositoryContextKey = ( new RawContextKey('scmActiveResourceRepository', undefined, ( localize(
|
|
164
|
+
const activeResourceHasChangesContextKey = ( new RawContextKey('scmActiveResourceHasChanges', false, ( localize(8586, "Whether the active resource has changes"))));
|
|
165
|
+
const activeResourceRepositoryContextKey = ( new RawContextKey('scmActiveResourceRepository', undefined, ( localize(8587, "The active resource's repository"))));
|
|
166
166
|
this._store.add(autorunWithStore((reader, store) => {
|
|
167
167
|
for (const repository of this._repositories.read(reader)) {
|
|
168
168
|
store.add(Event.runAndSubscribe(repository.provider.onDidChangeResources, () => {
|
|
@@ -209,7 +209,7 @@ SCMMenus = ( __decorate([
|
|
|
209
209
|
( __param(1, IInstantiationService))
|
|
210
210
|
], SCMMenus));
|
|
211
211
|
MenuRegistry.appendMenuItem(MenuId.SCMResourceContext, {
|
|
212
|
-
title: ( localize(
|
|
212
|
+
title: ( localize(8588, "Share")),
|
|
213
213
|
submenu: MenuId.SCMResourceContextShare,
|
|
214
214
|
group: '45_share',
|
|
215
215
|
order: 3,
|
|
@@ -50,7 +50,7 @@ let QuickDiffDecorator = QuickDiffDecorator_1 = class QuickDiffDecorator extends
|
|
|
50
50
|
const gutter = decorations === 'all' || decorations === 'gutter';
|
|
51
51
|
const overview = decorations === 'all' || decorations === 'overview';
|
|
52
52
|
const minimap = decorations === 'all' || decorations === 'minimap';
|
|
53
|
-
const diffAdded = ( localize(
|
|
53
|
+
const diffAdded = ( localize(8589, 'Added lines'));
|
|
54
54
|
this.addedOptions = QuickDiffDecorator_1.createDecoration('dirty-diff-added', diffAdded, {
|
|
55
55
|
gutter,
|
|
56
56
|
overview: { active: overview, color: overviewRulerAddedForeground },
|
|
@@ -63,7 +63,7 @@ let QuickDiffDecorator = QuickDiffDecorator_1 = class QuickDiffDecorator extends
|
|
|
63
63
|
minimap: { active: minimap, color: minimapGutterAddedBackground },
|
|
64
64
|
isWholeLine: true
|
|
65
65
|
});
|
|
66
|
-
const diffModified = ( localize(
|
|
66
|
+
const diffModified = ( localize(8590, 'Changed lines'));
|
|
67
67
|
this.modifiedOptions = QuickDiffDecorator_1.createDecoration('dirty-diff-modified', diffModified, {
|
|
68
68
|
gutter,
|
|
69
69
|
overview: { active: overview, color: overviewRulerModifiedForeground },
|
|
@@ -76,7 +76,7 @@ let QuickDiffDecorator = QuickDiffDecorator_1 = class QuickDiffDecorator extends
|
|
|
76
76
|
minimap: { active: minimap, color: minimapGutterModifiedBackground },
|
|
77
77
|
isWholeLine: true
|
|
78
78
|
});
|
|
79
|
-
this.deletedOptions = QuickDiffDecorator_1.createDecoration('dirty-diff-deleted', ( localize(
|
|
79
|
+
this.deletedOptions = QuickDiffDecorator_1.createDecoration('dirty-diff-deleted', ( localize(8591, 'Removed lines')), {
|
|
80
80
|
gutter,
|
|
81
81
|
overview: { active: overview, color: overviewRulerDeletedForeground },
|
|
82
82
|
minimap: { active: minimap, color: minimapGutterDeletedBackground },
|
|
@@ -70,7 +70,7 @@ let QuickDiffPickerViewItem = class QuickDiffPickerViewItem extends SelectAction
|
|
|
70
70
|
const peekTitleColor = theme.getColor(peekViewTitleBackground);
|
|
71
71
|
const opaqueTitleColor = peekTitleColor?.makeOpaque(editorBackgroundColor) ?? editorBackgroundColor;
|
|
72
72
|
styles.selectBackground = ( ( opaqueTitleColor.lighten(.6)).toString());
|
|
73
|
-
super(null, action, items, startingSelection, contextViewService, styles, { ariaLabel: ( localize(
|
|
73
|
+
super(null, action, items, startingSelection, contextViewService, styles, { ariaLabel: ( localize(8592, 'Switch quick diff base')) });
|
|
74
74
|
this.optionsItems = items;
|
|
75
75
|
}
|
|
76
76
|
setSelection(provider) {
|
|
@@ -91,7 +91,7 @@ QuickDiffPickerViewItem = ( __decorate([
|
|
|
91
91
|
], QuickDiffPickerViewItem));
|
|
92
92
|
class QuickDiffPickerBaseAction extends Action {
|
|
93
93
|
static { this.ID = 'quickDiff.base.switch'; }
|
|
94
|
-
static { this.LABEL = ( localize(
|
|
94
|
+
static { this.LABEL = ( localize(8593, "Switch Quick Diff Base")); }
|
|
95
95
|
constructor(callback) {
|
|
96
96
|
super(QuickDiffPickerBaseAction.ID, QuickDiffPickerBaseAction.LABEL, undefined, undefined);
|
|
97
97
|
this.callback = callback;
|
|
@@ -214,14 +214,14 @@ let QuickDiffWidget = class QuickDiffWidget extends PeekViewWidget {
|
|
|
214
214
|
if (!this.shouldUseDropdown()) {
|
|
215
215
|
detail = this.model.changes.length > 1
|
|
216
216
|
? ( localize(
|
|
217
|
-
|
|
217
|
+
8594,
|
|
218
218
|
"{0} - {1} of {2} changes",
|
|
219
219
|
label,
|
|
220
220
|
providerIndex + 1,
|
|
221
221
|
providerChanges.length
|
|
222
222
|
))
|
|
223
223
|
: ( localize(
|
|
224
|
-
|
|
224
|
+
8595,
|
|
225
225
|
"{0} - {1} of {2} change",
|
|
226
226
|
label,
|
|
227
227
|
providerIndex + 1,
|
|
@@ -231,8 +231,8 @@ let QuickDiffWidget = class QuickDiffWidget extends PeekViewWidget {
|
|
|
231
231
|
}
|
|
232
232
|
else {
|
|
233
233
|
detail = this.model.changes.length > 1
|
|
234
|
-
? ( localize(
|
|
235
|
-
: ( localize(
|
|
234
|
+
? ( localize(8596, "{0} of {1} changes", providerIndex + 1, providerChanges.length))
|
|
235
|
+
: ( localize(8597, "{0} of {1} change", providerIndex + 1, providerChanges.length));
|
|
236
236
|
this.dropdownContainer.style.display = 'inherit';
|
|
237
237
|
}
|
|
238
238
|
this.setTitle(this.title, detail);
|
|
@@ -284,7 +284,7 @@ let QuickDiffWidget = class QuickDiffWidget extends PeekViewWidget {
|
|
|
284
284
|
this._actionbarWidget.clear();
|
|
285
285
|
this._actionbarWidget.push(actions.reverse(), { label: false, icon: true });
|
|
286
286
|
this._actionbarWidget.push([next, previous], { label: false, icon: true });
|
|
287
|
-
this._actionbarWidget.push(( new Action('peekview.close', ( localize(
|
|
287
|
+
this._actionbarWidget.push(( new Action('peekview.close', ( localize(8598, "Close")), ThemeIcon.asClassName(Codicon.close), true, () => this.dispose())), { label: false, icon: true });
|
|
288
288
|
}
|
|
289
289
|
_fillHead(container) {
|
|
290
290
|
super._fillHead(container, true);
|
|
@@ -621,7 +621,7 @@ class ShowPreviousChangeAction extends EditorAction {
|
|
|
621
621
|
constructor(outerEditor) {
|
|
622
622
|
super({
|
|
623
623
|
id: 'editor.action.dirtydiff.previous',
|
|
624
|
-
label: ( localize2(
|
|
624
|
+
label: ( localize2(8599, "Show Previous Change")),
|
|
625
625
|
precondition: ( TextCompareEditorActiveContext.toNegated()),
|
|
626
626
|
kbOpts: { kbExpr: EditorContextKeys.editorTextFocus, primary: KeyMod.Shift | KeyMod.Alt | KeyCode.F3, weight: KeybindingWeight.EditorContrib }
|
|
627
627
|
});
|
|
@@ -647,7 +647,7 @@ class ShowNextChangeAction extends EditorAction {
|
|
|
647
647
|
constructor(outerEditor) {
|
|
648
648
|
super({
|
|
649
649
|
id: 'editor.action.dirtydiff.next',
|
|
650
|
-
label: ( localize2(
|
|
650
|
+
label: ( localize2(8600, "Show Next Change")),
|
|
651
651
|
precondition: ( TextCompareEditorActiveContext.toNegated()),
|
|
652
652
|
kbOpts: { kbExpr: EditorContextKeys.editorTextFocus, primary: KeyMod.Alt | KeyCode.F3, weight: KeybindingWeight.EditorContrib }
|
|
653
653
|
});
|
|
@@ -673,7 +673,7 @@ class GotoPreviousChangeAction extends EditorAction {
|
|
|
673
673
|
constructor() {
|
|
674
674
|
super({
|
|
675
675
|
id: 'workbench.action.editor.previousChange',
|
|
676
|
-
label: ( localize2(
|
|
676
|
+
label: ( localize2(8601, "Go to Previous Change")),
|
|
677
677
|
precondition: ( TextCompareEditorActiveContext.toNegated()),
|
|
678
678
|
kbOpts: { kbExpr: EditorContextKeys.editorTextFocus, primary: KeyMod.Shift | KeyMod.Alt | KeyCode.F5, weight: KeybindingWeight.EditorContrib }
|
|
679
679
|
});
|
|
@@ -708,7 +708,7 @@ class GotoNextChangeAction extends EditorAction {
|
|
|
708
708
|
constructor() {
|
|
709
709
|
super({
|
|
710
710
|
id: 'workbench.action.editor.nextChange',
|
|
711
|
-
label: ( localize2(
|
|
711
|
+
label: ( localize2(8602, "Go to Next Change")),
|
|
712
712
|
precondition: ( TextCompareEditorActiveContext.toNegated()),
|
|
713
713
|
kbOpts: { kbExpr: EditorContextKeys.editorTextFocus, primary: KeyMod.Alt | KeyCode.F5, weight: KeybindingWeight.EditorContrib }
|
|
714
714
|
});
|
|
@@ -743,7 +743,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
|
743
743
|
group: '7_change_nav',
|
|
744
744
|
command: {
|
|
745
745
|
id: 'editor.action.dirtydiff.next',
|
|
746
|
-
title: ( localize(
|
|
746
|
+
title: ( localize(8603, "Next &&Change"))
|
|
747
747
|
},
|
|
748
748
|
order: 1
|
|
749
749
|
});
|
|
@@ -751,7 +751,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarGoMenu, {
|
|
|
751
751
|
group: '7_change_nav',
|
|
752
752
|
command: {
|
|
753
753
|
id: 'editor.action.dirtydiff.previous',
|
|
754
|
-
title: ( localize(
|
|
754
|
+
title: ( localize(8604, "Previous &&Change"))
|
|
755
755
|
},
|
|
756
756
|
order: 2
|
|
757
757
|
});
|
|
@@ -53,10 +53,10 @@ ModesRegistry.registerLanguage({
|
|
|
53
53
|
( Registry.as(Extensions.Workbench))
|
|
54
54
|
.registerWorkbenchContribution(QuickDiffWorkbenchController, LifecyclePhase.Restored);
|
|
55
55
|
registerEditorContribution(QuickDiffEditorController.ID, QuickDiffEditorController, EditorContributionInstantiation.AfterFirstRender);
|
|
56
|
-
const sourceControlViewIcon = registerIcon('source-control-view-icon', Codicon.sourceControl, ( localize(
|
|
56
|
+
const sourceControlViewIcon = registerIcon('source-control-view-icon', Codicon.sourceControl, ( localize(8605, 'View icon of the Source Control view.')));
|
|
57
57
|
const viewContainer = ( Registry.as(Extensions$1.ViewContainersRegistry)).registerViewContainer({
|
|
58
58
|
id: VIEWLET_ID,
|
|
59
|
-
title: ( localize2(
|
|
59
|
+
title: ( localize2(8606, 'Source Control')),
|
|
60
60
|
ctorDescriptor: ( new SyncDescriptor(SCMViewPaneContainer)),
|
|
61
61
|
storageId: 'workbench.scm.views.state',
|
|
62
62
|
icon: sourceControlViewIcon,
|
|
@@ -66,30 +66,30 @@ const viewContainer = ( Registry.as(Extensions$1.ViewContainersRegistry)).regist
|
|
|
66
66
|
}, ViewContainerLocation.Sidebar, { doNotRegisterOpenCommand: true });
|
|
67
67
|
const viewsRegistry = ( Registry.as(Extensions$1.ViewsRegistry));
|
|
68
68
|
viewsRegistry.registerViewWelcomeContent(VIEW_PANE_ID, {
|
|
69
|
-
content: ( localize(
|
|
69
|
+
content: ( localize(8607, "No source control providers registered.")),
|
|
70
70
|
when: 'default'
|
|
71
71
|
});
|
|
72
72
|
viewsRegistry.registerViewWelcomeContent(VIEW_PANE_ID, {
|
|
73
73
|
content: ( localize(
|
|
74
|
-
|
|
74
|
+
8608,
|
|
75
75
|
"None of the registered source control providers work in Restricted Mode."
|
|
76
76
|
)),
|
|
77
77
|
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals('scm.providerCount', 0)), WorkspaceTrustContext.IsEnabled, ( WorkspaceTrustContext.IsTrusted.toNegated())))
|
|
78
78
|
});
|
|
79
79
|
viewsRegistry.registerViewWelcomeContent(VIEW_PANE_ID, {
|
|
80
|
-
content: `[${( localize(
|
|
80
|
+
content: `[${( localize(8609, "Manage Workspace Trust"))}](command:${MANAGE_TRUST_COMMAND_ID})`,
|
|
81
81
|
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals('scm.providerCount', 0)), WorkspaceTrustContext.IsEnabled, ( WorkspaceTrustContext.IsTrusted.toNegated())))
|
|
82
82
|
});
|
|
83
83
|
viewsRegistry.registerViewWelcomeContent(HISTORY_VIEW_PANE_ID, {
|
|
84
84
|
content: ( localize(
|
|
85
|
-
|
|
85
|
+
8610,
|
|
86
86
|
"The selected source control provider does not have any source control history items."
|
|
87
87
|
)),
|
|
88
88
|
when: ( ContextKeys.SCMHistoryItemCount.isEqualTo(0))
|
|
89
89
|
});
|
|
90
90
|
viewsRegistry.registerViews([{
|
|
91
91
|
id: REPOSITORIES_VIEW_PANE_ID,
|
|
92
|
-
name: ( localize2(
|
|
92
|
+
name: ( localize2(8611, "Source Control Repositories")),
|
|
93
93
|
ctorDescriptor: ( new SyncDescriptor(SCMRepositoriesViewPane)),
|
|
94
94
|
canToggleVisibility: true,
|
|
95
95
|
hideByDefault: true,
|
|
@@ -101,7 +101,7 @@ viewsRegistry.registerViews([{
|
|
|
101
101
|
}], viewContainer);
|
|
102
102
|
viewsRegistry.registerViews([{
|
|
103
103
|
id: VIEW_PANE_ID,
|
|
104
|
-
name: ( localize2(
|
|
104
|
+
name: ( localize2(8606, 'Source Control')),
|
|
105
105
|
ctorDescriptor: ( new SyncDescriptor(SCMViewPane)),
|
|
106
106
|
canToggleVisibility: true,
|
|
107
107
|
canMoveView: true,
|
|
@@ -110,7 +110,7 @@ viewsRegistry.registerViews([{
|
|
|
110
110
|
containerIcon: sourceControlViewIcon,
|
|
111
111
|
openCommandActionDescriptor: {
|
|
112
112
|
id: viewContainer.id,
|
|
113
|
-
mnemonicTitle: ( localize(
|
|
113
|
+
mnemonicTitle: ( localize(8612, "Source &&Control")),
|
|
114
114
|
keybindings: {
|
|
115
115
|
primary: 0,
|
|
116
116
|
win: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyG },
|
|
@@ -122,7 +122,7 @@ viewsRegistry.registerViews([{
|
|
|
122
122
|
}], viewContainer);
|
|
123
123
|
viewsRegistry.registerViews([{
|
|
124
124
|
id: HISTORY_VIEW_PANE_ID,
|
|
125
|
-
name: ( localize2(
|
|
125
|
+
name: ( localize2(8613, "Source Control Graph")),
|
|
126
126
|
ctorDescriptor: ( new SyncDescriptor(SCMHistoryViewPane)),
|
|
127
127
|
canToggleVisibility: true,
|
|
128
128
|
canMoveView: true,
|
|
@@ -139,7 +139,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
|
|
|
139
139
|
( Registry.as(Extensions$2.Configuration)).registerConfiguration({
|
|
140
140
|
id: 'scm',
|
|
141
141
|
order: 5,
|
|
142
|
-
title: ( localize(
|
|
142
|
+
title: ( localize(8614, "Source Control")),
|
|
143
143
|
type: 'object',
|
|
144
144
|
scope: ConfigurationScope.RESOURCE,
|
|
145
145
|
properties: {
|
|
@@ -147,21 +147,21 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
|
|
|
147
147
|
type: 'string',
|
|
148
148
|
enum: ['all', 'gutter', 'overview', 'minimap', 'none'],
|
|
149
149
|
enumDescriptions: [
|
|
150
|
-
( localize(
|
|
151
|
-
( localize(
|
|
152
|
-
( localize(
|
|
153
|
-
( localize(
|
|
154
|
-
( localize(
|
|
150
|
+
( localize(8615, "Show the diff decorations in all available locations.")),
|
|
151
|
+
( localize(8616, "Show the diff decorations only in the editor gutter.")),
|
|
152
|
+
( localize(8617, "Show the diff decorations only in the overview ruler.")),
|
|
153
|
+
( localize(8618, "Show the diff decorations only in the minimap.")),
|
|
154
|
+
( localize(8619, "Do not show the diff decorations."))
|
|
155
155
|
],
|
|
156
156
|
default: 'all',
|
|
157
|
-
description: ( localize(
|
|
157
|
+
description: ( localize(8620, "Controls diff decorations in the editor."))
|
|
158
158
|
},
|
|
159
159
|
'scm.diffDecorationsGutterWidth': {
|
|
160
160
|
type: 'number',
|
|
161
161
|
enum: [1, 2, 3, 4, 5],
|
|
162
162
|
default: 3,
|
|
163
163
|
description: ( localize(
|
|
164
|
-
|
|
164
|
+
8621,
|
|
165
165
|
"Controls the width(px) of diff decorations in gutter (added & modified)."
|
|
166
166
|
))
|
|
167
167
|
},
|
|
@@ -169,11 +169,11 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
|
|
|
169
169
|
type: 'string',
|
|
170
170
|
enum: ['always', 'hover'],
|
|
171
171
|
enumDescriptions: [
|
|
172
|
-
( localize(
|
|
173
|
-
( localize(
|
|
172
|
+
( localize(8622, "Show the diff decorator in the gutter at all times.")),
|
|
173
|
+
( localize(8623, "Show the diff decorator in the gutter only on hover."))
|
|
174
174
|
],
|
|
175
175
|
description: ( localize(
|
|
176
|
-
|
|
176
|
+
8624,
|
|
177
177
|
"Controls the visibility of the Source Control diff decorator in the gutter."
|
|
178
178
|
)),
|
|
179
179
|
default: 'always'
|
|
@@ -182,27 +182,27 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
|
|
|
182
182
|
type: 'string',
|
|
183
183
|
enum: ['diff', 'none'],
|
|
184
184
|
enumDescriptions: [
|
|
185
|
-
( localize(
|
|
186
|
-
( localize(
|
|
185
|
+
( localize(8625, "Show the inline diff Peek view on click.")),
|
|
186
|
+
( localize(8626, "Do nothing."))
|
|
187
187
|
],
|
|
188
|
-
description: ( localize(
|
|
188
|
+
description: ( localize(8627, "Controls the behavior of Source Control diff gutter decorations.")),
|
|
189
189
|
default: 'diff'
|
|
190
190
|
},
|
|
191
191
|
'scm.diffDecorationsGutterPattern': {
|
|
192
192
|
type: 'object',
|
|
193
193
|
description: ( localize(
|
|
194
|
-
|
|
194
|
+
8628,
|
|
195
195
|
"Controls whether a pattern is used for the diff decorations in gutter."
|
|
196
196
|
)),
|
|
197
197
|
additionalProperties: false,
|
|
198
198
|
properties: {
|
|
199
199
|
'added': {
|
|
200
200
|
type: 'boolean',
|
|
201
|
-
description: ( localize(
|
|
201
|
+
description: ( localize(8629, "Use pattern for the diff decorations in gutter for added lines.")),
|
|
202
202
|
},
|
|
203
203
|
'modified': {
|
|
204
204
|
type: 'boolean',
|
|
205
|
-
description: ( localize(
|
|
205
|
+
description: ( localize(8630, "Use pattern for the diff decorations in gutter for modified lines.")),
|
|
206
206
|
},
|
|
207
207
|
},
|
|
208
208
|
default: {
|
|
@@ -214,12 +214,12 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
|
|
|
214
214
|
type: 'string',
|
|
215
215
|
enum: ['true', 'false', 'inherit'],
|
|
216
216
|
enumDescriptions: [
|
|
217
|
-
( localize(
|
|
218
|
-
( localize(
|
|
219
|
-
( localize(
|
|
217
|
+
( localize(8631, "Ignore leading and trailing whitespace.")),
|
|
218
|
+
( localize(8632, "Do not ignore leading and trailing whitespace.")),
|
|
219
|
+
( localize(8633, "Inherit from `diffEditor.ignoreTrimWhitespace`."))
|
|
220
220
|
],
|
|
221
221
|
description: ( localize(
|
|
222
|
-
|
|
222
|
+
8634,
|
|
223
223
|
"Controls whether leading and trailing whitespace is ignored in Source Control diff gutter decorations."
|
|
224
224
|
)),
|
|
225
225
|
default: 'false'
|
|
@@ -227,7 +227,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
|
|
|
227
227
|
'scm.alwaysShowActions': {
|
|
228
228
|
type: 'boolean',
|
|
229
229
|
description: ( localize(
|
|
230
|
-
|
|
230
|
+
8635,
|
|
231
231
|
"Controls whether inline actions are always visible in the Source Control view."
|
|
232
232
|
)),
|
|
233
233
|
default: false
|
|
@@ -236,12 +236,12 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
|
|
|
236
236
|
type: 'string',
|
|
237
237
|
enum: ['all', 'focused', 'off'],
|
|
238
238
|
enumDescriptions: [
|
|
239
|
-
( localize(
|
|
240
|
-
( localize(
|
|
241
|
-
( localize(
|
|
239
|
+
( localize(8636, "Show the sum of all Source Control Provider count badges.")),
|
|
240
|
+
( localize(8637, "Show the count badge of the focused Source Control Provider.")),
|
|
241
|
+
( localize(8638, "Disable the Source Control count badge."))
|
|
242
242
|
],
|
|
243
243
|
description: ( localize(
|
|
244
|
-
|
|
244
|
+
8639,
|
|
245
245
|
"Controls the count badge on the Source Control icon on the Activity Bar."
|
|
246
246
|
)),
|
|
247
247
|
default: 'all'
|
|
@@ -250,12 +250,12 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
|
|
|
250
250
|
type: 'string',
|
|
251
251
|
enum: ['hidden', 'auto', 'visible'],
|
|
252
252
|
enumDescriptions: [
|
|
253
|
-
( localize(
|
|
254
|
-
( localize(
|
|
255
|
-
( localize(
|
|
253
|
+
( localize(8640, "Hide Source Control Provider count badges.")),
|
|
254
|
+
( localize(8641, "Only show count badge for Source Control Provider when non-zero.")),
|
|
255
|
+
( localize(8642, "Show Source Control Provider count badges."))
|
|
256
256
|
],
|
|
257
257
|
markdownDescription: ( localize(
|
|
258
|
-
|
|
258
|
+
8643,
|
|
259
259
|
"Controls the count badges on Source Control Provider headers. These headers appear in the Source Control view when there is more than one provider or when the {0} setting is enabled, and in the Source Control Repositories view.",
|
|
260
260
|
'\`#scm.alwaysShowRepositories#\`'
|
|
261
261
|
)),
|
|
@@ -265,22 +265,22 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
|
|
|
265
265
|
type: 'string',
|
|
266
266
|
enum: ['tree', 'list'],
|
|
267
267
|
enumDescriptions: [
|
|
268
|
-
( localize(
|
|
269
|
-
( localize(
|
|
268
|
+
( localize(8644, "Show the repository changes as a tree.")),
|
|
269
|
+
( localize(8645, "Show the repository changes as a list."))
|
|
270
270
|
],
|
|
271
|
-
description: ( localize(
|
|
271
|
+
description: ( localize(8646, "Controls the default Source Control repository view mode.")),
|
|
272
272
|
default: 'list'
|
|
273
273
|
},
|
|
274
274
|
'scm.defaultViewSortKey': {
|
|
275
275
|
type: 'string',
|
|
276
276
|
enum: ['name', 'path', 'status'],
|
|
277
277
|
enumDescriptions: [
|
|
278
|
-
( localize(
|
|
279
|
-
( localize(
|
|
280
|
-
( localize(
|
|
278
|
+
( localize(8647, "Sort the repository changes by file name.")),
|
|
279
|
+
( localize(8648, "Sort the repository changes by path.")),
|
|
280
|
+
( localize(8649, "Sort the repository changes by Source Control status."))
|
|
281
281
|
],
|
|
282
282
|
description: ( localize(
|
|
283
|
-
|
|
283
|
+
8650,
|
|
284
284
|
"Controls the default Source Control repository changes sort order when viewed as a list."
|
|
285
285
|
)),
|
|
286
286
|
default: 'path'
|
|
@@ -288,7 +288,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
|
|
|
288
288
|
'scm.autoReveal': {
|
|
289
289
|
type: 'boolean',
|
|
290
290
|
description: ( localize(
|
|
291
|
-
|
|
291
|
+
8651,
|
|
292
292
|
"Controls whether the Source Control view should automatically reveal and select files when opening them."
|
|
293
293
|
)),
|
|
294
294
|
default: true
|
|
@@ -296,20 +296,20 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
|
|
|
296
296
|
'scm.inputFontFamily': {
|
|
297
297
|
type: 'string',
|
|
298
298
|
markdownDescription: ( localize(
|
|
299
|
-
|
|
299
|
+
8652,
|
|
300
300
|
"Controls the font for the input message. Use `default` for the workbench user interface font family, `editor` for the `#editor.fontFamily#`'s value, or a custom font family."
|
|
301
301
|
)),
|
|
302
302
|
default: 'default'
|
|
303
303
|
},
|
|
304
304
|
'scm.inputFontSize': {
|
|
305
305
|
type: 'number',
|
|
306
|
-
markdownDescription: ( localize(
|
|
306
|
+
markdownDescription: ( localize(8653, "Controls the font size for the input message in pixels.")),
|
|
307
307
|
default: 13
|
|
308
308
|
},
|
|
309
309
|
'scm.inputMaxLineCount': {
|
|
310
310
|
type: 'number',
|
|
311
311
|
markdownDescription: ( localize(
|
|
312
|
-
|
|
312
|
+
8654,
|
|
313
313
|
"Controls the maximum number of lines that the input will auto-grow to."
|
|
314
314
|
)),
|
|
315
315
|
minimum: 1,
|
|
@@ -319,7 +319,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
|
|
|
319
319
|
'scm.inputMinLineCount': {
|
|
320
320
|
type: 'number',
|
|
321
321
|
markdownDescription: ( localize(
|
|
322
|
-
|
|
322
|
+
8655,
|
|
323
323
|
"Controls the minimum number of lines that the input will auto-grow from."
|
|
324
324
|
)),
|
|
325
325
|
minimum: 1,
|
|
@@ -329,7 +329,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
|
|
|
329
329
|
'scm.alwaysShowRepositories': {
|
|
330
330
|
type: 'boolean',
|
|
331
331
|
markdownDescription: ( localize(
|
|
332
|
-
|
|
332
|
+
8656,
|
|
333
333
|
"Controls whether repositories should always be visible in the Source Control view."
|
|
334
334
|
)),
|
|
335
335
|
default: false
|
|
@@ -339,20 +339,20 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
|
|
|
339
339
|
enum: ['discovery time', 'name', 'path'],
|
|
340
340
|
enumDescriptions: [
|
|
341
341
|
( localize(
|
|
342
|
-
|
|
342
|
+
8657,
|
|
343
343
|
"Repositories in the Source Control Repositories view are sorted by discovery time. Repositories in the Source Control view are sorted in the order that they were selected."
|
|
344
344
|
)),
|
|
345
345
|
( localize(
|
|
346
|
-
|
|
346
|
+
8658,
|
|
347
347
|
"Repositories in the Source Control Repositories and Source Control views are sorted by repository name."
|
|
348
348
|
)),
|
|
349
349
|
( localize(
|
|
350
|
-
|
|
350
|
+
8659,
|
|
351
351
|
"Repositories in the Source Control Repositories and Source Control views are sorted by repository path."
|
|
352
352
|
))
|
|
353
353
|
],
|
|
354
354
|
description: ( localize(
|
|
355
|
-
|
|
355
|
+
8660,
|
|
356
356
|
"Controls the sort order of the repositories in the source control repositories view."
|
|
357
357
|
)),
|
|
358
358
|
default: 'discovery time'
|
|
@@ -360,7 +360,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
|
|
|
360
360
|
'scm.repositories.visible': {
|
|
361
361
|
type: 'number',
|
|
362
362
|
description: ( localize(
|
|
363
|
-
|
|
363
|
+
8661,
|
|
364
364
|
"Controls how many repositories are visible in the Source Control Repositories section. Set to 0, to be able to manually resize the view."
|
|
365
365
|
)),
|
|
366
366
|
default: 10
|
|
@@ -368,7 +368,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
|
|
|
368
368
|
'scm.showActionButton': {
|
|
369
369
|
type: 'boolean',
|
|
370
370
|
markdownDescription: ( localize(
|
|
371
|
-
|
|
371
|
+
8662,
|
|
372
372
|
"Controls whether an action button can be shown in the Source Control view."
|
|
373
373
|
)),
|
|
374
374
|
default: true
|
|
@@ -376,7 +376,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
|
|
|
376
376
|
'scm.showInputActionButton': {
|
|
377
377
|
type: 'boolean',
|
|
378
378
|
markdownDescription: ( localize(
|
|
379
|
-
|
|
379
|
+
8663,
|
|
380
380
|
"Controls whether an action button can be shown in the Source Control input."
|
|
381
381
|
)),
|
|
382
382
|
default: true
|
|
@@ -384,7 +384,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
|
|
|
384
384
|
'scm.workingSets.enabled': {
|
|
385
385
|
type: 'boolean',
|
|
386
386
|
description: ( localize(
|
|
387
|
-
|
|
387
|
+
8664,
|
|
388
388
|
"Controls whether to store editor working sets when switching between source control history item groups."
|
|
389
389
|
)),
|
|
390
390
|
default: false
|
|
@@ -394,16 +394,16 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
|
|
|
394
394
|
enum: ['empty', 'current'],
|
|
395
395
|
enumDescriptions: [
|
|
396
396
|
( localize(
|
|
397
|
-
|
|
397
|
+
8665,
|
|
398
398
|
"Use an empty working set when switching to a source control history item group that does not have a working set."
|
|
399
399
|
)),
|
|
400
400
|
( localize(
|
|
401
|
-
|
|
401
|
+
8666,
|
|
402
402
|
"Use the current working set when switching to a source control history item group that does not have a working set."
|
|
403
403
|
))
|
|
404
404
|
],
|
|
405
405
|
description: ( localize(
|
|
406
|
-
|
|
406
|
+
8667,
|
|
407
407
|
"Controls the default working set to use when switching to a source control history item group that does not have a working set."
|
|
408
408
|
)),
|
|
409
409
|
default: 'current'
|
|
@@ -411,7 +411,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
|
|
|
411
411
|
'scm.compactFolders': {
|
|
412
412
|
type: 'boolean',
|
|
413
413
|
description: ( localize(
|
|
414
|
-
|
|
414
|
+
8668,
|
|
415
415
|
"Controls whether the Source Control view should render folders in a compact form. In such a form, single child folders will be compressed in a combined tree element."
|
|
416
416
|
)),
|
|
417
417
|
default: true
|
|
@@ -419,7 +419,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
|
|
|
419
419
|
'scm.graph.pageOnScroll': {
|
|
420
420
|
type: 'boolean',
|
|
421
421
|
description: ( localize(
|
|
422
|
-
|
|
422
|
+
8669,
|
|
423
423
|
"Controls whether the Source Control Graph view will load the next page of items when you scroll to the end of the list."
|
|
424
424
|
)),
|
|
425
425
|
default: true
|
|
@@ -427,7 +427,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
|
|
|
427
427
|
'scm.graph.pageSize': {
|
|
428
428
|
type: 'number',
|
|
429
429
|
description: ( localize(
|
|
430
|
-
|
|
430
|
+
8670,
|
|
431
431
|
"The number of items to show in the Source Control Graph view by default and when loading more items."
|
|
432
432
|
)),
|
|
433
433
|
minimum: 1,
|
|
@@ -439,16 +439,16 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
|
|
|
439
439
|
enum: ['all', 'filter'],
|
|
440
440
|
enumDescriptions: [
|
|
441
441
|
( localize(
|
|
442
|
-
|
|
442
|
+
8671,
|
|
443
443
|
"Show badges of all history item groups in the Source Control Graph view."
|
|
444
444
|
)),
|
|
445
445
|
( localize(
|
|
446
|
-
|
|
446
|
+
8672,
|
|
447
447
|
"Show only the badges of history item groups used as a filter in the Source Control Graph view."
|
|
448
448
|
))
|
|
449
449
|
],
|
|
450
450
|
description: ( localize(
|
|
451
|
-
|
|
451
|
+
8673,
|
|
452
452
|
"Controls which badges are shown in the Source Control Graph view. The badges are shown on the right side of the graph indicating the names of history item groups."
|
|
453
453
|
)),
|
|
454
454
|
default: 'filter'
|
|
@@ -457,7 +457,7 @@ registerWorkbenchContribution2(SCMWorkingSetController.ID, SCMWorkingSetControll
|
|
|
457
457
|
});
|
|
458
458
|
KeybindingsRegistry.registerCommandAndKeybindingRule({
|
|
459
459
|
id: 'scm.acceptInput',
|
|
460
|
-
metadata: { description: ( localize(
|
|
460
|
+
metadata: { description: ( localize(8674, "Source Control: Accept Input")), args: [] },
|
|
461
461
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
462
462
|
when: ( ContextKeyExpr.has('scmRepository')),
|
|
463
463
|
primary: KeyMod.CtrlCmd | KeyCode.Enter,
|
|
@@ -494,7 +494,7 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
|
|
|
494
494
|
}
|
|
495
495
|
});
|
|
496
496
|
const viewNextCommitCommand = {
|
|
497
|
-
description: { description: ( localize(
|
|
497
|
+
description: { description: ( localize(8675, "Source Control: View Next Commit")), args: [] },
|
|
498
498
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
499
499
|
handler: (accessor) => {
|
|
500
500
|
const contextKeyService = accessor.get(IContextKeyService);
|
|
@@ -506,7 +506,7 @@ const viewNextCommitCommand = {
|
|
|
506
506
|
}
|
|
507
507
|
};
|
|
508
508
|
const viewPreviousCommitCommand = {
|
|
509
|
-
description: { description: ( localize(
|
|
509
|
+
description: { description: ( localize(8676, "Source Control: View Previous Commit")), args: [] },
|
|
510
510
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
511
511
|
handler: (accessor) => {
|
|
512
512
|
const contextKeyService = accessor.get(IContextKeyService);
|
|
@@ -575,7 +575,7 @@ MenuRegistry.appendMenuItem(MenuId.SCMSourceControl, {
|
|
|
575
575
|
group: '100_end',
|
|
576
576
|
command: {
|
|
577
577
|
id: 'scm.openInTerminal',
|
|
578
|
-
title: ( localize(
|
|
578
|
+
title: ( localize(8677, "Open in External Terminal"))
|
|
579
579
|
},
|
|
580
580
|
when: ( ContextKeyExpr.and(( RemoteNameContext.isEqualTo('')), ( ContextKeyExpr.equals('scmProviderHasRootUri', true)), ( ContextKeyExpr.or(( ContextKeyExpr.equals('config.terminal.sourceControlRepositoriesKind', 'external')), ( ContextKeyExpr.equals('config.terminal.sourceControlRepositoriesKind', 'both'))))))
|
|
581
581
|
});
|
|
@@ -583,7 +583,7 @@ MenuRegistry.appendMenuItem(MenuId.SCMSourceControl, {
|
|
|
583
583
|
group: '100_end',
|
|
584
584
|
command: {
|
|
585
585
|
id: 'scm.openInIntegratedTerminal',
|
|
586
|
-
title: ( localize(
|
|
586
|
+
title: ( localize(8678, "Open in Integrated Terminal"))
|
|
587
587
|
},
|
|
588
588
|
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals('scmProviderHasRootUri', true)), ( ContextKeyExpr.or(( ContextKeyExpr.equals('config.terminal.sourceControlRepositoriesKind', 'integrated')), ( ContextKeyExpr.equals('config.terminal.sourceControlRepositoriesKind', 'both'))))))
|
|
589
589
|
});
|
|
@@ -55,75 +55,75 @@ let SCMAccessibilityHelpContentProvider = class SCMAccessibilityHelpContentProvi
|
|
|
55
55
|
const content = [];
|
|
56
56
|
if (this._scmViewService.visibleRepositories.length > 1) {
|
|
57
57
|
const repositoryList = ( this._scmViewService.visibleRepositories.map(r => r.provider.name)).join(', ');
|
|
58
|
-
content.push(( localize(
|
|
58
|
+
content.push(( localize(8679, "Visible repositories: {0}", repositoryList)));
|
|
59
59
|
}
|
|
60
60
|
const activeRepository = this._scmViewService.activeRepository.get();
|
|
61
61
|
if (activeRepository) {
|
|
62
|
-
content.push(( localize(
|
|
62
|
+
content.push(( localize(8680, "Repository: {0}", activeRepository.provider.name)));
|
|
63
63
|
const currentHistoryItemRef = activeRepository.provider.historyProvider.get()?.historyItemRef.get();
|
|
64
64
|
if (currentHistoryItemRef) {
|
|
65
|
-
content.push(( localize(
|
|
65
|
+
content.push(( localize(8681, "History item reference: {0}", currentHistoryItemRef.name)));
|
|
66
66
|
}
|
|
67
67
|
if (activeRepository.input.visible && activeRepository.input.enabled && activeRepository.input.value !== '') {
|
|
68
|
-
content.push(( localize(
|
|
68
|
+
content.push(( localize(8682, "Commit message: {0}", activeRepository.input.value)));
|
|
69
69
|
}
|
|
70
70
|
const actionButton = activeRepository.provider.actionButton.get();
|
|
71
71
|
if (actionButton) {
|
|
72
72
|
const label = actionButton.command.tooltip ?? actionButton.command.title;
|
|
73
|
-
const enablementLabel = actionButton.enabled ? ( localize(
|
|
74
|
-
content.push(( localize(
|
|
73
|
+
const enablementLabel = actionButton.enabled ? ( localize(8683, "enabled")) : ( localize(8684, "disabled"));
|
|
74
|
+
content.push(( localize(8685, "Action button: {0}, {1}", label, enablementLabel)));
|
|
75
75
|
}
|
|
76
76
|
const resourceGroups = [];
|
|
77
77
|
for (const resourceGroup of activeRepository.provider.groups) {
|
|
78
78
|
resourceGroups.push(`${resourceGroup.label} (${resourceGroup.resources.length} resource(s))`);
|
|
79
79
|
}
|
|
80
80
|
( activeRepository.provider.groups.map(g => g.label)).join(', ');
|
|
81
|
-
content.push(( localize(
|
|
81
|
+
content.push(( localize(8686, "Resource groups: {0}", resourceGroups.join(', '))));
|
|
82
82
|
}
|
|
83
83
|
content.push(( localize(
|
|
84
|
-
|
|
84
|
+
8687,
|
|
85
85
|
"Use the \"Source Control: Focus on Source Control Repositories View\" command to open the Source Control Repositories view."
|
|
86
86
|
)));
|
|
87
87
|
content.push(( localize(
|
|
88
|
-
|
|
88
|
+
8688,
|
|
89
89
|
"The Source Control Repositories view lists all repositories from the workspace and is only shown when the workspace contains more than one repository."
|
|
90
90
|
)));
|
|
91
|
-
content.push(( localize(
|
|
91
|
+
content.push(( localize(8689, "Once the Source Control Repositories view is opened you can:")));
|
|
92
92
|
content.push(( localize(
|
|
93
|
-
|
|
93
|
+
8690,
|
|
94
94
|
" - Use the up/down arrow keys to navigate the list of repositories."
|
|
95
95
|
)));
|
|
96
|
-
content.push(( localize(
|
|
97
|
-
content.push(( localize(
|
|
96
|
+
content.push(( localize(8691, " - Use the Enter or Space keys to select a repository.")));
|
|
97
|
+
content.push(( localize(8692, " - Use Shift + up/down keys to select multiple repositories.")));
|
|
98
98
|
content.push(( localize(
|
|
99
|
-
|
|
99
|
+
8693,
|
|
100
100
|
"Use the \"Source Control: Focus on Source Control View\" command to open the Source Control view."
|
|
101
101
|
)));
|
|
102
102
|
content.push(( localize(
|
|
103
|
-
|
|
103
|
+
8694,
|
|
104
104
|
"The Source Control view displays the resource groups and resources of the repository. If the workspace contains more than one repository it will list the resource groups and resources of the repositories selected in the Source Control Repositories view."
|
|
105
105
|
)));
|
|
106
|
-
content.push(( localize(
|
|
106
|
+
content.push(( localize(8695, "Once the Source Control view is opened you can:")));
|
|
107
107
|
content.push(( localize(
|
|
108
|
-
|
|
108
|
+
8696,
|
|
109
109
|
" - Use the up/down arrow keys to navigate the list of repositories, resource groups and resources."
|
|
110
110
|
)));
|
|
111
|
-
content.push(( localize(
|
|
111
|
+
content.push(( localize(8697, " - Use the Space key to expand or collapse a resource group.")));
|
|
112
112
|
content.push(( localize(
|
|
113
|
-
|
|
113
|
+
8698,
|
|
114
114
|
"Use the \"Source Control: Focus on Source Control Graph View\" command to open the Source Control Graph view."
|
|
115
115
|
)));
|
|
116
116
|
content.push(( localize(
|
|
117
|
-
|
|
117
|
+
8699,
|
|
118
118
|
"The Source Control Graph view displays a graph history items of the repository. If the workspace contains more than one repository it will list the history items of the active repository."
|
|
119
119
|
)));
|
|
120
|
-
content.push(( localize(
|
|
120
|
+
content.push(( localize(8700, "Once the Source Control Graph view is opened you can:")));
|
|
121
121
|
content.push(( localize(
|
|
122
|
-
|
|
122
|
+
8701,
|
|
123
123
|
" - Use the up/down arrow keys to navigate the list of history items."
|
|
124
124
|
)));
|
|
125
125
|
content.push(( localize(
|
|
126
|
-
|
|
126
|
+
8702,
|
|
127
127
|
" - Use the Space key to open the history item details in the multi-file diff editor."
|
|
128
128
|
)));
|
|
129
129
|
return content.join('\n');
|
|
@@ -109,23 +109,23 @@ class SCMHistoryItemRefsActionViewItem extends ActionViewItem {
|
|
|
109
109
|
icon.classList.add(...ThemeIcon.asClassNameArray(Codicon.gitBranch));
|
|
110
110
|
const name = $('.name');
|
|
111
111
|
if (this._historyItemsFilter === 'all') {
|
|
112
|
-
name.textContent = ( localize(
|
|
112
|
+
name.textContent = ( localize(8716, "All"));
|
|
113
113
|
}
|
|
114
114
|
else if (this._historyItemsFilter === 'auto') {
|
|
115
|
-
name.textContent = ( localize(
|
|
115
|
+
name.textContent = ( localize(8717, "Auto"));
|
|
116
116
|
}
|
|
117
117
|
else if (this._historyItemsFilter.length === 1) {
|
|
118
118
|
name.textContent = this._historyItemsFilter[0].name;
|
|
119
119
|
}
|
|
120
120
|
else {
|
|
121
|
-
name.textContent = ( localize(
|
|
121
|
+
name.textContent = ( localize(8718, "{0} Items", this._historyItemsFilter.length));
|
|
122
122
|
}
|
|
123
123
|
reset(this.label, icon, name);
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
getTooltip() {
|
|
127
127
|
if (this._historyItemsFilter === 'all') {
|
|
128
|
-
return localize(
|
|
128
|
+
return localize(8719, "All history item references");
|
|
129
129
|
}
|
|
130
130
|
else if (this._historyItemsFilter === 'auto') {
|
|
131
131
|
const historyProvider = this._repository.provider.historyProvider.get();
|
|
@@ -147,7 +147,7 @@ registerAction2(class extends ViewAction {
|
|
|
147
147
|
constructor() {
|
|
148
148
|
super({
|
|
149
149
|
id: PICK_REPOSITORY_ACTION_ID,
|
|
150
|
-
title: ( localize(
|
|
150
|
+
title: ( localize(8720, "Repository Picker")),
|
|
151
151
|
viewId: HISTORY_VIEW_PANE_ID,
|
|
152
152
|
f1: false,
|
|
153
153
|
menu: {
|
|
@@ -166,7 +166,7 @@ registerAction2(class extends ViewAction {
|
|
|
166
166
|
constructor() {
|
|
167
167
|
super({
|
|
168
168
|
id: PICK_HISTORY_ITEM_REFS_ACTION_ID,
|
|
169
|
-
title: ( localize(
|
|
169
|
+
title: ( localize(8721, "History Item Reference Picker")),
|
|
170
170
|
icon: Codicon.gitBranch,
|
|
171
171
|
viewId: HISTORY_VIEW_PANE_ID,
|
|
172
172
|
precondition: ( ContextKeys.SCMHistoryItemCount.notEqualsTo(0)),
|
|
@@ -186,7 +186,7 @@ registerAction2(class extends ViewAction {
|
|
|
186
186
|
constructor() {
|
|
187
187
|
super({
|
|
188
188
|
id: 'workbench.scm.action.graph.revealCurrentHistoryItem',
|
|
189
|
-
title: ( localize(
|
|
189
|
+
title: ( localize(8722, "Go to Current History Item")),
|
|
190
190
|
icon: Codicon.target,
|
|
191
191
|
viewId: HISTORY_VIEW_PANE_ID,
|
|
192
192
|
precondition: ( ContextKeyExpr.and(( ContextKeys.SCMHistoryItemCount.notEqualsTo(0)), ( ContextKeys.SCMCurrentHistoryItemRefInFilter.isEqualTo(true)))),
|
|
@@ -206,7 +206,7 @@ registerAction2(class extends ViewAction {
|
|
|
206
206
|
constructor() {
|
|
207
207
|
super({
|
|
208
208
|
id: 'workbench.scm.action.graph.refresh',
|
|
209
|
-
title: ( localize(
|
|
209
|
+
title: ( localize(8723, "Refresh")),
|
|
210
210
|
viewId: HISTORY_VIEW_PANE_ID,
|
|
211
211
|
f1: false,
|
|
212
212
|
icon: Codicon.refresh,
|
|
@@ -225,7 +225,7 @@ registerAction2(class extends Action2 {
|
|
|
225
225
|
constructor() {
|
|
226
226
|
super({
|
|
227
227
|
id: 'workbench.scm.action.graph.viewChanges',
|
|
228
|
-
title: ( localize(
|
|
228
|
+
title: ( localize(8724, "Open Changes")),
|
|
229
229
|
f1: false,
|
|
230
230
|
menu: [
|
|
231
231
|
{
|
|
@@ -259,7 +259,7 @@ registerAction2(class extends Action2 {
|
|
|
259
259
|
const title = historyItems.length === 1 ?
|
|
260
260
|
getHistoryItemEditorTitle(historyItem) :
|
|
261
261
|
( localize(
|
|
262
|
-
|
|
262
|
+
8725,
|
|
263
263
|
"All Changes ({0} ↔ {1})",
|
|
264
264
|
historyItemLast.displayId ?? historyItemLast.id,
|
|
265
265
|
historyItem.displayId ?? historyItem.id
|
|
@@ -420,7 +420,7 @@ let HistoryItemRenderer = class HistoryItemRenderer {
|
|
|
420
420
|
? `$(${historyItem.authorIcon.id})`
|
|
421
421
|
: '$(account)';
|
|
422
422
|
if (historyItem.authorEmail) {
|
|
423
|
-
const emailTitle = ( localize(
|
|
423
|
+
const emailTitle = ( localize(8726, "Email"));
|
|
424
424
|
markdown.appendMarkdown(`${icon} [**${historyItem.author}**](mailto:${historyItem.authorEmail} "${emailTitle} ${historyItem.author}")`);
|
|
425
425
|
}
|
|
426
426
|
else {
|
|
@@ -436,19 +436,19 @@ let HistoryItemRenderer = class HistoryItemRenderer {
|
|
|
436
436
|
if (historyItem.statistics) {
|
|
437
437
|
markdown.appendMarkdown(`---\n\n`);
|
|
438
438
|
markdown.appendMarkdown(`<span>${historyItem.statistics.files === 1 ?
|
|
439
|
-
( localize(
|
|
440
|
-
( localize(
|
|
439
|
+
( localize(8727, "{0} file changed", historyItem.statistics.files)) :
|
|
440
|
+
( localize(8728, "{0} files changed", historyItem.statistics.files))}</span>`);
|
|
441
441
|
if (historyItem.statistics.insertions) {
|
|
442
442
|
const additionsForegroundColor = colorTheme.getColor(historyItemHoverAdditionsForeground);
|
|
443
443
|
markdown.appendMarkdown(`, <span style="color:${additionsForegroundColor};">${historyItem.statistics.insertions === 1 ?
|
|
444
|
-
( localize(
|
|
445
|
-
( localize(
|
|
444
|
+
( localize(8729, "{0} insertion{1}", historyItem.statistics.insertions, '(+)')) :
|
|
445
|
+
( localize(8730, "{0} insertions{1}", historyItem.statistics.insertions, '(+)'))}</span>`);
|
|
446
446
|
}
|
|
447
447
|
if (historyItem.statistics.deletions) {
|
|
448
448
|
const deletionsForegroundColor = colorTheme.getColor(historyItemHoverDeletionsForeground);
|
|
449
449
|
markdown.appendMarkdown(`, <span style="color:${deletionsForegroundColor};">${historyItem.statistics.deletions === 1 ?
|
|
450
|
-
( localize(
|
|
451
|
-
( localize(
|
|
450
|
+
( localize(8731, "{0} deletion{1}", historyItem.statistics.deletions, '(-)')) :
|
|
451
|
+
( localize(8732, "{0} deletions{1}", historyItem.statistics.deletions, '(-)'))}</span>`);
|
|
452
452
|
}
|
|
453
453
|
}
|
|
454
454
|
if ((historyItem.references ?? []).length > 0) {
|
|
@@ -517,7 +517,7 @@ let HistoryItemLoadMoreRenderer = class HistoryItemLoadMoreRenderer {
|
|
|
517
517
|
templateData.elementDisposables.add(autorun(reader => {
|
|
518
518
|
const isLoadingMore = this._isLoadingMore.read(reader);
|
|
519
519
|
const icon = `$(${isLoadingMore ? 'loading~spin' : 'fold-down'})`;
|
|
520
|
-
templateData.historyItemPlaceholderLabel.setLabel(( localize(
|
|
520
|
+
templateData.historyItemPlaceholderLabel.setLabel(( localize(8733, "{0} Load More...", icon)));
|
|
521
521
|
}));
|
|
522
522
|
}
|
|
523
523
|
}
|
|
@@ -571,7 +571,7 @@ SCMHistoryViewPaneActionRunner = ( __decorate([
|
|
|
571
571
|
], SCMHistoryViewPaneActionRunner));
|
|
572
572
|
class SCMHistoryTreeAccessibilityProvider {
|
|
573
573
|
getWidgetAriaLabel() {
|
|
574
|
-
return localize(
|
|
574
|
+
return localize(8734, "Source Control History");
|
|
575
575
|
}
|
|
576
576
|
getAriaLabel(element) {
|
|
577
577
|
if (isSCMRepository(element)) {
|
|
@@ -873,8 +873,8 @@ let RepositoryPicker = class RepositoryPicker extends Disposable {
|
|
|
873
873
|
this._quickInputService = _quickInputService;
|
|
874
874
|
this._scmViewService = _scmViewService;
|
|
875
875
|
this._autoQuickPickItem = {
|
|
876
|
-
label: ( localize(
|
|
877
|
-
description: ( localize(
|
|
876
|
+
label: ( localize(8717, "Auto")),
|
|
877
|
+
description: ( localize(8735, "Show the source control graph for the active repository")),
|
|
878
878
|
repository: 'auto'
|
|
879
879
|
};
|
|
880
880
|
}
|
|
@@ -890,7 +890,7 @@ let RepositoryPicker = class RepositoryPicker extends Disposable {
|
|
|
890
890
|
repository: r
|
|
891
891
|
}))));
|
|
892
892
|
return this._quickInputService.pick(picks, {
|
|
893
|
-
placeHolder: ( localize(
|
|
893
|
+
placeHolder: ( localize(8736, "Select the repository to view, type to filter all repositories"))
|
|
894
894
|
});
|
|
895
895
|
}
|
|
896
896
|
};
|
|
@@ -906,21 +906,21 @@ let HistoryItemRefPicker = class HistoryItemRefPicker extends Disposable {
|
|
|
906
906
|
this._quickInputService = _quickInputService;
|
|
907
907
|
this._allQuickPickItem = {
|
|
908
908
|
id: 'all',
|
|
909
|
-
label: ( localize(
|
|
910
|
-
description: ( localize(
|
|
909
|
+
label: ( localize(8716, "All")),
|
|
910
|
+
description: ( localize(8719, "All history item references")),
|
|
911
911
|
historyItemRef: 'all'
|
|
912
912
|
};
|
|
913
913
|
this._autoQuickPickItem = {
|
|
914
914
|
id: 'auto',
|
|
915
|
-
label: ( localize(
|
|
916
|
-
description: ( localize(
|
|
915
|
+
label: ( localize(8717, "Auto")),
|
|
916
|
+
description: ( localize(8737, "Current history item reference(s)")),
|
|
917
917
|
historyItemRef: 'auto'
|
|
918
918
|
};
|
|
919
919
|
}
|
|
920
920
|
async pickHistoryItemRef() {
|
|
921
921
|
const quickPick = this._quickInputService.createQuickPick({ useSeparators: true });
|
|
922
922
|
this._store.add(quickPick);
|
|
923
|
-
quickPick.placeholder = ( localize(
|
|
923
|
+
quickPick.placeholder = ( localize(8738, "Select one/more history item references to view, type to filter"));
|
|
924
924
|
quickPick.canSelectMany = true;
|
|
925
925
|
quickPick.hideCheckAll = true;
|
|
926
926
|
quickPick.busy = true;
|
|
@@ -1050,7 +1050,7 @@ let SCMHistoryViewPane = class SCMHistoryViewPane extends ViewPane {
|
|
|
1050
1050
|
container.appendChild(element.root);
|
|
1051
1051
|
this._register(this.hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), element.root, {
|
|
1052
1052
|
markdown: {
|
|
1053
|
-
value: ( localize(
|
|
1053
|
+
value: ( localize(8739, "Please refresh the graph using the refresh action ($(refresh)).")),
|
|
1054
1054
|
supportThemeIcons: true
|
|
1055
1055
|
},
|
|
1056
1056
|
markdownNotSupportedFallback: undefined
|
|
@@ -60,7 +60,7 @@ let SCMRepositoriesViewPane = class SCMRepositoriesViewPane extends ViewPane {
|
|
|
60
60
|
return r.provider.label;
|
|
61
61
|
},
|
|
62
62
|
getWidgetAriaLabel() {
|
|
63
|
-
return localize(
|
|
63
|
+
return localize(8740, "Source Control Repositories");
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
});
|
|
@@ -759,7 +759,7 @@ let SCMAccessibilityProvider = class SCMAccessibilityProvider {
|
|
|
759
759
|
this.labelService = labelService;
|
|
760
760
|
}
|
|
761
761
|
getWidgetAriaLabel() {
|
|
762
|
-
return localize(
|
|
762
|
+
return localize(8741, "Source Control Management");
|
|
763
763
|
}
|
|
764
764
|
getAriaLabel(element) {
|
|
765
765
|
if (ResourceTree.isResourceNode(element)) {
|
|
@@ -771,17 +771,17 @@ let SCMAccessibilityProvider = class SCMAccessibilityProvider {
|
|
|
771
771
|
else if (isSCMInput(element)) {
|
|
772
772
|
const verbosity = this.configurationService.getValue(AccessibilityVerbositySettingId.SourceControl) === true;
|
|
773
773
|
if (!verbosity || !this.accessibilityService.isScreenReaderOptimized()) {
|
|
774
|
-
return localize(
|
|
774
|
+
return localize(8742, "Source Control Input");
|
|
775
775
|
}
|
|
776
776
|
const kbLabel = this.keybindingService.lookupKeybinding(AccessibilityCommandId.OpenAccessibilityHelp)?.getLabel();
|
|
777
777
|
return kbLabel
|
|
778
778
|
? ( localize(
|
|
779
|
-
|
|
779
|
+
8743,
|
|
780
780
|
"Source Control Input, Use {0} to open Source Control Accessibility Help.",
|
|
781
781
|
kbLabel
|
|
782
782
|
))
|
|
783
783
|
: ( localize(
|
|
784
|
-
|
|
784
|
+
8744,
|
|
785
785
|
"Source Control Input, Run the Open Accessibility Help command for more information."
|
|
786
786
|
));
|
|
787
787
|
}
|
|
@@ -843,14 +843,14 @@ const ContextKeys = {
|
|
|
843
843
|
}
|
|
844
844
|
};
|
|
845
845
|
MenuRegistry.appendMenuItem(MenuId.SCMTitle, {
|
|
846
|
-
title: ( localize(
|
|
846
|
+
title: ( localize(8745, "View & Sort")),
|
|
847
847
|
submenu: Menus.ViewSort,
|
|
848
848
|
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals('view', VIEW_PANE_ID)), ( ContextKeys.RepositoryCount.notEqualsTo(0)))),
|
|
849
849
|
group: '0_view&sort',
|
|
850
850
|
order: 1
|
|
851
851
|
});
|
|
852
852
|
MenuRegistry.appendMenuItem(Menus.ViewSort, {
|
|
853
|
-
title: ( localize(
|
|
853
|
+
title: ( localize(8746, "Repositories")),
|
|
854
854
|
submenu: Menus.Repositories,
|
|
855
855
|
when: ContextKeyExpr.greater(ContextKeys.RepositoryCount.key, 1),
|
|
856
856
|
group: '0_repositories'
|
|
@@ -940,7 +940,7 @@ class SetListViewModeAction extends ViewAction {
|
|
|
940
940
|
constructor(id = 'workbench.scm.action.setListViewMode', menu = {}) {
|
|
941
941
|
super({
|
|
942
942
|
id,
|
|
943
|
-
title: ( localize(
|
|
943
|
+
title: ( localize(8747, "View as List")),
|
|
944
944
|
viewId: VIEW_PANE_ID,
|
|
945
945
|
f1: false,
|
|
946
946
|
icon: Codicon.listTree,
|
|
@@ -966,7 +966,7 @@ class SetTreeViewModeAction extends ViewAction {
|
|
|
966
966
|
constructor(id = 'workbench.scm.action.setTreeViewMode', menu = {}) {
|
|
967
967
|
super({
|
|
968
968
|
id,
|
|
969
|
-
title: ( localize(
|
|
969
|
+
title: ( localize(8748, "View as Tree")),
|
|
970
970
|
viewId: VIEW_PANE_ID,
|
|
971
971
|
f1: false,
|
|
972
972
|
icon: Codicon.listFlat,
|
|
@@ -1019,17 +1019,17 @@ class RepositorySortAction extends ViewAction {
|
|
|
1019
1019
|
}
|
|
1020
1020
|
class RepositorySortByDiscoveryTimeAction extends RepositorySortAction {
|
|
1021
1021
|
constructor() {
|
|
1022
|
-
super(ISCMRepositorySortKey.DiscoveryTime, ( localize(
|
|
1022
|
+
super(ISCMRepositorySortKey.DiscoveryTime, ( localize(8749, "Sort by Discovery Time")));
|
|
1023
1023
|
}
|
|
1024
1024
|
}
|
|
1025
1025
|
class RepositorySortByNameAction extends RepositorySortAction {
|
|
1026
1026
|
constructor() {
|
|
1027
|
-
super(ISCMRepositorySortKey.Name, ( localize(
|
|
1027
|
+
super(ISCMRepositorySortKey.Name, ( localize(8750, "Sort by Name")));
|
|
1028
1028
|
}
|
|
1029
1029
|
}
|
|
1030
1030
|
class RepositorySortByPathAction extends RepositorySortAction {
|
|
1031
1031
|
constructor() {
|
|
1032
|
-
super(ISCMRepositorySortKey.Path, ( localize(
|
|
1032
|
+
super(ISCMRepositorySortKey.Path, ( localize(8751, "Sort by Path")));
|
|
1033
1033
|
}
|
|
1034
1034
|
}
|
|
1035
1035
|
registerAction2(RepositorySortByDiscoveryTimeAction);
|
|
@@ -1054,17 +1054,17 @@ class SetSortKeyAction extends ViewAction {
|
|
|
1054
1054
|
}
|
|
1055
1055
|
class SetSortByNameAction extends SetSortKeyAction {
|
|
1056
1056
|
constructor() {
|
|
1057
|
-
super(ViewSortKey.Name, ( localize(
|
|
1057
|
+
super(ViewSortKey.Name, ( localize(8752, "Sort Changes by Name")));
|
|
1058
1058
|
}
|
|
1059
1059
|
}
|
|
1060
1060
|
class SetSortByPathAction extends SetSortKeyAction {
|
|
1061
1061
|
constructor() {
|
|
1062
|
-
super(ViewSortKey.Path, ( localize(
|
|
1062
|
+
super(ViewSortKey.Path, ( localize(8753, "Sort Changes by Path")));
|
|
1063
1063
|
}
|
|
1064
1064
|
}
|
|
1065
1065
|
class SetSortByStatusAction extends SetSortKeyAction {
|
|
1066
1066
|
constructor() {
|
|
1067
|
-
super(ViewSortKey.Status, ( localize(
|
|
1067
|
+
super(ViewSortKey.Status, ( localize(8754, "Sort Changes by Status")));
|
|
1068
1068
|
}
|
|
1069
1069
|
}
|
|
1070
1070
|
registerAction2(SetSortByNameAction);
|
|
@@ -1074,7 +1074,7 @@ class CollapseAllRepositoriesAction extends ViewAction {
|
|
|
1074
1074
|
constructor() {
|
|
1075
1075
|
super({
|
|
1076
1076
|
id: `workbench.scm.action.collapseAllRepositories`,
|
|
1077
|
-
title: ( localize(
|
|
1077
|
+
title: ( localize(8755, "Collapse All Repositories")),
|
|
1078
1078
|
viewId: VIEW_PANE_ID,
|
|
1079
1079
|
f1: false,
|
|
1080
1080
|
icon: Codicon.collapseAll,
|
|
@@ -1093,7 +1093,7 @@ class ExpandAllRepositoriesAction extends ViewAction {
|
|
|
1093
1093
|
constructor() {
|
|
1094
1094
|
super({
|
|
1095
1095
|
id: `workbench.scm.action.expandAllRepositories`,
|
|
1096
|
-
title: ( localize(
|
|
1096
|
+
title: ( localize(8756, "Expand All Repositories")),
|
|
1097
1097
|
viewId: VIEW_PANE_ID,
|
|
1098
1098
|
f1: false,
|
|
1099
1099
|
icon: Codicon.expandAll,
|
|
@@ -1168,10 +1168,10 @@ let SCMInputWidgetToolbar = class SCMInputWidgetToolbar extends WorkbenchToolBar
|
|
|
1168
1168
|
this._onDidChange = ( new Emitter());
|
|
1169
1169
|
this.onDidChange = this._onDidChange.event;
|
|
1170
1170
|
this._disposables = this._register(( new MutableDisposable()));
|
|
1171
|
-
this._dropdownAction = ( new Action('scmInputMoreActions', ( localize(
|
|
1171
|
+
this._dropdownAction = ( new Action('scmInputMoreActions', ( localize(8757, "More Actions...")), 'codicon-chevron-down'));
|
|
1172
1172
|
this._cancelAction = ( new MenuItemAction({
|
|
1173
1173
|
id: SCMInputWidgetCommandId.CancelAction,
|
|
1174
|
-
title: ( localize(
|
|
1174
|
+
title: ( localize(8758, "Cancel")),
|
|
1175
1175
|
icon: Codicon.stopCircle,
|
|
1176
1176
|
}, undefined, undefined, undefined, undefined, contextKeyService, commandService));
|
|
1177
1177
|
}
|
|
@@ -1379,13 +1379,13 @@ let SCMInputWidget = class SCMInputWidget {
|
|
|
1379
1379
|
const kbLabel = this.keybindingService.lookupKeybinding(AccessibilityCommandId.OpenAccessibilityHelp)?.getLabel();
|
|
1380
1380
|
return kbLabel
|
|
1381
1381
|
? ( localize(
|
|
1382
|
-
|
|
1382
|
+
8759,
|
|
1383
1383
|
"{0}, Use {1} to open Source Control Accessibility Help.",
|
|
1384
1384
|
placeholder,
|
|
1385
1385
|
kbLabel
|
|
1386
1386
|
))
|
|
1387
1387
|
: ( localize(
|
|
1388
|
-
|
|
1388
|
+
8760,
|
|
1389
1389
|
"{0}, Run the Open Accessibility Help command for more information.",
|
|
1390
1390
|
placeholder
|
|
1391
1391
|
));
|
|
@@ -1644,7 +1644,7 @@ let SCMInputWidget = class SCMInputWidget {
|
|
|
1644
1644
|
}
|
|
1645
1645
|
const actionsContainer = append(validationContainer, $('.scm-editor-validation-actions'));
|
|
1646
1646
|
const actionbar = ( new ActionBar(actionsContainer));
|
|
1647
|
-
const action = ( new Action('scmInputWidget.validationMessage.close', ( localize(
|
|
1647
|
+
const action = ( new Action('scmInputWidget.validationMessage.close', ( localize(8761, "Close")), ThemeIcon.asClassName(Codicon.close), true, () => {
|
|
1648
1648
|
this.contextViewService.hideContextView();
|
|
1649
1649
|
this.element.style.borderBottomLeftRadius = '2px';
|
|
1650
1650
|
this.element.style.borderBottomRightRadius = '2px';
|