<?php
if(!isset($lang->attend)) $lang->attend = new stdclass();
$lang->attend->common        = 'Attendance';
$lang->attend->personal      = 'My Attendance';
$lang->attend->department    = 'Department';
$lang->attend->company       = 'Company';
$lang->attend->detail        = 'Details';
$lang->attend->edit          = 'Edit';
$lang->attend->type          = 'Type';
$lang->attend->combinedTitle = "%s's attendance";
$lang->attend->edited        = 'Edited';
$lang->attend->operated      = 'operated';
$lang->attend->leave         = 'Leave';
$lang->attend->leaved        = 'Leave asked';
$lang->attend->makeup        = 'Leave Makeup';
$lang->attend->makeuped      = 'Leave Makeup done';
$lang->attend->lieu          = 'Lieu';
$lang->attend->lieud         = 'Lieu taken';
$lang->attend->trip          = 'Trip';
$lang->attend->triped        = 'Trip taken';
$lang->attend->egress        = 'Egress';
$lang->attend->egressed      = 'Egress taken';
$lang->attend->overtime      = 'Overtime';
$lang->attend->overtimed     = 'Overtime taken';
$lang->attend->review        = 'Review Attendance';
$lang->attend->settings      = 'Settings';
$lang->attend->export        = 'Export';
$lang->attend->stat          = 'Report';
$lang->attend->saveStat      = 'Save';
$lang->attend->exportStat    = 'Export Report';
$lang->attend->exportDetail  = 'Export Details';
$lang->attend->waitReview    = 'To Review List';
$lang->attend->allReview     = 'All Review List';
$lang->attend->batchReview   = 'Batch Review';
$lang->attend->batchPass     = 'Batch Pass';
$lang->attend->attendStat    = 'Attendance statistics';
$lang->attend->lateStat      = 'Late statistics';
$lang->attend->leaveStat     = 'Leave statistics';
$lang->attend->updatePaid    = 'Update Paid';

$lang->attend->id            = 'ID';
$lang->attend->date          = 'Date';
$lang->attend->account       = 'User';
$lang->attend->signIn        = 'Clockin';
$lang->attend->signOut       = 'Clockout';
$lang->attend->noSignIn      = 'No sign in';
$lang->attend->noSignOut     = 'No sign out';
$lang->attend->status        = 'Status';
$lang->attend->ip            = 'IP';
$lang->attend->device        = 'Device';
$lang->attend->desc          = 'Description';
$lang->attend->subtotal      = 'Subtotal';
$lang->attend->dayName       = 'Day';
$lang->attend->report        = 'Report';
$lang->attend->year          = 'Year';
$lang->attend->month         = 'Month';
$lang->attend->dept          = 'Dept';
$lang->attend->AM            = 'AM';
$lang->attend->PM            = 'PM';
$lang->attend->ipList        = 'IPs';
$lang->attend->noAttendUsers = 'Not required';
$lang->attend->signInClient  = 'Client';
$lang->attend->rejectReason  = 'Reason';

$lang->attend->user          = 'User';
$lang->attend->begin         = 'Begin';
$lang->attend->end           = 'End';
$lang->attend->search        = 'Search';

$lang->attend->manualIn     = 'Clockin';
$lang->attend->manualOut    = 'Clockout';
$lang->attend->reason       = 'Reason';
$lang->attend->reviewStatus = 'Review Status';
$lang->attend->reviewedBy   = 'ReviewedBy';
$lang->attend->reviewedDate = 'Reviewed';
$lang->attend->deserveDays  = 'Expected';
$lang->attend->actualDays   = 'Actual';
$lang->attend->paidDays     = 'Paid';
$lang->attend->toMakeup     = 'To Makeup';

$lang->attend->clientList['all']     = 'All';
$lang->attend->clientList['desktop'] = 'Desktop';

