<?php

// Services (systemd) page strings (R16). Shared buttons live in common.php.
return [
    // Header / overview
    'eyebrow' => 'Services',
    'heading' => 'Services',
    'fleet_active' => ':active / :total active',

    // systemd panel
    'panel_title' => 'systemd services',
    'panel_subtitle' => ':total units · :server',
    'search_label' => 'Search services',
    'search_placeholder' => 'Search service…',

    // Service status labels (status triad)
    'status_online' => 'active',
    'status_warning' => 'degraded',
    'status_offline' => 'stopped',

    // Service actions
    'start' => 'Start',
    'stop' => 'Stop',
    'restart' => 'Restart',

    // Empty state
    'empty_title' => 'No service found',
    'empty_hint' => 'Search “:search” returned no matches.',

    // Journal panel
    'journal_title' => 'Journal',
    'journal_subtitle' => 'journalctl · :server',
    'journal_live' => 'live',
    'journal_follow' => 'Live · auto-refresh · :count lines',

    // Confirm modal — operations
    'confirm_start_heading' => 'Start service',
    'confirm_start_phrase' => 'will be started',
    'confirm_start_label' => 'Start',
    'confirm_stop_heading' => 'Stop service',
    'confirm_stop_phrase' => 'will be stopped',
    'confirm_stop_label' => 'Stop',
    'confirm_restart_heading' => 'Restart service',
    'confirm_restart_phrase' => 'will be restarted',
    'confirm_restart_label' => 'Restart',
    'confirm_body' => ':name :phrase. Executed via systemctl on :server.',
    'confirm_notify' => ':name: :label executed.',

    // Action results / notifications
    'action_error' => ':name: :error',
    'action_done' => ':name: :op executed.',
    'action_failed' => ':name: failed — :output',
    'no_permission' => 'no permission',

    // Page title
    'title' => 'Services — Clusev',
];
