#
# ***************************************************************************
# Copyright (c) 2010 Qcadoo Limited
# Project: Qcadoo MES
# Version: 1.4
#
# This file is part of Qcadoo.
#
# Qcadoo is free software; you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation; either version 3 of the License,
# or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
# ***************************************************************************
#

### MENU

qcadooView.menu.orders = Planning
assignmentToShift.menu.orders.assignmentToShift = Assignment to shift
assignmentToShift.menu.orders.assignmentToShiftReportList = Print assignment to shift


### MODEL

assignmentToShift.assignmentToShift.startDate.label = Start date
assignmentToShift.assignmentToShift.shift.label = Shift
assignmentToShift.assignmentToShift.shift.label.focus = Select shift
assignmentToShift.assignmentToShift.factory.label = Factory
assignmentToShift.assignmentToShift.factory.label.focus = Select factory
assignmentToShift.assignmentToShift.approvedAttendanceList.label = Approved attendance list
assignmentToShift.assignmentToShift.externalSynchronized.label = Synchronized
assignmentToShift.assignmentToShift.state.label = State
assignmentToShift.assignmentToShift.assignmentToShiftStateChange.label = State changes
assignmentToShift.assignmentToShift.showLastStateChangeResult.label = Show error
assignmentToShift.assignmentToShift.lastStateChangeFails.label = Error
assignmentToShift.assignmentToShift.lastStateChangeFailCause.label = Error

assignmentToShift.staffAssignmentToShift.worker.label = Worker
assignmentToShift.staffAssignmentToShift.worker.label.focus = Select worker
assignmentToShift.staffAssignmentToShift.productionLine.label = Production line
assignmentToShift.staffAssignmentToShift.productionLine.label.focus = Select production line
assignmentToShift.staffAssignmentToShift.occupationType.label = Occupation type
assignmentToShift.staffAssignmentToShift.occupationTypeName.label = Task name
assignmentToShift.staffAssignmentToShift.occupationTypeEnum.value.01workOnLine = {0} - {1}
assignmentToShift.staffAssignmentToShift.occupationTypeEnum.value.02mix = MIX
assignmentToShift.staffAssignmentToShift.occupationTypeEnum.value.03sickness = Sick leave
assignmentToShift.staffAssignmentToShift.occupationTypeEnum.value.04otherCase = Other tasks
assignmentToShift.staffAssignmentToShift.occupationTypeValueForGrid.label = Occupation
assignmentToShift.staffAssignmentToShift.masterOrder.label = Sales order
assignmentToShift.staffAssignmentToShift.masterOrder.label.focus = Select sales order

assignmentToShift.staffAssignmentToShift.state.label = Status
assignmentToShift.staffAssignmentToShift.state.value.01simple = Draft
assignmentToShift.staffAssignmentToShift.state.value.02accepted = Accepted
assignmentToShift.staffAssignmentToShift.state.value.03corrected = Corrected

assignmentToShift.staffAssignmentToShift.description.label = Description

assignmentToShift.occupationType.dictionary = Occupation types on shift
basic.occupationType.dictionary = Occupation types on shift

assignmentToShift.assignmentToShift.state.value.01draft = Draft
assignmentToShift.assignmentToShift.state.value.02accepted = Accepted
assignmentToShift.assignmentToShift.state.value.03duringCorrection = During correction
assignmentToShift.assignmentToShift.state.value.04corrected = Corrected

assignmentToShift.assignmentToShiftStateChange.dateAndTime.label = Date and time
assignmentToShift.assignmentToShiftStateChange.sourceState.label = Source status
assignmentToShift.assignmentToShiftStateChange.targetState.label = Target status
assignmentToShift.assignmentToShiftStateChange.shift.label = Shift
assignmentToShift.assignmentToShiftStateChange.worker.label = Worker

assignmentToShift.assignmentToShiftStateChange.sourceState.value.01draft = Draft
assignmentToShift.assignmentToShiftStateChange.sourceState.value.02accepted	= Accepted
assignmentToShift.assignmentToShiftStateChange.sourceState.value.03duringCorrection	= During correction
assignmentToShift.assignmentToShiftStateChange.sourceState.value.04corrected = Corrected

assignmentToShift.assignmentToShiftStateChange.targetState.value.01draft = Draft
assignmentToShift.assignmentToShiftStateChange.targetState.value.02accepted = Accepted
assignmentToShift.assignmentToShiftStateChange.targetState.value.03duringCorrection = During correction
assignmentToShift.assignmentToShiftStateChange.targetState.value.04corrected = Corrected

