-
Notifications
You must be signed in to change notification settings - Fork 2.9k
/
en.ts
executable file
·5180 lines (5165 loc) · 294 KB
/
en.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
import {CONST as COMMON_CONST} from 'expensify-common';
import startCase from 'lodash/startCase';
import CONST from '@src/CONST';
import type {Country} from '@src/CONST';
import type {
AccountOwnerParams,
ActionsAreCurrentlyRestricted,
AddEmployeeParams,
AddressLineParams,
AdminCanceledRequestParams,
AlreadySignedInParams,
ApprovalWorkflowErrorParams,
ApprovedAmountParams,
AssignCardParams,
AssignedYouCardParams,
AssigneeParams,
AuthenticationErrorParams,
AutoPayApprovedReportsLimitErrorParams,
BadgeFreeTrialParams,
BeginningOfChatHistoryAdminRoomPartOneParams,
BeginningOfChatHistoryAnnounceRoomPartOneParams,
BeginningOfChatHistoryDomainRoomPartOneParams,
BillingBannerCardAuthenticationRequiredParams,
BillingBannerCardExpiredParams,
BillingBannerCardOnDisputeParams,
BillingBannerDisputePendingParams,
BillingBannerInsufficientFundsParams,
BillingBannerSubtitleWithDateParams,
CanceledRequestParams,
CardEndingParams,
CardInfoParams,
CardNextPaymentParams,
CategoryNameParams,
ChangeFieldParams,
ChangeOwnerDuplicateSubscriptionParams,
ChangeOwnerHasFailedSettlementsParams,
ChangeOwnerSubscriptionParams,
ChangePolicyParams,
ChangeTypeParams,
CharacterLengthLimitParams,
CharacterLimitParams,
CompanyCardBankName,
CompanyCardFeedNameParams,
ConfirmThatParams,
ConnectionNameParams,
ConnectionParams,
CustomersOrJobsLabelParams,
DateParams,
DateShouldBeAfterParams,
DateShouldBeBeforeParams,
DefaultAmountParams,
DefaultVendorDescriptionParams,
DelegateRoleParams,
DelegateSubmitParams,
DelegatorParams,
DeleteActionParams,
DeleteConfirmationParams,
DidSplitAmountMessageParams,
EditActionParams,
ElectronicFundsParams,
EnterMagicCodeParams,
ExportAgainModalDescriptionParams,
ExportedToIntegrationParams,
ExportIntegrationSelectedParams,
FeatureNameParams,
FiltersAmountBetweenParams,
FormattedMaxLengthParams,
ForwardedAmountParams,
GoBackMessageParams,
GoToRoomParams,
ImportedTagsMessageParams,
ImportedTypesParams,
ImportFieldParams,
ImportMembersSuccessfullDescriptionParams,
ImportTagsSuccessfullDescriptionParams,
IncorrectZipFormatParams,
InstantSummaryParams,
IntacctMappingTitleParams,
IntegrationExportParams,
IntegrationSyncFailedParams,
InvalidPropertyParams,
InvalidValueParams,
IssueVirtualCardParams,
LastSyncAccountingParams,
LastSyncDateParams,
LocalTimeParams,
LoggedInAsParams,
LogSizeParams,
ManagerApprovedAmountParams,
ManagerApprovedParams,
MarkedReimbursedParams,
MarkReimbursedFromIntegrationParams,
MissingPropertyParams,
NoLongerHaveAccessParams,
NotAllowedExtensionParams,
NotYouParams,
OOOEventSummaryFullDayParams,
OOOEventSummaryPartialDayParams,
OptionalParam,
OurEmailProviderParams,
OwnerOwesAmountParams,
PaidElsewhereWithAmountParams,
PaidWithExpensifyWithAmountParams,
ParentNavigationSummaryParams,
PayerOwesAmountParams,
PayerOwesParams,
PayerPaidAmountParams,
PayerPaidParams,
PayerSettledParams,
PaySomeoneParams,
ReconciliationWorksParams,
RemovedFromApprovalWorkflowParams,
RemovedTheRequestParams,
RemoveMemberPromptParams,
RemoveMembersWarningPrompt,
RenamedRoomActionParams,
ReportArchiveReasonsClosedParams,
ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams,
ReportArchiveReasonsMergedParams,
ReportArchiveReasonsRemovedFromPolicyParams,
ReportPolicyNameParams,
RequestAmountParams,
RequestCountParams,
RequestedAmountMessageParams,
RequiredFieldParams,
ResolutionConstraintsParams,
RoleNamesParams,
RoomNameReservedErrorParams,
RoomRenamedToParams,
SecondaryLoginParams,
SetTheDistanceMerchantParams,
SetTheRequestParams,
SettledAfterAddedBankAccountParams,
SettleExpensifyCardParams,
ShareParams,
SignUpNewFaceCodeParams,
SizeExceededParams,
SplitAmountParams,
SpreadCategoriesParams,
SpreadFieldNameParams,
SpreadSheetColumnParams,
StatementTitleParams,
StepCounterParams,
StripePaidParams,
SubscriptionCommitmentParams,
SubscriptionSettingsRenewsOnParams,
SubscriptionSettingsSaveUpToParams,
SubscriptionSizeParams,
SyncStageNameConnectionsParams,
TaskCreatedActionParams,
TaxAmountParams,
TermsParams,
ThreadRequestReportNameParams,
ThreadSentMoneyReportNameParams,
ToValidateLoginParams,
TransferParams,
TrialStartedTitleParams,
UnapprovedParams,
UnapproveWithIntegrationWarningParams,
UnshareParams,
UntilTimeParams,
UpdatedTheDistanceMerchantParams,
UpdatedTheRequestParams,
UpdateRoleParams,
UsePlusButtonParams,
UserIsAlreadyMemberParams,
UserSplitParams,
ViolationsAutoReportedRejectedExpenseParams,
ViolationsCashExpenseWithNoReceiptParams,
ViolationsConversionSurchargeParams,
ViolationsInvoiceMarkupParams,
ViolationsMaxAgeParams,
ViolationsMissingTagParams,
ViolationsModifiedAmountParams,
ViolationsOverCategoryLimitParams,
ViolationsOverLimitParams,
ViolationsPerDayLimitParams,
ViolationsReceiptRequiredParams,
ViolationsRterParams,
ViolationsTagOutOfPolicyParams,
ViolationsTaxOutOfPolicyParams,
WaitingOnBankAccountParams,
WalletProgramParams,
WelcomeEnterMagicCodeParams,
WelcomeNoteParams,
WelcomeToRoomParams,
WeSentYouMagicSignInLinkParams,
WorkspaceOwnerWillNeedToAddOrUpdatePaymentCardParams,
YourPlanPriceParams,
ZipCodeExampleFormatParams,
} from './params';
import type {TranslationDeepObject} from './types';
type StateValue = {
stateISO: string;
stateName: string;
};
type States = Record<keyof typeof COMMON_CONST.STATES, StateValue>;
type AllCountries = Record<Country, string>;
/* eslint-disable max-len */
const translations = {
common: {
cancel: 'Cancel',
dismiss: 'Dismiss',
yes: 'Yes',
no: 'No',
ok: 'OK',
notNow: 'Not now',
learnMore: 'Learn more',
buttonConfirm: 'Got it',
name: 'Name',
attachment: 'Attachment',
attachments: 'Attachments',
center: 'Center',
from: 'From',
to: 'To',
in: 'In',
optional: 'Optional',
new: 'New',
search: 'Search',
find: 'Find',
searchWithThreeDots: 'Search...',
next: 'Next',
previous: 'Previous',
goBack: 'Go back',
create: 'Create',
add: 'Add',
resend: 'Resend',
save: 'Save',
select: 'Select',
selectMultiple: 'Select multiple',
saveChanges: 'Save changes',
submit: 'Submit',
rotate: 'Rotate',
zoom: 'Zoom',
password: 'Password',
magicCode: 'Magic code',
twoFactorCode: 'Two-factor code',
workspaces: 'Workspaces',
inbox: 'Inbox',
group: 'Group',
profile: 'Profile',
referral: 'Referral',
payments: 'Payments',
approvals: 'Approvals',
wallet: 'Wallet',
preferences: 'Preferences',
view: 'View',
review: 'Review',
not: 'Not',
signIn: 'Sign in',
signInWithGoogle: 'Sign in with Google',
signInWithApple: 'Sign in with Apple',
signInWith: 'Sign in with',
continue: 'Continue',
firstName: 'First name',
lastName: 'Last name',
addCardTermsOfService: 'Expensify Terms of Service',
phone: 'Phone',
phoneNumber: 'Phone number',
phoneNumberPlaceholder: '(xxx) xxx-xxxx',
email: 'Email',
and: 'and',
or: 'or',
details: 'Details',
privacy: 'Privacy',
privacyPolicy: 'Privacy Policy',
hidden: 'Hidden',
visible: 'Visible',
delete: 'Delete',
archived: 'archived',
contacts: 'Contacts',
recents: 'Recents',
close: 'Close',
download: 'Download',
downloading: 'Downloading',
uploading: 'Uploading',
pin: 'Pin',
unPin: 'Unpin',
back: 'Back',
saveAndContinue: 'Save & continue',
settings: 'Settings',
termsOfService: 'Terms of Service',
members: 'Members',
invite: 'Invite',
here: 'here',
date: 'Date',
dob: 'Date of birth',
currentYear: 'Current year',
currentMonth: 'Current month',
ssnLast4: 'Last 4 digits of SSN',
ssnFull9: 'Full 9 digits of SSN',
addressLine: ({lineNumber}: AddressLineParams) => `Address line ${lineNumber}`,
personalAddress: 'Personal address',
companyAddress: 'Company address',
noPO: 'PO boxes and mail drop addresses are not allowed',
city: 'City',
state: 'State',
streetAddress: 'Street address',
stateOrProvince: 'State / Province',
country: 'Country',
zip: 'Zip code',
zipPostCode: 'Zip / Postcode',
whatThis: "What's this?",
iAcceptThe: 'I accept the ',
remove: 'Remove',
admin: 'Admin',
owner: 'Owner',
dateFormat: 'YYYY-MM-DD',
send: 'Send',
notifications: 'Notifications',
na: 'N/A',
noResultsFound: 'No results found',
recentDestinations: 'Recent destinations',
timePrefix: "It's",
conjunctionFor: 'for',
todayAt: 'Today at',
tomorrowAt: 'Tomorrow at',
yesterdayAt: 'Yesterday at',
conjunctionAt: 'at',
conjunctionTo: 'to',
genericErrorMessage: 'Oops... something went wrong and your request could not be completed. Please try again later.',
percentage: 'Percentage',
error: {
invalidAmount: 'Invalid amount.',
acceptTerms: 'You must accept the Terms of Service to continue.',
phoneNumber: `Please enter a valid phone number, with the country code (e.g. ${CONST.EXAMPLE_PHONE_NUMBER})`,
fieldRequired: 'This field is required.',
requestModified: 'This request is being modified by another member.',
characterLimit: ({limit}: CharacterLimitParams) => `Exceeds the maximum length of ${limit} characters`,
characterLimitExceedCounter: ({length, limit}: CharacterLengthLimitParams) => `Character limit exceeded (${length}/${limit})`,
dateInvalid: 'Please select a valid date.',
invalidDateShouldBeFuture: 'Please choose today or a future date.',
invalidTimeShouldBeFuture: 'Please choose a time at least one minute ahead.',
invalidCharacter: 'Invalid character.',
enterMerchant: 'Enter a merchant name.',
enterAmount: 'Enter an amount.',
enterDate: 'Enter a date.',
invalidTimeRange: 'Please enter a time using the 12-hour clock format (e.g., 2:30 PM).',
pleaseCompleteForm: 'Please complete the form above to continue.',
pleaseSelectOne: 'Please select an option above.',
invalidRateError: 'Please enter a valid rate.',
lowRateError: 'Rate must be greater than 0.',
},
comma: 'comma',
semicolon: 'semicolon',
please: 'Please',
contactUs: 'contact us',
pleaseEnterEmailOrPhoneNumber: 'Please enter an email or phone number',
fixTheErrors: 'fix the errors',
inTheFormBeforeContinuing: 'in the form before continuing',
confirm: 'Confirm',
reset: 'Reset',
done: 'Done',
more: 'More',
debitCard: 'Debit card',
bankAccount: 'Bank account',
personalBankAccount: 'Personal bank account',
businessBankAccount: 'Business bank account',
join: 'Join',
leave: 'Leave',
decline: 'Decline',
transferBalance: 'Transfer balance',
cantFindAddress: "Can't find your address? ",
enterManually: 'Enter it manually',
message: 'Message ',
leaveThread: 'Leave thread',
you: 'You',
youAfterPreposition: 'you',
your: 'your',
conciergeHelp: 'Please reach out to Concierge for help.',
youAppearToBeOffline: 'You appear to be offline.',
thisFeatureRequiresInternet: 'This feature requires an active internet connection.',
attachementWillBeAvailableOnceBackOnline: 'Attachment will become available once back online.',
areYouSure: 'Are you sure?',
verify: 'Verify',
yesContinue: 'Yes, continue',
websiteExample: 'e.g. https://www.expensify.com',
zipCodeExampleFormat: ({zipSampleFormat}: ZipCodeExampleFormatParams) => (zipSampleFormat ? `e.g. ${zipSampleFormat}` : ''),
description: 'Description',
with: 'with',
shareCode: 'Share code',
share: 'Share',
per: 'per',
mi: 'mile',
km: 'kilometer',
copied: 'Copied!',
someone: 'Someone',
total: 'Total',
edit: 'Edit',
letsDoThis: `Let's do this!`,
letsStart: `Let's start`,
showMore: 'Show more',
merchant: 'Merchant',
category: 'Category',
billable: 'Billable',
nonBillable: 'Non-billable',
tag: 'Tag',
receipt: 'Receipt',
verified: 'Verified',
replace: 'Replace',
distance: 'Distance',
mile: 'mile',
miles: 'miles',
kilometer: 'kilometer',
kilometers: 'kilometers',
recent: 'Recent',
all: 'All',
am: 'AM',
pm: 'PM',
tbd: 'TBD',
selectCurrency: 'Select a currency',
card: 'Card',
whyDoWeAskForThis: 'Why do we ask for this?',
required: 'Required',
showing: 'Showing',
of: 'of',
default: 'Default',
update: 'Update',
member: 'Member',
auditor: 'Auditor',
role: 'Role',
currency: 'Currency',
rate: 'Rate',
emptyLHN: {
title: 'Woohoo! All caught up.',
subtitleText1: 'Find a chat using the',
subtitleText2: 'button above, or create something using the',
subtitleText3: 'button below.',
},
businessName: 'Business name',
clear: 'Clear',
type: 'Type',
action: 'Action',
expenses: 'Expenses',
tax: 'Tax',
shared: 'Shared',
drafts: 'Drafts',
finished: 'Finished',
upgrade: 'Upgrade',
companyID: 'Company ID',
userID: 'User ID',
disable: 'Disable',
export: 'Export',
initialValue: 'Initial value',
currentDate: 'Current date',
value: 'Value',
downloadFailedTitle: 'Download failed',
downloadFailedDescription: "Your download couldn't be completed. Please try again later.",
filterLogs: 'Filter Logs',
network: 'Network',
reportID: 'Report ID',
bankAccounts: 'Bank accounts',
chooseFile: 'Choose file',
dropTitle: 'Let it go',
dropMessage: 'Drop your file here',
ignore: 'Ignore',
enabled: 'Enabled',
import: 'Import',
offlinePrompt: "You can't take this action right now.",
outstanding: 'Outstanding',
chats: 'Chats',
unread: 'Unread',
sent: 'Sent',
links: 'Links',
days: 'days',
rename: 'Rename',
},
location: {
useCurrent: 'Use current location',
notFound: 'We were unable to find your location. Please try again or enter an address manually.',
permissionDenied: "It looks like you've denied access to your location.",
please: 'Please',
allowPermission: 'allow location access in settings',
tryAgain: 'and try again.',
},
anonymousReportFooter: {
logoTagline: 'Join the discussion.',
},
attachmentPicker: {
cameraPermissionRequired: 'Camera access',
expensifyDoesntHaveAccessToCamera: "Expensify can't take photos without access to your camera. Tap settings to update permissions.",
attachmentError: 'Attachment error',
errorWhileSelectingAttachment: 'An error occurred while selecting an attachment. Please try again.',
errorWhileSelectingCorruptedAttachment: 'An error occurred while selecting a corrupted attachment. Please try another file.',
takePhoto: 'Take photo',
chooseFromGallery: 'Choose from gallery',
chooseDocument: 'Choose file',
attachmentTooLarge: 'Attachment is too large',
sizeExceeded: 'Attachment size is larger than 24 MB limit',
attachmentTooSmall: 'Attachment is too small',
sizeNotMet: 'Attachment size must be greater than 240 bytes',
wrongFileType: 'Invalid file type',
notAllowedExtension: 'This file type is not allowed. Please try a different file type.',
folderNotAllowedMessage: 'Uploading a folder is not allowed. Please try a different file.',
protectedPDFNotSupported: 'Password-protected PDF is not supported',
attachmentImageResized: 'This image has been resized for previewing. Download for full resolution.',
attachmentImageTooLarge: 'This image is too large to preview before uploading.',
},
filePicker: {
fileError: 'File error',
errorWhileSelectingFile: 'An error occurred while selecting an file. Please try again.',
},
connectionComplete: {
title: 'Connection complete',
supportingText: 'You can close this window and head back to the Expensify app.',
},
avatarCropModal: {
title: 'Edit photo',
description: 'Drag, zoom, and rotate your image however you like.',
},
composer: {
noExtensionFoundForMimeType: 'No extension found for mime type',
problemGettingImageYouPasted: 'There was a problem getting the image you pasted',
commentExceededMaxLength: ({formattedMaxLength}: FormattedMaxLengthParams) => `The maximum comment length is ${formattedMaxLength} characters.`,
},
baseUpdateAppModal: {
updateApp: 'Update app',
updatePrompt: 'A new version of this app is available.\nUpdate now or restart the app later to download the latest changes.',
},
deeplinkWrapper: {
launching: 'Launching Expensify',
expired: 'Your session has expired.',
signIn: 'Please sign in again.',
redirectedToDesktopApp: "We've redirected you to the desktop app.",
youCanAlso: 'You can also',
openLinkInBrowser: 'open this link in your browser',
loggedInAs: ({email}: LoggedInAsParams) => `You're logged in as ${email}. Click "Open link" in the prompt to log into the desktop app with this account.`,
doNotSeePrompt: "Can't see the prompt?",
tryAgain: 'Try again',
or: ', or',
continueInWeb: 'continue to the web app',
},
validateCodeModal: {
successfulSignInTitle: "Abracadabra,\nyou're signed in!",
successfulSignInDescription: 'Head back to your original tab to continue.',
title: "Here's your magic code",
description: 'Please enter the code from the device\nwhere it was originally requested',
or: ', or',
signInHere: 'just sign in here',
expiredCodeTitle: 'Magic code expired',
expiredCodeDescription: 'Go back to the original device and request a new code',
successfulNewCodeRequest: 'Code requested. Please check your device.',
tfaRequiredTitle: 'Two-factor authentication\nrequired',
tfaRequiredDescription: "Please enter the two-factor authentication code\nwhere you're trying to sign in.",
requestOneHere: 'request one here.',
},
moneyRequestConfirmationList: {
paidBy: 'Paid by',
whatsItFor: "What's it for?",
},
selectionList: {
nameEmailOrPhoneNumber: 'Name, email, or phone number',
findMember: 'Find a member',
},
emptyList: {
[CONST.IOU.TYPE.SUBMIT]: {
title: 'Submit an expense',
subtitleText1: 'Submit to someone and ',
subtitleText2: `get $${CONST.REFERRAL_PROGRAM.REVENUE}`,
subtitleText3: ' when they become a customer.',
},
[CONST.IOU.TYPE.SPLIT]: {
title: 'Split an expense',
subtitleText1: 'Split with a friend and ',
subtitleText2: `get $${CONST.REFERRAL_PROGRAM.REVENUE}`,
subtitleText3: ' when they become a customer.',
},
[CONST.IOU.TYPE.PAY]: {
title: 'Pay someone',
subtitleText1: 'Pay anyone and ',
subtitleText2: `get $${CONST.REFERRAL_PROGRAM.REVENUE}`,
subtitleText3: ' when they become a customer.',
},
},
videoChatButtonAndMenu: {
tooltip: 'Book a call',
},
hello: 'Hello',
phoneCountryCode: '1',
welcomeText: {
getStarted: 'Get started below.',
anotherLoginPageIsOpen: 'Another login page is open.',
anotherLoginPageIsOpenExplanation: "You've opened the login page in a separate tab. Please log in from that tab.",
welcome: 'Welcome!',
welcomeWithoutExclamation: 'Welcome',
phrase2: "Money talks. And now that chat and payments are in one place, it's also easy.",
phrase3: 'Your payments get to you as fast as you can get your point across.',
enterPassword: 'Please enter your password',
welcomeNewFace: ({login}: SignUpNewFaceCodeParams) => `${login}, it's always great to see a new face around here!`,
welcomeEnterMagicCode: ({login}: WelcomeEnterMagicCodeParams) => `Please enter the magic code sent to ${login}. It should arrive within a minute or two.`,
},
login: {
hero: {
header: 'Manage spend, split expenses, and chat with your team.',
body: 'Welcome to the future of Expensify, your new go-to place for financial collaboration with friends and teammates alike.',
},
},
thirdPartySignIn: {
alreadySignedIn: ({email}: AlreadySignedInParams) => `You're already signed in as ${email}.`,
goBackMessage: ({provider}: GoBackMessageParams) => `Don't want to sign in with ${provider}?`,
continueWithMyCurrentSession: 'Continue with my current session',
redirectToDesktopMessage: "We'll redirect you to the desktop app once you finish signing in.",
signInAgreementMessage: 'By logging in, you agree to the',
termsOfService: 'Terms of Service',
privacy: 'Privacy',
},
samlSignIn: {
welcomeSAMLEnabled: 'Continue logging in with single sign-on:',
orContinueWithMagicCode: 'You can also sign in with a magic code',
useSingleSignOn: 'Use single sign-on',
useMagicCode: 'Use magic code',
launching: 'Launching...',
oneMoment: "One moment while we redirect you to your company's single sign-on portal.",
},
reportActionCompose: {
dropToUpload: 'Drop to upload',
sendAttachment: 'Send attachment',
addAttachment: 'Add attachment',
writeSomething: 'Write something...',
blockedFromConcierge: 'Communication is barred',
fileUploadFailed: 'Upload failed. File is not supported.',
localTime: ({user, time}: LocalTimeParams) => `It's ${time} for ${user}`,
edited: '(edited)',
emoji: 'Emoji',
collapse: 'Collapse',
expand: 'Expand',
tooltip: {
title: 'Get started!',
subtitle: ' Submit your first expense',
},
},
reportActionContextMenu: {
copyToClipboard: 'Copy to clipboard',
copied: 'Copied!',
copyLink: 'Copy link',
copyURLToClipboard: 'Copy URL to clipboard',
copyEmailToClipboard: 'Copy email to clipboard',
markAsUnread: 'Mark as unread',
markAsRead: 'Mark as read',
editAction: ({action}: EditActionParams) => `Edit ${action?.actionName === CONST.REPORT.ACTIONS.TYPE.IOU ? 'expense' : 'comment'}`,
deleteAction: ({action}: DeleteActionParams) => `Delete ${action?.actionName === CONST.REPORT.ACTIONS.TYPE.IOU ? 'expense' : 'comment'}`,
deleteConfirmation: ({action}: DeleteConfirmationParams) => `Are you sure you want to delete this ${action?.actionName === CONST.REPORT.ACTIONS.TYPE.IOU ? 'expense' : 'comment'}?`,
onlyVisible: 'Only visible to',
replyInThread: 'Reply in thread',
joinThread: 'Join thread',
leaveThread: 'Leave thread',
copyOnyxData: 'Copy Onyx data',
flagAsOffensive: 'Flag as offensive',
menu: 'Menu',
},
emojiReactions: {
addReactionTooltip: 'Add reaction',
reactedWith: 'reacted with',
},
reportActionsView: {
beginningOfArchivedRoomPartOne: 'You missed the party in ',
beginningOfArchivedRoomPartTwo: ", there's nothing to see here.",
beginningOfChatHistoryDomainRoomPartOne: ({domainRoom}: BeginningOfChatHistoryDomainRoomPartOneParams) => `This chat is with all Expensify members on the ${domainRoom} domain.`,
beginningOfChatHistoryDomainRoomPartTwo: ' Use it to chat with colleagues, share tips, and ask questions.',
beginningOfChatHistoryAdminRoomPartOne: ({workspaceName}: BeginningOfChatHistoryAdminRoomPartOneParams) => `This chat is with ${workspaceName} admins.`,
beginningOfChatHistoryAdminRoomPartTwo: ' Use it to chat about workspace setup and more.',
beginningOfChatHistoryAnnounceRoomPartOne: ({workspaceName}: BeginningOfChatHistoryAnnounceRoomPartOneParams) => `This chat is with everyone in ${workspaceName} workspace.`,
beginningOfChatHistoryAnnounceRoomPartTwo: ` Use it for the most important announcements.`,
beginningOfChatHistoryUserRoomPartOne: 'This chat room is for anything ',
beginningOfChatHistoryUserRoomPartTwo: ' related.',
beginningOfChatHistoryInvoiceRoomPartOne: `This chat is for invoices between `,
beginningOfChatHistoryInvoiceRoomPartTwo: `. Use the + button to send an invoice.`,
beginningOfChatHistory: 'This chat is with ',
beginningOfChatHistoryPolicyExpenseChatPartOne: 'This is where ',
beginningOfChatHistoryPolicyExpenseChatPartTwo: ' will submit expenses to ',
beginningOfChatHistoryPolicyExpenseChatPartThree: ' workspace. Just use the + button.',
beginningOfChatHistorySelfDM: 'This is your personal space. Use it for notes, tasks, drafts, and reminders.',
beginningOfChatHistorySystemDM: "Welcome! Let's get you set up.",
chatWithAccountManager: 'Chat with your account manager here',
sayHello: 'Say hello!',
yourSpace: 'Your space',
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.',
iouTypes: {
pay: 'pay',
split: 'split',
submit: 'submit',
track: 'track',
invoice: 'invoice',
},
},
adminOnlyCanPost: 'Only admins can send messages in this room.',
reportAction: {
asCopilot: 'as copilot for',
},
mentionSuggestions: {
hereAlternateText: 'Notify everyone in this conversation',
},
newMessages: 'New messages',
youHaveBeenBanned: "Note: You've been banned from chatting in this channel.",
reportTypingIndicator: {
isTyping: 'is typing...',
areTyping: 'are typing...',
multipleUsers: 'Multiple users',
},
reportArchiveReasons: {
[CONST.REPORT.ARCHIVE_REASON.DEFAULT]: 'This chat room has been archived.',
[CONST.REPORT.ARCHIVE_REASON.ACCOUNT_CLOSED]: ({displayName}: ReportArchiveReasonsClosedParams) => `This chat is no longer active because ${displayName} closed their account.`,
[CONST.REPORT.ARCHIVE_REASON.ACCOUNT_MERGED]: ({displayName, oldDisplayName}: ReportArchiveReasonsMergedParams) =>
`This chat is no longer active because ${oldDisplayName} has merged their account with ${displayName}.`,
[CONST.REPORT.ARCHIVE_REASON.REMOVED_FROM_POLICY]: ({displayName, policyName, shouldUseYou = false}: ReportArchiveReasonsRemovedFromPolicyParams) =>
shouldUseYou
? `This chat is no longer active because <strong>you</strong> are no longer a member of the ${policyName} workspace.`
: `This chat is no longer active because ${displayName} is no longer a member of the ${policyName} workspace.`,
[CONST.REPORT.ARCHIVE_REASON.POLICY_DELETED]: ({policyName}: ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams) =>
`This chat is no longer active because ${policyName} is no longer an active workspace.`,
[CONST.REPORT.ARCHIVE_REASON.INVOICE_RECEIVER_POLICY_DELETED]: ({policyName}: ReportArchiveReasonsInvoiceReceiverPolicyDeletedParams) =>
`This chat is no longer active because ${policyName} is no longer an active workspace.`,
[CONST.REPORT.ARCHIVE_REASON.BOOKING_END_DATE_HAS_PASSED]: 'This booking is archived.',
},
writeCapabilityPage: {
label: 'Who can post',
writeCapability: {
all: 'All members',
admins: 'Admins only',
},
},
sidebarScreen: {
buttonFind: 'Find something...',
buttonMySettings: 'My settings',
fabNewChat: 'Start chat',
fabNewChatExplained: 'Start chat (Floating action)',
chatPinned: 'Chat pinned',
draftedMessage: 'Drafted message',
listOfChatMessages: 'List of chat messages',
listOfChats: 'List of chats',
saveTheWorld: 'Save the world',
tooltip: 'Get started here!',
},
allSettingsScreen: {
subscription: 'Subscription',
domains: 'Domains',
},
tabSelector: {
chat: 'Chat',
room: 'Room',
distance: 'Distance',
manual: 'Manual',
scan: 'Scan',
},
spreadsheet: {
upload: 'Upload a spreadsheet',
dragAndDrop: 'Drag and drop your spreadsheet here, or choose a file below. Supported formats: .csv, .txt, .xls, and .xlsx.',
chooseSpreadsheet: 'Select a spreadsheet file to import. Supported formats: .csv, .txt, .xls, and .xlsx.',
fileContainsHeader: 'File contains column headers',
column: ({name}: SpreadSheetColumnParams) => `Column ${name}`,
fieldNotMapped: ({fieldName}: SpreadFieldNameParams) => `Oops! A required field ("${fieldName}") hasn't been mapped. Please review and try again.`,
singleFieldMultipleColumns: ({fieldName}: SpreadFieldNameParams) => `Oops! You've mapped a single field ("${fieldName}") to multiple columns. Please review and try again.`,
importSuccessfullTitle: 'Import successful',
importCategoriesSuccessfullDescription: ({categories}: SpreadCategoriesParams) => (categories > 1 ? `${categories} categories have been added.` : '1 category has been added.'),
importMembersSuccessfullDescription: ({members}: ImportMembersSuccessfullDescriptionParams) => (members > 1 ? `${members} members have been added.` : '1 member has been added.'),
importTagsSuccessfullDescription: ({tags}: ImportTagsSuccessfullDescriptionParams) => (tags > 1 ? `${tags} tags have been added.` : '1 tag has been added.'),
importFailedTitle: 'Import failed',
importFailedDescription: 'Please ensure all fields are filled out correctly and try again. If the problem persists, please reach out to Concierge.',
importDescription: 'Choose which fields to map from your spreadsheet by clicking the dropdown next to each imported column below.',
sizeNotMet: 'File size must be greater than 0 bytes',
invalidFileMessage:
'The file you uploaded is either empty or contains invalid data. Please ensure that the file is correctly formatted and contains the necessary information before uploading it again.',
importSpreadsheet: 'Import spreadsheet',
downloadCSV: 'Download CSV',
},
receipt: {
upload: 'Upload receipt',
dragReceiptBeforeEmail: 'Drag a receipt onto this page, forward a receipt to ',
dragReceiptAfterEmail: ' or choose a file to upload below.',
chooseReceipt: 'Choose a receipt to upload or forward a receipt to ',
takePhoto: 'Take a photo',
cameraAccess: 'Camera access is required to take pictures of receipts.',
cameraErrorTitle: 'Camera error',
cameraErrorMessage: 'An error occurred while taking a photo. Please try again.',
locationAccessTitle: 'Allow location access',
locationAccessMessage: 'Location access helps us keep your timezone and currency accurate wherever you go.',
locationErrorTitle: 'Allow location access',
locationErrorMessage: 'Location access helps us keep your timezone and currency accurate wherever you go.',
dropTitle: 'Let it go',
dropMessage: 'Drop your file here',
flash: 'flash',
shutter: 'shutter',
gallery: 'gallery',
deleteReceipt: 'Delete receipt',
deleteConfirmation: 'Are you sure you want to delete this receipt?',
addReceipt: 'Add receipt',
},
quickAction: {
scanReceipt: 'Scan receipt',
recordDistance: 'Record distance',
requestMoney: 'Submit expense',
splitBill: 'Split expense',
splitScan: 'Split receipt',
splitDistance: 'Split distance',
paySomeone: ({name}: PaySomeoneParams = {}) => `Pay ${name ?? 'someone'}`,
assignTask: 'Assign task',
header: 'Quick action',
trackManual: 'Track expense',
trackScan: 'Track receipt',
trackDistance: 'Track distance',
noLongerHaveReportAccess: 'You no longer have access to your previous quick action destination. Pick a new one below.',
updateDestination: 'Update destination',
tooltip: {
title: 'Quick action! ',
subtitle: 'Just a tap away.',
},
},
iou: {
amount: 'Amount',
taxAmount: 'Tax amount',
taxRate: 'Tax rate',
approve: 'Approve',
approved: 'Approved',
cash: 'Cash',
card: 'Card',
original: 'Original',
split: 'Split',
splitExpense: 'Split expense',
paySomeone: ({name}: PaySomeoneParams = {}) => `Pay ${name ?? 'someone'}`,
expense: 'Expense',
categorize: 'Categorize',
share: 'Share',
participants: 'Participants',
submitExpense: 'Submit expense',
createExpense: 'Create expense',
trackExpense: 'Track expense',
pay: 'Pay',
cancelPayment: 'Cancel payment',
cancelPaymentConfirmation: 'Are you sure that you want to cancel this payment?',
viewDetails: 'View details',
pending: 'Pending',
canceled: 'Canceled',
posted: 'Posted',
deleteReceipt: 'Delete receipt',
pendingMatchWithCreditCard: 'Receipt pending match with card transaction',
pendingMatchWithCreditCardDescription: 'Receipt pending match with card transaction. Mark as cash to cancel.',
markAsCash: 'Mark as cash',
routePending: 'Route pending...',
receiptScanning: 'Receipt scanning...',
receiptScanInProgress: 'Receipt scan in progress',
receiptScanInProgressDescription: 'Receipt scan in progress. Check back later or enter the details now.',
receiptIssuesFound: () => ({
one: 'Issue found',
other: 'Issues found',
}),
fieldPending: 'Pending...',
defaultRate: 'Default rate',
receiptMissingDetails: 'Receipt missing details',
missingAmount: 'Missing amount',
missingMerchant: 'Missing merchant',
receiptStatusTitle: 'Scanning…',
receiptStatusText: "Only you can see this receipt when it's scanning. Check back later or enter the details now.",
receiptScanningFailed: 'Receipt scanning failed. Please enter the details manually.',
transactionPendingDescription: 'Transaction pending. It may take a few days to post.',
companyInfo: 'Company info',
companyInfoDescription: 'We need a few more details before you can send your first invoice.',
yourCompanyName: 'Your company name',
yourCompanyWebsite: 'Your company website',
yourCompanyWebsiteNote: "If you don't have a website, you can provide your company's LinkedIn or social media profile instead.",
invalidDomainError: 'You have entered an invalid domain. To continue, please enter a valid domain.',
publicDomainError: 'You have entered a public domain. To continue, please enter a private domain.',
expenseCount: ({scanningReceipts = 0, pendingReceipts = 0}: RequestCountParams) => {
const statusText: string[] = [];
if (scanningReceipts > 0) {
statusText.push(`${scanningReceipts} scanning`);
}
if (pendingReceipts > 0) {
statusText.push(`${pendingReceipts} pending`);
}
return {
one: statusText.length > 0 ? `1 expense (${statusText.join(', ')})` : `1 expense`,
other: (count: number) => (statusText.length > 0 ? `${count} expenses (${statusText.join(', ')})` : `${count} expenses`),
};
},
deleteExpense: () => ({
one: 'Delete expense',
other: 'Delete expenses',
}),
deleteConfirmation: () => ({
one: 'Are you sure that you want to delete this expense?',
other: 'Are you sure that you want to delete these expenses?',
}),
settledExpensify: 'Paid',
settledElsewhere: 'Paid elsewhere',
individual: 'Individual',
business: 'Business',
settleExpensify: ({formattedAmount}: SettleExpensifyCardParams) => (formattedAmount ? `Pay ${formattedAmount} with Expensify` : `Pay with Expensify`),
settlePersonal: ({formattedAmount}: SettleExpensifyCardParams) => (formattedAmount ? `Pay ${formattedAmount} as an individual` : `Pay as an individual`),
settlePayment: ({formattedAmount}: SettleExpensifyCardParams) => `Pay ${formattedAmount}`,
settleBusiness: ({formattedAmount}: SettleExpensifyCardParams) => (formattedAmount ? `Pay ${formattedAmount} as a business` : `Pay as a business`),
payElsewhere: ({formattedAmount}: SettleExpensifyCardParams) => (formattedAmount ? `Pay ${formattedAmount} elsewhere` : `Pay elsewhere`),
nextStep: 'Next steps',
finished: 'Finished',
sendInvoice: ({amount}: RequestAmountParams) => `Send ${amount} invoice`,
submitAmount: ({amount}: RequestAmountParams) => `submit ${amount}`,
submittedAmount: ({formattedAmount, comment}: RequestedAmountMessageParams) => `submitted ${formattedAmount}${comment ? ` for ${comment}` : ''}`,
automaticallySubmittedAmount: ({formattedAmount}: RequestedAmountMessageParams) =>
`automatically submitted ${formattedAmount} via <a href="${CONST.DELAYED_SUBMISSION_HELP_URL}">delayed submission</a>`,
trackedAmount: ({formattedAmount, comment}: RequestedAmountMessageParams) => `tracking ${formattedAmount}${comment ? ` for ${comment}` : ''}`,
splitAmount: ({amount}: SplitAmountParams) => `split ${amount}`,
didSplitAmount: ({formattedAmount, comment}: DidSplitAmountMessageParams) => `split ${formattedAmount}${comment ? ` for ${comment}` : ''}`,
yourSplit: ({amount}: UserSplitParams) => `Your split ${amount}`,
payerOwesAmount: ({payer, amount, comment}: PayerOwesAmountParams) => `${payer} owes ${amount}${comment ? ` for ${comment}` : ''}`,
payerOwes: ({payer}: PayerOwesParams) => `${payer} owes: `,
payerPaidAmount: ({payer, amount}: PayerPaidAmountParams) => `${payer ? `${payer} ` : ''}paid ${amount}`,
payerPaid: ({payer}: PayerPaidParams) => `${payer} paid: `,
payerSpentAmount: ({payer, amount}: PayerPaidAmountParams) => `${payer} spent ${amount}`,
payerSpent: ({payer}: PayerPaidParams) => `${payer} spent: `,
managerApproved: ({manager}: ManagerApprovedParams) => `${manager} approved:`,
managerApprovedAmount: ({manager, amount}: ManagerApprovedAmountParams) => `${manager} approved ${amount}`,
payerSettled: ({amount}: PayerSettledParams) => `paid ${amount}`,
payerSettledWithMissingBankAccount: ({amount}: PayerSettledParams) => `paid ${amount}. Add a bank account to receive your payment.`,
automaticallyApprovedAmount: ({amount}: ApprovedAmountParams) =>
`automatically approved ${amount} via <a href="${CONST.CONFIGURE_REIMBURSEMENT_SETTINGS_HELP_URL}">workspace rules</a>`,
approvedAmount: ({amount}: ApprovedAmountParams) => `approved ${amount}`,
unapprovedAmount: ({amount}: UnapprovedParams) => `unapproved ${amount}`,
automaticallyForwardedAmount: ({amount}: ForwardedAmountParams) =>
`automatically approved ${amount} via <a href="${CONST.CONFIGURE_REIMBURSEMENT_SETTINGS_HELP_URL}">workspace rules</a>`,
forwardedAmount: ({amount}: ForwardedAmountParams) => `approved ${amount}`,
rejectedThisReport: 'rejected this report',
waitingOnBankAccount: ({submitterDisplayName}: WaitingOnBankAccountParams) => `started settling up. Payment is on hold until ${submitterDisplayName} adds a bank account.`,
adminCanceledRequest: ({manager, amount}: AdminCanceledRequestParams) => `${manager ? `${manager}: ` : ''}cancelled the ${amount} payment.`,
canceledRequest: ({amount, submitterDisplayName}: CanceledRequestParams) =>
`canceled the ${amount} payment, because ${submitterDisplayName} did not enable their Expensify Wallet within 30 days`,
settledAfterAddedBankAccount: ({submitterDisplayName, amount}: SettledAfterAddedBankAccountParams) =>
`${submitterDisplayName} added a bank account. The ${amount} payment has been made.`,
paidElsewhereWithAmount: ({payer, amount}: PaidElsewhereWithAmountParams) => `${payer ? `${payer} ` : ''}paid ${amount} elsewhere`,
paidWithExpensifyWithAmount: ({payer, amount}: PaidWithExpensifyWithAmountParams) => `${payer ? `${payer} ` : ''}paid ${amount} with Expensify`,
automaticallyPaidWithExpensify: ({payer, amount}: PaidWithExpensifyWithAmountParams) =>
`${payer ? `${payer} ` : ''}automatically paid ${amount} with Expensify via <a href="${CONST.CONFIGURE_REIMBURSEMENT_SETTINGS_HELP_URL}">workspace rules</a>`,
noReimbursableExpenses: 'This report has an invalid amount',
pendingConversionMessage: "Total will update when you're back online",
changedTheExpense: 'changed the expense',
setTheRequest: ({valueName, newValueToDisplay}: SetTheRequestParams) => `the ${valueName} to ${newValueToDisplay}`,
setTheDistanceMerchant: ({translatedChangedField, newMerchant, newAmountToDisplay}: SetTheDistanceMerchantParams) =>
`set the ${translatedChangedField} to ${newMerchant}, which set the amount to ${newAmountToDisplay}`,
removedTheRequest: ({valueName, oldValueToDisplay}: RemovedTheRequestParams) => `the ${valueName} (previously ${oldValueToDisplay})`,
updatedTheRequest: ({valueName, newValueToDisplay, oldValueToDisplay}: UpdatedTheRequestParams) => `the ${valueName} to ${newValueToDisplay} (previously ${oldValueToDisplay})`,
updatedTheDistanceMerchant: ({translatedChangedField, newMerchant, oldMerchant, newAmountToDisplay, oldAmountToDisplay}: UpdatedTheDistanceMerchantParams) =>
`changed the ${translatedChangedField} to ${newMerchant} (previously ${oldMerchant}), which updated the amount to ${newAmountToDisplay} (previously ${oldAmountToDisplay})`,
threadExpenseReportName: ({formattedAmount, comment}: ThreadRequestReportNameParams) => `${formattedAmount} ${comment ? `for ${comment}` : 'expense'}`,
threadTrackReportName: ({formattedAmount, comment}: ThreadRequestReportNameParams) => `Tracking ${formattedAmount} ${comment ? `for ${comment}` : ''}`,
threadPaySomeoneReportName: ({formattedAmount, comment}: ThreadSentMoneyReportNameParams) => `${formattedAmount} sent${comment ? ` for ${comment}` : ''}`,
tagSelection: 'Select a tag to better organize your spend.',
categorySelection: 'Select a category to better organize your spend.',
error: {
invalidCategoryLength: 'The category name exceeds 255 characters. Please shorten it or choose a different category.',
invalidAmount: 'Please enter a valid amount before continuing.',
invalidTaxAmount: ({amount}: RequestAmountParams) => `Maximum tax amount is ${amount}`,
invalidSplit: 'The sum of splits must equal the total amount.',
invalidSplitParticipants: 'Please enter an amount greater than zero for at least two participants.',
invalidSplitYourself: 'Please enter a non-zero amount for your split.',
noParticipantSelected: 'Please select a participant.',
other: 'Unexpected error. Please try again later.',
genericCreateFailureMessage: 'Unexpected error submitting this expense. Please try again later.',
genericCreateInvoiceFailureMessage: 'Unexpected error sending this invoice. Please try again later.',
genericHoldExpenseFailureMessage: 'Unexpected error holding this expense. Please try again later.',
genericUnholdExpenseFailureMessage: 'Unexpected error taking this expense off hold. Please try again later.',
receiptDeleteFailureError: 'Unexpected error deleting this receipt. Please try again later.',
receiptFailureMessage: "The receipt didn't upload.",
// eslint-disable-next-line rulesdir/use-periods-for-error-messages
saveFileMessage: 'Download the file ',
loseFileMessage: 'or dismiss this error and lose it.',
genericDeleteFailureMessage: 'Unexpected error deleting this expense. Please try again later.',
genericEditFailureMessage: 'Unexpected error editing this expense. Please try again later.',
genericSmartscanFailureMessage: 'Transaction is missing fields.',
duplicateWaypointsErrorMessage: 'Please remove duplicate waypoints.',
atLeastTwoDifferentWaypoints: 'Please enter at least two different addresses.',
splitExpenseMultipleParticipantsErrorMessage: 'An expense cannot be split between a workspace and other members. Please update your selection.',
invalidMerchant: 'Please enter a correct merchant.',
},
waitingOnEnabledWallet: ({submitterDisplayName}: WaitingOnBankAccountParams) => `started settling up. Payment is on hold until ${submitterDisplayName} enables their wallet.`,
enableWallet: 'Enable wallet',
hold: 'Hold',
unhold: 'Unhold',
holdExpense: 'Hold expense',
unholdExpense: 'Unhold expense',
heldExpense: 'held this expense',
unheldExpense: 'unheld this expense',
explainHold: "Explain why you're holding this expense.",
reason: 'Reason',
holdReasonRequired: 'A reason is required when holding.',
expenseOnHold: 'This expense was put on hold. Please review the comments for next steps.',
expensesOnHold: 'All expenses were put on hold. Please review the comments for next steps.',
expenseDuplicate: 'This expense has the same details as another one. Please review the duplicates to remove the hold.',
someDuplicatesArePaid: 'Some of these duplicates have been approved or paid already.',
reviewDuplicates: 'Review duplicates',
keepAll: 'Keep all',
confirmApprove: 'Confirm approval amount',
confirmApprovalAmount: 'Approve only compliant expenses, or approve the entire report.',
confirmApprovalAllHoldAmount: () => ({
one: 'This expense is on hold. Do you want to approve anyway?',
other: 'These expenses are on hold. Do you want to approve anyway?',
}),