<?php

/**
 * ADD-05 from the system analysis: the app was English-only with no lang/
 * directory at all. This is the mobile API's user-facing strings (what an
 * actual passenger/driver sees) — the slice most worth making translatable
 * first, since it's the one that reaches end users directly rather than
 * internal admin staff. Add a sibling lang/{locale}/api.php with the same
 * keys to support a new language; no code changes needed elsewhere.
 */
return [

    // Shared
    'no_driver_profile' => 'No driver profile linked to this account.',

    // Customer auth
    'registered' => 'Registered — check your email for a verification code.',
    'invalid_or_expired_code' => 'Invalid or expired code.',
    'otp_resent' => 'A new code has been sent.',
    'invalid_credentials' => 'Invalid credentials.',
    'email_not_verified' => 'Please verify your email before logging in.',
    'logged_out' => 'Logged out.',
    'reset_code_sent' => 'If that email is registered, a reset code has been sent.',
    'reset_link_sent' => 'If that email is registered, a reset link has been sent.',
    'password_updated_relogin' => 'Password updated — please log in.',
    'password_updated' => 'Password updated.',
    'driver_invalid_credentials' => 'Invalid credentials or no driver profile linked to this account.',

    // Addresses
    'address_removed' => 'Address removed.',

    // Device tokens
    'device_token_registered' => 'Device token registered.',
    'device_token_unregistered' => 'Device token unregistered.',

    // Bookings — customer side
    'booking_not_cancellable' => 'This booking can no longer be cancelled.',
    'no_driver_assigned_yet' => 'No driver assigned yet.',
    'driver_not_on_shift' => 'Driver is not currently on shift.',
    'already_rated' => 'You have already rated this trip.',
    'rate_completed_only' => 'You can only rate a completed trip.',
    'no_driver_to_rate' => 'This booking has no driver to rate.',
    'no_passenger_to_rate' => 'This booking has no passenger to rate.',
    'payment_not_available' => 'Card payment is not available for this company.',
    'payment_start_failed' => 'Could not start payment: :reason',

    // Bookings — driver side
    'job_not_cancellable' => 'This job can no longer be cancelled.',
    'job_transition_invalid' => 'This job must be :from before it can be marked :to.',
    'driver_already_has_future_job' => 'Driver already has more jobs queued — cannot assign another until one is freed up.',

    // Shifts
    'no_active_shift_to_end' => 'No active shift to end.',
    'no_active_shift' => 'No active shift.',
    'shift_ended' => 'Shift ended.',

];