$lang->attend->statusList['normal']   = 'Normal';
$lang->attend->statusList['late']     = 'Late';
$lang->attend->statusList['early']    = 'Leave early';
$lang->attend->statusList['both']     = 'Late and Leave early';
$lang->attend->statusList['absent']   = 'Absent';
$lang->attend->statusList['leave']    = 'Ask for leave';
$lang->attend->statusList['makeup']   = 'Leave Makeup';
$lang->attend->statusList['overtime'] = 'Overtime';
$lang->attend->statusList['lieu']     = 'Lieu';
$lang->attend->statusList['trip']     = 'Biz trip';
$lang->attend->statusList['egress']   = 'Biz egress';
$lang->attend->statusList['rest']     = 'Off';

$lang->attend->abbrStatusList['normal']   = '√';
$lang->attend->abbrStatusList['late']     = 'Late';
$lang->attend->abbrStatusList['early']    = 'Early';
$lang->attend->abbrStatusList['both']     = 'L+E';
$lang->attend->abbrStatusList['absent']   = 'Absent';
$lang->attend->abbrStatusList['leave']    = 'Leave';
$lang->attend->abbrStatusList['makeup']   = 'Makeup';
$lang->attend->abbrStatusList['overtime'] = 'OT';
$lang->attend->abbrStatusList['lieu']     = 'Lieu';
$lang->attend->abbrStatusList['trip']     = 'Biz';
$lang->attend->abbrStatusList['egress']   = 'Out';
$lang->attend->abbrStatusList['rest']     = 'Off';

$lang->attend->markStatusList['normal']   = '√';
$lang->attend->markStatusList['late']     = '=';
$lang->attend->markStatusList['early']    = '>';
$lang->attend->markStatusList['both']     = '=>';
$lang->attend->markStatusList['absent']   = 'x';
$lang->attend->markStatusList['leave']    = '!';
$lang->attend->markStatusList['makeup']   = '↑';
$lang->attend->markStatusList['overtime'] = '+';
$lang->attend->markStatusList['lieu']     = '↓';
$lang->attend->markStatusList['trip']     = '$';
$lang->attend->markStatusList['egress']   = '#';
$lang->attend->markStatusList['rest']     = '~';

$lang->attend->reasonList['normal']   = 'Normal';
$lang->attend->reasonList['leave']    = 'Ask for leave';
$lang->attend->reasonList['makeup']   = 'Makeup times';
$lang->attend->reasonList['overtime'] = 'Overtime';
$lang->attend->reasonList['lieu']     = 'Lieu';
$lang->attend->reasonList['trip']     = 'Biz trip';
$lang->attend->reasonList['egress']   = 'Biz egress';

$lang->attend->reviewStatusList['wait']   = 'Wait';
$lang->attend->reviewStatusList['pass']   = 'Pass';
$lang->attend->reviewStatusList['reject'] = 'Reject';

$lang->attend->lateStatType['count']    = 'Count';
$lang->attend->lateStatType['duration'] = 'Duration';

$lang->attend->mobile = new stdclass();
$lang->attend->mobile->reviewStatusList['wait']   = 'Wait';
$lang->attend->mobile->reviewStatusList['pass']   = 'Pass';
$lang->attend->mobile->reviewStatusList['reject'] = 'Reject';

$lang->attend->inSuccess  = 'Clocked in.';
$lang->attend->inFail     = 'Clockin failed.';
$lang->attend->outSuccess = 'Clocked out.';
$lang->attend->outFail    = 'Clockout failed.';

$lang->attend->time          = 'Attend Time';
$lang->attend->signInLimit   = 'Clockin';
$lang->attend->signOutLimit  = 'Clockout';
$lang->attend->lunch         = 'Lunch Time';
$lang->attend->lunchBegin    = 'Lunch Begin';
$lang->attend->lunchEnd      = 'Lunch End';
$lang->attend->dinner        = 'Dinner';
$lang->attend->dinnerBegin   = 'Dinner Begin';
$lang->attend->dinnerEnd     = 'Dinner End';
$lang->attend->workingDays   = 'Working days';
$lang->attend->workingHours  = 'Working hours';
$lang->attend->mustSignOut   = 'Required';
$lang->attend->denied        = 'Access is denied.';
$lang->attend->nodata        = 'No data is selected.';
$lang->attend->reviewSuccess = 'Reviewed';

