diff --git a/bodyshop_translations.babel b/bodyshop_translations.babel index da8ef0d73..bf1fcf3a3 100644 --- a/bodyshop_translations.babel +++ b/bodyshop_translations.babel @@ -2333,6 +2333,27 @@ + + exported + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + diff --git a/client/src/components/payable-export-all-button/payable-export-all-button.component.jsx b/client/src/components/payable-export-all-button/payable-export-all-button.component.jsx index c3645b741..635695550 100644 --- a/client/src/components/payable-export-all-button/payable-export-all-button.component.jsx +++ b/client/src/components/payable-export-all-button/payable-export-all-button.component.jsx @@ -98,11 +98,11 @@ export function PayableExportAll({ }); if (!!!billUpdateResponse.errors) { notification["success"]({ - message: t("jobs.successes.exported"), + message: t("bills.successes.exported"), }); } else { notification["error"]({ - message: t("jobs.errors.exporting", { + message: t("bills.errors.exporting", { error: JSON.stringify(billUpdateResponse.error), }), }); diff --git a/client/src/translations/en_us/common.json b/client/src/translations/en_us/common.json index e25f18194..610d544c6 100644 --- a/client/src/translations/en_us/common.json +++ b/client/src/translations/en_us/common.json @@ -155,7 +155,8 @@ }, "successes": { "created": "Invoice added successfully.", - "deleted": "Bill deleted successfully." + "deleted": "Bill deleted successfully.", + "exported": "Bill exported successfully." }, "validation": { "unique_invoice_number": "This invoice number has already been entered for this vendor." diff --git a/client/src/translations/es/common.json b/client/src/translations/es/common.json index d8c27751a..3b1c7c50f 100644 --- a/client/src/translations/es/common.json +++ b/client/src/translations/es/common.json @@ -155,7 +155,8 @@ }, "successes": { "created": "", - "deleted": "" + "deleted": "", + "exported": "" }, "validation": { "unique_invoice_number": "" diff --git a/client/src/translations/fr/common.json b/client/src/translations/fr/common.json index 6726893a1..1b1a1a413 100644 --- a/client/src/translations/fr/common.json +++ b/client/src/translations/fr/common.json @@ -155,7 +155,8 @@ }, "successes": { "created": "", - "deleted": "" + "deleted": "", + "exported": "" }, "validation": { "unique_invoice_number": ""