243 lines
12 KiB
PHP
243 lines
12 KiB
PHP
<?php
|
||
|
||
return [
|
||
'title' => 'Time entry',
|
||
'other_title' => 'Time entry: :name',
|
||
'other_intro' => 'You are viewing another user\'s hours. You can approve the week or cancel its approval, but you cannot change the hours.',
|
||
'week_heading' => 'Week :number: :from–:to',
|
||
'previous_week' => 'Previous week',
|
||
'this_week' => 'This week',
|
||
'next_week' => 'Next week',
|
||
'intro' => 'Enter hours on tasks in quarter hours, for example 2,5. An empty field removes the day\'s entry. A field is saved when you leave it.',
|
||
'table_caption' => 'Hours of the week by task',
|
||
'task' => 'Task',
|
||
'total' => 'Total',
|
||
'day_total' => 'Day total',
|
||
'week_total' => 'Week total: :hours h',
|
||
'hours_suffix' => ':hours h',
|
||
'no_rows' => 'No tasks this week. Add a task by searching below.',
|
||
'locked' => 'Locked – the job is done',
|
||
'cell_label' => 'Hours: :task, :day',
|
||
'choose_day' => 'Choose a day',
|
||
'day_button' => ':day, :hours h',
|
||
'saved' => 'Saved: :task :day :hours h.',
|
||
'removed' => 'Removed: :task :day.',
|
||
|
||
'days' => ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'],
|
||
|
||
'add' => [
|
||
'search' => 'Add a task to the week',
|
||
'search_description' => 'Search by job number, job name or task name.',
|
||
'results' => '{0} No matches.|{1} :count match.|[2,*] :count matches.',
|
||
'choose' => 'Add to the week: :task',
|
||
'added' => 'Task :task added to the week.',
|
||
],
|
||
|
||
'task_page' => [
|
||
'title' => 'Enter hours: :task',
|
||
'job' => 'Customer job',
|
||
'work_type' => 'Work type',
|
||
'worked_on' => 'Date',
|
||
'hours' => 'Hours',
|
||
'hours_description' => 'In quarter hours, for example 1,75. Hours entered for the same day are added to that day\'s entry.',
|
||
'note' => 'Description',
|
||
'save' => 'Enter hours',
|
||
'saved' => 'Entered :hours h. The entry for :day is now :total h.',
|
||
'own_entries' => 'My entries',
|
||
'no_entries' => 'You have not entered any hours on this task yet.',
|
||
'edit' => 'Edit',
|
||
'edit_named' => 'Edit the entry for :day',
|
||
'remove' => 'Remove',
|
||
'remove_named' => 'Remove the entry for :day',
|
||
'remove_question' => 'Remove the entry for :day (:hours h)? This cannot be undone.',
|
||
'updated' => 'The entry for :day saved.',
|
||
'entry_removed' => 'The entry for :day removed.',
|
||
'back_to_week' => 'To the week view',
|
||
'back_to_job' => 'To the customer job',
|
||
'locked' => 'The job is done, so its hours are locked. Entries cannot be added or changed.',
|
||
],
|
||
|
||
'errors' => [
|
||
'invalid_hours' => 'Enter hours in quarter hours between 0,25 and 24, for example 2,5.',
|
||
'day_full' => 'A day\'s hours may total at most 24.',
|
||
'locked' => 'The job is done, so its hours are locked.',
|
||
'not_found' => 'The task or entry was not found. Refresh the page.',
|
||
'date_required' => 'Enter a date.',
|
||
'invalid_date' => 'Enter a date as dd.mm.yyyy.',
|
||
'approved' => 'The hours have been approved, so they cannot be changed. Ask management to cancel the approval.',
|
||
],
|
||
|
||
'approval' => [
|
||
'title' => 'Week approval',
|
||
'unapproved' => 'Not approved: :hours h.',
|
||
'no_hours' => 'The week has no hours.',
|
||
'approved_by' => 'Approved :date (:name).',
|
||
'approve_week' => 'Approve week',
|
||
'approve_week_of' => 'Approve week: :name, :week',
|
||
'approved' => ':week approved. The approved hours are locked.',
|
||
'approved_for' => ':name: :week approved.',
|
||
'nothing_to_approve' => 'The week has no unapproved hours.',
|
||
'management_approves' => 'Management approves your hours.',
|
||
'cancel' => 'Cancel approval',
|
||
'cancel_title' => 'Cancel the approval?',
|
||
'cancel_question' => 'Cancel the approval of :week? The hours can then be changed, and they must be approved again.',
|
||
'cancelled' => ':week: approval cancelled.',
|
||
'cell_approved' => 'approved',
|
||
'back_to_list' => 'Back to hour approval',
|
||
],
|
||
|
||
'approvals' => [
|
||
'notes_missing' => ':name, :week: the week cannot be approved because :count entries have no billing note. Open the week and fill them in.',
|
||
'title' => 'Hour approval',
|
||
'intro' => 'Employees and interns approve their own hours; management approves subcontractors\' hours and can approve anyone\'s. Approval locks the hours. An approval can be cancelled on the week\'s page.',
|
||
'pending' => 'Not approved',
|
||
'approved' => 'Approved (8 weeks)',
|
||
'none_pending' => 'All hours have been approved.',
|
||
'none_approved' => 'No approved hours.',
|
||
'person' => 'Person',
|
||
'all_people' => 'Everyone',
|
||
'week' => 'Week',
|
||
'hours' => 'Hours',
|
||
'approver' => 'Approver',
|
||
'actions' => 'Actions',
|
||
'open_week' => 'Open week',
|
||
'open_week_of' => 'Open week: :name, :week',
|
||
'approver_value' => ':name, :date',
|
||
],
|
||
'quick_hours' => [
|
||
'task' => 'Task',
|
||
'hours' => 'Hours today',
|
||
'note' => 'Description',
|
||
'note_placeholder' => 'E.g. layout and proofs',
|
||
'add' => 'Record hours',
|
||
'added' => ':hours h recorded on task :task for today.',
|
||
'total' => 'Recorded in all: :logged h / estimate: :estimated h.',
|
||
'locked' => 'The job\'s hours are locked, so no hours can be recorded.',
|
||
'no_tasks' => 'The job has no open tasks to record hours on.',
|
||
'not_allowed' => 'You cannot record hours on this job.',
|
||
],
|
||
'sheet' => [
|
||
'current_week' => 'Current week',
|
||
'past_week' => 'Past week',
|
||
'future_week' => 'Future week',
|
||
'off_week_past' => 'Note: You are viewing a past week (week :number)',
|
||
'off_week_future' => 'Note: You are viewing a future week (week :number)',
|
||
'off_week_hint' => 'The current week is week :number (:from–:to). Make sure you are on the right week before recording.',
|
||
'back_to_current' => 'Back to this week (wk :number)',
|
||
'month_view' => 'Month view',
|
||
'month_summary' => 'Month total: :total h (billable and fixed: :billable h • internal: :internal h)',
|
||
'hide_month' => 'Hide the month summary',
|
||
'navigator' => 'Week choice',
|
||
'clear_pins' => 'Remove all pins',
|
||
'clear_pins_title' => 'Are you sure?',
|
||
'clear_pins_question' => 'Remove every pin from the Pinned jobs section?',
|
||
'clear_pins_confirm' => 'Remove pins',
|
||
'pins_cleared' => '{0} There were no pins.|{1} :count pin removed.|[2,*] :count pins removed.',
|
||
'manage' => '+/- Work orders',
|
||
'manage_title' => '+/- Work orders and job status',
|
||
'manage_intro' => 'Pin tasks to the Pinned jobs section or mark a job done.',
|
||
'manage_empty' => 'The week has no jobs.',
|
||
'mark_done' => 'Mark done',
|
||
'mark_done_label' => 'Mark job :job done',
|
||
'marked_done' => 'Job :job marked done.',
|
||
'already_done' => 'Done',
|
||
'pin_toggle_on' => '+ Pin to Pinned jobs',
|
||
'pin_toggle_off' => '★ Pinned (remove pin)',
|
||
'missing_notes' => '{1} :count billing note missing|[2,*] :count billing notes missing',
|
||
'missing_title' => 'The week cannot be approved yet – billing notes are missing',
|
||
'missing_intro' => 'Fill in a billing note for every entry before approving the week.',
|
||
'fill_note' => 'Fill in the note',
|
||
'fill_note_label' => 'Fill in the note: :task, :day',
|
||
'unapproved_total' => 'Unapproved:',
|
||
'approved_total' => 'Approved:',
|
||
'scheduled' => 'Scheduled',
|
||
'scheduled_hint' => 'Work scheduled for you this week • Pin (★) to move it to Pinned jobs for good',
|
||
'scheduled_empty' => 'No free scheduled tasks this week.',
|
||
'collapse' => 'Scheduled: collapse or open',
|
||
'task_count' => '{0} 0 tasks|{1} :count task|[2,*] :count tasks',
|
||
'pinned' => 'Pinned jobs',
|
||
'pinned_hint' => 'Jobs you pinned stay on the list from week to week.',
|
||
'pinned_empty' => 'No pinned jobs. Add a job to the list or pin a task (★).',
|
||
'add_to_list' => '+ Add a job to the list',
|
||
'caption_scheduled' => 'Scheduled hours by task',
|
||
'caption_pinned' => 'Hours of pinned jobs by task',
|
||
'column_task' => 'Customer / Customer job / Task',
|
||
'column_total' => 'Total',
|
||
'column_actions' => 'Act.',
|
||
'today' => 'Today',
|
||
'alphabetical' => 'A–Z',
|
||
'customer' => 'Customer',
|
||
'color' => 'Colour',
|
||
'color_label' => 'Change the colour of customer :customer',
|
||
'color_title' => 'Colour of customer :customer (Kanban and time sheet)',
|
||
'color_saved' => 'Colour of customer :customer saved.',
|
||
'invalid_color' => 'The colour is not valid.',
|
||
'live' => 'LIVE / Season',
|
||
'accumulated' => 'Accumulated: :hours h',
|
||
'pin_job' => '★ Pin job',
|
||
'pin_job_label' => 'Pin the tasks of job :job to Pinned jobs',
|
||
'pin_task_label' => 'Pin task :task to Pinned jobs',
|
||
'unpin_task_label' => 'Remove the pin of task :task',
|
||
'pinned_task' => 'Task :task pinned to Pinned jobs.',
|
||
'pinned_job' => 'Tasks of job :job pinned to Pinned jobs.',
|
||
'unpinned' => 'Pin of task :task removed.',
|
||
'cannot_pin' => 'The task cannot be pinned: the job is done or it was not found.',
|
||
'locked_row' => 'Locked – the job is done',
|
||
'models' => [
|
||
'fixed' => 'Fixed price',
|
||
'hourly' => 'Hourly work',
|
||
'non_billable' => 'Not billable',
|
||
],
|
||
'model_hints' => [
|
||
'fixed' => 'The work is included in a fixed-price agreement; the hours are recorded for profitability and workload follow-up.',
|
||
'hourly' => 'Billed separately by the hours worked.',
|
||
'non_billable' => 'Internal work or a warranty repair.',
|
||
],
|
||
'minus' => 'Subtract 15 min: :task, :day',
|
||
'plus' => 'Add 15 min: :task, :day',
|
||
'cell' => 'Time: :task, :day',
|
||
'note_button' => 'Edit the entry: :task, :day',
|
||
'note_filled' => '(note filled in)',
|
||
'note_missing' => '(note missing)',
|
||
'entry_title' => 'Edit the entry',
|
||
'billing_model' => 'Billing basis of the entry',
|
||
'billing_note' => 'Billing note',
|
||
'billing_note_hint' => 'For the customer\'s invoice or the fixed-price follow-up report. Required before the week is approved.',
|
||
'internal_comment' => 'Internal comment',
|
||
'internal_comment_hint' => 'Notes for your own team and the biller.',
|
||
'add_product' => '+ Product',
|
||
'save_entry' => 'Save',
|
||
'entry_saved' => 'Entry saved: :task, :day.',
|
||
'entry_needs_hours' => 'Record time for the day first, then the note.',
|
||
'esc_saves' => 'Esc closes and saves.',
|
||
'timer' => 'Work timer',
|
||
'timer_open' => 'Work timer: :task (today)',
|
||
'timer_running' => 'Timer running: :task',
|
||
'timer_locked' => 'Stop before closing',
|
||
'timer_edit' => 'Edit the time by hand',
|
||
'timer_apply' => 'Use the time',
|
||
'timer_hours' => 'Hours',
|
||
'timer_minutes' => 'Minutes',
|
||
'timer_seconds' => 'Seconds',
|
||
'timer_start' => 'Start',
|
||
'timer_pause' => 'Pause',
|
||
'timer_reset' => 'Reset',
|
||
'timer_stop' => 'Stop and save',
|
||
'timer_note' => 'Billing note',
|
||
'timer_state_running' => 'Timer running…',
|
||
'timer_state_idle' => 'Ready to start or paused',
|
||
'timer_state_edit' => 'Enter hours, minutes and seconds as numbers',
|
||
'timer_saved' => ':time recorded on task :task for today.',
|
||
'add_title' => 'Add a job to the list (Pinned jobs)',
|
||
'add_search' => 'Search open jobs and tasks',
|
||
'add_hint' => 'Search by job number, job name or task name.',
|
||
'add_pin' => 'Pin',
|
||
'add_pin_label' => 'Pin :task',
|
||
'add_none' => 'No matches.',
|
||
'add_count' => '{0} No matches|{1} :count match|[2,*] :count matches',
|
||
'done' => 'Done',
|
||
'saved' => 'Saved: :task :day :hours.',
|
||
'months' => ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
|
||
],
|
||
];
|