mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-03-20 20:10:11 -04:00
Update task labels for Attach, Detach, and Drop Database (#24289)
This commit is contained in:
@@ -108,6 +108,13 @@ export function OpenDetachDatabaseDialogError(error: string): string {
|
||||
}, "An error occurred while opening the detach database dialog. {0}", error);
|
||||
}
|
||||
|
||||
export function DetachDatabaseOperationDisplayName(objectName: string): string {
|
||||
return localize({
|
||||
key: 'objectManagement.detachDatabaseOperationName',
|
||||
comment: ['{0}: object name.']
|
||||
}, "Detach database '{0}'", objectName);
|
||||
}
|
||||
|
||||
export function OpenDropDatabaseDialogError(error: string): string {
|
||||
return localize({
|
||||
key: 'objectManagement.openDropDatabaseDialogError',
|
||||
@@ -122,6 +129,8 @@ export function OpenAttachDatabaseDialogError(error: string): string {
|
||||
}, "An error occurred while opening the attach database dialog. {0}", error);
|
||||
}
|
||||
|
||||
export const AttachDatabaseOperationDisplayName = localize('objectManagement.attachDatabaseOperationName', "Attach database");
|
||||
|
||||
export function OpenObjectPropertiesDialogError(objectType: string, objectName: string, error: string): string {
|
||||
return localize({
|
||||
key: 'objectManagement.openObjectPropertiesDialogError',
|
||||
|
||||
Reference in New Issue
Block a user