<?php

return [
    'title' => 'Shifts',
    'subtitle' => 'Work schedules for attendance and payroll.',
    'create_title' => 'Create shift',
    'edit_title' => 'Edit shift',
    'assign_title' => 'Assign shift',
    'assign_subtitle' => 'Closes any open assignment timeline and opens a new one. Optional start can be future-dated.',
    'assignments_title' => 'Shift assignments',
    'assignments_subtitle' => 'Assignment history and active schedules.',
    'assignments_empty' => 'No shift assignments yet.',
    'empty' => 'No shifts defined yet.',
    'flash' => [
        'created' => 'Shift created.',
        'updated' => 'Shift updated.',
        'deactivated' => 'Shift deactivated.',
        'reactivated' => 'Shift reactivated.',
        'assigned' => 'Shift assigned to employee.',
        'assignment_ended' => 'Shift assignment ended.',
    ],
    'validation' => [
        'already_ended' => 'This assignment is already ended.',
    ],
    'actions' => [
        'create' => 'New shift',
        'assign' => 'Assign shift',
        'assignments' => 'Assignments',
        'assign_save' => 'Save assignment',
        'end_assignment' => 'End',
        'save' => 'Create shift',
        'back' => 'Back to list',
        'deactivate' => 'Deactivate',
        'reactivate' => 'Reactivate',
    ],
    'fields' => [
        'name' => 'Name',
        'type' => 'Type',
        'start_time' => 'Start',
        'end_time' => 'End',
        'grace_minutes' => 'Grace (minutes)',
        'late_after_minutes' => 'Late after (minutes past start, added to grace)',
        'overtime_after_minutes' => 'Overtime after (minutes past scheduled end)',
        'break_minutes' => 'Break (minutes)',
        'working_days' => 'Working days',
        'is_night_shift' => 'Night shift (overnight)',
        'employee' => 'Employee',
        'shift' => 'Shift',
        'status' => 'Status',
        'starts_at' => 'Starts at',
        'ends_at' => 'Ends at',
        'flexible_start' => 'Flexible start', 'flexible_end' => 'Flexible end',
        'split_second_start' => 'Second period start', 'split_second_end' => 'Second period end',
        'seasonal_from' => 'Season starts', 'seasonal_to' => 'Season ends',
    ],
    'types' => [
        'fixed' => 'Fixed', 'flexible' => 'Flexible', 'rotational' => 'Rotational',
        'factory' => 'Factory', 'split' => 'Split', 'night' => 'Night', 'seasonal' => 'Seasonal',
    ],
    'calendar' => ['title' => 'Shift calendar'],
    'rotation' => [
        'title' => 'Shift rotations', 'day' => 'Pattern day :day',
        'day_off' => 'Day off', 'days' => 'days', 'employees' => 'Employees',
        'created' => 'Rotation created.',
    ],
    'swap' => [
        'title' => 'Shift swaps', 'select_assignment' => 'Select assignment',
        'invalid' => 'Choose assignments belonging to different employees.',
        'submitted' => 'Swap submitted.', 'reviewed' => 'Swap reviewed.',
    ],
    'status' => [
        'active' => 'Active',
        'inactive' => 'Inactive',
    ],
    'weekday' => [
        'monday' => 'Monday',
        'tuesday' => 'Tuesday',
        'wednesday' => 'Wednesday',
        'thursday' => 'Thursday',
        'friday' => 'Friday',
        'saturday' => 'Saturday',
        'sunday' => 'Sunday',
    ],
];
