From ed3b87f16533423250d4bf38c0802a0b9d0f6f35 Mon Sep 17 00:00:00 2001 From: kay delaney <45561153+kaydelaney@users.noreply.github.com> Date: Tue, 27 Apr 2021 15:14:31 +0100 Subject: [PATCH] Library Panels: Change wording of ChangeLibraryPanelModal (#33424) "Changing library panel" -> "Replace with library panel" --- .../ChangeLibraryPanelModal/ChangeLibraryPanelModal.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/public/app/features/library-panels/components/ChangeLibraryPanelModal/ChangeLibraryPanelModal.tsx b/public/app/features/library-panels/components/ChangeLibraryPanelModal/ChangeLibraryPanelModal.tsx index af0053aba36..c6b7697c2f4 100644 --- a/public/app/features/library-panels/components/ChangeLibraryPanelModal/ChangeLibraryPanelModal.tsx +++ b/public/app/features/library-panels/components/ChangeLibraryPanelModal/ChangeLibraryPanelModal.tsx @@ -12,13 +12,15 @@ export interface ChangeLibraryPanelModalProps { export const ChangeLibraryPanelModal = ({ onConfirm, onDismiss, panel }: ChangeLibraryPanelModalProps): JSX.Element => { const isLibraryPanel = isPanelModelLibraryPanel(panel); - const title = `${isLibraryPanel ? 'Changing' : 'Change to'} library panel`; - const body = `Changing ${isLibraryPanel ? '' : 'to a'} library panel will remove any changes since last save.`; + const title = `${isLibraryPanel ? 'Changing' : 'Replace with'} library panel`; + const body = `${ + isLibraryPanel ? 'Changing' : 'Replacing with a' + } library panel will remove any changes since last save.`; return (