mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-19 03:21:36 -04:00
Add Delete Database dialog to enable additional deletion options (#24109)
This commit is contained in:
@@ -102,6 +102,13 @@ export function OpenDetachDatabaseDialogError(error: string): string {
|
||||
}, "An error occurred while opening the detach database dialog. {0}", error);
|
||||
}
|
||||
|
||||
export function OpenDeleteDatabaseDialogError(error: string): string {
|
||||
return localize({
|
||||
key: 'objectManagement.openDeleteDatabaseDialogError',
|
||||
comment: ['{0}: error message.']
|
||||
}, "An error occurred while opening the delete database dialog. {0}", error);
|
||||
}
|
||||
|
||||
export function OpenObjectPropertiesDialogError(objectType: string, objectName: string, error: string): string {
|
||||
return localize({
|
||||
key: 'objectManagement.openObjectPropertiesDialogError',
|
||||
@@ -182,6 +189,12 @@ export const DatabaseFilePathLabel = localize('objectManagement.databaseFilePath
|
||||
export const DatabaseFileGroupLabel = localize('objectManagement.databaseFileGroup', "File Group");
|
||||
export const DetachDatabaseOptions = localize('objectManagement.detachDatabaseOptions', "Detach Database Options");
|
||||
export const DetachButtonLabel = localize('objectManagement.detachButtonLabel', "Detach");
|
||||
export const DeleteDatabaseDialogTitle = (dbName: string) => localize('objectManagement.deleteDatabaseDialogTitle', "Delete Database - {0} (Preview)", dbName);
|
||||
export const DeleteButtonLabel = localize('objectManagement.deleteButtonLabel', "Delete");
|
||||
export const DeleteDatabaseOptions = localize('objectManagement.deleteDatabaseOptions', "Delete Database Options");
|
||||
export const DeleteDropConnections = localize('objectManagement.deleteDropConnections', "Close existing connections");
|
||||
export const DeleteDropBackupHistory = localize('objectManagement.deleteDropBackupHistory', "Delete backup and restore history information for database");
|
||||
export const DatabaseDetailsLabel = localize('objectManagement.databaseDetails', "Database Details");
|
||||
|
||||
// Login
|
||||
export const BlankPasswordConfirmationText: string = localize('objectManagement.blankPasswordConfirmation', "Creating a login with a blank password is a security risk. Are you sure you want to continue?");
|
||||
|
||||
Reference in New Issue
Block a user