From 6dcae2f954a88d0e3163639f342cbc8c91be3dc5 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Mon, 22 Mar 2021 11:03:18 -0700 Subject: [PATCH] IO-789 Missed translation update for parts order receive. --- bodyshop_translations.babel | 21 +++++++++++++++++++ .../parts-receive-modal.container.jsx | 4 +--- client/src/translations/en_us/common.json | 1 + client/src/translations/es/common.json | 1 + client/src/translations/fr/common.json | 1 + 5 files changed, 25 insertions(+), 3 deletions(-) diff --git a/bodyshop_translations.babel b/bodyshop_translations.babel index 74c41de5e..67c7f628d 100644 --- a/bodyshop_translations.babel +++ b/bodyshop_translations.babel @@ -24744,6 +24744,27 @@ + + received + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + return_created false diff --git a/client/src/components/parts-receive-modal/parts-receive-modal.container.jsx b/client/src/components/parts-receive-modal/parts-receive-modal.container.jsx index 185ee8b39..a5ff96e71 100644 --- a/client/src/components/parts-receive-modal/parts-receive-modal.container.jsx +++ b/client/src/components/parts-receive-modal/parts-receive-modal.container.jsx @@ -68,9 +68,7 @@ export function PartsReceiveModalContainer({ }); notification["success"]({ - message: values.isReturn - ? t("parts_orders.successes.return_created") - : t("parts_orders.successes.created"), + message: t("parts_orders.successes.received"), }); if (refetch) refetch(); diff --git a/client/src/translations/en_us/common.json b/client/src/translations/en_us/common.json index f1b5f4069..d83a85e54 100644 --- a/client/src/translations/en_us/common.json +++ b/client/src/translations/en_us/common.json @@ -1491,6 +1491,7 @@ }, "successes": { "created": "Parts order created successfully. ", + "received": "Parts order received.", "return_created": "Parts return created successfully." } }, diff --git a/client/src/translations/es/common.json b/client/src/translations/es/common.json index 7b9b58d0f..eabf85221 100644 --- a/client/src/translations/es/common.json +++ b/client/src/translations/es/common.json @@ -1491,6 +1491,7 @@ }, "successes": { "created": "Pedido de piezas creado con éxito.", + "received": "", "return_created": "" } }, diff --git a/client/src/translations/fr/common.json b/client/src/translations/fr/common.json index fc223467f..bc41c3d7d 100644 --- a/client/src/translations/fr/common.json +++ b/client/src/translations/fr/common.json @@ -1491,6 +1491,7 @@ }, "successes": { "created": "Commande de pièces créée avec succès.", + "received": "", "return_created": "" } },