mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
support scripting in object management dialogs (#22429)
* user management - scripting * remove confirmation * update sts * update string
This commit is contained in:
@@ -23,6 +23,9 @@ export const OkText: string = localize('objectManagement.OkText', "OK");
|
||||
export const LoadingDialogText: string = localize('objectManagement.loadingDialog', "Loading dialog...");
|
||||
export const FailedToRetrieveConnectionInfoErrorMessage: string = localize('objectManagement.noConnectionUriError', "Failed to retrieve the connection information, please reconnect and try again.")
|
||||
export const RenameObjectDialogTitle: string = localize('objectManagement.renameObjectDialogTitle', "Enter new name");
|
||||
export const ScriptText: string = localize('objectManagement.scriptText', "Script");
|
||||
export const ScriptGeneratedText: string = localize('objectManagement.scriptGenerated', "Script has been generated successfully. You can close the dialog to view it in the newly opened editor.")
|
||||
|
||||
|
||||
export function RefreshObjectExplorerError(error: string): string {
|
||||
return localize({
|
||||
@@ -108,6 +111,10 @@ export function RenameObjectError(objectType: string, originalName: string, newN
|
||||
}, "An error occurred while renaming {0} '{1}' to '{2}'. {3}", objectType, originalName, newName, error);
|
||||
}
|
||||
|
||||
export function ScriptError(error: string): string {
|
||||
return localize('objectManagement.scriptError', "An error occurred while generating script. {0}", error);
|
||||
}
|
||||
|
||||
export const NameText = localize('objectManagement.nameLabel', "Name");
|
||||
export const SelectedText = localize('objectManagement.selectedLabel', "Selected");
|
||||
export const GeneralSectionHeader = localize('objectManagement.generalSectionHeader', "General");
|
||||
|
||||
Reference in New Issue
Block a user