assignmentToShift.assignmentToShiftReport.number.label = Number
assignmentToShift.assignmentToShiftReport.name.label = Name
assignmentToShift.assignmentToShiftReport.shift.label = Shift
assignmentToShift.assignmentToShiftReport.shift.label.focus = Select shift
assignmentToShift.assignmentToShiftReport.factory.label = Factory
assignmentToShift.assignmentToShiftReport.factory.label.focus = Select factory
assignmentToShift.assignmentToShiftReport.dateFrom.label = From day
assignmentToShift.assignmentToShiftReport.dateTo.label = To day
assignmentToShift.assignmentToShiftReport.generated.label = Generated
assignmentToShift.assignmentToShiftReport.createDate.label = On day
assignmentToShift.assignmentToShiftReport.createUser.label = By

assignmentToShift.multiAssignmentToShift.productionLine.label = Production line
assignmentToShift.multiAssignmentToShift.productionLine.label.focus = Select production line
assignmentToShift.multiAssignmentToShift.occupationType.label = Occupation type
assignmentToShift.multiAssignmentToShift.occupationTypeName.label = Task name
assignmentToShift.multiAssignmentToShift.occupationTypeEnum.value.01workOnLine = {0} - {1}
assignmentToShift.multiAssignmentToShift.occupationTypeEnum.value.02mix = MIX
assignmentToShift.multiAssignmentToShift.occupationTypeEnum.value.03sickness = Sick leave
assignmentToShift.multiAssignmentToShift.occupationTypeEnum.value.04otherCase = Other task
assignmentToShift.multiAssignmentToShift.masterOrder.label = Sales order
assignmentToShift.multiAssignmentToShift.masterOrder.label.focus = Select sales order

### VIEW

assignmentToShift.assignmentToShiftList.window.mainTab.assignmentToShiftList.header = Assignment to shift

assignmentToShift.assignmentToShiftDetails.window.mainTab.form.headerNew = New assignment to shift
assignmentToShift.assignmentToShiftDetails.window.mainTab.form.headerEdit = Edit assignment to shift

assignmentToShift.assignmentToShiftDetails.window.mainTab.form.staffAssignmentToShifts.header = Staff assignments

assignmentToShift.assignmentToShiftDetails.window.mainTab.form.staffAssignmentToShifts.column.workerNumber = Number
assignmentToShift.assignmentToShiftDetails.window.mainTab.form.staffAssignmentToShifts.column.workerName = Name
assignmentToShift.assignmentToShiftDetails.window.mainTab.form.staffAssignmentToShifts.column.workerSurname = Surname
assignmentToShift.assignmentToShiftDetails.window.mainTab.form.staffAssignmentToShifts.column.workerWageGroup = Wage group
assignmentToShift.assignmentToShiftDetails.window.mainTab.form.staffAssignmentToShifts.column.workerLaborHourlyCost = Labor hourly cost
assignmentToShift.assignmentToShiftDetails.window.mainTab.form.staffAssignmentToShifts.column.occupationType = Occupation type

assignmentToShift.assignmentToShiftDetails.window.mainTab.form.shift.lookup.window.grid.header = Shifts
assignmentToShift.assignmentToShiftDetails.window.mainTab.form.factory.lookup.window.grid.header = Factories

assignmentToShift.assignmentToShiftDetails.window.comparePlanAndCorrected.compareForm.plannedStaffAssignmentToShifts.column.workerNumber = Number
assignmentToShift.assignmentToShiftDetails.window.comparePlanAndCorrected.compareForm.plannedStaffAssignmentToShifts.column.workerName = Name
assignmentToShift.assignmentToShiftDetails.window.comparePlanAndCorrected.compareForm.plannedStaffAssignmentToShifts.column.workerSurname = Surname
assignmentToShift.assignmentToShiftDetails.window.comparePlanAndCorrected.compareForm.plannedStaffAssignmentToShifts.column.occupationType = Occupation type

assignmentToShift.assignmentToShiftDetails.window.comparePlanAndCorrected.compareForm.correctedStaffAssignmentToShifts.column.workerNumber = Number
assignmentToShift.assignmentToShiftDetails.window.comparePlanAndCorrected.compareForm.correctedStaffAssignmentToShifts.column.workerName = Name
assignmentToShift.assignmentToShiftDetails.window.comparePlanAndCorrected.compareForm.correctedStaffAssignmentToShifts.column.workerSurname = Surname
assignmentToShift.assignmentToShiftDetails.window.comparePlanAndCorrected.compareForm.correctedStaffAssignmentToShifts.column.occupationType = Occupation type

