Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sandy081 authored Apr 24, 2023
1 parent 3c05482 commit f92df53
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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) {
Expand Down Expand Up @@ -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 ((<IProfileTemplateQuickPickItem>pick)?.url) {
const uri = URI.parse((<IProfileTemplateQuickPickItem>pick).url);
Expand Down Expand Up @@ -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
});
}
Expand Down

0 comments on commit f92df53

Please sign in to comment.