From 8dc825a780e34eef368e7215d0d2449404aeb771 Mon Sep 17 00:00:00 2001 From: Ben Brown Date: Tue, 13 Apr 2021 11:26:27 -0500 Subject: [PATCH 1/2] update text in handoff modals --- .../src/components/ManageLuis/ManageLuis.tsx | 16 ++++------- .../src/components/ManageQNA/ManageQNA.tsx | 28 ++++++++----------- .../components/ManageSpeech/ManageSpeech.tsx | 16 +++++------ .../src/components/azureProvisionDialog.tsx | 26 ++++++++--------- 4 files changed, 35 insertions(+), 51 deletions(-) diff --git a/Composer/packages/client/src/components/ManageLuis/ManageLuis.tsx b/Composer/packages/client/src/components/ManageLuis/ManageLuis.tsx index 94c0a70169..29da1eb431 100644 --- a/Composer/packages/client/src/components/ManageLuis/ManageLuis.tsx +++ b/Composer/packages/client/src/components/ManageLuis/ManageLuis.tsx @@ -119,7 +119,7 @@ export const ManageLuis = (props: ManageLuisProps) => { setCurrentPage(1); setActionOptions([ { key: 'create', text: formatMessage('Create a new LUIS resource'), disabled: true }, - { key: 'handoff', text: formatMessage('Generate a resource request'), disabled: true }, + { key: 'handoff', text: formatMessage('Handoff to admin'), disabled: true }, { key: 'choose', text: formatMessage('Choose from existing'), disabled: true }, ]); if (!props.hidden) { @@ -172,7 +172,7 @@ export const ManageLuis = (props: ManageLuisProps) => { setNoKeys(true); setActionOptions([ { key: 'create', text: formatMessage('Create a new LUIS resource') }, - { key: 'handoff', text: formatMessage('Generate a resource request'), disabled: false }, + { key: 'handoff', text: formatMessage('Handoff to admin'), disabled: false }, { key: 'choose', text: formatMessage('Choose from existing'), disabled: true }, ]); } else { @@ -180,7 +180,7 @@ export const ManageLuis = (props: ManageLuisProps) => { setAuthoringKeys(authoring); setActionOptions([ { key: 'create', text: formatMessage('Create a new LUIS resource') }, - { key: 'handoff', text: formatMessage('Generate a resource request'), disabled: false }, + { key: 'handoff', text: formatMessage('Handoff to admin'), disabled: false }, { key: 'choose', text: formatMessage('Choose from existing'), disabled: false }, ]); } @@ -384,11 +384,7 @@ export const ManageLuis = (props: ManageLuisProps) => { const renderPageOne = () => { return (
-

- {formatMessage( - 'Select your Azure subscription and choose from existing LUIS keys, or create a new LUIS resource. Learn more' - )} -

+

{formatMessage('How would you like to provision this resource?')}

0)} @@ -578,10 +574,10 @@ export const ManageLuis = (props: ManageLuisProps) => { )}