mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 19:59:20 +00:00
improvement: started translation of backend errors
This commit is contained in:
@@ -31,7 +31,6 @@ const messages = {
|
||||
auth: {
|
||||
toasts: {
|
||||
success: "Login successfully!",
|
||||
fail: "Authentication error. Please log in again",
|
||||
},
|
||||
},
|
||||
dashboard: {
|
||||
@@ -287,6 +286,16 @@ const messages = {
|
||||
message: "This action cannot be reverted.",
|
||||
},
|
||||
},
|
||||
backendErrors: {
|
||||
ERR_NO_WAPP_FOUND: "No default WhatsApp found. Check connections page.",
|
||||
ERR_INVALID_CREDENTIALS: "Authentication error. Please try again.",
|
||||
ERR_SENDING_WAPP_MSG:
|
||||
"Error sending WhatsApp message. Check connections page.",
|
||||
ERR_DELETE_WAPP_MSG:
|
||||
"Couldn't delete message from WhatsApp. Check connections page.",
|
||||
ERR_OTHER_OPEN_TICKET:
|
||||
"There's already an open or pending ticket for this contact.",
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user