Files
opensourcepos/app/Language/en/Jobs.php
T
objecttothis a725b5bfa7 fix(jobs): make throttle add/remove controls keyboard-accessible
Replace non-interactive span icons with real button elements so
throttle rows can be operated via keyboard and screen readers.

- app/Views/partial/job_throttles.php: swap add_throttle and
  remove_throttle spans for <button type="button"> elements,
  stripped of default border/background to preserve styling,
  with aria-label wired to new language strings.
- app/Language/en/Jobs.php: add add_throttle and remove_throttle
  labels used by the new aria-label attributes.

Signed-off-by: objecttothis <17935339+objecttothis@users.noreply.github.com>
2026-09-17 16:42:08 +04:00

35 lines
2.1 KiB
PHP

<?php
return [
'add_throttle' => 'Add throttle',
'mode' => 'Mode',
'mode_auto' => 'Auto (Cron / Task Scheduler)',
'mode_invalid' => 'Mode must be one of Auto, Web, or Manual.',
'mode_manual' => 'Manual',
'mode_web' => 'Web (No Cron Required)',
'not_yet_implemented' => 'Not yet implemented — available in a future release.',
'process_all_jobs' => 'Process All Jobs',
'process_selected_jobs' => 'Process Selected Jobs',
'remove_throttle' => 'Remove throttle',
'saved_successfully' => 'Job Queue settings saved successfully.',
'saved_unsuccessfully' => 'Job Queue settings could not be saved.',
'select_jobs' => 'Select Jobs',
'settings' => 'Settings',
'settings_configuration' => 'Job Queue Settings',
'throttle_count' => 'Count',
'throttle_count_required' => 'Throttle count is required and must be a non-negative integer.',
'throttle_period' => 'Period',
'throttle_period_day' => 'Day',
'throttle_period_hour' => 'Hour',
'throttle_period_minute' => 'Minute',
'throttle_period_month' => 'Month',
'throttle_period_required' => 'Throttle period is required.',
'throttles' => 'Throttles',
'utilities' => 'Utilities',
'utilities_configuration' => 'Job Queue Utilities',
'web_max_seconds' => 'Web Mode Max Time',
'web_max_seconds_invalid' => 'Web Mode Max Time is required and must be a non-negative integer.',
'web_max_seconds_tooltip' => 'Maximum number of seconds after page load where new jobs are started.',
'web_max_seconds_tooltip_disabled' => 'Web Mode Max Time is only available when Mode is set to Web (no cron required).',
];