@codingame/monaco-vscode-timeline-service-override
Advanced tools
Comparing version 8.0.2 to 8.0.3
{ | ||
"name": "@codingame/monaco-vscode-timeline-service-override", | ||
"version": "8.0.2", | ||
"version": "8.0.3", | ||
"keywords": [], | ||
@@ -29,4 +29,4 @@ "author": { | ||
"dependencies": { | ||
"vscode": "npm:@codingame/monaco-vscode-api@8.0.2" | ||
"vscode": "npm:@codingame/monaco-vscode-api@8.0.3" | ||
} | ||
} |
@@ -26,5 +26,5 @@ import { localize } from 'vscode/vscode/vs/nls'; | ||
const LOCAL_HISTORY_MENU_CONTEXT_KEY = ( (ContextKeyExpr.equals('timelineItem', LOCAL_HISTORY_MENU_CONTEXT_VALUE))); | ||
const LOCAL_HISTORY_ICON_ENTRY = registerIcon('localHistory-icon', Codicon.circleOutline, ( localize(10540, "Icon for a local history entry in the timeline view."))); | ||
const LOCAL_HISTORY_ICON_RESTORE = registerIcon('localHistory-restore', Codicon.check, ( localize(10541, "Icon for restoring contents of a local history entry."))); | ||
const LOCAL_HISTORY_ICON_ENTRY = registerIcon('localHistory-icon', Codicon.circleOutline, ( localize(10517, "Icon for a local history entry in the timeline view."))); | ||
const LOCAL_HISTORY_ICON_RESTORE = registerIcon('localHistory-restore', Codicon.check, ( localize(10518, "Icon for restoring contents of a local history entry."))); | ||
export { LOCAL_HISTORY_ICON_ENTRY, LOCAL_HISTORY_ICON_RESTORE, LOCAL_HISTORY_MENU_CONTEXT_KEY, LOCAL_HISTORY_MENU_CONTEXT_VALUE, getLocalHistoryDateFormatter }; |
@@ -30,5 +30,5 @@ import { localize2, localize } from 'vscode/vscode/vs/nls'; | ||
const LOCAL_HISTORY_CATEGORY = ( localize2(6786, 'Local History')); | ||
const LOCAL_HISTORY_CATEGORY = ( localize2(6666, 'Local History')); | ||
const CTX_LOCAL_HISTORY_ENABLED = ( (ContextKeyExpr.has('config.workbench.localHistory.enabled'))); | ||
const COMPARE_WITH_FILE_LABEL = ( localize2(6787, 'Compare with File')); | ||
const COMPARE_WITH_FILE_LABEL = ( localize2(6667, 'Compare with File')); | ||
registerAction2(class extends Action2 { | ||
@@ -60,3 +60,3 @@ constructor() { | ||
id: 'workbench.action.localHistory.compareWithPrevious', | ||
title: ( localize2(6788, 'Compare with Previous')), | ||
title: ( localize2(6668, 'Compare with Previous')), | ||
menu: { | ||
@@ -89,3 +89,3 @@ id: MenuId.TimelineItemContext, | ||
id: 'workbench.action.localHistory.selectForCompare', | ||
title: ( localize2(6789, 'Select for Compare')), | ||
title: ( localize2(6669, 'Select for Compare')), | ||
menu: { | ||
@@ -113,3 +113,3 @@ id: MenuId.TimelineItemContext, | ||
id: 'workbench.action.localHistory.compareWithSelected', | ||
title: ( localize2(6790, 'Compare with Selected')), | ||
title: ( localize2(6670, 'Compare with Selected')), | ||
menu: { | ||
@@ -143,3 +143,3 @@ id: MenuId.TimelineItemContext, | ||
id: 'workbench.action.localHistory.open', | ||
title: ( localize2(6791, 'Show Contents')), | ||
title: ( localize2(6671, 'Show Contents')), | ||
menu: { | ||
@@ -162,3 +162,3 @@ id: MenuId.TimelineItemContext, | ||
}); | ||
const RESTORE_CONTENTS_LABEL = ( localize2(6792, 'Restore Contents')); | ||
const RESTORE_CONTENTS_LABEL = ( localize2(6672, 'Restore Contents')); | ||
registerAction2(class extends Action2 { | ||
@@ -200,3 +200,3 @@ constructor() { | ||
}); | ||
const restoreSaveSource = SaveSourceRegistry.registerSource('localHistoryRestore.source', ( localize(6793, "File Restored"))); | ||
const restoreSaveSource = SaveSourceRegistry.registerSource('localHistoryRestore.source', ( localize(6673, "File Restored"))); | ||
async function restore(accessor, item) { | ||
@@ -213,8 +213,8 @@ const fileService = accessor.get(IFileService); | ||
message: ( localize( | ||
6794, | ||
6674, | ||
"Do you want to restore the contents of '{0}'?", | ||
basename(entry.workingCopy.resource) | ||
)), | ||
detail: ( localize(6795, "Restoring will discard any unsaved changes.")), | ||
primaryButton: ( localize(6796, "&&Restore")) | ||
detail: ( localize(6675, "Restoring will discard any unsaved changes.")), | ||
primaryButton: ( localize(6676, "&&Restore")) | ||
}); | ||
@@ -236,3 +236,3 @@ if (!confirmed) { | ||
catch (error) { | ||
await dialogService.error(( localize(6797, "Unable to restore '{0}'.", basename(entry.workingCopy.resource))), toErrorMessage(error)); | ||
await dialogService.error(( localize(6677, "Unable to restore '{0}'.", basename(entry.workingCopy.resource))), toErrorMessage(error)); | ||
return; | ||
@@ -257,3 +257,3 @@ } | ||
id: 'workbench.action.localHistory.restoreViaPicker', | ||
title: ( localize2(6798, 'Find Entry to Restore')), | ||
title: ( localize2(6678, 'Find Entry to Restore')), | ||
f1: true, | ||
@@ -280,3 +280,3 @@ category: LOCAL_HISTORY_CATEGORY, | ||
resourcePicker.busy = false; | ||
resourcePicker.placeholder = ( localize(6799, "Select the file to show local history for")); | ||
resourcePicker.placeholder = ( localize(6679, "Select the file to show local history for")); | ||
resourcePicker.matchOnLabel = true; | ||
@@ -303,3 +303,3 @@ resourcePicker.matchOnDescription = true; | ||
entryPicker.busy = false; | ||
entryPicker.placeholder = ( localize(6800, "Select the local history entry to open")); | ||
entryPicker.placeholder = ( localize(6680, "Select the local history entry to open")); | ||
entryPicker.matchOnLabel = true; | ||
@@ -325,3 +325,3 @@ entryPicker.matchOnDescription = true; | ||
}); | ||
MenuRegistry.appendMenuItem(MenuId.TimelineTitle, { command: { id: 'workbench.action.localHistory.restoreViaPicker', title: ( localize2(6801, 'Local History: Find Entry to Restore...')) }, group: 'submenu', order: 1, when: CTX_LOCAL_HISTORY_ENABLED }); | ||
MenuRegistry.appendMenuItem(MenuId.TimelineTitle, { command: { id: 'workbench.action.localHistory.restoreViaPicker', title: ( localize2(6681, 'Local History: Find Entry to Restore...')) }, group: 'submenu', order: 1, when: CTX_LOCAL_HISTORY_ENABLED }); | ||
registerAction2(class extends Action2 { | ||
@@ -331,3 +331,3 @@ constructor() { | ||
id: 'workbench.action.localHistory.rename', | ||
title: ( localize2(6802, 'Rename')), | ||
title: ( localize2(6682, 'Rename')), | ||
menu: { | ||
@@ -347,5 +347,5 @@ id: MenuId.TimelineItemContext, | ||
const inputBox = quickInputService.createInputBox(); | ||
inputBox.title = ( localize(6803, "Rename Local History Entry")); | ||
inputBox.title = ( localize(6683, "Rename Local History Entry")); | ||
inputBox.ignoreFocusOut = true; | ||
inputBox.placeholder = ( localize(6804, "Enter the new name of the local history entry")); | ||
inputBox.placeholder = ( localize(6684, "Enter the new name of the local history entry")); | ||
inputBox.value = SaveSourceRegistry.getSourceLabel(entry.source); | ||
@@ -366,3 +366,3 @@ inputBox.show(); | ||
id: 'workbench.action.localHistory.delete', | ||
title: ( localize2(6805, 'Delete')), | ||
title: ( localize2(6685, 'Delete')), | ||
menu: { | ||
@@ -385,3 +385,3 @@ id: MenuId.TimelineItemContext, | ||
message: ( localize( | ||
6806, | ||
6686, | ||
"Do you want to delete the local history entry of '{0}' from {1}?", | ||
@@ -391,4 +391,4 @@ entry.workingCopy.name, | ||
)), | ||
detail: ( localize(6807, "This action is irreversible!")), | ||
primaryButton: ( localize(6808, "&&Delete")), | ||
detail: ( localize(6687, "This action is irreversible!")), | ||
primaryButton: ( localize(6688, "&&Delete")), | ||
}); | ||
@@ -407,3 +407,3 @@ if (!confirmed) { | ||
id: 'workbench.action.localHistory.deleteAll', | ||
title: ( localize2(6809, 'Delete All')), | ||
title: ( localize2(6689, 'Delete All')), | ||
f1: true, | ||
@@ -419,5 +419,5 @@ category: LOCAL_HISTORY_CATEGORY, | ||
type: 'warning', | ||
message: ( localize(6810, "Do you want to delete all entries of all files in local history?")), | ||
detail: ( localize(6811, "This action is irreversible!")), | ||
primaryButton: ( localize(6812, "&&Delete All")), | ||
message: ( localize(6690, "Do you want to delete all entries of all files in local history?")), | ||
detail: ( localize(6691, "This action is irreversible!")), | ||
primaryButton: ( localize(6692, "&&Delete All")), | ||
}); | ||
@@ -434,3 +434,3 @@ if (!confirmed) { | ||
id: 'workbench.action.localHistory.create', | ||
title: ( localize2(6813, 'Create Entry')), | ||
title: ( localize2(6693, 'Create Entry')), | ||
f1: true, | ||
@@ -452,6 +452,6 @@ category: LOCAL_HISTORY_CATEGORY, | ||
const inputBox = quickInputService.createInputBox(); | ||
inputBox.title = ( localize(6814, "Create Local History Entry")); | ||
inputBox.title = ( localize(6694, "Create Local History Entry")); | ||
inputBox.ignoreFocusOut = true; | ||
inputBox.placeholder = ( localize( | ||
6815, | ||
6695, | ||
"Enter the new name of the local history entry for '{0}'", | ||
@@ -475,3 +475,3 @@ labelService.getUriBasenameLabel(resource) | ||
label: ( localize( | ||
6816, | ||
6696, | ||
"{0} ({1} • {2})", | ||
@@ -497,3 +497,3 @@ entry.workingCopy.name, | ||
label = ( localize( | ||
6817, | ||
6697, | ||
"{0} ({1} • {2}) ↔ {3}", | ||
@@ -510,3 +510,3 @@ arg1.workingCopy.name, | ||
label = ( localize( | ||
6818, | ||
6698, | ||
"{0} ({1} • {2}) ↔ {3} ({4} • {5})", | ||
@@ -513,0 +513,0 @@ arg1.workingCopy.name, |
@@ -37,3 +37,3 @@ import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js'; | ||
this.id = 'timeline.localHistory'; | ||
this.label = ( localize(6819, "Local History")); | ||
this.label = ( localize(6744, "Local History")); | ||
this.scheme = '*'; | ||
@@ -40,0 +40,0 @@ this._onDidChange = this._register(( (new Emitter()))); |
@@ -20,4 +20,4 @@ import { localize } from 'vscode/vscode/vs/nls'; | ||
const timelineViewIcon = registerIcon('timeline-view-icon', Codicon.history, ( localize(3014, 'View icon of the timeline view.'))); | ||
const timelineOpenIcon = registerIcon('timeline-open', Codicon.history, ( localize(3015, 'Icon for the open timeline action.'))); | ||
const timelineViewIcon = registerIcon('timeline-view-icon', Codicon.history, ( localize(2983, 'View icon of the timeline view.'))); | ||
const timelineOpenIcon = registerIcon('timeline-open', Codicon.history, ( localize(2984, 'Icon for the open timeline action.'))); | ||
class TimelinePaneDescriptor { | ||
@@ -43,3 +43,3 @@ constructor() { | ||
order: 1001, | ||
title: ( localize(3016, "Timeline")), | ||
title: ( localize(2985, "Timeline")), | ||
type: 'object', | ||
@@ -51,3 +51,3 @@ properties: { | ||
markdownDescription: ( localize( | ||
3017, | ||
2986, | ||
"The number of items to show in the Timeline view by default and when loading more items. Setting to `null` (the default) will automatically choose a page size based on the visible area of the Timeline view." | ||
@@ -60,3 +60,3 @@ )), | ||
description: ( localize( | ||
3018, | ||
2987, | ||
"Experimental. Controls whether the Timeline view will load the next page of items when you scroll to the end of the list." | ||
@@ -71,3 +71,3 @@ )), | ||
OpenTimelineAction.ID = 'files.openTimeline'; | ||
OpenTimelineAction.LABEL = ( localize(3019, "Open Timeline")); | ||
OpenTimelineAction.LABEL = ( localize(2988, "Open Timeline")); | ||
function handler() { | ||
@@ -96,6 +96,6 @@ return (accessor, arg) => { | ||
})); | ||
const timelineFilter = registerIcon('timeline-filter', Codicon.filter, ( localize(3020, 'Icon for the filter timeline action.'))); | ||
const timelineFilter = registerIcon('timeline-filter', Codicon.filter, ( localize(2989, 'Icon for the filter timeline action.'))); | ||
MenuRegistry.appendMenuItem(MenuId.TimelineTitle, { | ||
submenu: MenuId.TimelineFilterSubMenu, | ||
title: ( localize(3021, "Filter Timeline")), | ||
title: ( localize(2990, "Filter Timeline")), | ||
group: 'navigation', | ||
@@ -102,0 +102,0 @@ order: 100, |
@@ -178,3 +178,3 @@ import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js'; | ||
get label() { | ||
return this.loading ? ( localize(6769, "Loading...")) : ( localize(6770, "Load more")); | ||
return this.loading ? ( localize(6649, "Loading...")) : ( localize(6650, "Load more")); | ||
} | ||
@@ -188,3 +188,3 @@ get themeIcon() { | ||
let TimelinePane = class TimelinePane extends ViewPane { | ||
static { this.TITLE = ( localize2(6771, "Timeline")); } | ||
static { this.TITLE = ( localize2(6651, "Timeline")); } | ||
constructor(options, keybindingService, contextMenuService, contextKeyService, configurationService, storageService, viewDescriptorService, instantiationService, editorService, commandService, progressService, timelineService, openerService, themeService, telemetryService, hoverService, labelService, uriIdentityService, extensionService) { | ||
@@ -625,3 +625,3 @@ super({ ...options, titleMenuId: MenuId.TimelineTitle }, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, telemetryService, hoverService); | ||
this.updateFilename(undefined); | ||
this.message = ( localize(6772, "The active editor cannot provide timeline information.")); | ||
this.message = ( localize(6652, "The active editor cannot provide timeline information.")); | ||
} | ||
@@ -636,3 +636,3 @@ else if (this._isEmpty) { | ||
if (this.timelineService.getSources().filter(({ id }) => !( (this.excludedSources.has(id)))).length === 0) { | ||
this.message = ( localize(6773, "All timeline sources have been filtered out.")); | ||
this.message = ( localize(6653, "All timeline sources have been filtered out.")); | ||
} | ||
@@ -642,3 +642,3 @@ else { | ||
this.message = ( localize( | ||
6774, | ||
6654, | ||
"Local History will track recent changes as you save them unless the file has been excluded or is too large." | ||
@@ -648,10 +648,10 @@ )); | ||
else if (this.excludedSources.size > 0) { | ||
this.message = ( localize(6775, "No filtered timeline information was provided.")); | ||
this.message = ( localize(6655, "No filtered timeline information was provided.")); | ||
} | ||
else { | ||
this.message = ( localize(6776, "No timeline information was provided.")); | ||
this.message = ( localize(6656, "No timeline information was provided.")); | ||
} | ||
} | ||
if (!scmProviderCount || scmProviderCount === 0) { | ||
this.message += ' ' + ( localize(6777, "Source Control has not been configured.")); | ||
this.message += ' ' + ( localize(6657, "Source Control has not been configured.")); | ||
} | ||
@@ -713,3 +713,3 @@ } | ||
this.$message.classList.add('timeline-subtle'); | ||
this.message = ( localize(6772, "The active editor cannot provide timeline information.")); | ||
this.message = ( localize(6652, "The active editor cannot provide timeline information.")); | ||
this.$tree = document.createElement('div'); | ||
@@ -731,3 +731,3 @@ this.$tree.classList.add('customview-tree', 'file-icon-themable-tree', 'hide-arrows'); | ||
} | ||
return element.accessibilityInformation ? element.accessibilityInformation.label : ( localize(6778, "{0}: {1}", element.relativeTimeFullWord ?? '', element.label)); | ||
return element.accessibilityInformation ? element.accessibilityInformation.label : ( localize(6658, "{0}: {1}", element.relativeTimeFullWord ?? '', element.label)); | ||
}, | ||
@@ -741,3 +741,3 @@ getRole(element) { | ||
getWidgetAriaLabel() { | ||
return ( localize(6771, "Timeline")); | ||
return ( localize(6651, "Timeline")); | ||
} | ||
@@ -803,3 +803,3 @@ }, | ||
this.updateFilename(file); | ||
this.message = file ? ( localize(6779, "Loading timeline for {0}...", file)) : ''; | ||
this.message = file ? ( localize(6659, "Loading timeline for {0}...", file)) : ''; | ||
} | ||
@@ -992,5 +992,5 @@ onContextMenu(commands, treeEvent) { | ||
], TimelineTreeRenderer))); | ||
const timelineRefresh = registerIcon('timeline-refresh', Codicon.refresh, ( localize(6780, 'Icon for the refresh timeline action.'))); | ||
const timelinePin = registerIcon('timeline-pin', Codicon.pin, ( localize(6781, 'Icon for the pin timeline action.'))); | ||
const timelineUnpin = registerIcon('timeline-unpin', Codicon.pinned, ( localize(6782, 'Icon for the unpin timeline action.'))); | ||
const timelineRefresh = registerIcon('timeline-refresh', Codicon.refresh, ( localize(6660, 'Icon for the refresh timeline action.'))); | ||
const timelinePin = registerIcon('timeline-pin', Codicon.pin, ( localize(6661, 'Icon for the pin timeline action.'))); | ||
const timelineUnpin = registerIcon('timeline-unpin', Codicon.pinned, ( localize(6662, 'Icon for the unpin timeline action.'))); | ||
let TimelinePaneCommands = class TimelinePaneCommands extends Disposable { | ||
@@ -1009,5 +1009,5 @@ constructor(pane, timelineService, storageService, contextKeyService, menuService) { | ||
id: 'timeline.refresh', | ||
title: ( localize2(6783, "Refresh")), | ||
title: ( localize2(6663, "Refresh")), | ||
icon: timelineRefresh, | ||
category: ( localize2(6771, "Timeline")), | ||
category: ( localize2(6651, "Timeline")), | ||
menu: { | ||
@@ -1028,5 +1028,5 @@ id: MenuId.TimelineTitle, | ||
id: 'timeline.toggleFollowActiveEditor', | ||
title: ( localize2(6784, 'Pin the Current Timeline')), | ||
title: ( localize2(6664, 'Pin the Current Timeline')), | ||
icon: timelinePin, | ||
category: ( localize2(6771, "Timeline")), | ||
category: ( localize2(6651, "Timeline")), | ||
}, | ||
@@ -1040,5 +1040,5 @@ group: 'navigation', | ||
id: 'timeline.toggleFollowActiveEditor', | ||
title: ( localize2(6785, 'Unpin the Current Timeline')), | ||
title: ( localize2(6665, 'Unpin the Current Timeline')), | ||
icon: timelineUnpin, | ||
category: ( localize2(6771, "Timeline")), | ||
category: ( localize2(6651, "Timeline")), | ||
}, | ||
@@ -1045,0 +1045,0 @@ group: 'navigation', |
+ Added@codingame/monaco-vscode-api@8.0.3(transitive)
+ Added@codingame/monaco-vscode-base-service-override@8.0.3(transitive)
+ Added@codingame/monaco-vscode-environment-service-override@8.0.3(transitive)
+ Added@codingame/monaco-vscode-extensions-service-override@8.0.3(transitive)
+ Added@codingame/monaco-vscode-files-service-override@8.0.3(transitive)
+ Added@codingame/monaco-vscode-host-service-override@8.0.3(transitive)
+ Added@codingame/monaco-vscode-layout-service-override@8.0.3(transitive)
+ Added@codingame/monaco-vscode-quickaccess-service-override@8.0.3(transitive)
- Removed@codingame/monaco-vscode-api@8.0.2(transitive)
- Removed@codingame/monaco-vscode-base-service-override@8.0.2(transitive)
- Removed@codingame/monaco-vscode-environment-service-override@8.0.2(transitive)
- Removed@codingame/monaco-vscode-extensions-service-override@8.0.2(transitive)
- Removed@codingame/monaco-vscode-files-service-override@8.0.2(transitive)
- Removed@codingame/monaco-vscode-host-service-override@8.0.2(transitive)
- Removed@codingame/monaco-vscode-layout-service-override@8.0.2(transitive)
- Removed@codingame/monaco-vscode-quickaccess-service-override@8.0.2(transitive)