@codingame/monaco-vscode-scm-service-override 23.1.0 → 23.2.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 +14 -13
- package/vscode/src/vs/workbench/contrib/scm/browser/activity.js +5 -5
- 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 +88 -88
- package/vscode/src/vs/workbench/contrib/scm/browser/scmAccessibilityHelp.js +23 -23
- package/vscode/src/vs/workbench/contrib/scm/browser/scmHistoryViewPane.js +27 -27
- package/vscode/src/vs/workbench/contrib/scm/browser/scmRepositoriesViewPane.js +1 -1
- package/vscode/src/vs/workbench/contrib/scm/browser/scmViewPane.js +26 -26
- package/vscode/src/vs/workbench/contrib/scm/browser/scmViewService.js +1 -1
|
@@ -125,23 +125,23 @@ class SCMHistoryItemRefsActionViewItem extends ActionViewItem {
|
|
|
125
125
|
icon.classList.add(...ThemeIcon.asClassNameArray(Codicon.gitBranch));
|
|
126
126
|
const name = $('.name');
|
|
127
127
|
if (this._historyItemsFilter === 'all') {
|
|
128
|
-
name.textContent = ( localize(
|
|
128
|
+
name.textContent = ( localize(10425, "All"));
|
|
129
129
|
}
|
|
130
130
|
else if (this._historyItemsFilter === 'auto') {
|
|
131
|
-
name.textContent = ( localize(
|
|
131
|
+
name.textContent = ( localize(10426, "Auto"));
|
|
132
132
|
}
|
|
133
133
|
else if (this._historyItemsFilter.length === 1) {
|
|
134
134
|
name.textContent = this._historyItemsFilter[0].name;
|
|
135
135
|
}
|
|
136
136
|
else {
|
|
137
|
-
name.textContent = ( localize(
|
|
137
|
+
name.textContent = ( localize(10427, "{0} Items", this._historyItemsFilter.length));
|
|
138
138
|
}
|
|
139
139
|
reset(this.label, icon, name);
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
getTooltip() {
|
|
143
143
|
if (this._historyItemsFilter === 'all') {
|
|
144
|
-
return localize(
|
|
144
|
+
return localize(10428, "All history item references");
|
|
145
145
|
}
|
|
146
146
|
else if (this._historyItemsFilter === 'auto') {
|
|
147
147
|
const historyProvider = this._repository.provider.historyProvider.get();
|
|
@@ -163,7 +163,7 @@ registerAction2(class extends ViewAction {
|
|
|
163
163
|
constructor() {
|
|
164
164
|
super({
|
|
165
165
|
id: PICK_REPOSITORY_ACTION_ID,
|
|
166
|
-
title: ( localize(
|
|
166
|
+
title: ( localize(10429, "Repository Picker")),
|
|
167
167
|
viewId: HISTORY_VIEW_PANE_ID,
|
|
168
168
|
f1: false,
|
|
169
169
|
menu: {
|
|
@@ -182,7 +182,7 @@ registerAction2(class extends ViewAction {
|
|
|
182
182
|
constructor() {
|
|
183
183
|
super({
|
|
184
184
|
id: PICK_HISTORY_ITEM_REFS_ACTION_ID,
|
|
185
|
-
title: ( localize(
|
|
185
|
+
title: ( localize(10430, "History Item Reference Picker")),
|
|
186
186
|
icon: Codicon.gitBranch,
|
|
187
187
|
viewId: HISTORY_VIEW_PANE_ID,
|
|
188
188
|
precondition: ( ContextKeys.SCMHistoryItemCount.notEqualsTo(0)),
|
|
@@ -202,7 +202,7 @@ registerAction2(class extends ViewAction {
|
|
|
202
202
|
constructor() {
|
|
203
203
|
super({
|
|
204
204
|
id: 'workbench.scm.action.graph.revealCurrentHistoryItem',
|
|
205
|
-
title: ( localize(
|
|
205
|
+
title: ( localize(10431, "Go to Current History Item")),
|
|
206
206
|
icon: Codicon.target,
|
|
207
207
|
viewId: HISTORY_VIEW_PANE_ID,
|
|
208
208
|
precondition: ( ContextKeyExpr.and(( ContextKeys.SCMHistoryItemCount.notEqualsTo(0)), ( ContextKeys.SCMCurrentHistoryItemRefInFilter.isEqualTo(true)))),
|
|
@@ -222,7 +222,7 @@ registerAction2(class extends ViewAction {
|
|
|
222
222
|
constructor() {
|
|
223
223
|
super({
|
|
224
224
|
id: 'workbench.scm.action.graph.refresh',
|
|
225
|
-
title: ( localize(
|
|
225
|
+
title: ( localize(10432, "Refresh")),
|
|
226
226
|
viewId: HISTORY_VIEW_PANE_ID,
|
|
227
227
|
f1: false,
|
|
228
228
|
icon: Codicon.refresh,
|
|
@@ -241,7 +241,7 @@ registerAction2(class extends ViewAction {
|
|
|
241
241
|
constructor() {
|
|
242
242
|
super({
|
|
243
243
|
id: 'workbench.scm.action.graph.setListViewMode',
|
|
244
|
-
title: ( localize(
|
|
244
|
+
title: ( localize(10433, "View as List")),
|
|
245
245
|
viewId: HISTORY_VIEW_PANE_ID,
|
|
246
246
|
toggled: ( ContextKeys.SCMHistoryViewMode.isEqualTo(ViewMode.List)),
|
|
247
247
|
menu: { id: MenuId.SCMHistoryTitle, group: '9_viewmode', order: 1 },
|
|
@@ -256,7 +256,7 @@ registerAction2(class extends ViewAction {
|
|
|
256
256
|
constructor() {
|
|
257
257
|
super({
|
|
258
258
|
id: 'workbench.scm.action.graph.setTreeViewMode',
|
|
259
|
-
title: ( localize(
|
|
259
|
+
title: ( localize(10434, "View as Tree")),
|
|
260
260
|
viewId: HISTORY_VIEW_PANE_ID,
|
|
261
261
|
toggled: ( ContextKeys.SCMHistoryViewMode.isEqualTo(ViewMode.Tree)),
|
|
262
262
|
menu: { id: MenuId.SCMHistoryTitle, group: '9_viewmode', order: 2 },
|
|
@@ -271,7 +271,7 @@ registerAction2(class extends Action2 {
|
|
|
271
271
|
constructor() {
|
|
272
272
|
super({
|
|
273
273
|
id: 'workbench.scm.action.graph.viewChanges',
|
|
274
|
-
title: ( localize(
|
|
274
|
+
title: ( localize(10435, "Open Changes")),
|
|
275
275
|
icon: Codicon.diffMultiple,
|
|
276
276
|
f1: false,
|
|
277
277
|
menu: [
|
|
@@ -330,7 +330,7 @@ registerAction2(class extends Action2 {
|
|
|
330
330
|
constructor() {
|
|
331
331
|
super({
|
|
332
332
|
id: 'workbench.scm.action.graph.openFile',
|
|
333
|
-
title: ( localize(
|
|
333
|
+
title: ( localize(10436, "Open File")),
|
|
334
334
|
icon: Codicon.goToFile,
|
|
335
335
|
f1: false,
|
|
336
336
|
menu: [
|
|
@@ -354,10 +354,10 @@ registerAction2(class extends Action2 {
|
|
|
354
354
|
}
|
|
355
355
|
let version;
|
|
356
356
|
if (historyItem.id === SCMIncomingHistoryItemId) {
|
|
357
|
-
version = ( localize(
|
|
357
|
+
version = ( localize(10437, "Incoming Changes"));
|
|
358
358
|
}
|
|
359
359
|
else if (historyItem.id === SCMOutgoingHistoryItemId) {
|
|
360
|
-
version = ( localize(
|
|
360
|
+
version = ( localize(10438, "Outgoing Changes"));
|
|
361
361
|
}
|
|
362
362
|
else {
|
|
363
363
|
version = historyItem.displayId ?? historyItem.id;
|
|
@@ -655,7 +655,7 @@ let HistoryItemLoadMoreRenderer = class HistoryItemLoadMoreRenderer {
|
|
|
655
655
|
templateData.elementDisposables.add(autorun(reader => {
|
|
656
656
|
const isLoadingMore = this._isLoadingMore.read(reader);
|
|
657
657
|
const icon = `$(${isLoadingMore ? 'loading~spin' : 'fold-down'})`;
|
|
658
|
-
templateData.historyItemPlaceholderLabel.setLabel(( localize(
|
|
658
|
+
templateData.historyItemPlaceholderLabel.setLabel(( localize(10439, "{0} Load More...", icon)));
|
|
659
659
|
}));
|
|
660
660
|
}
|
|
661
661
|
}
|
|
@@ -715,7 +715,7 @@ SCMHistoryViewPaneActionRunner = ( __decorate([
|
|
|
715
715
|
], SCMHistoryViewPaneActionRunner));
|
|
716
716
|
class SCMHistoryTreeAccessibilityProvider {
|
|
717
717
|
getWidgetAriaLabel() {
|
|
718
|
-
return localize(
|
|
718
|
+
return localize(10440, "Source Control History");
|
|
719
719
|
}
|
|
720
720
|
getAriaLabel(element) {
|
|
721
721
|
if (isSCMRepository(element)) {
|
|
@@ -1191,8 +1191,8 @@ let RepositoryPicker = class RepositoryPicker {
|
|
|
1191
1191
|
this._quickInputService = _quickInputService;
|
|
1192
1192
|
this._scmViewService = _scmViewService;
|
|
1193
1193
|
this._autoQuickPickItem = {
|
|
1194
|
-
label: ( localize(
|
|
1195
|
-
description: ( localize(
|
|
1194
|
+
label: ( localize(10426, "Auto")),
|
|
1195
|
+
description: ( localize(10441, "Show the source control graph for the active repository")),
|
|
1196
1196
|
repository: 'auto'
|
|
1197
1197
|
};
|
|
1198
1198
|
}
|
|
@@ -1210,7 +1210,7 @@ let RepositoryPicker = class RepositoryPicker {
|
|
|
1210
1210
|
repository: r
|
|
1211
1211
|
}))));
|
|
1212
1212
|
return this._quickInputService.pick(picks, {
|
|
1213
|
-
placeHolder: ( localize(
|
|
1213
|
+
placeHolder: ( localize(10442, "Select the repository to view, type to filter all repositories"))
|
|
1214
1214
|
});
|
|
1215
1215
|
}
|
|
1216
1216
|
};
|
|
@@ -1226,21 +1226,21 @@ let HistoryItemRefPicker = class HistoryItemRefPicker extends Disposable {
|
|
|
1226
1226
|
this._quickInputService = _quickInputService;
|
|
1227
1227
|
this._allQuickPickItem = {
|
|
1228
1228
|
id: 'all',
|
|
1229
|
-
label: ( localize(
|
|
1230
|
-
description: ( localize(
|
|
1229
|
+
label: ( localize(10425, "All")),
|
|
1230
|
+
description: ( localize(10428, "All history item references")),
|
|
1231
1231
|
historyItemRef: 'all'
|
|
1232
1232
|
};
|
|
1233
1233
|
this._autoQuickPickItem = {
|
|
1234
1234
|
id: 'auto',
|
|
1235
|
-
label: ( localize(
|
|
1236
|
-
description: ( localize(
|
|
1235
|
+
label: ( localize(10426, "Auto")),
|
|
1236
|
+
description: ( localize(10443, "Current history item reference(s)")),
|
|
1237
1237
|
historyItemRef: 'auto'
|
|
1238
1238
|
};
|
|
1239
1239
|
}
|
|
1240
1240
|
async pickHistoryItemRef() {
|
|
1241
1241
|
const quickPick = this._quickInputService.createQuickPick({ useSeparators: true });
|
|
1242
1242
|
this._store.add(quickPick);
|
|
1243
|
-
quickPick.placeholder = ( localize(
|
|
1243
|
+
quickPick.placeholder = ( localize(10444, "Select one/more history item references to view, type to filter"));
|
|
1244
1244
|
quickPick.canSelectMany = true;
|
|
1245
1245
|
quickPick.hideCheckAll = true;
|
|
1246
1246
|
quickPick.busy = true;
|
|
@@ -1374,7 +1374,7 @@ let SCMHistoryViewPane = class SCMHistoryViewPane extends ViewPane {
|
|
|
1374
1374
|
container.appendChild(element.root);
|
|
1375
1375
|
this._register(this.hoverService.setupManagedHover(getDefaultHoverDelegate('mouse'), element.root, {
|
|
1376
1376
|
markdown: {
|
|
1377
|
-
value: ( localize(
|
|
1377
|
+
value: ( localize(10445, "Please refresh the graph using the refresh action ($(refresh)).")),
|
|
1378
1378
|
supportThemeIcons: true
|
|
1379
1379
|
},
|
|
1380
1380
|
markdownNotSupportedFallback: undefined
|
|
@@ -1617,9 +1617,9 @@ let SCMHistoryViewPane = class SCMHistoryViewPane extends ViewPane {
|
|
|
1617
1617
|
const historyItemChange = e.element.historyItemChange;
|
|
1618
1618
|
const historyItem = e.element.historyItemViewModel.historyItem;
|
|
1619
1619
|
const historyItemDisplayId = historyItem.id === SCMIncomingHistoryItemId
|
|
1620
|
-
? ( localize(
|
|
1620
|
+
? ( localize(10437, "Incoming Changes"))
|
|
1621
1621
|
: historyItem.id === SCMOutgoingHistoryItemId
|
|
1622
|
-
? ( localize(
|
|
1622
|
+
? ( localize(10438, "Outgoing Changes"))
|
|
1623
1623
|
: historyItem.displayId ?? historyItem.id;
|
|
1624
1624
|
const historyItemParentId = historyItem.parentIds.length > 0 ? historyItem.parentIds[0] : undefined;
|
|
1625
1625
|
const historyItemParentDisplayId = historyItemParentId && historyItem.displayId
|
|
@@ -451,7 +451,7 @@ let SCMRepositoriesViewPane = class SCMRepositoriesViewPane extends ViewPane {
|
|
|
451
451
|
}
|
|
452
452
|
},
|
|
453
453
|
getWidgetAriaLabel() {
|
|
454
|
-
return localize(
|
|
454
|
+
return localize(10446, "Source Control Repositories");
|
|
455
455
|
}
|
|
456
456
|
}
|
|
457
457
|
});
|
|
@@ -40,7 +40,7 @@ import { StorageScope, StorageTarget } from '@codingame/monaco-vscode-api/vscode
|
|
|
40
40
|
import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
|
|
41
41
|
import { EditorResourceAccessor, SideBySideEditor } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
|
|
42
42
|
import { CodeEditorWidget } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/widget/codeEditor/codeEditorWidget';
|
|
43
|
-
import { getSimpleEditorOptions, setupSimpleEditorSelectionStyling } from '@codingame/monaco-vscode-
|
|
43
|
+
import { getSimpleEditorOptions, setupSimpleEditorSelectionStyling } from '@codingame/monaco-vscode-08fd81c0-7fd8-5f7c-9776-f918dd532714-common/vscode/vs/workbench/contrib/codeEditor/browser/simpleEditorOptions';
|
|
44
44
|
import { IModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model.service';
|
|
45
45
|
import { EditorExtensionsRegistry } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/editorExtensions';
|
|
46
46
|
import { MenuPreventer } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/codeEditor/browser/menuPreventer';
|
|
@@ -87,7 +87,7 @@ import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/plat
|
|
|
87
87
|
import { EditOperation } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/editOperation';
|
|
88
88
|
import { WorkbenchToolBar, HiddenItemStrategy } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/browser/toolbar';
|
|
89
89
|
import { CancellationTokenSource } from '@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation';
|
|
90
|
-
import { DropdownWithPrimaryActionViewItem } from '@codingame/monaco-vscode-
|
|
90
|
+
import { DropdownWithPrimaryActionViewItem } from '@codingame/monaco-vscode-2c64d2c2-fdf7-5675-a2fe-f6f65fbdedbf-common/vscode/vs/platform/actions/browser/dropdownWithPrimaryActionViewItem';
|
|
91
91
|
import { clamp, rot } from '@codingame/monaco-vscode-api/vscode/vs/base/common/numbers';
|
|
92
92
|
import { IHoverService } from '@codingame/monaco-vscode-api/vscode/vs/platform/hover/browser/hover.service';
|
|
93
93
|
import { OpenScmGroupAction } from '@codingame/monaco-vscode-aac7027b-326c-513a-95a9-e4eedd151b38-common/vscode/vs/workbench/contrib/multiDiffEditor/browser/scmMultiDiffSourceResolver';
|
|
@@ -761,7 +761,7 @@ let SCMAccessibilityProvider = class SCMAccessibilityProvider {
|
|
|
761
761
|
this.labelService = labelService;
|
|
762
762
|
}
|
|
763
763
|
getWidgetAriaLabel() {
|
|
764
|
-
return localize(
|
|
764
|
+
return localize(10447, "Source Control Management");
|
|
765
765
|
}
|
|
766
766
|
getAriaLabel(element) {
|
|
767
767
|
if (ResourceTree.isResourceNode(element)) {
|
|
@@ -773,17 +773,17 @@ let SCMAccessibilityProvider = class SCMAccessibilityProvider {
|
|
|
773
773
|
else if (isSCMInput(element)) {
|
|
774
774
|
const verbosity = this.configurationService.getValue(AccessibilityVerbositySettingId.SourceControl) === true;
|
|
775
775
|
if (!verbosity || !this.accessibilityService.isScreenReaderOptimized()) {
|
|
776
|
-
return localize(
|
|
776
|
+
return localize(10448, "Source Control Input");
|
|
777
777
|
}
|
|
778
778
|
const kbLabel = this.keybindingService.lookupKeybinding(AccessibilityCommandId.OpenAccessibilityHelp)?.getLabel();
|
|
779
779
|
return kbLabel
|
|
780
780
|
? ( localize(
|
|
781
|
-
|
|
781
|
+
10449,
|
|
782
782
|
"Source Control Input, Use {0} to open Source Control Accessibility Help.",
|
|
783
783
|
kbLabel
|
|
784
784
|
))
|
|
785
785
|
: ( localize(
|
|
786
|
-
|
|
786
|
+
10450,
|
|
787
787
|
"Source Control Input, Run the Open Accessibility Help command for more information."
|
|
788
788
|
));
|
|
789
789
|
}
|
|
@@ -842,14 +842,14 @@ const ContextKeys = {
|
|
|
842
842
|
}
|
|
843
843
|
};
|
|
844
844
|
MenuRegistry.appendMenuItem(MenuId.SCMTitle, {
|
|
845
|
-
title: ( localize(
|
|
845
|
+
title: ( localize(10451, "View & Sort")),
|
|
846
846
|
submenu: Menus.ViewSort,
|
|
847
847
|
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals('view', VIEW_PANE_ID)), ( ContextKeys.RepositoryCount.notEqualsTo(0)))),
|
|
848
848
|
group: '0_view&sort',
|
|
849
849
|
order: 1
|
|
850
850
|
});
|
|
851
851
|
MenuRegistry.appendMenuItem(Menus.ViewSort, {
|
|
852
|
-
title: ( localize(
|
|
852
|
+
title: ( localize(10452, "Repositories")),
|
|
853
853
|
submenu: Menus.Repositories,
|
|
854
854
|
when: ContextKeyExpr.greater(ContextKeys.RepositoryCount.key, 1),
|
|
855
855
|
group: '0_repositories'
|
|
@@ -939,7 +939,7 @@ class SetListViewModeAction extends ViewAction {
|
|
|
939
939
|
constructor() {
|
|
940
940
|
super({
|
|
941
941
|
id: 'workbench.scm.action.setListViewMode',
|
|
942
|
-
title: ( localize(
|
|
942
|
+
title: ( localize(10453, "View as List")),
|
|
943
943
|
viewId: VIEW_PANE_ID,
|
|
944
944
|
f1: false,
|
|
945
945
|
icon: Codicon.listTree,
|
|
@@ -955,7 +955,7 @@ class SetTreeViewModeAction extends ViewAction {
|
|
|
955
955
|
constructor() {
|
|
956
956
|
super({
|
|
957
957
|
id: 'workbench.scm.action.setTreeViewMode',
|
|
958
|
-
title: ( localize(
|
|
958
|
+
title: ( localize(10454, "View as Tree")),
|
|
959
959
|
viewId: VIEW_PANE_ID,
|
|
960
960
|
f1: false,
|
|
961
961
|
icon: Codicon.listFlat,
|
|
@@ -995,17 +995,17 @@ class RepositorySortAction extends Action2 {
|
|
|
995
995
|
}
|
|
996
996
|
class RepositorySortByDiscoveryTimeAction extends RepositorySortAction {
|
|
997
997
|
constructor() {
|
|
998
|
-
super(ISCMRepositorySortKey.DiscoveryTime, ( localize(
|
|
998
|
+
super(ISCMRepositorySortKey.DiscoveryTime, ( localize(10455, "Sort by Discovery Time")));
|
|
999
999
|
}
|
|
1000
1000
|
}
|
|
1001
1001
|
class RepositorySortByNameAction extends RepositorySortAction {
|
|
1002
1002
|
constructor() {
|
|
1003
|
-
super(ISCMRepositorySortKey.Name, ( localize(
|
|
1003
|
+
super(ISCMRepositorySortKey.Name, ( localize(10456, "Sort by Name")));
|
|
1004
1004
|
}
|
|
1005
1005
|
}
|
|
1006
1006
|
class RepositorySortByPathAction extends RepositorySortAction {
|
|
1007
1007
|
constructor() {
|
|
1008
|
-
super(ISCMRepositorySortKey.Path, ( localize(
|
|
1008
|
+
super(ISCMRepositorySortKey.Path, ( localize(10457, "Sort by Path")));
|
|
1009
1009
|
}
|
|
1010
1010
|
}
|
|
1011
1011
|
registerAction2(RepositorySortByDiscoveryTimeAction);
|
|
@@ -1041,12 +1041,12 @@ class RepositorySelectionModeAction extends Action2 {
|
|
|
1041
1041
|
}
|
|
1042
1042
|
class RepositorySingleSelectionModeAction extends RepositorySelectionModeAction {
|
|
1043
1043
|
constructor() {
|
|
1044
|
-
super(ISCMRepositorySelectionMode.Single, ( localize(
|
|
1044
|
+
super(ISCMRepositorySelectionMode.Single, ( localize(10458, "Select Single Repository")), 1);
|
|
1045
1045
|
}
|
|
1046
1046
|
}
|
|
1047
1047
|
class RepositoryMultiSelectionModeAction extends RepositorySelectionModeAction {
|
|
1048
1048
|
constructor() {
|
|
1049
|
-
super(ISCMRepositorySelectionMode.Multiple, ( localize(
|
|
1049
|
+
super(ISCMRepositorySelectionMode.Multiple, ( localize(10459, "Select Multiple Repositories")), 2);
|
|
1050
1050
|
}
|
|
1051
1051
|
}
|
|
1052
1052
|
registerAction2(RepositorySingleSelectionModeAction);
|
|
@@ -1070,17 +1070,17 @@ class SetSortKeyAction extends ViewAction {
|
|
|
1070
1070
|
}
|
|
1071
1071
|
class SetSortByNameAction extends SetSortKeyAction {
|
|
1072
1072
|
constructor() {
|
|
1073
|
-
super(ViewSortKey.Name, ( localize(
|
|
1073
|
+
super(ViewSortKey.Name, ( localize(10460, "Sort Changes by Name")));
|
|
1074
1074
|
}
|
|
1075
1075
|
}
|
|
1076
1076
|
class SetSortByPathAction extends SetSortKeyAction {
|
|
1077
1077
|
constructor() {
|
|
1078
|
-
super(ViewSortKey.Path, ( localize(
|
|
1078
|
+
super(ViewSortKey.Path, ( localize(10461, "Sort Changes by Path")));
|
|
1079
1079
|
}
|
|
1080
1080
|
}
|
|
1081
1081
|
class SetSortByStatusAction extends SetSortKeyAction {
|
|
1082
1082
|
constructor() {
|
|
1083
|
-
super(ViewSortKey.Status, ( localize(
|
|
1083
|
+
super(ViewSortKey.Status, ( localize(10462, "Sort Changes by Status")));
|
|
1084
1084
|
}
|
|
1085
1085
|
}
|
|
1086
1086
|
registerAction2(SetSortByNameAction);
|
|
@@ -1090,7 +1090,7 @@ class CollapseAllRepositoriesAction extends ViewAction {
|
|
|
1090
1090
|
constructor() {
|
|
1091
1091
|
super({
|
|
1092
1092
|
id: `workbench.scm.action.collapseAllRepositories`,
|
|
1093
|
-
title: ( localize(
|
|
1093
|
+
title: ( localize(10463, "Collapse All Repositories")),
|
|
1094
1094
|
viewId: VIEW_PANE_ID,
|
|
1095
1095
|
f1: false,
|
|
1096
1096
|
icon: Codicon.collapseAll,
|
|
@@ -1109,7 +1109,7 @@ class ExpandAllRepositoriesAction extends ViewAction {
|
|
|
1109
1109
|
constructor() {
|
|
1110
1110
|
super({
|
|
1111
1111
|
id: `workbench.scm.action.expandAllRepositories`,
|
|
1112
|
-
title: ( localize(
|
|
1112
|
+
title: ( localize(10464, "Expand All Repositories")),
|
|
1113
1113
|
viewId: VIEW_PANE_ID,
|
|
1114
1114
|
f1: false,
|
|
1115
1115
|
icon: Codicon.expandAll,
|
|
@@ -1139,7 +1139,7 @@ registerAction2(class extends Action2 {
|
|
|
1139
1139
|
constructor() {
|
|
1140
1140
|
super({
|
|
1141
1141
|
id: SCMInputWidgetCommandId.SetupAction,
|
|
1142
|
-
title: ( localize(
|
|
1142
|
+
title: ( localize(10465, "Generate Commit Message")),
|
|
1143
1143
|
icon: Codicon.sparkle,
|
|
1144
1144
|
f1: false,
|
|
1145
1145
|
menu: {
|
|
@@ -1214,10 +1214,10 @@ let SCMInputWidgetToolbar = class SCMInputWidgetToolbar extends WorkbenchToolBar
|
|
|
1214
1214
|
this._onDidChange = ( new Emitter());
|
|
1215
1215
|
this.onDidChange = this._onDidChange.event;
|
|
1216
1216
|
this._disposables = this._register(( new MutableDisposable()));
|
|
1217
|
-
this._dropdownAction = ( new Action('scmInputMoreActions', ( localize(
|
|
1217
|
+
this._dropdownAction = ( new Action('scmInputMoreActions', ( localize(10466, "More Actions...")), 'codicon-chevron-down'));
|
|
1218
1218
|
this._cancelAction = ( new MenuItemAction({
|
|
1219
1219
|
id: SCMInputWidgetCommandId.CancelAction,
|
|
1220
|
-
title: ( localize(
|
|
1220
|
+
title: ( localize(10467, "Cancel")),
|
|
1221
1221
|
icon: Codicon.stopCircle,
|
|
1222
1222
|
}, undefined, undefined, undefined, undefined, contextKeyService, commandService));
|
|
1223
1223
|
}
|
|
@@ -1433,13 +1433,13 @@ let SCMInputWidget = class SCMInputWidget {
|
|
|
1433
1433
|
const kbLabel = this.keybindingService.lookupKeybinding(AccessibilityCommandId.OpenAccessibilityHelp)?.getLabel();
|
|
1434
1434
|
return kbLabel
|
|
1435
1435
|
? ( localize(
|
|
1436
|
-
|
|
1436
|
+
10468,
|
|
1437
1437
|
"{0}, Use {1} to open Source Control Accessibility Help.",
|
|
1438
1438
|
placeholder,
|
|
1439
1439
|
kbLabel
|
|
1440
1440
|
))
|
|
1441
1441
|
: ( localize(
|
|
1442
|
-
|
|
1442
|
+
10469,
|
|
1443
1443
|
"{0}, Run the Open Accessibility Help command for more information.",
|
|
1444
1444
|
placeholder
|
|
1445
1445
|
));
|
|
@@ -1695,7 +1695,7 @@ let SCMInputWidget = class SCMInputWidget {
|
|
|
1695
1695
|
}
|
|
1696
1696
|
const actionsContainer = append(validationContainer, $('.scm-editor-validation-actions'));
|
|
1697
1697
|
const actionbar = ( new ActionBar(actionsContainer));
|
|
1698
|
-
const action = ( new Action('scmInputWidget.validationMessage.close', ( localize(
|
|
1698
|
+
const action = ( new Action('scmInputWidget.validationMessage.close', ( localize(10470, "Close")), ThemeIcon.asClassName(Codicon.close), true, () => {
|
|
1699
1699
|
this.contextViewService.hideContextView();
|
|
1700
1700
|
this.element.style.borderBottomLeftRadius = '2px';
|
|
1701
1701
|
this.element.style.borderBottomRightRadius = '2px';
|
|
@@ -55,7 +55,7 @@ let RepositoryPicker = class RepositoryPicker {
|
|
|
55
55
|
this._quickInputService = _quickInputService;
|
|
56
56
|
this._scmViewService = _scmViewService;
|
|
57
57
|
this._autoQuickPickItem = {
|
|
58
|
-
label: ( localize(
|
|
58
|
+
label: ( localize(10471, "Auto")),
|
|
59
59
|
description: this._autoQuickItemDescription,
|
|
60
60
|
repository: 'auto'
|
|
61
61
|
};
|