Update task labels for Attach, Detach, and Drop Database (#24289)

This commit is contained in:
Cory Rivera
2023-09-05 16:21:09 -07:00
committed by GitHub
parent 62363999eb
commit ec91de78e5
5 changed files with 46 additions and 21 deletions

View File

@@ -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',