You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Whether to show receipt audit result (e.g.`Verified`, `Issue Found`) and messages (e.g. `Receipt not verified. Please confirm accuracy.`)
301
-
// `!!(receiptViolations.length || didReceiptScanSucceed)` is for not showing `Verified` when `receiptViolations` is empty and `didReceiptScanSucceed` is false.
// Whether to show receipt audit result (e.g.`Verified`, `Issue Found`) and messages (e.g. `Receipt not verified. Please confirm accuracy.`)
314
+
// `!!(receiptViolations.length || didReceiptScanSucceed)` is for not showing `Verified` when `receiptViolations` is empty and `didReceiptScanSucceed` is false.
@@ -462,6 +489,7 @@ function MoneyRequestReceiptView({
462
489
<ReceiptAudit
463
490
notes={receiptViolations}
464
491
shouldShowAuditResult={!!shouldShowAuditMessage}
492
+
hasReceiptUploadError={hasReceiptUploadError}
465
493
/>
466
494
</OfflineWithFeedback>
467
495
)}
@@ -620,11 +648,11 @@ function MoneyRequestReceiptView({
620
648
)}
621
649
{/* For WideRHP (fillSpace is true), we need to wait for the image to load to get the correct size, then display the violation message to avoid the jumping issue.
622
650
Otherwise (when fillSpace is false), we use a fixed size, so there's no need to wait for the image to load. */}
'<rbr>Beim Hochladen deiner Quittung ist ein Fehler aufgetreten. Bitte <a href="download">speichere die Quittung</a> und <a href="retry">versuche es später erneut</a>.</rbr>',
1448
1448
receiptFailureMessageShort: 'Beim Hochladen Ihres Belegs ist ein Fehler aufgetreten.',
1449
+
receiptUploadFailedMessage: 'Beleg-Upload fehlgeschlagen. Speichere den Beleg oder lösche die Ausgabe und verliere sie.',
1450
+
saveReceipt: 'Beleg speichern',
1449
1451
genericDeleteFailureMessage: 'Unerwarteter Fehler beim Löschen dieses Belegs. Bitte versuche es später erneut.',
1450
1452
genericEditFailureMessage: 'Unerwarteter Fehler beim Bearbeiten dieser Ausgabe. Bitte versuche es später noch einmal.',
Copy file name to clipboardExpand all lines: src/languages/en.ts
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1500,6 +1500,8 @@ const translations = {
1500
1500
receiptDeleteFailureError: 'Unexpected error deleting this receipt. Please try again later.',
1501
1501
receiptFailureMessage: '<rbr>There was an error uploading your receipt. Please <a href="download">save the receipt</a> and <a href="retry">try again</a> later.</rbr>',
1502
1502
receiptFailureMessageShort: 'There was an error uploading your receipt.',
1503
+
receiptUploadFailedMessage: 'Receipt upload failed. Save the receipt, or delete the expense and lose it.',
1504
+
saveReceipt: 'Save receipt',
1503
1505
genericDeleteFailureMessage: 'Unexpected error deleting this expense. Please try again later.',
1504
1506
genericEditFailureMessage: 'Unexpected error editing this expense. Please try again later.',
1505
1507
genericSmartscanFailureMessage: 'Transaction is missing fields',
receiptDeleteFailureError: 'Error inesperado al borrar este recibo. Por favor, vuelve a intentarlo más tarde.',
1412
1412
receiptFailureMessage: '<rbr>Hubo un error al cargar tu recibo. Por favor, <a href="download">guarda el recibo</a> e <a href="retry">inténtalo de nuevo</a> más tarde.</rbr>',
1413
1413
receiptFailureMessageShort: 'Hubo un error al cargar tu recibo.',
1414
+
receiptUploadFailedMessage: 'Error al subir el recibo. Guarda el recibo, o elimina el gasto y piérdelo.',
1415
+
saveReceipt: 'Guardar recibo',
1414
1416
genericDeleteFailureMessage: 'Error inesperado al eliminar este gasto. Por favor, inténtalo más tarde.',
1415
1417
genericEditFailureMessage: 'Error inesperado al editar este gasto. Por favor, inténtalo más tarde.',
1416
1418
genericSmartscanFailureMessage: 'La transacción tiene campos vacíos',
0 commit comments