clusev/lang/en/commands.php

51 lines
1.5 KiB
PHP

<?php
return [
'eyebrow' => 'Fleet',
'title' => 'Commands',
'subtitle' => 'Run a command or runbook across the fleet',
// Ad-hoc
'adhoc_title' => 'Ad-hoc command',
'command_label' => 'Command',
'command_placeholder' => 'e.g. uptime, systemctl status nginx …',
'scope_label' => 'Target',
'scope_all' => 'Whole fleet',
'scope_group' => 'Group',
'scope_servers' => 'Selection',
'target_group_label' => 'Group',
'target_servers_label' => 'Servers',
'run' => 'Run',
// Results
'results_title' => 'Result',
'no_results' => 'No run yet.',
'exit_ok' => 'OK',
'exit_fail' => 'Failed',
// Runbooks
'runbooks_title' => 'Runbooks',
'new_runbook' => 'New runbook',
'runbook_name_label' => 'Name',
'runbook_command_label' => 'Command',
'create' => 'Save',
'no_runbooks_title' => 'No runbooks',
'no_runbooks' => 'No saved commands yet.',
// Confirm run
'confirm_heading' => 'Run command',
'confirm_body' => 'Run on :count server(s): “:command”?',
'n_servers' => '{1}:count server|[2,*]:count servers',
// Delete runbook
'delete_heading' => 'Delete runbook',
'delete_body' => 'The runbook “:name” will be deleted.',
// Toasts / validation
'ran' => ':ok/:total servers succeeded.',
'runbook_created' => 'Runbook “:name” saved.',
'runbook_deleted' => 'Runbook “:name” deleted.',
'command_required' => 'Please enter a command.',
'no_targets' => 'No servers in target (with an active credential).',
];