Track machine counters and maintenance with counter and time intervals
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
@@ -50,6 +50,9 @@ return [
|
||||
],
|
||||
|
||||
'todo' => [
|
||||
'maintenance' => '{1} 1 machine maintenance late|[2,*] :count machine maintenances late',
|
||||
'maintenance_line' => ':machine: :item',
|
||||
'stock' => '{1} 1 stock item to order|[2,*] :count stock items to order',
|
||||
'title' => 'To do',
|
||||
'approvals' => '{0} No hours waiting for approval|{1} One person has hours waiting for approval|[2,*] :count people have hours waiting for approval',
|
||||
'approval_line' => ':name: :hours h over :weeks weeks',
|
||||
|
||||
@@ -125,6 +125,101 @@ return [
|
||||
'no_machines' => 'There are no machines in use in the task\'s service unit.',
|
||||
],
|
||||
|
||||
'maintenance' => [
|
||||
'create_title' => 'New maintenance item',
|
||||
'edit_title' => 'Edit maintenance item',
|
||||
'name' => 'Name',
|
||||
'name_hint' => 'E.g. emptying the waste ink tank, cleaning the print head, changing the blade.',
|
||||
'counter_interval' => 'Counter-based interval',
|
||||
'counter_interval_hint' => 'Maintenance is due when the counter has grown by the interval since the last maintenance. Optional.',
|
||||
'no_counters' => 'The machine has no counters. Add counters on the machine form.',
|
||||
'counter' => 'Counter',
|
||||
'no_counter' => 'No counter-based interval',
|
||||
'interval' => 'Interval in the counter unit',
|
||||
'interval_hint' => 'E.g. 20000.',
|
||||
'time_interval' => 'Time-based interval',
|
||||
'time_interval_hint' => 'Daily, weekly, monthly or yearly maintenance. Optional; a machine may have several items with different intervals. With a counter interval too, maintenance is due when either comes first.',
|
||||
'period' => 'Interval',
|
||||
'no_period' => 'No time-based interval',
|
||||
'periods' => [
|
||||
'day' => 'Daily maintenance',
|
||||
'week' => 'Weekly maintenance',
|
||||
'month' => 'Monthly maintenance',
|
||||
'year' => 'Yearly maintenance',
|
||||
],
|
||||
'period_count' => 'Every … periods',
|
||||
'period_count_hint' => '1 = every day / week / month / year, 2 = every other and so on.',
|
||||
'warning' => 'Advance warning (% of the interval)',
|
||||
'warning_hint' => 'Maintenance shows as coming up when this share of the interval has passed. No advance warning for daily maintenance.',
|
||||
'instructions' => 'Instructions',
|
||||
'stock_item' => 'Stock item used at maintenance',
|
||||
'stock_item_hint' => 'Optional, e.g. a spare drum. Recorded as used at every maintenance.',
|
||||
'no_stock_item' => 'No item',
|
||||
'stock_quantity' => 'Quantity per maintenance',
|
||||
'saved' => 'Maintenance item :name saved.',
|
||||
'activated' => 'The maintenance item was taken into use.',
|
||||
'deactivated' => 'The maintenance item was taken out of use. Its history is kept.',
|
||||
'counters' => 'Counters',
|
||||
'no_reading' => 'No readings.',
|
||||
'latest_reading' => 'Latest reading :reading :unit (:at).',
|
||||
'new_reading' => 'New reading (:unit)',
|
||||
'save_reading' => 'Record reading',
|
||||
'save_reading_named' => 'Record reading: :counter',
|
||||
'reading_saved' => 'Reading :reading :unit of :counter recorded.',
|
||||
'items' => 'Maintenance',
|
||||
'add' => 'New maintenance item',
|
||||
'none' => 'The machine has no maintenance items.',
|
||||
'levels' => [
|
||||
'ok' => 'In order',
|
||||
'approaching' => 'Maintenance coming up',
|
||||
'overdue' => 'Maintenance late',
|
||||
],
|
||||
'remaining' => ':amount :unit left',
|
||||
'over' => ':amount :unit over',
|
||||
'due' => 'due :date',
|
||||
'was_due' => 'was due :date',
|
||||
'every_amount' => ':amount :unit (:counter)',
|
||||
'every_period' => [
|
||||
'day' => '{1} every day|[2,*] every :count days',
|
||||
'week' => '{1} every week|[2,*] every :count weeks',
|
||||
'month' => '{1} every month|[2,*] every :count months',
|
||||
'year' => '{1} every year|[2,*] every :count years',
|
||||
],
|
||||
'or' => ' or ',
|
||||
'interval_text' => 'Interval: :interval',
|
||||
'never_done' => 'No maintenance yet.',
|
||||
'last_done' => 'Last maintained :at (:name).',
|
||||
'edit_named' => 'Edit: :name',
|
||||
'done' => 'Maintenance done',
|
||||
'done_named' => 'Maintenance done: :name',
|
||||
'reading_at' => 'Reading (:counter)',
|
||||
'note' => 'Note',
|
||||
'confirm_done' => 'Record maintenance',
|
||||
'recorded' => 'Maintenance :name recorded.',
|
||||
'stock_not_recorded' => 'The stock item of the maintenance could not be recorded as used.',
|
||||
'history' => 'Maintenance history',
|
||||
'history_item' => 'Maintenance item',
|
||||
'all_items' => 'All maintenance items',
|
||||
'from' => 'From',
|
||||
'to' => 'To',
|
||||
'history_count' => '{0} No maintenance.|{1} 1 maintenance.|[2,*] :count maintenances.',
|
||||
'reading_was' => 'Reading :reading',
|
||||
'cancelled_by' => 'Cancelled :at (:name)',
|
||||
'cancel' => 'Mark as cancelled',
|
||||
'cancel_named' => 'Mark as cancelled: :name :at',
|
||||
'cancel_title' => 'Mark the maintenance as cancelled?',
|
||||
'cancel_text' => 'The record stays in the history marked as cancelled, and it no longer restarts the interval.',
|
||||
'cancelled' => 'Maintenance :name marked as cancelled.',
|
||||
'errors' => [
|
||||
'needs_interval' => 'Give a counter-based interval, a time-based interval or both.',
|
||||
'invalid' => 'Check the name (1–150 characters), the interval and the advance warning.',
|
||||
'amount' => 'Enter an amount greater than zero, at most three decimals.',
|
||||
'counter' => 'Choose a counter of the machine.',
|
||||
'period_count' => 'Enter the period as a whole number 1–365.',
|
||||
'warning' => 'Enter the advance warning as a percentage 1–99.',
|
||||
'reading' => 'Enter a reading of zero or more, at most three decimals.',
|
||||
],
|
||||
],
|
||||
'errors' => [
|
||||
'name' => 'Enter a name (1–150 characters).',
|
||||
'name_taken' => 'The name is already in use.',
|
||||
|
||||
@@ -14,6 +14,10 @@ return [
|
||||
'member' => 'You were made a member of task :task (job :number :job).',
|
||||
],
|
||||
'job_assigned' => 'You were made :roles of job :number :job.',
|
||||
'maintenance_due' => [
|
||||
'approaching' => 'Maintenance :item of :machine is coming up.',
|
||||
'overdue' => 'Maintenance :item of :machine is late.',
|
||||
],
|
||||
],
|
||||
'job_roles' => [
|
||||
'responsible' => 'the responsible person',
|
||||
|
||||
Reference in New Issue
Block a user