Skip to content

Commit

Permalink
rename keys
Browse files Browse the repository at this point in the history
  • Loading branch information
rezkiy37 committed Apr 26, 2024
1 parent 9076bc0 commit 62b193a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/languages/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion src/languages/es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
8 changes: 4 additions & 4 deletions src/pages/home/report/SystemChatReportFooterMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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')}
<TextLink onPress={() => Navigation.navigate(ROUTES.REPORT_WITH_ID.getRoute(adminChatReport?.reportID ?? ''))}>
{adminChatReport?.reportName ?? CONST.REPORT.WORKSPACE_CHAT_ROOMS.ADMINS}
</TextLink>
{translate('onboardingBottomMessage.newDotManageTeam.phrase2')}
{translate('systemChatFooterMessage.newDotManageTeam.phrase2')}
</>
);
default:
return (
<>
{translate('onboardingBottomMessage.default.phrase1')}
{translate('systemChatFooterMessage.default.phrase1')}
<TextLink onPress={() => ReportInstance.navigateToConciergeChat()}>{CONST?.CONCIERGE_CHAT_NAME}</TextLink>
{translate('onboardingBottomMessage.default.phrase2')}
{translate('systemChatFooterMessage.default.phrase2')}
</>
);
}
Expand Down

0 comments on commit 62b193a

Please sign in to comment.