<?php
/**
 * The zh-cn file of common module of ZDOO.
 *
 * @copyright   Copyright 2009-2018 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
 * @license     ZPL (http://zpl.pub/page/zplv12.html)
 * @author      Chunsheng wang <chunsheng@cnezsoft.com>
 * @package     common 
 * @version     $Id$
 * @link        http://www.zdoo.com
 */
$lang->app = new stdclass();
$lang->app->name = '日常办公';

$lang->oa = new stdclass();
$lang->menu->dividerMenu->oa = ',annual,egress,';

$lang->menu->oa = new stdclass();
$lang->menu->oa->dashboard = '首页|dashboard|index|';
$lang->menu->oa->my        = '审批|my|review|';
$lang->menu->oa->announce  = '公告|announce|browse|';
$lang->menu->oa->attend    = '考勤|attend|personal|';
$lang->menu->oa->annual    = '年假|annual|personal|';
$lang->menu->oa->leave     = '请假|leave|personal|';
$lang->menu->oa->makeup    = '补班|makeup|personal|';
$lang->menu->oa->overtime  = '加班|overtime|personal|';
$lang->menu->oa->lieu      = '调休|lieu|personal|';
$lang->menu->oa->trip      = '出差|trip|personal|';
$lang->menu->oa->egress    = '外出|egress|personal|';
$lang->menu->oa->refund    = '报销|refund|personal|';
$lang->menu->oa->holiday   = '节假日|holiday|browse|';
$lang->menu->oa->setting   = '设置|setting|modules|app=oa';

$lang->menu->dashboard = $lang->menu->oa;

$lang->dashboard = new stdclass();

if(!isset($lang->announce)) $lang->announce = new stdclass();
$lang->announce->menu = new stdclass();
$lang->announce->menu->browse   = array('link' => '公告列表|announce|browse|', 'alias' => 'create,edit,view');
$lang->announce->menu->category = '类目管理|tree|browse|type=announce|';

if(!isset($lang->attend)) $lang->attend = new stdclass();
$lang->attend->menu = new stdclass();
$lang->attend->menu->personal    = '我的考勤|attend|personal|';
$lang->attend->menu->department  = '部门考勤|attend|department|';
$lang->attend->menu->company     = '公司考勤|attend|company|';
$lang->attend->menu->detail      = '考勤明细|attend|detail|';
$lang->attend->menu->review      = '补录审批|attend|waitreview|';
$lang->attend->menu->allReview   = '所有补录|attend|allreview|';
$lang->attend->menu->stat        = array('link' => '统计|attend|attendStat|', 'alias' => 'lateStat,leaveStat');
$lang->attend->menu->attendGroup = '考勤组|attendgroup|browse|';
$lang->attend->menu->settings    = array('link' => '设置|attend|settings|', 'alias' => 'personalsettings,setmanager');

if(!isset($lang->attendgroup)) $lang->attendgroup = new stdclass();
$lang->attendgroup->menu = $lang->attend->menu;
$lang->menuGroups->attendgroup = 'attend';

if(!isset($lang->annual)) $lang->annual = new stdclass();
$lang->annual->menu = new stdclass();
$lang->annual->menu->personal           = '我的年假|annual|personal|';
$lang->annual->menu->all                = '所有年假|annual|all|';
$lang->annual->menu->personalConversion = '我的折算|conversion|personal|';
$lang->annual->menu->allConversion      = '所有折算|conversion|all|';

if(!isset($lang->conversion)) $lang->conversion = new stdclass();
$lang->conversion->menu = $lang->annual->menu;
$lang->menuGroups->conversion = 'annual';

if(!isset($lang->leave)) $lang->leave = new stdclass();
$lang->leave->menu = new stdclass();
$lang->leave->menu->personal     = '我的请假|leave|personal|';
$lang->leave->menu->browseReview = '待审批|leave|browsereview|';
$lang->leave->menu->myReviewed   = '已审批|leave|myreviewed|';
$lang->leave->menu->company      = '所有请假|leave|company|';
$lang->leave->menu->settings     = array('link' => '设置|leave|setReviewer|', 'alias' => 'personalAnnual');

if(!isset($lang->makeup)) $lang->makeup = new stdclass();
$lang->makeup->menu = new stdclass();
$lang->makeup->menu->personal     = '我的补班|makeup|personal|';
$lang->makeup->menu->browseReview = '待审批|makeup|browsereview|';
$lang->makeup->menu->myReviewed   = '已审批|makeup|myreviewed|';
$lang->makeup->menu->company      = '所有补班|makeup|company|';
$lang->makeup->menu->settings     = '设置|makeup|setReviewer|';

if(!isset($lang->overtime)) $lang->overtime = new stdclass();
$lang->overtime->menu = new stdclass();
$lang->overtime->menu->personal     = '我的加班|overtime|personal|';
$lang->overtime->menu->browseReview = '待审批|overtime|browsereview|';
$lang->overtime->menu->myReviewed   = '已审批|overtime|myreviewed|';
$lang->overtime->menu->company      = '所有加班|overtime|company|';
$lang->overtime->menu->settings     = '设置|overtime|setReviewer|';

