- Dark theme page background is #5a5e60; text on it is lifted to zinc-200 / primary-100 and TallStackUI's dark labels, hints and checkbox labels are lightened so everything stays at 4.5:1. - Shared HexColor picks white or black text by the higher WCAG contrast; a native-dialog colour picker and a large work dialog component. - Customers get a header colour (customers.header_color), set on the customer page. - New job status Jatkuvat / Kausi (ongoing): open, never late, billed monthly like running jobs. - Kanban model: board columns and views, urgent threshold, per-user board preferences (density, column colours and sort), card positions, tasks of continuing jobs pinned to the board, MoveBoardCard and board queries with logged hours from TimeTracking. Co-Authored-By: Claude Opus 5.5 <[email protected]>
554 lines
26 KiB
PHP
554 lines
26 KiB
PHP
<?php
|
||
|
||
return [
|
||
'vat_excluded' => '(excl. VAT)',
|
||
'title' => 'Customer jobs',
|
||
'new' => 'New customer job',
|
||
'create_title' => 'New customer job',
|
||
'edit_title' => 'Edit customer job',
|
||
'edit' => 'Edit',
|
||
'save' => 'Save',
|
||
'cancel' => 'Cancel',
|
||
'created' => 'Customer job :number :name created.',
|
||
'updated' => 'Details of customer job :number saved.',
|
||
'monthly_billing_link' => 'Billed periods',
|
||
'not_set' => '–',
|
||
'late' => 'Late',
|
||
'opens_in_new_tab' => 'opens in a new tab',
|
||
|
||
'tasks' => [
|
||
'title' => 'Tasks',
|
||
'new' => 'Add task',
|
||
'create_title' => 'New task',
|
||
'edit_title' => 'Edit task',
|
||
'job_label' => 'Customer job',
|
||
'empty' => 'No tasks.',
|
||
'expand_all' => 'Expand all',
|
||
'collapse_all' => 'Collapse all',
|
||
'all_expanded' => 'All tasks expanded.',
|
||
'all_collapsed' => 'All tasks collapsed.',
|
||
'not_allowed_yet' => 'Tasks can be added once the job is in the quote request status or later.',
|
||
'created' => 'Task :title added.',
|
||
'updated' => 'Task :title saved.',
|
||
'removed' => 'Task :title removed.',
|
||
'not_found' => 'The task was not found. Refresh the page.',
|
||
'status_of' => 'Status: :title',
|
||
'status_changed' => 'The status of task :title is now :status.',
|
||
'edit_named' => 'Edit task :title',
|
||
'remove_named' => 'Remove task :title',
|
||
'remove_question' => 'Remove task :title? This cannot be undone.',
|
||
'has_time_entries' => 'Task :title was not removed because hours or used material have been recorded on it.',
|
||
'book_time' => 'Enter hours',
|
||
'book_time_named' => 'Enter hours on task :title',
|
||
'from_template' => [
|
||
'title' => 'Add tasks from a template',
|
||
'intro' => 'Choose a workflow template. A task in the status Waiting is added for each step. You become the assignee unless you choose someone else. The tasks can be edited after they are added.',
|
||
'template' => 'Workflow template',
|
||
'option' => ':name (:work_type)',
|
||
'steps' => 'Steps: :steps',
|
||
'table_caption' => 'Tasks of template :name',
|
||
'schedule_help' => 'The due date, estimated time and assignee are optional. They can also be added later on the task form.',
|
||
'schedule_to_due' => 'Schedule the tasks to their due dates',
|
||
'schedule_to_due_hint' => 'A task ends on its due date. If the estimated time does not fit in the assignee\'s free time on the due date, the schedule starts earlier, but not before today.',
|
||
'task' => 'Task',
|
||
'due_on_of' => 'Due date: :title',
|
||
'hours_of' => 'Estimated time (h): :title',
|
||
'assignee_of' => 'Assignee: :title',
|
||
'none' => 'There are no workflow templates in use for the job\'s service units. Admins and management add templates in the basic data.',
|
||
'back' => 'Back to the job',
|
||
'submit' => 'Add tasks',
|
||
'choose' => 'Choose a template.',
|
||
'not_available' => 'The template is no longer available for this job. Choose another.',
|
||
'added' => '{1} Added 1 task from template :name.|[2,*] Added :count tasks from template :name.',
|
||
'scheduled' => '{1} 1 task was scheduled to its due date.|[2,*] :count tasks were scheduled to their due dates.',
|
||
'late' => '{1} 1 task did not fit in the assignee\'s days and ends after its due date.|[2,*] :count tasks did not fit in the assignees\' days and end after their due dates.',
|
||
],
|
||
'fields' => [
|
||
'title' => 'Name',
|
||
'work_type' => 'Work type',
|
||
'work_type_description' => 'Work types of the job\'s service units and those common to all.',
|
||
'assignee' => 'Assignee',
|
||
'assignee_hint' => 'The task is shown on the assignee\'s row in the task calendar and books their time.',
|
||
'members' => 'Members',
|
||
'members_hint' => 'Members see the task among their own jobs and hours, but it does not book their time in the calendar.',
|
||
'status' => 'Status',
|
||
'due_on' => 'Due date',
|
||
'estimated_hours' => 'Estimated time (h)',
|
||
'description' => 'Description',
|
||
'planned_from' => 'Schedule starts',
|
||
'planned_to' => 'Schedule ends',
|
||
'planned_hint' => 'The task is shown on the assignee\'s row in the task calendar. Without an end, the task lasts one day.',
|
||
],
|
||
'schedule' => 'Schedule',
|
||
'schedule_range' => ':from–:to',
|
||
'extended' => 'The assignee\'s days were full, so the schedule continues until :to.',
|
||
'statuses' => [
|
||
'waiting' => 'Waiting',
|
||
'in_progress' => 'In progress',
|
||
'in_review' => 'In review',
|
||
'done' => 'Done',
|
||
],
|
||
'checklist' => [
|
||
'title' => 'Checklist',
|
||
'progress' => '(:done/:total done)',
|
||
'list_of' => 'Checklist: :title',
|
||
'empty' => 'No items.',
|
||
'done' => 'done',
|
||
'not_done' => 'not done',
|
||
'new_item' => 'New item',
|
||
'text' => 'Item text',
|
||
'add' => 'Add item',
|
||
'add_named' => 'Add an item to task :title',
|
||
'save' => 'Save',
|
||
'cancel' => 'Cancel',
|
||
'rename_named' => 'Edit item :text',
|
||
'move_up_named' => 'Move up: :text',
|
||
'move_down_named' => 'Move down: :text',
|
||
'remove_named' => 'Remove item :text',
|
||
'added' => 'Item :text added.',
|
||
'renamed' => 'Item :text saved.',
|
||
'removed' => 'Item :text removed.',
|
||
'checked' => 'Item :text marked as done.',
|
||
'unchecked' => 'Item :text marked as not done.',
|
||
'moved_up' => 'Item :text moved up.',
|
||
'moved_down' => 'Item :text moved down.',
|
||
'already_first' => 'Item :text is already first.',
|
||
'already_last' => 'Item :text is already last.',
|
||
'not_found' => 'The item was not found. Refresh the page.',
|
||
'errors' => [
|
||
'text_required' => 'Enter the item text.',
|
||
'invalid_text' => 'The item text may be at most 255 characters.',
|
||
],
|
||
],
|
||
'comments' => [
|
||
'title' => 'Comments',
|
||
'list_of' => 'Comments: :title',
|
||
'empty' => 'No comments.',
|
||
'new' => 'New comment',
|
||
'body' => 'Comment',
|
||
'add' => 'Add comment',
|
||
'add_named' => 'Add comment to task :title',
|
||
'save' => 'Save',
|
||
'cancel' => 'Cancel',
|
||
'remove' => 'Remove',
|
||
'edit_named' => 'Edit comment (:author, :at)',
|
||
'remove_named' => 'Remove comment (:author, :at)',
|
||
'remove_title' => 'Remove the comment?',
|
||
'remove_question' => 'The comment will be removed permanently.',
|
||
'at' => ':date at :time',
|
||
'edited' => 'edited :at',
|
||
'unknown_author' => 'Unknown user',
|
||
'added' => 'Comment added.',
|
||
'saved' => 'Comment saved.',
|
||
'removed' => 'Comment removed.',
|
||
'not_found' => 'The comment was not found. Refresh the page.',
|
||
'errors' => [
|
||
'body_required' => 'Write a comment.',
|
||
'invalid_body' => 'A comment may be at most 5000 characters.',
|
||
'not_author' => 'You can edit and remove only your own comments.',
|
||
],
|
||
],
|
||
'tabs' => [
|
||
'label' => 'Sections of task :title',
|
||
'notes' => 'Checklist and comments',
|
||
'images' => 'Images',
|
||
'materials' => 'Materials and machines',
|
||
'no_materials' => 'This task has no materials or machines.',
|
||
],
|
||
'images' => [
|
||
'title' => 'Images',
|
||
'list_of' => 'Images: :title',
|
||
'empty' => 'No images.',
|
||
'new' => 'Send an image',
|
||
'hint' => 'JPEG, PNG, WebP or GIF, at most :size MB. On a phone you can take a photo with the camera.',
|
||
'caption' => 'Caption',
|
||
'caption_optional' => 'Caption (optional)',
|
||
'add' => 'Send image',
|
||
'add_named' => 'Send image to task :title',
|
||
'uploading' => 'Uploading the image…',
|
||
'saving' => 'Saving the image…',
|
||
'alt' => 'Image :number, sent by :uploader :at',
|
||
'opens_in_new_tab' => '(opens in a new tab)',
|
||
'download' => 'Download',
|
||
'download_named' => 'Download image: :image',
|
||
'edit_caption' => 'Edit caption',
|
||
'edit_caption_named' => 'Edit caption: :image',
|
||
'save' => 'Save',
|
||
'cancel' => 'Cancel',
|
||
'remove' => 'Remove',
|
||
'remove_named' => 'Remove image: :image',
|
||
'remove_title' => 'Remove the image?',
|
||
'remove_question' => 'The image will be removed permanently.',
|
||
'added' => 'Image sent.',
|
||
'caption_saved' => 'Caption saved.',
|
||
'removed' => 'Image removed.',
|
||
'not_found' => 'The image was not found. Refresh the page.',
|
||
'errors' => [
|
||
'photo_required' => 'Choose an image.',
|
||
'not_image' => 'The file is not an image. Choose a JPEG, PNG, WebP or GIF image.',
|
||
'too_large' => 'An image may be at most :size MB.',
|
||
'invalid_caption' => 'A caption may be at most 255 characters.',
|
||
'not_uploader' => 'You can edit and remove only images you sent.',
|
||
],
|
||
],
|
||
'errors' => [
|
||
'title_required' => 'Enter the task name.',
|
||
'invalid_title' => 'The name may be at most 255 characters.',
|
||
'work_type_required' => 'Choose a work type.',
|
||
],
|
||
],
|
||
|
||
'board' => [
|
||
'title' => 'Kanban',
|
||
'heading' => 'Customer jobs and tasks – Kanban board',
|
||
'link' => 'Show as a board',
|
||
'show_list' => 'Show as a list',
|
||
'columns' => 'Kanban columns',
|
||
'count' => '{0} no jobs|{1} :count job|[2,*] :count jobs',
|
||
'card_count' => '{0} no cards|{1} :count card|[2,*] :count cards',
|
||
'empty' => 'No cards',
|
||
'status_of' => 'Status: :job',
|
||
'moved' => 'Job :job moved to :status.',
|
||
'not_moved' => 'The job was not moved. Refresh the page and try again.',
|
||
'billing_not_allowed' => 'Job :job was not moved: only management or the job\'s biller can set the status :status.',
|
||
'unlock_not_allowed' => 'Job :job was not moved to :status: the hours and expenses of a done job are locked, and only management can open the lock.',
|
||
'toolbar' => 'Board filters and view settings',
|
||
'board_label' => 'Board',
|
||
'board_mine' => 'My board',
|
||
'board_person' => 'Person: :name',
|
||
'board_unit' => 'Service line: :name',
|
||
'board_all' => 'All jobs (company)',
|
||
'view_label' => 'Pipeline view',
|
||
'views' => [
|
||
'production' => 'Daily work pipeline',
|
||
'sales' => 'Sales & Quotes',
|
||
'full' => 'Full status pipeline',
|
||
],
|
||
'quote_count' => '{0} no quotes|{1} :count quote|[2,*] :count quotes',
|
||
'only_urgent' => 'Urgent only',
|
||
'only_late' => 'Late',
|
||
'showing' => '{0} Showing 0 cards|{1} Showing :count card|[2,*] Showing :count cards',
|
||
'density' => 'Card density',
|
||
'density_normal' => 'Normal',
|
||
'density_compact' => 'Compact',
|
||
'new_job' => 'New job / Quick intake',
|
||
'column_names' => [
|
||
'quotes' => 'Quotes',
|
||
'prospect' => 'Prospect',
|
||
'tentative' => 'Tentative',
|
||
'quote_request' => 'Quote request',
|
||
'order' => 'Queued',
|
||
'in_production' => 'In progress',
|
||
'in_production_urgent' => 'In progress • Urgent',
|
||
'on_hold' => 'Waiting for customer',
|
||
'done' => 'Done • To bill',
|
||
'invoiced' => 'Invoice created',
|
||
'billed' => 'Billed',
|
||
'ongoing' => 'Ongoing & Season',
|
||
],
|
||
'threshold_button' => 'Choose the priorities lifted into the urgent list',
|
||
'threshold_heading' => 'Lift into the list:',
|
||
'thresholds' => [
|
||
'immediate' => 'Immediate only',
|
||
'urgent' => 'Urgent & Immediate',
|
||
'first' => 'First, Urgent & Immediate',
|
||
],
|
||
'sort_button' => 'Order of list :column: :sort',
|
||
'sort_heading' => 'List order:',
|
||
'sorts' => [
|
||
'manual' => 'Own order (draggable)',
|
||
'due_date' => 'By due date',
|
||
],
|
||
'color_button' => 'Change the header colour of list :column',
|
||
'color_title' => 'List colour: :column',
|
||
'customer_color_button' => 'Change the header colour of customer :customer',
|
||
'customer_color_title' => 'Colour of customer :customer (Kanban and time sheet)',
|
||
'drag_hint' => 'Click to open the job or drag to move it',
|
||
'due' => 'DL :date',
|
||
'late' => 'Late (:date)',
|
||
'hours' => ':logged/:estimated h',
|
||
'tasks_toggle' => 'Tasks (:done/:total)',
|
||
'tasks_compact' => 'Show tasks (:done/:total)',
|
||
'periods' => ':done/:total periods',
|
||
'next_up' => 'Next up:',
|
||
'mark_done' => 'Mark done',
|
||
'mark_done_label' => 'Mark done: :task',
|
||
'pin' => 'Lift to pipeline',
|
||
'pin_label' => 'Lift task :task into the pipeline as a card of its own',
|
||
'unpin' => 'Release PIN',
|
||
'unpin_label' => 'Release task :task from the pipeline',
|
||
'all_periods' => 'All periods & tasks (:done/:total)',
|
||
'new_task' => 'New task or period',
|
||
'new_task_label' => 'Add a new task or period to job :job',
|
||
'add_task' => 'Add',
|
||
'pin_new' => 'Lift into the pipeline at once (PIN)',
|
||
'task_card' => 'Task • PIN',
|
||
'release' => 'Release',
|
||
'open_job' => 'Open job :job',
|
||
'reordered' => 'Card position updated in list :column.',
|
||
'switched_to_manual' => 'Card moved in list :column (order: own order).',
|
||
'cannot_move' => 'The card cannot be moved to list :column.',
|
||
'priority_raised' => 'Job :job moved to the urgent list (priority raised: :priority).',
|
||
'priority_lowered' => 'Job :job moved to the normal in-progress list.',
|
||
'task_moved' => 'Task :task moved to list :column.',
|
||
'task_done' => 'Task :task marked done.',
|
||
'task_reopened' => 'Task :task reopened.',
|
||
'task_pinned' => 'Task :task lifted into the pipeline.',
|
||
'task_unpinned' => 'Task :task released back to the contract card.',
|
||
'task_added' => 'Task :task added to job :job.',
|
||
'task_title_required' => 'Enter the task name.',
|
||
'no_work_type' => 'The job\'s service unit has no work types. Add the task on the job page.',
|
||
'threshold_saved' => 'The urgent list now takes: :threshold.',
|
||
'sort_saved' => 'Order of list :column: :sort.',
|
||
'color_saved' => 'Header colour of list :column saved.',
|
||
'color_reset' => 'Header colour of list :column restored to the default.',
|
||
'customer_color_saved' => 'Colour of customer :customer saved.',
|
||
'invalid_color' => 'The colour is not valid.',
|
||
'density_saved' => 'Card density: :density.',
|
||
],
|
||
|
||
'calendar' => [
|
||
'title' => 'Task calendar',
|
||
'intro' => 'Tasks by assignee according to their schedule. Move a task by dragging its bar, change its length by dragging the bar\'s edge, or open the bar as a button to change the schedule, assignee and status in a form.',
|
||
'range' => ':from–:to',
|
||
'previous' => 'Previous 2 weeks',
|
||
'next' => 'Next 2 weeks',
|
||
'today' => 'Today',
|
||
'today_marker' => 'today',
|
||
'showing' => 'Showing :from–:to.',
|
||
'only_mine' => 'Only my row',
|
||
'subcontractor_note' => 'You see your own tasks in the jobs you are attached to.',
|
||
'people' => 'Assignees',
|
||
'no_assignee' => 'No assignee',
|
||
'load' => ':booked / :capacity h',
|
||
'load_of' => ':day: booked :booked / :capacity h',
|
||
'over_capacity' => 'over',
|
||
'holiday' => 'Public holiday',
|
||
'no_tasks' => 'No tasks in this period.',
|
||
'bar_label' => ':title, :job, :status, :from–:to:hours',
|
||
'bar_hours' => ', :hours h',
|
||
'continues' => 'continues',
|
||
'info' => [
|
||
'job' => 'Job',
|
||
'customer' => 'Customer',
|
||
'job_status' => 'Job status',
|
||
'job_due_on' => 'Job due date',
|
||
'responsible' => 'Responsible person',
|
||
'work_type' => 'Work type',
|
||
'due_on' => 'Task due date',
|
||
'schedule' => 'Schedule',
|
||
'open_schedule' => 'Open schedule',
|
||
'open_schedule_named' => 'Open schedule: task :title',
|
||
],
|
||
'unscheduled' => 'Unscheduled tasks',
|
||
'unscheduled_intro' => 'Open tasks without a schedule. Drag a task onto the calendar or choose Schedule.',
|
||
'unscheduled_none' => 'All open tasks have been scheduled.',
|
||
'schedule' => 'Schedule',
|
||
'schedule_named' => 'Schedule task :title',
|
||
'dialog_title' => 'Task schedule',
|
||
'dialog_task' => ':title (:job)',
|
||
'fields' => [
|
||
'due_on' => 'Due date',
|
||
'due_on_hint' => 'Change the due date when editing the task.',
|
||
'from' => 'Starts',
|
||
'to' => 'Ends',
|
||
'to_hint' => 'If left empty, the task gets as many working days as its estimate needs.',
|
||
'assignee' => 'Assignee',
|
||
'assignee_hint' => 'The task moves to the chosen person\'s row. The members are kept.',
|
||
'status' => 'Status',
|
||
],
|
||
'save' => 'Save',
|
||
'clear' => 'Remove schedule',
|
||
'open_job' => 'Open job',
|
||
'edit_task' => 'Edit task',
|
||
'moved' => 'Task :title: :person :from–:to.',
|
||
'moved_extended' => 'Task :title: :person :from–:to. The days were full, so the task continues until :to.',
|
||
'status_changed' => 'The status of task :title is now :status.',
|
||
'cleared' => 'The schedule of task :title removed.',
|
||
'not_changed' => 'The task was not changed. Refresh the page and try again.',
|
||
'inactive_person' => 'The task was not moved: the chosen person is no longer active.',
|
||
'errors' => [
|
||
'from' => 'Enter a start date.',
|
||
'to' => 'The end cannot be before the start.',
|
||
],
|
||
],
|
||
|
||
'quick' => [
|
||
'title' => 'Quick intake',
|
||
'intro' => 'Record a new job quickly. Other details can be completed later on the job\'s page.',
|
||
'description' => 'Short description',
|
||
'service_unit' => 'Service unit',
|
||
'service_unit_required' => 'Choose a service unit.',
|
||
'save' => 'Save job',
|
||
'open' => 'Open job :number',
|
||
'complete' => 'Complete details',
|
||
'link' => 'Quick intake',
|
||
],
|
||
|
||
'list' => [
|
||
'search' => 'Search customer jobs',
|
||
'search_description' => 'Search by number, name or customer name.',
|
||
'all_statuses' => 'All statuses (except archived)',
|
||
'all_priorities' => 'All priorities',
|
||
'all_service_units' => 'All service units',
|
||
'only_mine' => 'Only my jobs',
|
||
'only_mine_description' => 'Jobs where you are the responsible person, contact person, biller or a member.',
|
||
'include_archived' => 'Show archived',
|
||
'empty' => 'No customer jobs found.',
|
||
'result_count' => '{0} No customer jobs|{1} :count customer job|[2,*] :count customer jobs',
|
||
'subcontractor_note' => 'You see the customer jobs you are attached to.',
|
||
],
|
||
|
||
'sections' => [
|
||
'expenses' => 'Expenses',
|
||
'basics' => 'Basic details',
|
||
'schedule' => 'Schedule',
|
||
'classification' => 'Classification',
|
||
'members' => 'Members',
|
||
'extra' => 'Additional details',
|
||
'links' => 'Links',
|
||
'instructions' => 'Instructions',
|
||
'history' => 'Change history',
|
||
],
|
||
|
||
'fields' => [
|
||
'number' => 'Number',
|
||
'name' => 'Name',
|
||
'description' => 'Description',
|
||
'customer' => 'Customer',
|
||
'service_units' => 'Service units',
|
||
'starts_on' => 'Start date',
|
||
'due_on' => 'Deadline',
|
||
'planned_from' => 'Planned start',
|
||
'planned_to' => 'Planned end',
|
||
'kind' => 'Duration / type',
|
||
'status' => 'Status',
|
||
'priority' => 'Priority',
|
||
'payment_basis' => 'Payment basis',
|
||
'estimated_hours' => 'Estimated hours',
|
||
'estimated_hours_description' => 'In hours, for example 7,5.',
|
||
'quoted_amount' => 'Budget / quote amount',
|
||
'quoted_amount_input' => 'Budget / quote amount (€, excl. VAT)',
|
||
'quoted_amount_description' => 'Amount excluding VAT, e.g. 4500. Visible only to those with the quotes permission.',
|
||
'monthly_fee' => 'Monthly fee',
|
||
'monthly_fee_input' => 'Monthly fee (€, excl. VAT)',
|
||
'monthly_fee_description' => 'Billed through billing material every month from the job\'s start month. Visible only to those with the quotes permission.',
|
||
'completed_at' => 'Completed',
|
||
'customer_reference' => 'Customer reference (PO)',
|
||
'instructions' => 'Instructions',
|
||
'instructions_description' => 'Matters and notes about the job for those working on it.',
|
||
'responsible_user' => 'Responsible person',
|
||
'contact_user' => 'Contact person',
|
||
'contact_user_description' => 'Our own employee who handles contact with the customer.',
|
||
'customer_contact' => 'Customer\'s contact',
|
||
'biller_user' => 'Biller',
|
||
'biller_user_description' => 'The employee who makes the invoice.',
|
||
'billing_unit' => 'Billing unit',
|
||
'members' => 'Other members',
|
||
'members_description' => 'The job is shown among the members\' own jobs. A subcontractor sees only the jobs they are a member of.',
|
||
'tags' => 'Tags',
|
||
'links' => 'Links',
|
||
'created_at' => 'Created',
|
||
'created_by' => 'Created by',
|
||
'none_selected' => 'Not selected',
|
||
'no_payment_basis' => 'Not selected',
|
||
],
|
||
|
||
'customer_picker' => [
|
||
'search' => 'Search customers',
|
||
'search_description' => 'Type at least two characters of the customer\'s name or business ID.',
|
||
'results' => '{0} No matches.|{1} :count match.|[2,*] :count matches.',
|
||
'choose' => 'Choose :name',
|
||
'create' => 'Add new customer: :name',
|
||
'selected' => 'Selected customer: :name',
|
||
'change' => 'Change customer',
|
||
'created' => 'Customer :name added and selected. Other details can be completed on the customer\'s page.',
|
||
'choose_customer_first' => 'Choose a customer first.',
|
||
],
|
||
|
||
'tags' => [
|
||
'new' => 'New tag',
|
||
'new_description' => 'Choose from the suggestions or type a new one, and press Add tag.',
|
||
'add' => 'Add tag',
|
||
'remove' => 'Remove tag :tag',
|
||
'added' => 'Tag :tag added.',
|
||
'removed' => 'Tag :tag removed.',
|
||
'none' => 'No tags.',
|
||
],
|
||
|
||
'links' => [
|
||
'title' => 'Title',
|
||
'url' => 'Address',
|
||
'url_description' => 'For example a link to Drive or Dropbox, starting with https://',
|
||
'add' => 'Add link',
|
||
'remove' => 'Remove link :number',
|
||
'link_number' => 'Link :number',
|
||
'none' => 'No links.',
|
||
],
|
||
|
||
'history' => [
|
||
'empty' => 'No changes.',
|
||
'count' => '{0} (no changes)|{1} (1 change)|[2,*] (:count changes)',
|
||
'unlocked' => '(unlocked)',
|
||
'created' => ':user created job :number.',
|
||
'changed' => ':field: :old → :new',
|
||
'by' => ':user, :time',
|
||
'unknown' => 'no. :id',
|
||
],
|
||
|
||
'kinds' => [
|
||
'service' => 'Service job (small, from the price list)',
|
||
'one_off' => 'One-off',
|
||
'fixed_term' => 'Fixed-term',
|
||
'ongoing' => 'Ongoing',
|
||
],
|
||
|
||
'statuses' => [
|
||
'prospect' => 'Prospect',
|
||
'tentative' => 'Tentative',
|
||
'quote_request' => 'Quote request',
|
||
'order' => 'Order',
|
||
'in_production' => 'In production',
|
||
'on_hold' => 'On hold',
|
||
'done' => 'Done',
|
||
'invoiced' => 'Invoice created',
|
||
'billed' => 'Billed',
|
||
'ongoing' => 'Ongoing / Season',
|
||
'archived' => 'Archived',
|
||
],
|
||
|
||
'priorities' => [
|
||
'waiting' => 'Waiting',
|
||
'normal' => 'Normal',
|
||
'first' => 'First',
|
||
'urgent' => 'Urgent',
|
||
'immediate' => 'Immediately',
|
||
],
|
||
|
||
'payment_bases' => [
|
||
'price_list' => 'Fixed price list',
|
||
'fixed_quote' => 'Fixed, based on a quote',
|
||
'monthly_fee' => 'Fixed monthly billing',
|
||
'hourly' => 'Hourly work',
|
||
'not_billable' => 'Not billable',
|
||
],
|
||
|
||
'errors' => [
|
||
'name_required' => 'Enter the customer job\'s name.',
|
||
'invalid_name' => 'The name may be at most 255 characters.',
|
||
'customer_required' => 'Choose a customer or add a new one.',
|
||
'service_units_required' => 'Choose at least one service unit.',
|
||
'responsible_required' => 'Choose a responsible person.',
|
||
'invalid_date' => 'Enter a date as dd.mm.yyyy.',
|
||
'due_before_start' => 'The deadline cannot be before the start date.',
|
||
'plan_ends_before_start' => 'The planned end cannot be before the planned start.',
|
||
'invalid_hours' => 'Enter hours as zero or more, in quarter hours (e.g. 7,25).',
|
||
'invalid_amount' => 'Enter the amount in euros, e.g. 4500 or 4500,50 (at most two decimals).',
|
||
'invalid_tag' => 'A tag is 1–50 characters long.',
|
||
'invalid_link' => 'Give the link a title and an address starting with http:// or https://.',
|
||
'invalid_reference' => 'The selection is no longer available. Choose again.',
|
||
'status_not_allowed' => 'You do not have permission to set this status.',
|
||
'too_long' => 'The text may be at most :max characters.',
|
||
],
|
||
];
|