assignmentToShift.assignmentToShiftDetails.window.comparePlanAndCorrected.tabLabel = Plan. and corr. comparison
assignmentToShift.assignmentToShiftDetails.window.comparePlanAndCorrected.compareForm.plannedStaffAssignmentToShifts.header  = Planned assignment
assignmentToShift.assignmentToShiftDetails.window.comparePlanAndCorrected.compareForm.correctedStaffAssignmentShifts.header = Corrected assignment

assignmentToShift.assignmentToShiftDetails.window.history.tabLabel = History
assignmentToShift.assignmentToShiftDetails.window.history.assignmentToShiftStateChange.header = History

assignmentToShift.staffAssignmentToShiftDetails.window.mainTab.assignmentToShiftDetails.worker.lookup.window.grid.header = Workers
assignmentToShift.staffAssignmentToShiftDetails.window.mainTab.assignmentToShiftDetails.productionLine.lookup.window.grid.header = Production lines
assignmentToShift.staffAssignmentToShiftDetails.window.mainTab.assignmentToShiftDetails.masterOrder.lookup.window.grid.header = Sales orders

assignmentToShift.assignmentToShiftReportList.window.mainTab.assignmentToShiftReportList.header = Print assignment to shift

assignmentToShift.assignmentToShiftReportDetails.window.mainTab.form.shift.lookup.window.grid.header = Shifts
assignmentToShift.assignmentToShiftReportDetails.window.mainTab.form.factory.lookup.window.grid.header = Factories

assignmentToShift.assignmentToShiftReportDetails.window.mainTab.form.headerNew = Print new assignment to shift
assignmentToShift.assignmentToShiftReportDetails.window.mainTab.form.headerEdit = Print assignment to shift

assignmentToShift.multiAssignmentToShiftDetails.window.ribbon.add = Add
assignmentToShift.multiAssignmentToShiftDetails.window.ribbon.add.addManyWorkers = Add workers
assignmentToShift.multiAssignmentToShiftDetails.window.mainTab.multiAssignmentToShiftDetails.workers.header = Workers
assignmentToShift.multiAssignmentToShiftDetails.window.mainTab.multiAssignmentToShiftDetails.staffLookup.lookup.window.grid.header = Workers
assignmentToShift.multiAssignmentToShiftDetails.window.mainTab.multiAssignmentToShiftDetails.productionLine.lookup.window.grid.header = Production lines
assignmentToShift.multiAssignmentToShiftDetails.window.mainTab.multiAssignmentToShiftDetails.masterOrder.lookup.window.grid.header = Sales orders
assignmentToShift.multiAssignmentToShiftDetails.window.mainTab.multiAssignmentToShiftDetails.headerNew = Add many workers
assignmentToShift.multiAssignmentToShiftDetails.window.mainTab.multiAssignmentToShiftDetails.headerEdit = Add many workers

### INFO

assignmentToShift.assignmentToShift.info.lastStateChangeSucceed = Last assignment to shift''s state transition was succeed.

assignmentToShift.assignmentToShift.info.isWaitingForSync = Assignment to shift is waiting for synchronization with external system
assignmentToShift.assignmentToShift.info.lastStateChangeFails = Last assignment to shift''s send request was refused by the external system.
assignmentToShift.assignmentToShift.info.lastStateChangeFails.withCause = Last assignment to shift''s send request was refused by the external system. Cause: {0}


### ERROR

assignmentToShift.staffAssignmentToShift.productionLine.isEmpty = Production line is required
assignmentToShift.assignmentToShift.report.onlyFiveDays = Report can be generate only for 5 days
assignmentToShift.assignmentToShift.entityAlreadyExists = Already exists entity for given shift, factory and date
assignmentToShift.assignmentToShift.report.badDatesOrder = Wrong order of dates


### RIBBON

assignmentToShift.assignmentToShiftList.window.ribbon.status = Status
assignmentToShift.assignmentToShiftList.window.ribbon.status.acceptAssignmentToShift  = Accept
assignmentToShift.assignmentToShiftList.window.ribbon.status.correctAssignmentToShift = Correct
assignmentToShift.assignmentToShiftList.window.ribbon.status.acceptCorrectedAssignmentToShift = Approve correction

assignmentToShift.assignmentToShiftList.window.ribbon.status.accepted.confirm = Accepted assignment to shift?
assignmentToShift.assignmentToShiftList.window.ribbon.status.duringCorrection.confirm = Corrected assignment to shift?
assignmentToShift.assignmentToShiftList.window.ribbon.status.corrected.confirm = Approve the correction assignment to shift?

