提交 3ceb796c 编写于 作者: S Sandeep Somavarapu

fine tune titles

上级 ac5492cd
...@@ -37,7 +37,7 @@ export class UserDataSyncHistoryViewContribution implements IWorkbenchContributi ...@@ -37,7 +37,7 @@ export class UserDataSyncHistoryViewContribution implements IWorkbenchContributi
private registerView(): void { private registerView(): void {
const that = this; const that = this;
const name = localize('title', "Sync History"); const name = localize('title', "Sync History (Remote)");
const viewEnablementContext = CONTEXT_SHOW_USER_DATA_SYNC_HISTORY_VIEW.bindTo(this.contextKeyService); const viewEnablementContext = CONTEXT_SHOW_USER_DATA_SYNC_HISTORY_VIEW.bindTo(this.contextKeyService);
const treeView = this.instantiationService.createInstance(TreeView, this.viewId, name); const treeView = this.instantiationService.createInstance(TreeView, this.viewId, name);
treeView.showCollapseAllAction = true; treeView.showCollapseAllAction = true;
...@@ -64,8 +64,8 @@ export class UserDataSyncHistoryViewContribution implements IWorkbenchContributi ...@@ -64,8 +64,8 @@ export class UserDataSyncHistoryViewContribution implements IWorkbenchContributi
registerAction2(class extends Action2 { registerAction2(class extends Action2 {
constructor() { constructor() {
super({ super({
id: 'workbench.actions.showSyncHistory', id: 'workbench.actions.showSyncRemoteHistoryView',
title: { value: localize('workbench.action.showRemoteUserDatraView', "Show Sync History"), original: `Show Sync History` }, title: { value: localize('workbench.action.showSyncRemoteHistory', "Show History (Remote)"), original: `Show History (Remote)` },
category: { value: localize('sync', "Sync"), original: `Sync` }, category: { value: localize('sync', "Sync"), original: `Sync` },
menu: { menu: {
id: MenuId.CommandPalette, id: MenuId.CommandPalette,
...@@ -181,7 +181,6 @@ class UserDataSyncHistoryViewDataProvider implements ITreeViewDataProvider { ...@@ -181,7 +181,6 @@ class UserDataSyncHistoryViewDataProvider implements ITreeViewDataProvider {
collapsibleState: TreeItemCollapsibleState.None, collapsibleState: TreeItemCollapsibleState.None,
label: { label: label(new Date(created)) }, label: { label: label(new Date(created)) },
description: fromNow(created, true), description: fromNow(created, true),
tooltip: ref,
command: { id: 'workbench.actions.sync.resolveResourceRef', title: '', arguments: [<TreeViewItemHandleArg>{ $treeItemHandle: handle, $treeViewId: '' }] }, command: { id: 'workbench.actions.sync.resolveResourceRef', title: '', arguments: [<TreeViewItemHandleArg>{ $treeItemHandle: handle, $treeViewId: '' }] },
themeIcon: FileThemeIcon, themeIcon: FileThemeIcon,
contextValue: `syncref-${resourceKey}` contextValue: `syncref-${resourceKey}`
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册