<?php
/**
 * Translation file
 * @copyright  Copyright (c) 2014-2023 Benjamin BALET
 * @license      http://opensource.org/licenses/AGPL-3.0 AGPL-3.0
 * @link            https://github.com/bbalet/jorani
 * @since         0.1.0
 */

$lang['extra_index_title'] = 'My overtime requests';
$lang['extra_index_thead_tip_view'] = 'view';
$lang['extra_index_thead_tip_edit'] = 'edit';
$lang['extra_index_thead_tip_delete'] = 'delete';
$lang['extra_index_thead_id'] = 'ID';
$lang['extra_index_thead_date'] = 'Date';
$lang['extra_index_thead_cause'] = 'Reason';
$lang['extra_index_thead_duration'] = 'Duration';
$lang['extra_index_thead_status'] = 'Status';
$lang['extra_index_button_export'] = 'Export this list';
$lang['extra_index_button_create'] = 'New request';
$lang['extra_index_popup_delete_title'] = 'Delete overtime request';
$lang['extra_index_popup_delete_message'] = 'You are about to delete one overtime request, this procedure is irreversible.';
$lang['extra_index_popup_delete_question'] = 'Do you want to proceed?';
$lang['extra_index_popup_delete_button_yes'] = 'Yes';
$lang['extra_index_popup_delete_button_no'] = 'No';

$lang['extra_create_title'] = 'Submit an overtime request';
$lang['extra_create_field_date'] = 'Date';
$lang['extra_create_field_duration'] = 'Duration';
$lang['extra_create_field_duration_description'] = 'In days or fraction of days (e.g. 0.125 for 1h if you work 8h/day).';
$lang['extra_create_field_cause'] = 'Reason';
$lang['extra_create_field_status'] = 'Status';
$lang['extra_create_button_create'] = 'Request overtime';
$lang['extra_create_button_cancel'] = 'Cancel';
$lang['extra_create_msg_success'] = 'The overtime request has been succesfully created';
$lang['extra_create_msg_error'] = 'The overtime request has been succesfully created or updated, but you don\'t have a manager.';
$lang['extra_create_mandatory_js_msg'] = '"The field " + fieldname + " is mandatory."';

$lang['extra_edit_title'] = 'Edit overtime request #';
$lang['extra_edit_hmtl_title'] = 'Edit a overtime request';
$lang['extra_edit_field_date'] = 'Date';
$lang['extra_edit_field_duration'] = 'Duration';
$lang['extra_edit_field_duration_description'] = 'In days or fraction of days (e.g. 0.125 for 1h if you work 8h/day).';
$lang['extra_edit_field_cause'] = 'Reason';
$lang['extra_edit_field_status'] = 'Status';
$lang['extra_edit_button_update'] = 'Update overtime';
$lang['extra_edit_button_cancel'] = 'Cancel';
$lang['extra_edit_msg_error'] = 'You cannot edit an overtime request already submitted';
$lang['extra_edit_msg_success'] = 'The overtime request has been succesfully updated';

$lang['extra_delete_msg_success'] = 'The overtime request has been succesfully deleted';
$lang['extra_delete_msg_error'] = 'You can\'t delete this overtime request';

$lang['extra_view_title'] = 'View overtime request #';
$lang['extra_view_hmtl_title'] = 'View overtime request';
$lang['extra_view_field_date'] = 'Date';
$lang['extra_view_field_duration'] = 'Duration';
$lang['extra_view_field_cause'] = 'Reason';
$lang['extra_view_field_status'] = 'Status';
$lang['extra_view_button_edit'] = 'Edit';
$lang['extra_view_button_back_list'] = 'Back to list';

$lang['extra_export_title'] = 'List of overtime worked';
$lang['extra_export_thead_id'] = 'ID';
$lang['extra_export_thead_date'] = 'Date';
$lang['extra_export_thead_duration'] = 'Duration';
$lang['extra_export_thead_cause'] = 'Reason';
$lang['extra_export_thead_status'] = 'Status';
