feat add localization again.

This commit is contained in:
elforjani13
2021-11-09 16:39:13 +02:00
parent acf457c0a0
commit 5fcf32dcaa
3 changed files with 10 additions and 8 deletions

View File

@@ -119,14 +119,12 @@ function NotifyViaSMSAlerts({ calloutCodes }) {
return [ return [
includes(calloutCodes, 100) && ( includes(calloutCodes, 100) && (
<Callout icon={null} intent={Intent.DANGER}> <Callout icon={null} intent={Intent.DANGER}>
The customer phone number does not eixst, please enter a personal phone {intl.get('notify_Via_sms.dialog.customer_phone_number_does_not_eixst')}
number to the customer.
</Callout> </Callout>
), ),
includes(calloutCodes, 200) && ( includes(calloutCodes, 200) && (
<Callout icon={null} intent={Intent.DANGER}> <Callout icon={null} intent={Intent.DANGER}>
The customer phone number is invalid, please enter a valid personal {intl.get('notify_Via_sms.dialog.customer_phone_number_invalid')}
phone number to the customer.
</Callout> </Callout>
), ),
]; ];

View File

@@ -1445,6 +1445,8 @@
"notify_via_sms.dialog.notification_type": "Notification type", "notify_via_sms.dialog.notification_type": "Notification type",
"notify_via_sms.dialog.notify_via_sms":"Notify vis SMS", "notify_via_sms.dialog.notify_via_sms":"Notify vis SMS",
"notiify_via_sms.dialog.sms_note": "<strong>Note :</strong> One SMS unit can contain amaximum of 160 characters. <strong>{value}</strong> SMS units will be used to send this SMS notification.", "notiify_via_sms.dialog.sms_note": "<strong>Note :</strong> One SMS unit can contain amaximum of 160 characters. <strong>{value}</strong> 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.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_via_sms.dialog.customer_no_phone_error_message":"الزبون ليس لديه رقم هاتف.",
"notify_invoice_via_sms.dialog.success_message":"The sale invoice sms notification has been sent successfully", "notify_invoice_via_sms.dialog.success_message":"The sale invoice sms notification has been sent successfully",

View File

@@ -1432,6 +1432,8 @@
"notify_via_sms.dialog.notification_type": "Notification type", "notify_via_sms.dialog.notification_type": "Notification type",
"notify_via_sms.dialog.notify_via_sms": "Notify vis SMS", "notify_via_sms.dialog.notify_via_sms": "Notify vis SMS",
"notiify_via_sms.dialog.sms_note": "<strong>Note :</strong> One SMS unit can contain amaximum of 160 characters. <strong>{value}</strong> SMS units will be used to send this SMS notification.", "notiify_via_sms.dialog.sms_note": "<strong>Note :</strong> One SMS unit can contain amaximum of 160 characters. <strong>{value}</strong> 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.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_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.", "notify_invoice_via_sms.dialog.success_message": "The sale invoice sms notification has been sent successfully.",