diff --git a/src/frontend/src/icp/services/ic-send.services.ts b/src/frontend/src/icp/services/ic-send.services.ts index 1361b6337c..3f30c4a781 100644 --- a/src/frontend/src/icp/services/ic-send.services.ts +++ b/src/frontend/src/icp/services/ic-send.services.ts @@ -101,7 +101,7 @@ const sendIcrc = async ({ // UI validates addresses and disable form if not compliant. Therefore, this issue should unlikely happen. if (!validIcrcAddress) { - throw new Error(get(i18n).send.error.invalid_address); + throw new Error(get(i18n).send.error.invalid_destination); } progress(SendIcStep.SEND); @@ -125,7 +125,7 @@ const sendIcp = async ({ // UI validates addresses and disable form if not compliant. Therefore, this issue should unlikely happen. if (!validIcrcAddress && !validIcpAddress) { - throw new Error(get(i18n).send.error.invalid_address); + throw new Error(get(i18n).send.error.invalid_destination); } progress(SendIcStep.SEND); diff --git a/src/frontend/src/lib/i18n/en.json b/src/frontend/src/lib/i18n/en.json index f50fe86f43..ef91da4117 100644 --- a/src/frontend/src/lib/i18n/en.json +++ b/src/frontend/src/lib/i18n/en.json @@ -242,7 +242,7 @@ "erc20_data_undefined": "Erc20 transaction Data cannot be undefined or null.", "data_undefined": "Transaction Data cannot be undefined or null.", "no_identity_calculate_fee": "No identity provided to calculate the fee for its principal.", - "invalid_address": "The address is invalid. Please try again with a valid address identifier." + "invalid_destination": "The destination is invalid. Please try again with a valid wallet address or destination." } }, "convert": { diff --git a/src/frontend/src/lib/types/i18n.d.ts b/src/frontend/src/lib/types/i18n.d.ts index a4567107f9..b193c511a2 100644 --- a/src/frontend/src/lib/types/i18n.d.ts +++ b/src/frontend/src/lib/types/i18n.d.ts @@ -216,7 +216,7 @@ interface I18nSend { erc20_data_undefined: string; data_undefined: string; no_identity_calculate_fee: string; - invalid_address: string; + invalid_destination: string; }; }