$lang->attend->workingDaysList['5']  = "Monday ~ Friday";
$lang->attend->workingDaysList['6']  = "Monday ~ Saturday";
$lang->attend->workingDaysList['7']  = "Monday ~ Sunday";
$lang->attend->workingDaysList['12'] = "Sunday ~ Thursday";
$lang->attend->workingDaysList['13'] = "Sunday ~ Friday";

$lang->attend->mustSignOutList['yes'] = 'Yes';
$lang->attend->mustSignOutList['no']  = 'No';

$lang->attend->weeks = array('1st week', '2nd week', '3rd week', '4th week', '5th week', '6th week');

$lang->attend->notice['today']    = "<p>Your attendance yesterday was %s, <a href='%s' %s> Click here to edit.</a></p>";
$lang->attend->notice['yestoday'] = "<p>Your attendance today is %s, <a href='%s' %s> Click here to edit.</a></p>";
$lang->attend->notice['absent']   = "N/A";

$lang->attend->confirmReview['pass']   = 'Do you want to pass it?';
$lang->attend->confirmReview['reject'] = 'Do you want to reject it?';

$lang->attend->settings         = 'Company';
$lang->attend->personalSettings = 'Personal';
$lang->attend->setManager       = 'Dept. Manager';
$lang->attend->setDept          = 'Manage Department';

$lang->attend->beginDate = new stdClass();
$lang->attend->beginDate->common   = 'Start Date';
$lang->attend->beginDate->company  = 'Start Date';
$lang->attend->beginDate->personal = 'Start Date';

$lang->attend->note = new stdClass();
$lang->attend->note->ip           = "Use a comma to separate IPs, and IP segment is OK, e.g. 192.168.1.* or 2001:DB8:2DE:0:0:0:0:*, IP segment in ipv6 format does not support :: shorthand.";
$lang->attend->note->allip        = 'All IPs';
$lang->attend->note->IPDenied     = 'IP is denied.';
$lang->attend->note->beginDate    = 'Set a date to begin tracking attendance. The attenance before this date will not be saved.';
$lang->attend->note->signInClient = 'Select All to allow clockin via any devices, otherwise users have to clock in via the selected one.';
$lang->attend->note->disabledIP   = 'The IPs format are disabeld.';
$lang->attend->note->disabledTime = '%s cannot be earlier than %s.';

$lang->attend->h = 'hours';
$lang->attend->m = 'minutes';
$lang->attend->s = 'seconds';

$lang->attend->signInClientError = 'Clockin failed. The settings is to clock in via %s only.';
$lang->attend->waitReviews       = 'There are <strong>%s</strong> records waiting to be reviewed.';

$lang->attend->statList = new stdclass();
$lang->attend->statList->stat  = "Attendance statistics";
$lang->attend->statList->late  = "Statistics of lateness";
$lang->attend->statList->leave = "Statistics of leave";

/**
 * For uni-app. 
 */
$lang->attend->uniPersonal = new stdClass();
$lang->attend->uniPersonal->absent      = 'Absent details';
$lang->attend->uniPersonal->lateArrival = 'Late&Arrival details';
$lang->attend->uniPersonal->leave       = 'Leave details';
$lang->attend->uniPersonal->overtime    = 'Overtime details';
$lang->attend->uniPersonal->makeup      = 'Makeup details';
$lang->attend->uniPersonal->lieu        = 'Lieu details';

$lang->attend->uni = new stdClass();
$lang->attend->uni->dept    = 'Department';
$lang->attend->uni->status  = 'Status';
$lang->attend->uni->signIn  = 'Sign-in time';
$lang->attend->uni->signOut = 'Sign-out time';
$lang->attend->uni->desc    = 'Description';