if(!isset($lang->lieu)) $lang->lieu = new stdclass();
$lang->lieu->menu = new stdclass();
$lang->lieu->menu->personal     = '我的调休|lieu|personal|';
$lang->lieu->menu->browseReview = '待审批|lieu|browsereview|';
$lang->lieu->menu->myReviewed   = '已审批|lieu|myreviewed|';
$lang->lieu->menu->company      = '所有调休|lieu|company|';
$lang->lieu->menu->balance      = '调休余额|lieu|balance|';
$lang->lieu->menu->conversion   = '调休折算|lieu|conversion|';
$lang->lieu->menu->settings     = '设置|lieu|setReviewer|';

if(!isset($lang->trip)) $lang->trip = new stdclass();
$lang->trip->menu = new stdclass();
$lang->trip->menu->personal     = '我的出差|trip|personal|';
$lang->trip->menu->browseReview = '待审批|trip|browsereview|';
$lang->trip->menu->department   = '部门|trip|department|';
$lang->trip->menu->company      = '所有出差|trip|company|';
$lang->trip->menu->setting      = '设置|trip|setReviewer|';

if(!isset($lang->egress)) $lang->egress = new stdclass();
$lang->egress->menu = new stdclass();
$lang->egress->menu->personal     = '我的外出|egress|personal|';
$lang->egress->menu->browseReview = '待审批|egress|browsereview|';
$lang->egress->menu->department   = '部门|egress|department|';
$lang->egress->menu->company      = '所有外出|egress|company|';
$lang->egress->menu->setting      = '设置|egress|setReviewer|';

if(!isset($lang->refund)) $lang->refund = new stdclass();
$lang->refund->menu = new stdclass();
$lang->refund->menu->personal = array('link' => '我的报销|refund|personal|', 'alias' => 'create,edit');
$lang->refund->menu->review     = '待审批|refund|browsereview|status=unreviewed';
$lang->refund->menu->reviewedBy = '由我审批|refund|browsereview|status=reviewed';
$lang->refund->menu->todo       = '待报销|refund|todo|';
$lang->refund->menu->company    = '所有报销|refund|company|';
$lang->refund->menu->settings   = array('link' => '设置|refund|setreviewer|', 'alias' => 'setcategory,setdepositor,setrefundby');

if(!isset($lang->holiday)) $lang->holiday = new stdclass();
$lang->holiday->menu = new stdclass();
$lang->holiday->menu->all = '所有|holiday|browse|';

$lang->setting->menu = new stdclass();
$lang->setting->menu->modules         = '功能模块|setting|modules|app=oa';
$lang->setting->menu->companyAttend   = '公司考勤设置|attend|settings|module=setting';
$lang->setting->menu->personalAttend  = '个人考勤设置|attend|personalSettings|module=setting';
$lang->setting->menu->deptManager     = '部门经理设置|attend|setManager|module=setting';
$lang->setting->menu->leaveReviewer   = '请假设置|leave|setReviewer|module=setting';
$lang->setting->menu->makeupReviewer  = '补班设置|makeup|setReviewer|module=setting';
$lang->setting->menu->overtimeReviewer= '加班设置|overtime|setReviewer|module=setting';
$lang->setting->menu->lieuReviewer    = '调休设置|lieu|setReviewer|module=setting';
$lang->setting->menu->tripReviewer    = '出差设置|trip|setReviewer|module=setting';
$lang->setting->menu->egressReviewer  = '外出设置|egress|setReviewer|module=setting';
$lang->setting->menu->refundReviewer  = '报销审批人|refund|setReviewer|module=setting';
$lang->setting->menu->refundCategory  = '报销科目|refund|setCategory|module=setting';
$lang->setting->menu->refundDepositor = '报销账户|refund|setDepositor|module=setting';
$lang->setting->menu->refundBy        = '由谁报销|refund|setRefundBy|module=setting';

/* Menu of review module, use for mobile. */ 
if(!isset($lang->review)) $lang->review = new stdclass();
$lang->review->menu = new stdclass();
$lang->review->menu->attend   = '补录|attend|personal|';
$lang->review->menu->leave    = '请假|leave|personal|';
$lang->review->menu->overtime = '加班|overtime|personal|';
$lang->review->menu->lieu     = '调休|lieu|personal|';
$lang->review->menu->makeup   = '补班|makeup|personal|';
$lang->review->menu->refund   = '报销|refund|personal|';

$lang->timelineStatus = new stdclass();
$lang->timelineStatus->created   = '发起';
$lang->timelineStatus->reimburse = '已报销';
$lang->timelineStatus->doing     = '审批中';
$lang->timelineStatus->wait      = '等待审批';
$lang->timelineStatus->revoked   = '撤销';
$lang->timelineStatus->submitted = '再次发起';
$lang->timelineStatus->reviewed  = '审批';
$lang->timelineStatus->reported  = '销假';
$lang->timelineStatus->reject    = '已驳回';
$lang->timelineStatus->pass      = '已通过';

include (dirname(__FILE__) . '/menuOrder.php');
