<?php

// Update-progress page strings (R16). Used by resources/views/update-progress.blade.php.
return [
    'page_title' => 'Update in progress — Clusev',
    'heading' => 'Update in progress',
    'subtitle' => 'The stack is rebuilding. This page will automatically detect when it is back up.',

    // Phase labels (displayed in the checklist)
    'phase_fetch' => 'Fetching update',
    'phase_build' => 'Building image',
    'phase_migrate' => 'Migrating database',
    'phase_restart' => 'Restarting services',

    // Status messages
    'elapsed' => 'Elapsed time',
    'done_heading' => 'Done — reloading…',
    'timeout_heading' => 'Update is taking unusually long',
    'timeout_hint' => 'Please reload the page manually or check the logs (journalctl -u clusev-update.service).',
    'reload_button' => 'Reload',

    // Error — the host updater exited non-zero (git pull, build or migrate failed) or timed out.
    'error_heading' => 'Update failed',
    'error_hint' => 'The stack could not be updated — your previous version is still running. Check the host log for the cause (journalctl -u clusev-update.service, or run/update.log), fix it, then re-trigger the update from the dashboard.',
    'back_button' => 'Back',
    'phases_aria' => 'Update phases',
];
