Skip to content

Commit d5132b8

Browse files
authored
Update Edit Sessions references in views (microsoft#167445)
1 parent d0ba50c commit d5132b8

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

src/vs/workbench/contrib/editSessions/browser/editSessionsViews.ts

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,9 @@ export class EditSessionsDataViews extends Disposable {
5656

5757
viewsRegistry.registerViewWelcomeContent(viewId, {
5858
content: localize(
59-
'noEditSessions',
60-
'You have no stored edit sessions to display.\n{0}',
61-
localize(
62-
{ key: 'storeEditSessionCommand', comment: ['Please do not translate the word "command", it is part of our internal syntax which must not change'] },
63-
'[{0}](command:workbench.editSessions.actions.store)',
64-
localize('storeEditSessionTitle', 'Store Edit Session')
65-
)
59+
'noStoredChanges',
60+
'You have no stored changes in the cloud to display.\n{0}',
61+
`[${localize('storeWorkingChangesTitle', 'Store Working Changes')}](command:workbench.editSessions.actions.store)`,
6662
),
6763
when: ContextKeyExpr.equals(EDIT_SESSIONS_COUNT_KEY, 0),
6864
order: 1
@@ -72,7 +68,7 @@ export class EditSessionsDataViews extends Disposable {
7268
constructor() {
7369
super({
7470
id: 'workbench.editSessions.actions.resume',
75-
title: localize('workbench.editSessions.actions.resume', "Resume Edit Session"),
71+
title: localize('workbench.editSessions.actions.resume.v2', "Resume Working Changes"),
7672
icon: Codicon.desktopDownload,
7773
menu: {
7874
id: MenuId.ViewItemContext,
@@ -94,7 +90,7 @@ export class EditSessionsDataViews extends Disposable {
9490
constructor() {
9591
super({
9692
id: 'workbench.editSessions.actions.store',
97-
title: localize('workbench.editSessions.actions.store', "Store Edit Session"),
93+
title: localize('workbench.editSessions.actions.store.v2', "Store Working Changes"),
9894
icon: Codicon.cloudUpload,
9995
});
10096
}
@@ -110,7 +106,7 @@ export class EditSessionsDataViews extends Disposable {
110106
constructor() {
111107
super({
112108
id: 'workbench.editSessions.actions.delete',
113-
title: localize('workbench.editSessions.actions.delete', "Delete Edit Session"),
109+
title: localize('workbench.editSessions.actions.delete.v2', "Delete Working Changes"),
114110
icon: Codicon.trash,
115111
menu: {
116112
id: MenuId.ViewItemContext,
@@ -125,7 +121,7 @@ export class EditSessionsDataViews extends Disposable {
125121
const dialogService = accessor.get(IDialogService);
126122
const editSessionStorageService = accessor.get(IEditSessionsStorageService);
127123
const result = await dialogService.confirm({
128-
message: localize('confirm delete', 'Are you sure you want to permanently delete the edit session with ref {0}? You cannot undo this action.', editSessionId),
124+
message: localize('confirm delete.v2', 'Are you sure you want to permanently delete your working changes with ref {0}? You cannot undo this action.', editSessionId),
129125
type: 'warning',
130126
title: EDIT_SESSIONS_TITLE
131127
});

0 commit comments

Comments
 (0)