mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 13:46:13 +00:00
Rename "Get Started" to "Welcome" (#168231)
This commit is contained in:
parent
c0f4a4b32a
commit
c258547b50
|
@ -39,7 +39,7 @@ registerAction2(class extends Action2 {
|
|||
constructor() {
|
||||
super({
|
||||
id: 'workbench.action.openWalkthrough',
|
||||
title: { value: localize('miGetStarted', "Get Started"), original: 'Get Started' },
|
||||
title: { value: localize('miWelcome', "Welcome"), original: 'Welcome' },
|
||||
category: Categories.Help,
|
||||
f1: true,
|
||||
menu: {
|
||||
|
@ -117,14 +117,14 @@ Registry.as<IEditorPaneRegistry>(EditorExtensions.EditorPane).registerEditorPane
|
|||
EditorPaneDescriptor.create(
|
||||
GettingStartedPage,
|
||||
GettingStartedPage.ID,
|
||||
localize('getStarted', "Get Started")
|
||||
localize('welcome', "Welcome")
|
||||
),
|
||||
[
|
||||
new SyncDescriptor(GettingStartedInput)
|
||||
]
|
||||
);
|
||||
|
||||
const category = { value: localize('getStarted', "Get Started"), original: 'Get Started' };
|
||||
const category = { value: localize('welcome', "Welcome"), original: 'Welcome' };
|
||||
|
||||
registerAction2(class extends Action2 {
|
||||
constructor() {
|
||||
|
|
|
@ -704,7 +704,7 @@ export class GettingStartedPage extends EditorPane {
|
|||
|
||||
this.categoriesSlide = $('.gettingStartedSlideCategories.gettingStartedSlide');
|
||||
|
||||
const prevButton = $('button.prev-button.button-link', { 'x-dispatch': 'scrollPrev' }, $('span.scroll-button.codicon.codicon-chevron-left'), $('span.moreText', {}, localize('getStarted', "Get Started")));
|
||||
const prevButton = $('button.prev-button.button-link', { 'x-dispatch': 'scrollPrev' }, $('span.scroll-button.codicon.codicon-chevron-left'), $('span.moreText', {}, localize('welcome', "Welcome")));
|
||||
this.stepsSlide = $('.gettingStartedSlideDetails.gettingStartedSlide', {}, prevButton);
|
||||
|
||||
this.stepsContent = $('.gettingStartedDetailsContent', {});
|
||||
|
|
|
@ -9,9 +9,9 @@ import { localize } from 'vs/nls';
|
|||
// Seprate from main module to break dependency cycles between welcomePage and gettingStarted.
|
||||
export const welcomePageBackground = registerColor('welcomePage.background', { light: null, dark: null, hcDark: null, hcLight: null }, localize('welcomePage.background', 'Background color for the Welcome page.'));
|
||||
|
||||
export const welcomePageTileBackground = registerColor('welcomePage.tileBackground', { dark: editorWidgetBackground, light: editorWidgetBackground, hcDark: '#000', hcLight: editorWidgetBackground }, localize('welcomePage.tileBackground', 'Background color for the tiles on the Get Started page.'));
|
||||
export const welcomePageTileHoverBackground = registerColor('welcomePage.tileHoverBackground', { dark: lighten(editorWidgetBackground, .2), light: darken(editorWidgetBackground, .1), hcDark: null, hcLight: null }, localize('welcomePage.tileHoverBackground', 'Hover background color for the tiles on the Get Started.'));
|
||||
export const welcomePageTileBorder = registerColor('welcomePage.tileBorder', { dark: '#ffffff1a', light: '#0000001a', hcDark: contrastBorder, hcLight: contrastBorder }, localize('welcomePage.tileBorder', 'Border color for the tiles on the Get Started page.'));
|
||||
export const welcomePageTileBackground = registerColor('welcomePage.tileBackground', { dark: editorWidgetBackground, light: editorWidgetBackground, hcDark: '#000', hcLight: editorWidgetBackground }, localize('welcomePage.tileBackground', 'Background color for the tiles on the Welcome page.'));
|
||||
export const welcomePageTileHoverBackground = registerColor('welcomePage.tileHoverBackground', { dark: lighten(editorWidgetBackground, .2), light: darken(editorWidgetBackground, .1), hcDark: null, hcLight: null }, localize('welcomePage.tileHoverBackground', 'Hover background color for the tiles on the Welcome.'));
|
||||
export const welcomePageTileBorder = registerColor('welcomePage.tileBorder', { dark: '#ffffff1a', light: '#0000001a', hcDark: contrastBorder, hcLight: contrastBorder }, localize('welcomePage.tileBorder', 'Border color for the tiles on the Welcome page.'));
|
||||
|
||||
|
||||
export const welcomePageProgressBackground = registerColor('welcomePage.progress.background', { light: inputBackground, dark: inputBackground, hcDark: inputBackground, hcLight: inputBackground }, localize('welcomePage.progress.background', 'Foreground color for the Welcome page progress bars.'));
|
||||
|
|
|
@ -46,7 +46,7 @@ export class GettingStartedInput extends EditorInput {
|
|||
}
|
||||
|
||||
override getName() {
|
||||
return localize('getStarted', "Get Started");
|
||||
return localize('getStarted', "Welcome");
|
||||
}
|
||||
|
||||
selectedCategory: string | undefined;
|
||||
|
|
Loading…
Reference in a new issue