From 62b193a12ef1e23b8a31c8fe604100d622777565 Mon Sep 17 00:00:00 2001 From: Mykhailo Kravchenko Date: Fri, 26 Apr 2024 17:02:10 +0200 Subject: [PATCH] rename keys --- src/languages/en.ts | 2 +- src/languages/es.ts | 2 +- src/pages/home/report/SystemChatReportFooterMessage.tsx | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/languages/en.ts b/src/languages/en.ts index b1cd28063032..1b935b67c616 100755 --- a/src/languages/en.ts +++ b/src/languages/en.ts @@ -2763,7 +2763,7 @@ export default { }, copyReferralLink: 'Copy invite link', }, - onboardingBottomMessage: { + systemChatFooterMessage: { [CONST.INTRO_CHOICES.MANAGE_TEAM]: { phrase1: 'Chat with your setup specialist in ', phrase2: ' for help', diff --git a/src/languages/es.ts b/src/languages/es.ts index 758cae8d5416..2677b2573a0a 100644 --- a/src/languages/es.ts +++ b/src/languages/es.ts @@ -3256,7 +3256,7 @@ export default { }, copyReferralLink: 'Copiar enlace de invitación', }, - onboardingBottomMessage: { + systemChatFooterMessage: { [CONST.INTRO_CHOICES.MANAGE_TEAM]: { phrase1: 'Chatea con tu especialista asignado en ', phrase2: ' para obtener ayuda', diff --git a/src/pages/home/report/SystemChatReportFooterMessage.tsx b/src/pages/home/report/SystemChatReportFooterMessage.tsx index 8316189215c1..6e5688282b47 100644 --- a/src/pages/home/report/SystemChatReportFooterMessage.tsx +++ b/src/pages/home/report/SystemChatReportFooterMessage.tsx @@ -45,19 +45,19 @@ function SystemChatReportFooterMessage({choice, reports, policies}: SystemChatRe case CONST.ONBOARDING_CHOICES.MANAGE_TEAM: return ( <> - {translate('onboardingBottomMessage.newDotManageTeam.phrase1')} + {translate('systemChatFooterMessage.newDotManageTeam.phrase1')} Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(adminChatReport?.reportID ?? ''))}> {adminChatReport?.reportName ?? CONST.REPORT.WORKSPACE_CHAT_ROOMS.ADMINS} - {translate('onboardingBottomMessage.newDotManageTeam.phrase2')} + {translate('systemChatFooterMessage.newDotManageTeam.phrase2')} ); default: return ( <> - {translate('onboardingBottomMessage.default.phrase1')} + {translate('systemChatFooterMessage.default.phrase1')} ReportInstance.navigateToConciergeChat()}>{CONST?.CONCIERGE_CHAT_NAME} - {translate('onboardingBottomMessage.default.phrase2')} + {translate('systemChatFooterMessage.default.phrase2')} ); }