"""
Translation strings for the application.
These are used to generate .po files and provide translations.
"""
from django.utils.translation import gettext_lazy as _

# ==================== Common Messages ====================
MESSAGES = {
    # Success messages
    'success': _('Success'),
    'created_successfully': _('Created successfully'),
    'updated_successfully': _('Updated successfully'),
    'deleted_successfully': _('Deleted successfully'),

    # Error messages
    'error': _('Error'),
    'not_found': _('Not found'),
    'unauthorized': _('Unauthorized'),
    'forbidden': _('Forbidden'),
    'invalid_request': _('Invalid request'),
    'something_went_wrong': _('Something went wrong'),

    # Authentication
    'login_success': _('Login successful'),
    'logout_success': _('Logout successful'),
    'registration_success': _('Registration successful'),
    'invalid_credentials': _('Invalid credentials'),
    'email_already_exists': _('Email already exists'),
    'phone_already_exists': _('Phone number already exists'),
    'password_reset_sent': _('Password reset email sent'),
    'password_changed': _('Password changed successfully'),
    'email_verified': _('Email verified successfully'),
    'otp_sent': _('OTP sent successfully'),
    'otp_invalid': _('Invalid OTP'),
    'otp_expired': _('OTP has expired'),

    # Business
    'business_created': _('Business created successfully'),
    'business_updated': _('Business updated successfully'),
    'business_deleted': _('Business deleted successfully'),
    'business_not_found': _('Business not found'),
    'already_reviewed': _('You have already reviewed this business'),

    # Reviews
    'review_submitted': _('Review submitted successfully'),
    'review_updated': _('Review updated successfully'),
    'review_deleted': _('Review deleted successfully'),

    # Chat
    'message_sent': _('Message sent'),
    'chat_started': _('Chat started'),

    # Notifications
    'notification_marked_read': _('Notification marked as read'),
    'all_notifications_read': _('All notifications marked as read'),

    # Validation
    'field_required': _('This field is required'),
    'invalid_email': _('Invalid email address'),
    'invalid_phone': _('Invalid phone number'),
    'password_too_short': _('Password must be at least 8 characters'),
    'passwords_dont_match': _('Passwords do not match'),

    # General
    'welcome': _('Welcome'),
    'hello': _('Hello'),
    'yes': _('Yes'),
    'no': _('No'),
    'save': _('Save'),
    'cancel': _('Cancel'),
    'submit': _('Submit'),
    'loading': _('Loading...'),
    'search': _('Search'),
    'filter': _('Filter'),
    'sort': _('Sort'),
    'all': _('All'),
    'none': _('None'),
}

# ==================== Category Names ====================
CATEGORIES = {
    'restaurant': _('Restaurant'),
    'healthcare': _('Healthcare'),
    'automotive': _('Automotive'),
    'education': _('Education'),
    'retail': _('Retail'),
    'services': _('Services'),
    'technology': _('Technology'),
    'real_estate': _('Real Estate'),
    'beauty': _('Beauty & Wellness'),
    'home_services': _('Home Services'),
}
