From 9028e0b631ffabbd1c33d8dc17deca60e050bac9 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Wed, 16 Dec 2020 16:07:24 -0800 Subject: [PATCH] Added missing translations on jobline upsert IO-472 --- bodyshop_translations.babel | 21 +++++++++++++++++++ .../job-lines-upsert-modal.component.jsx | 6 +++--- 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, 27 insertions(+), 3 deletions(-) diff --git a/bodyshop_translations.babel b/bodyshop_translations.babel index b17a11aff..a940cb29f 100644 --- a/bodyshop_translations.babel +++ b/bodyshop_translations.babel @@ -12273,6 +12273,27 @@ + + requiredifparttype + false + + + + + + en-US + false + + + es-MX + false + + + fr-CA + false + + + zeropriceexistingpart false diff --git a/client/src/components/job-lines-upsert-modal/job-lines-upsert-modal.component.jsx b/client/src/components/job-lines-upsert-modal/job-lines-upsert-modal.component.jsx index a6a60d98a..abd0d70c0 100644 --- a/client/src/components/job-lines-upsert-modal/job-lines-upsert-modal.component.jsx +++ b/client/src/components/job-lines-upsert-modal/job-lines-upsert-modal.component.jsx @@ -151,7 +151,7 @@ export default function JobLinesUpsertModalComponent({ return Promise.resolve(); } return Promise.reject( - t("joblines.validation.hrsrequirediflbrtyp") + t("joblines.validations.hrsrequirediflbrtyp") ); }, }), @@ -175,7 +175,7 @@ export default function JobLinesUpsertModalComponent({ return Promise.resolve(); } return Promise.reject( - t("joblines.validation.requiredifparttype") + t("joblines.validations.requiredifparttype") ); }, }), @@ -206,7 +206,7 @@ export default function JobLinesUpsertModalComponent({ return Promise.resolve(); } return Promise.reject( - t("joblines.validation.requiredifparttype") + t("joblines.validations.requiredifparttype") ); }, }), diff --git a/client/src/translations/en_us/common.json b/client/src/translations/en_us/common.json index 3ea59cdea..cf3a9b112 100644 --- a/client/src/translations/en_us/common.json +++ b/client/src/translations/en_us/common.json @@ -802,6 +802,7 @@ }, "validations": { "hrsrequirediflbrtyp": "Labor hours are required if a labor type is selected. Clear the labor type if there are no labor hours.", + "requiredifparttype": "Required if a part type has been specified.", "zeropriceexistingpart": "This line cannot have any price since it uses an existing part." } }, diff --git a/client/src/translations/es/common.json b/client/src/translations/es/common.json index f67de2e97..33a07d688 100644 --- a/client/src/translations/es/common.json +++ b/client/src/translations/es/common.json @@ -802,6 +802,7 @@ }, "validations": { "hrsrequirediflbrtyp": "", + "requiredifparttype": "", "zeropriceexistingpart": "" } }, diff --git a/client/src/translations/fr/common.json b/client/src/translations/fr/common.json index 436351bf6..332fe599e 100644 --- a/client/src/translations/fr/common.json +++ b/client/src/translations/fr/common.json @@ -802,6 +802,7 @@ }, "validations": { "hrsrequirediflbrtyp": "", + "requiredifparttype": "", "zeropriceexistingpart": "" } },