diff --git a/src/components/FacilityGeoPointModal.vue b/src/components/FacilityGeoPointModal.vue index 47587b87..468797f1 100644 --- a/src/components/FacilityGeoPointModal.vue +++ b/src/components/FacilityGeoPointModal.vue @@ -122,8 +122,8 @@ export default defineComponent({ throw resp.data } } catch(err) { - showToast(translate("Failed to generate latitude and longitude.")) - logger.error(err) + showToast(translate("Unable to find the latitude and longitude for the entered zip code.")) + logger.error('Unable to find the latitude and longitude for the entered zip code.', err) } this.isGeneratingLatLong = false }, diff --git a/src/locales/en.json b/src/locales/en.json index 98d20039..f82fc89b 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -84,7 +84,6 @@ "Failed to fetch facility information": "Failed to fetch facility information", "Failed to fetch shopify shops.": "Failed to fetch shopify shops.", "Failed to find the facility locations": "Failed to find the facility locations", - "Failed to generate latitude and longitude.": "Failed to generate latitude and longitude.", "Failed to make product store as primary.": "Failed to make product store as primary.", "Failed to make product store primary.": "Failed to make product store primary.", "Failed to regenerate latitude and longitude for the facility.": "Failed to regenerate latitude and longitude for the facility.", @@ -239,6 +238,7 @@ "Timezone": "Timezone", "Tuesday": "Tuesday", "Type": "Type", + "Unable to find the latitude and longitude for the entered zip code.": "Unable to find the latitude and longitude for the entered zip code.", "Unlimited": "Unlimited", "Unlimited Capacity": "Unlimited Capacity", "Unlimited capacity removes the fulfillment capacity limit entirely. To add a fulfillment capacity to this facility, use the custom option.": "Unlimited capacity removes the fulfillment capacity limit entirely. To add a fulfillment capacity to this facility, use the custom option.", diff --git a/src/views/AddFacilityAddress.vue b/src/views/AddFacilityAddress.vue index 14a89580..8508e095 100644 --- a/src/views/AddFacilityAddress.vue +++ b/src/views/AddFacilityAddress.vue @@ -222,8 +222,8 @@ export default defineComponent({ throw resp.data } } catch (error) { - showToast(translate("Failed to generate latitude and longitude.")) - logger.error("Failed to generate latitude and longitude.", error) + showToast(translate("Unable to find the latitude and longitude for the entered zip code.")) + logger.error("Unable to find the latitude and longitude for the entered zip code.", error) } }, async updateState(event: CustomEvent) {