assignmentToShift.assignmentToShiftList.window.ribbon.message.differentStates = Selected assignments to shift have different statuses.
assignmentToShift.assignmentToShiftList.window.ribbon.message.canNotDeleteAssignment = Assignment to shift with status other than Draft can not be deleted.

assignmentToShift.assignmentToShiftDetails.window.ribbon.status = Status
assignmentToShift.assignmentToShiftDetails.window.ribbon.status.acceptAssignmentToShift = Accept
assignmentToShift.assignmentToShiftDetails.window.ribbon.status.correctAssignmentToShift = Correct
assignmentToShift.assignmentToShiftDetails.window.ribbon.status.acceptCorrectedAssignmentToShift = Approve correction

assignmentToShift.assignmentToShiftDetails.window.ribbon.status.accepted.confirm = Accepted assignment to shift?
assignmentToShift.assignmentToShiftDetails.window.ribbon.status.duringCorrection.confirm = Corrected assignment to shift?
assignmentToShift.assignmentToShiftDetails.window.ribbon.status.corrected.confirm = Approve the correction assignment to shift?

assignmentToShift.assignmentToShiftDetails.window.ribbon.copy = Copy
assignmentToShift.assignmentToShiftDetails.window.ribbon.copy.copyStaffAssignmentToShift = Copy<br/>worker

assignmentToShift.assignmentToShiftDetails.window.ribbon.add = Add
assignmentToShift.assignmentToShiftDetails.window.ribbon.add.addManyWorkers = Add many<br/>workers

assignmentToShift.assignmentToShiftDetails.window.ribbon.stateDoesNotAllowEditing = Assignment to shift''s state does not allow editing

assignmentToShift.assignmentToShiftReportDetails.window.ribbon.generate = Report
assignmentToShift.assignmentToShiftReportDetails.window.ribbon.generate.generateReport = Generate
assignmentToShift.assignmentToShiftReportDetails.window.ribbon.export = Report
assignmentToShift.assignmentToShiftReportDetails.window.ribbon.export.xls = XLS

assignmentToShift.assignmentToShiftReport.report.message.documentsWasGenerated = Document was generated
assignmentToShift.assignmentToShiftReport.ribbon.message.recordNotGenerated = Document was not generated


### REPORT

assignmentToShift.assignmentToShiftReport.report.error.documentsWasGenerated  = Documents was generated
assignmentToShift.assignmentToShiftReport.window.mainTab.assignmentToShiftReportDetails.generatedMessage = Document was generated
assignmentToShift.assignmentToShiftReport.report.fileName = assignment_to_shift
assignmentToShift.assignmentToShift.report.title = Assignment to shift
assignmentToShift.assignmentToShiftReport.report.columnHeader.shift = Shift:
assignmentToShift.assignmentToShiftReport.report.columnHeader.factory = Factory:
assignmentToShift.assignmentToShiftReport.report.columnHeader.author = By:
assignmentToShift.assignmentToShiftReport.report.columnHeader.updateDate = Generated at:
assignmentToShift.assignmentToShiftReport.report.columnHeader.occupationType = Assignment
assignmentToShift.assignmentToShiftReport.report.columnHeader.occupationType.value.01workOnLine = {0} - {1}
assignmentToShift.assignmentToShiftReport.report.columnHeader.occupationType.value.02mix = MIX
assignmentToShift.assignmentToShiftReport.report.columnHeader.occupationType.value.03sickness = Sick leave
assignmentToShift.assignmentToShiftReport.report.columnHeader.occupationType.value.04otherCase = Other tasks
assignmentToShift.assignmentToShiftReport.report.columnHeader.day = {0}

assignmentToShift.assignmentToShift.crew.label = Crew
assignmentToShift.assignmentToShift.crew.label.focus = Select crew
assignmentToShift.assignmentToShiftDetails.window.mainTab.form.crew.lookup.window.grid.header = Crews
assignmentToShift.assignmentToShiftDetails.window.comparePlanAndCorrected.compareForm.correctedStaffAssignmentToShifts.header=Corrected assignment
orders.planningParameters.window.assignmentToShiftTab.hideAssignedStaff.description=Check if already assigned workers should be hidden in assignment to shift.
orders.planningParameters.window.assignmentToShiftTab.hideAssignedStaff.label=Hide assigned workers
orders.planningParameters.window.assignmentToShiftTab.tabLabel=Assignment to shift
