Add machines with day-by-day work lists for job tasks

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This commit is contained in:
2026-11-26 16:43:55 +02:00
co-authored by Claude Sonnet 5.5
parent 0de0e332b2
commit aac579257a
59 changed files with 3803 additions and 1 deletions
+138
View File
@@ -0,0 +1,138 @@
<?php
return [
'types' => [
'printer' => 'Printing press / printer',
'cutter' => 'Sticker cutter',
'other' => 'Other',
],
'counter_units' => [
'piece' => 'pcs',
'sheet' => 'sheet',
'square_metre' => 'm²',
'millilitre' => 'ml',
'metre' => 'm',
'hour' => 'h',
],
'counter_names' => [
'prints' => 'Prints',
'printed_area' => 'Printed area',
'cut_length' => 'Cut length',
],
'index' => [
'title' => 'Machines',
'intro' => 'Machines by service unit. A machine\'s page has its day-by-day work list; the machine console is meant for the tablet next to the machine.',
'new' => 'New machine',
'unit' => 'Service unit',
'all_units' => 'All service units',
'include_inactive' => 'Also show machines out of use',
'none' => 'No machines.',
'inactive' => 'Out of use',
'responsible' => 'Responsible: :name',
'open' => 'Work list and details',
'open_named' => 'Work list and details of :name',
],
'form' => [
'create_title' => 'New machine',
'edit_title' => 'Edit machine',
'name' => 'Name',
'type' => 'Machine type',
'description' => 'Description',
'service_units' => 'Service units',
'service_units_hint' => 'Only service units that use stock and machines. A shared machine belongs to several units.',
'no_stock_units' => 'No service unit uses stock and machines. Turn it on in the catalog.',
'responsible' => 'Responsible person',
'responsible_hint' => 'Gets the notifications of maintenance coming up and late.',
'no_responsible' => 'No responsible person',
'counters' => 'Counters',
'counters_hint' => 'Counters measure the need for maintenance, e.g. prints or printed area. Readings are recorded on the machine console.',
'counter_name' => 'Counter name',
'counter_unit' => 'Unit',
'counter_named' => 'Counter :number',
'add_counter' => 'Add counter',
'remove_counter_named' => 'Remove counter :number',
'suggest_counters' => 'Add the usual counters of the machine type',
'counter_added' => 'Counter :number added.',
'counter_removed' => 'Counter :number removed.',
'counters_suggested' => '{0} There are no suggested counters for the machine type.|{1} 1 counter added.|[2,*] :count counters added.',
'save' => 'Save',
'cancel' => 'Cancel',
'created' => 'Machine :name added.',
'updated' => 'Machine :name saved.',
'deactivate' => 'Take out of use',
'activate' => 'Take into use',
'deactivated' => 'The machine was taken out of use. It is not offered in choices, but its history is kept.',
'activated' => 'The machine was taken into use.',
],
'show' => [
'details' => 'Details',
'edit' => 'Edit',
'console' => 'Open the machine console',
'units' => 'Service units: :units',
'work_list' => 'Work list',
'day_navigation' => 'Choose day',
'previous_day' => 'Previous day',
'today' => 'Today',
'next_day' => 'Next day',
'day_field' => 'Day',
'show_day' => 'Show day',
'day_heading' => 'Work list :date',
'load' => 'Coming days',
'load_row' => ':date: :rows, estimate :hours h',
'rows' => '{0} no rows|{1} 1 row|[2,*] :count rows',
'none' => 'No work for this day.',
'row_count' => '{0} No rows.|{1} 1 row.|[2,*] :count rows.',
'late' => 'Late (planned :date)',
'order' => 'Customer waiting',
'outside_plan' => 'The day is outside the task\'s schedule or after its due date.',
'due' => 'Due :date',
'priority' => 'Priority: :priority',
'status' => 'Status: :status',
'instructions' => 'Job instructions',
'description' => 'Task description',
'up_named' => 'Move up: :title',
'down_named' => 'Move down: :title',
'moved_up' => ':title moved up.',
'moved_down' => ':title moved down.',
'first' => ':title is already first.',
'last' => ':title is already last.',
'open_task' => 'Open the task on the job page',
'reschedule' => 'Change day or machine',
'reschedule_named' => 'Change day or machine: :title',
'back' => 'Back to machines',
],
'task' => [
'title' => 'Machine',
'list_of' => 'Machine: :title',
'not_on_machine' => 'The task is not on any machine\'s work list.',
'on_machine' => 'On the work list of :machine on :date.',
'late' => 'Late: the planned day has passed.',
'move' => 'Move to machine',
'change' => 'Change machine or day',
'machine' => 'Machine',
'choose_machine' => 'Choose a machine',
'day' => 'Production day',
'day_hint' => 'By default the start of the task\'s schedule, else today.',
'save' => 'Save',
'cancel' => 'Cancel',
'remove' => 'Remove from machine',
'moved' => 'The task was moved to the work list of :machine on :date.',
'removed' => 'The task was removed from the machine\'s work list.',
'no_machines' => 'There are no machines in use in the task\'s service unit.',
],
'errors' => [
'name' => 'Enter a name (1–150 characters).',
'name_taken' => 'The name is already in use.',
'service_units' => 'Choose at least one service unit.',
'counter' => 'Give the counter a name (1–100 characters) and a unit.',
'machine' => 'Choose a machine in use from the task\'s service unit.',
'day' => 'Enter the day as dd.mm.yyyy.',
'not_found' => 'The row was not found. Refresh the page.',
'task_done' => 'The task is already done and cannot be moved to a machine.',
],
];