mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
add preview for publish to Azure development container (#21199)
This commit is contained in:
@@ -170,6 +170,7 @@ export const defaultQuickPickItem = localize('defaultQuickPickItem', "Default -
|
|||||||
export function dockerImagesPlaceHolder(name: string) { return localize('dockerImagesPlaceHolder', 'Use {0} on local arm64/Apple Silicon', name); }
|
export function dockerImagesPlaceHolder(name: string) { return localize('dockerImagesPlaceHolder', 'Use {0} on local arm64/Apple Silicon', name); }
|
||||||
export function publishToExistingServer(name: string) { return localize('publishToExistingServer', "Publish to an existing {0}", name); }
|
export function publishToExistingServer(name: string) { return localize('publishToExistingServer', "Publish to an existing {0}", name); }
|
||||||
export function publishToDockerContainer(name: string) { return localize('publishToDockerContainer', "Publish to new {0} local development container", name); }
|
export function publishToDockerContainer(name: string) { return localize('publishToDockerContainer', "Publish to new {0} local development container", name); }
|
||||||
|
export function publishToDockerContainerPreview(name: string) { return localize('publishToDockerContainerPreview', "Publish to new {0} local development container (Preview)", name); }
|
||||||
export const publishToAzureEmulator = localize('publishToAzureEmulator', "Publish to new Azure SQL Database emulator");
|
export const publishToAzureEmulator = localize('publishToAzureEmulator', "Publish to new Azure SQL Database emulator");
|
||||||
export const publishToNewAzureServer = localize('publishToNewAzureServer', "Publish to new Azure SQL logical server");
|
export const publishToNewAzureServer = localize('publishToNewAzureServer', "Publish to new Azure SQL logical server");
|
||||||
export const azureServerName = localize('azureServerName', "Azure SQL server name");
|
export const azureServerName = localize('azureServerName', "Azure SQL server name");
|
||||||
|
|||||||
@@ -405,7 +405,7 @@ export class PublishDatabaseDialog {
|
|||||||
this.dockerServerRadioButton = view.modelBuilder.radioButton()
|
this.dockerServerRadioButton = view.modelBuilder.radioButton()
|
||||||
.withProps({
|
.withProps({
|
||||||
name: 'publishType',
|
name: 'publishType',
|
||||||
label: constants.publishToDockerContainer(name)
|
label: name === constants.AzureSqlServerName ? constants.publishToDockerContainerPreview(name) : constants.publishToDockerContainer(name)
|
||||||
}).component();
|
}).component();
|
||||||
|
|
||||||
this.dockerServerRadioButton.onDidChangeCheckedState((checked) => {
|
this.dockerServerRadioButton.onDidChangeCheckedState((checked) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user