From f92df533c773b2fde5c911cb44bbfa819f790d2a Mon Sep 17 00:00:00 2001 From: Sandeep Somavarapu Date: Mon, 24 Apr 2023 17:31:55 +0200 Subject: [PATCH] Fix #180588 (#180708) --- .../contrib/userDataProfile/browser/userDataProfile.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/vs/workbench/contrib/userDataProfile/browser/userDataProfile.ts b/src/vs/workbench/contrib/userDataProfile/browser/userDataProfile.ts index fea63e4aa316a..cc3be5494fee2 100644 --- a/src/vs/workbench/contrib/userDataProfile/browser/userDataProfile.ts +++ b/src/vs/workbench/contrib/userDataProfile/browser/userDataProfile.ts @@ -493,10 +493,10 @@ export class UserDataProfilesWorkbenchContribution extends Disposable implements const userDataProfileImportExportService = accessor.get(IUserDataProfileImportExportService); const quickPickItems: QuickPickItem[] = [{ id: CREATE_EMPTY_PROFILE_ACTION_ID, - label: CREATE_EMPTY_PROFILE_ACTION_TITLE.value, + label: localize('empty', "Empty Profile"), }, { id: CREATE_FROM_CURRENT_PROFILE_ACTION_ID, - label: CREATE_FROM_CURRENT_PROFILE_ACTION_TITLE.value, + label: localize('using current', "Using Current Profile"), }]; const profileTemplateQuickPickItems = await that.getProfileTemplatesQuickPickItems(); if (profileTemplateQuickPickItems.length) { @@ -509,7 +509,7 @@ export class UserDataProfilesWorkbenchContribution extends Disposable implements { hideInput: true, canPickMany: false, - title: localize('create profile title', "{0}: Create...", PROFILES_CATEGORY.value) + title: localize('create profile title', "Create Profile...") }); if (pick) { if (pick.id) { @@ -613,7 +613,7 @@ export class UserDataProfilesWorkbenchContribution extends Disposable implements { hideInput: true, canPickMany: false, - title: localize('create profile title', "{0}: Create...", PROFILES_CATEGORY.value) + title: localize('create profile from template title', "{0}: Create...", PROFILES_CATEGORY.value) }); if ((pick)?.url) { const uri = URI.parse((pick).url); @@ -649,7 +649,7 @@ export class UserDataProfilesWorkbenchContribution extends Disposable implements const profileTemplates = await this.getProfileTemplatesFromProduct(); for (const template of profileTemplates) { quickPickItems.push({ - label: localize('create from template', "Create {0} Profile...", template.name), + label: template.name, ...template }); }