diff --git a/src/containers/NotifyViaSMS/NotifyViaSMSForm.js b/src/containers/NotifyViaSMS/NotifyViaSMSForm.js index aec773b22..2f9721669 100644 --- a/src/containers/NotifyViaSMS/NotifyViaSMSForm.js +++ b/src/containers/NotifyViaSMS/NotifyViaSMSForm.js @@ -119,14 +119,12 @@ function NotifyViaSMSAlerts({ calloutCodes }) { return [ includes(calloutCodes, 100) && ( - The customer phone number does not eixst, please enter a personal phone - number to the customer. + {intl.get('notify_Via_sms.dialog.customer_phone_number_does_not_eixst')} ), includes(calloutCodes, 200) && ( - The customer phone number is invalid, please enter a valid personal - phone number to the customer. + {intl.get('notify_Via_sms.dialog.customer_phone_number_invalid')} ), ]; diff --git a/src/lang/ar/index.json b/src/lang/ar/index.json index ab17a8691..2cded970e 100644 --- a/src/lang/ar/index.json +++ b/src/lang/ar/index.json @@ -1445,6 +1445,8 @@ "notify_via_sms.dialog.notification_type": "Notification type", "notify_via_sms.dialog.notify_via_sms":"Notify vis SMS", "notiify_via_sms.dialog.sms_note": "Note : One SMS unit can contain amaximum of 160 characters. {value} SMS units will be used to send this SMS notification.", + "notify_Via_sms.dialog.customer_phone_number_does_not_eixst": "The customer phone number does not eixst, please enter a personal phone number to the customer.", + "notify_Via_sms.dialog.customer_phone_number_invalid": "The customer phone number is invalid, please enter a valid personal phone number to the customer.", "notify_via_sms.dialog.phone_invalid_error_message":"Sms notification cannot be sent, customer personal phone number is invalid, please enter a valid one and try again.", "notify_via_sms.dialog.customer_no_phone_error_message":"الزبون ليس لديه رقم هاتف.", "notify_invoice_via_sms.dialog.success_message":"The sale invoice sms notification has been sent successfully", diff --git a/src/lang/en/index.json b/src/lang/en/index.json index 83d78e1a7..95c5da654 100644 --- a/src/lang/en/index.json +++ b/src/lang/en/index.json @@ -1432,6 +1432,8 @@ "notify_via_sms.dialog.notification_type": "Notification type", "notify_via_sms.dialog.notify_via_sms": "Notify vis SMS", "notiify_via_sms.dialog.sms_note": "Note : One SMS unit can contain amaximum of 160 characters. {value} SMS units will be used to send this SMS notification.", + "notify_Via_sms.dialog.customer_phone_number_does_not_eixst": "The customer phone number does not eixst, please enter a personal phone number to the customer.", + "notify_Via_sms.dialog.customer_phone_number_invalid": "The customer phone number is invalid, please enter a valid personal phone number to the customer.", "notify_via_sms.dialog.phone_invalid_error_message": "Sms notification cannot be sent, customer personal phone number is invalid, please enter a valid one and try again.", "notify_via_sms.dialog.customer_no_phone_error_message": "The customer has no phone number.", "notify_invoice_via_sms.dialog.success_message": "The sale invoice sms notification has been sent successfully.", @@ -1445,14 +1447,14 @@ "sms_messages.label_mesage": "Message", "sms_messages.label_auto": "Auto", "sms_messages.label_edit_message": "Edit message", - "sms_messages.notification_switch_change_success_message":"SMS notification hs been enabled successfully.", + "sms_messages.notification_switch_change_success_message": "SMS notification hs been enabled successfully.", "sms_message.dialog.label": "SMS message", "sms_message.dialog.sms_note": "Note : One SMS unit can contain amaximum of 160 characters. {value} SMS units will be used to send this SMS notification.", "sms_message.dialog.success_message": "Sms notification settings has been updated successfully.", "sms_message.dialog.unsupported_variables_error_message": "Unsupported variables", - "sms_message.dialog.message_variable_description":"{value} References to the current company name.", + "sms_message.dialog.message_variable_description": "{value} References to the current company name.", "edit_message_text": "Edit message text", "enable_notification": "Enable notification", - "send_sms":"Send SMS", - "save_sms_message":"Save SMS Message" + "send_sms": "Send SMS", + "save_sms_message": "Save SMS Message" } \ No newline at end of file