update code of dash and report of cont_client and devlp abstract of qty
This commit is contained in:
@@ -1,17 +1,65 @@
|
||||
class SuccessMessage:
|
||||
FETCHED = "Data fetched successfully"
|
||||
CREATED = "Resource created successfully"
|
||||
UPDATED = "Resource updated successfully"
|
||||
DELETED = "Resource deleted successfully"
|
||||
LOGIN = "Login successful"
|
||||
LOGOUT = "Logout successful"
|
||||
FETCHED = "Data fetched successfully."
|
||||
CREATED = "Resource created successfully."
|
||||
UPDATED = "Resource updated successfully."
|
||||
DELETED = "Resource deleted successfully."
|
||||
|
||||
SAVED = "Data saved successfully."
|
||||
IMPORTED = "Data imported successfully."
|
||||
EXPORTED = "Data exported successfully."
|
||||
UPLOADED = "File uploaded successfully."
|
||||
DOWNLOADED = "File downloaded successfully."
|
||||
|
||||
LOGIN = "Login successful."
|
||||
LOGOUT = "Logout successful."
|
||||
PASSWORD_CHANGED = "Password changed successfully."
|
||||
PASSWORD_RESET = "Password reset successfully."
|
||||
|
||||
EMAIL_SENT = "Email sent successfully."
|
||||
STATUS_UPDATED = "Status updated successfully."
|
||||
|
||||
|
||||
class ErrorMessage:
|
||||
INVALID_REQUEST = "Invalid request data"
|
||||
UNAUTHORIZED = "Unauthorized access"
|
||||
FORBIDDEN = "Access forbidden"
|
||||
NOT_FOUND = "Resource not found"
|
||||
VALIDATION_FAILED = "Validation failed"
|
||||
INTERNAL_ERROR = "Internal server error"
|
||||
DUPLICATE_ENTRY = "Duplicate record found"
|
||||
INVALID_REQUEST = "Invalid request."
|
||||
INVALID_DATA = "Invalid data provided."
|
||||
VALIDATION_FAILED = "Validation failed."
|
||||
|
||||
UNAUTHORIZED = "Unauthorized access."
|
||||
FORBIDDEN = "Access denied."
|
||||
NOT_FOUND = "Resource not found."
|
||||
METHOD_NOT_ALLOWED = "Method not allowed."
|
||||
|
||||
DUPLICATE_ENTRY = "Duplicate record found."
|
||||
RECORD_EXISTS = "Record already exists."
|
||||
RECORD_NOT_FOUND = "Record does not exist."
|
||||
|
||||
FILE_NOT_FOUND = "File not found."
|
||||
FILE_UPLOAD_FAILED = "File upload failed."
|
||||
FILE_IMPORT_FAILED = "File import failed."
|
||||
|
||||
DATABASE_ERROR = "Database operation failed."
|
||||
INTERNAL_SERVER_ERROR = "Internal server error."
|
||||
SERVICE_UNAVAILABLE = "Service temporarily unavailable."
|
||||
|
||||
LOGIN_FAILED = "Invalid username or password."
|
||||
SESSION_EXPIRED = "Session expired. Please login again."
|
||||
|
||||
PASSWORD_MISMATCH = "Passwords do not match."
|
||||
INVALID_TOKEN = "Invalid or expired token."
|
||||
|
||||
|
||||
class WarningMessage:
|
||||
NO_DATA_FOUND = "No data found."
|
||||
ALREADY_EXISTS = "Record already exists."
|
||||
UNSAVED_CHANGES = "You have unsaved changes."
|
||||
DELETE_CONFIRMATION = "Are you sure you want to delete the selected record(s)?"
|
||||
INVALID_FILTER = "No records match the selected filters."
|
||||
|
||||
|
||||
class InfoMessage:
|
||||
PROCESSING = "Request is being processed."
|
||||
LOADING = "Loading data..."
|
||||
SAVING = "Saving data..."
|
||||
DELETING = "Deleting record..."
|
||||
IMPORTING = "Importing data..."
|
||||
EXPORTING = "Preparing export..."
|
||||
Reference in New Issue
Block a user