diff --git a/src/components/ReportWelcomeText.tsx b/src/components/ReportWelcomeText.tsx index 1e3ce6119315..08c172c86c9c 100644 --- a/src/components/ReportWelcomeText.tsx +++ b/src/components/ReportWelcomeText.tsx @@ -6,6 +6,7 @@ import useLocalize from '@hooks/useLocalize'; import useThemeStyles from '@hooks/useThemeStyles'; import Navigation from '@libs/Navigation/Navigation'; import * as OptionsListUtils from '@libs/OptionsListUtils'; +import Permissions from '@libs/Permissions'; import {getPolicy} from '@libs/PolicyUtils'; import * as ReportUtils from '@libs/ReportUtils'; import SidebarUtils from '@libs/SidebarUtils'; @@ -51,7 +52,12 @@ function ReportWelcomeText({report, policy}: ReportWelcomeTextProps) { item !== CONST.IOU.TYPE.INVOICE, ); const additionalText = filteredOptions - .map((item, index) => `${index === filteredOptions.length - 1 && index > 0 ? `${translate('common.or')} ` : ''}${translate(`reportActionsView.iouTypes.${item}`)}`) + .map( + (item, index) => + `${index === filteredOptions.length - 1 && index > 0 ? `${translate('common.or')} ` : ''}${translate( + Permissions.canUseCombinedTrackSubmit() && item === 'submit' ? `reportActionsView.create` : `reportActionsView.iouTypes.${item}`, + )}`, + ) .join(', '); const canEditPolicyDescription = ReportUtils.canEditPolicyDescription(policy); const reportName = ReportUtils.getReportName(report); diff --git a/src/languages/en.ts b/src/languages/en.ts index c1067e195985..75d7bb388a9a 100755 --- a/src/languages/en.ts +++ b/src/languages/en.ts @@ -689,6 +689,7 @@ const translations = { welcomeToRoom: ({roomName}: WelcomeToRoomParams) => `Welcome to ${roomName}!`, usePlusButton: ({additionalText}: UsePlusButtonParams) => `\nUse the + button to ${additionalText} an expense.`, askConcierge: '\nAsk questions and get 24/7 realtime support.', + create: 'create', iouTypes: { pay: 'pay', split: 'split', diff --git a/src/languages/es.ts b/src/languages/es.ts index f7af1be45139..bb26ca2d95a3 100644 --- a/src/languages/es.ts +++ b/src/languages/es.ts @@ -684,6 +684,7 @@ const translations = { welcomeToRoom: ({roomName}: WelcomeToRoomParams) => `¡Bienvenido a ${roomName}!`, usePlusButton: ({additionalText}: UsePlusButtonParams) => `\nUsa el botón + para ${additionalText} un gasto`, askConcierge: 'Haz preguntas y obtén soporte en tiempo real las 24/7.', + create: 'crear', iouTypes: { pay: 'pagar', split: 'dividir',