1 /* This file is part of the KDE project 2 Copyright (C) 2009, 2011 Dag Andersen <danders@get2net.dk> 3 4 This library is free software; you can redistribute it and/or 5 modify it under the terms of the GNU Library General Public 6 License as published by the Free Software Foundation; either 7 version 2 of the License, or (at your option) any later version.. 8 9 This library is distributed in the hope that it will be useful, 10 but WITHOUT ANY WARRANTY; without even the implied warranty of 11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 Library General Public License for more details. 13 14 You should have received a copy of the GNU Library General Public License 15 along with this library; see the file COPYING.LIB. If not, write to 16 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 * Boston, MA 02110-1301, USA. 18 */ 19 20 // clazy:excludeall=qstring-arg 21 #include "kptcommonstrings.h" 22 23 #include <kundo2magicstring.h> 24 25 #include <KLocalizedString> 26 27 namespace KPlato 28 { 29 nodeName()30 QString ToolTip::nodeName() { return xi18nc("@info:tooltip", "The name of the task"); } nodeType()31 QString ToolTip::nodeType() { return xi18nc("@info:tooltip", "Task type"); } nodeResponsible()32 QString ToolTip::nodeResponsible() { return xi18nc("@info:tooltip", "The person responsible for this task"); } allocation()33 QString ToolTip::allocation() { return xi18nc("@info:tooltip", "List of resource allocations"); } nodeConstraint()34 QString ToolTip::nodeConstraint() { return xi18nc("@info:tooltip", "The timing constraint type"); } nodeConstraintStart()35 QString ToolTip::nodeConstraintStart() { return xi18nc("@info:tooltip", "Constraint start time"); } nodeConstraintEnd()36 QString ToolTip::nodeConstraintEnd() { return xi18nc("@info:tooltip", "Constraint end time"); } nodeDescription()37 QString ToolTip::nodeDescription() { return xi18nc("@info:tooltip", "Task notes"); } nodeWBS()38 QString ToolTip::nodeWBS() { return xi18nc("@info:tooltip", "Work Breakdown Structure Code"); } nodeLevel()39 QString ToolTip::nodeLevel() { return xi18nc("@info:tooltip", "Node level"); } nodeRisk()40 QString ToolTip::nodeRisk() { return xi18nc("@info:tooltip", "Risk controls the PERT distribution used when calculating the actual estimate for this task"); } nodePriority()41 QString ToolTip::nodePriority() { return xi18nc("@info:tooltip", "Scheduling priority.<nl/><note>Atm. only the <emphasis>TJ Scheduler</emphasis> supports priority.</note>"); } nodeRunningAccount()42 QString ToolTip::nodeRunningAccount() { return xi18nc("@info:tooltip", "Account for running costs"); } nodeStartupAccount()43 QString ToolTip::nodeStartupAccount() { return xi18nc("@info:tooltip", "Account for cost incurred at startup of the task"); } nodeStartupCost()44 QString ToolTip::nodeStartupCost() { return xi18nc("@info:tooltip", "The cost incurred at startup of the task"); } nodeShutdownAccount()45 QString ToolTip::nodeShutdownAccount() { return xi18nc("@info:tooltip", "Account for cost incurred at shutdown of the task"); } nodeShutdownCost()46 QString ToolTip::nodeShutdownCost() { return xi18nc("@info:tooltip", "The cost incurred at shutdown of the task"); } 47 nodeStartTime()48 QString ToolTip::nodeStartTime() { return xi18nc("@info:tooltip", "Planned start time"); } nodeEndTime()49 QString ToolTip::nodeEndTime() { return xi18nc("@info:tooltip", "Planned finish time"); } nodeEarlyStart()50 QString ToolTip::nodeEarlyStart() { return xi18nc("@info:tooltip", "Earliest start time allowed by dependencies"); } nodeEarlyFinish()51 QString ToolTip::nodeEarlyFinish() { return xi18nc("@info:tooltip", "Earliest finish time allowed by dependencies"); } nodeLateStart()52 QString ToolTip::nodeLateStart() { return xi18nc("@info:tooltip", "Latest start time allowed by dependencies"); } nodeLateFinish()53 QString ToolTip::nodeLateFinish() { return xi18nc("@info:tooltip", "Latest finish time allowed by dependencies"); } 54 nodeDuration()55 QString ToolTip::nodeDuration() { return xi18nc("@info:tooltip", "The planned duration"); } nodeVarianceDuration()56 QString ToolTip::nodeVarianceDuration() { return xi18nc("@info:tooltip", "The variance of the duration"); } nodeOptimisticDuration()57 QString ToolTip::nodeOptimisticDuration() { return xi18nc("@info:tooltip", "The optimistic duration"); } nodePessimisticDuration()58 QString ToolTip::nodePessimisticDuration() { return xi18nc("@info:tooltip", "The pessimistic duration"); } 59 nodePositiveFloat()60 QString ToolTip::nodePositiveFloat() { return xi18nc("@info:tooltip", "The duration by which a tasks start can be delayed without affecting the project completion time"); } 61 nodeNegativeFloat()62 QString ToolTip::nodeNegativeFloat() { return xi18nc("@info:tooltip", "The duration by which the duration of a task or path has to be reduced in order to fulfill a timing constraint"); } nodeNegativeFloat()63 QString WhatsThis::nodeNegativeFloat() { return xi18nc("@info:whatsthis", "Negative float is the duration by which the duration of a task or path has to be reduced in order to fulfill a timing constraint."); } 64 nodeFreeFloat()65 QString ToolTip::nodeFreeFloat() { return xi18nc("@info:tooltip", "The duration by which a task can be delayed or extended without affecting the start of any succeeding task"); } nodeFreeFloat()66 QString WhatsThis::nodeFreeFloat() { return xi18nc("@info:whatsthis", "Free float is the duration by which a task can be delayed or extended without affecting the start of any succeeding task."); } 67 nodeStartFloat()68 QString ToolTip::nodeStartFloat() { return xi18nc("@info:tooltip", "The duration from Early Start to Late Start"); } nodeStartFloat()69 QString WhatsThis::nodeStartFloat() { return xi18nc("@info:whatsthis", "Start float is the duration from Early Start to Late Start."); } 70 nodeFinishFloat()71 QString ToolTip::nodeFinishFloat() { return xi18nc("@info:tooltip", "The duration from Early Finish to Late Finish"); } nodeFinishFloat()72 QString WhatsThis::nodeFinishFloat() { return xi18nc("@info:whatsthis", "Finish float is the duration from Early Finish to Late Finish."); } 73 nodeAssignment()74 QString ToolTip::nodeAssignment() { return xi18nc("@info:tooltip", "The resources assigned to the task"); } 75 nodeStatus()76 QString ToolTip::nodeStatus() { return xi18nc("@info:tooltip", "Task status"); } nodeCompletion()77 QString ToolTip::nodeCompletion() { return xi18nc("@info:tooltip", "Task completion"); } nodePlannedEffortTo()78 QString ToolTip::nodePlannedEffortTo() { return xi18nc("@info:tooltip", "Planned effort"); } nodeActualEffortTo()79 QString ToolTip::nodeActualEffortTo() { return xi18nc("@info:tooltip", "Actual effort"); } nodeRemainingEffort()80 QString ToolTip::nodeRemainingEffort() { return xi18nc("@info:tooltip", "Remaining effort"); } nodePlannedCostTo()81 QString ToolTip::nodePlannedCostTo() { return xi18nc("@info:tooltip", "Planned cost"); } nodeActualCostTo()82 QString ToolTip::nodeActualCostTo() { return xi18nc("@info:tooltip", "Actual cost"); } completionStartedTime()83 QString ToolTip::completionStartedTime() { return xi18nc("@info:tooltip", "Time when task was actually started"); } completionStarted()84 QString ToolTip::completionStarted() { return xi18nc("@info:tooltip", "Shows if the task is started"); } completionFinishedTime()85 QString ToolTip::completionFinishedTime() { return xi18nc("@info:tooltip", "Time when task was actually finished"); } completionFinished()86 QString ToolTip::completionFinished() { return xi18nc("@info:tooltip", "Shows if the task is finished"); } completionStatusNote()87 QString ToolTip::completionStatusNote() { return xi18nc("@info:tooltip", "Status Note"); } 88 estimateExpected()89 QString ToolTip::estimateExpected() { return xi18nc("@info:tooltip", "Calculated expected estimate"); } estimateVariance()90 QString ToolTip::estimateVariance() { return xi18nc("@info:tooltip", "Calculated estimate variance"); } estimateOptimistic()91 QString ToolTip::estimateOptimistic() { return xi18nc("@info:tooltip", "Optimistic estimate"); } estimatePessimistic()92 QString ToolTip::estimatePessimistic() { return xi18nc("@info:tooltip", "Pessimistic estimate"); } estimateType()93 QString ToolTip::estimateType() { return xi18nc("@info:tooltip", "Type of estimate"); } estimateCalendar()94 QString ToolTip::estimateCalendar() { return xi18nc("@info:tooltip", "The calendar used when estimate type is Duration"); } estimate()95 QString ToolTip::estimate() { return xi18nc("@info:tooltip", "The most likely estimate"); } optimisticRatio()96 QString ToolTip::optimisticRatio() { return xi18nc("@info:tooltip", "Optimistic estimate"); } pessimisticRatio()97 QString ToolTip::pessimisticRatio() { return xi18nc("@info:tooltip", "Pessimistic estimate"); } riskType()98 QString ToolTip::riskType() { return xi18nc("@info:tooltip", "Type of risk"); } 99 nodeSchedulingStatus()100 QString ToolTip::nodeSchedulingStatus() { return xi18nc("@info:tooltip", "Shows the tasks scheduling status"); } nodeNotScheduled()101 QString ToolTip::nodeNotScheduled() { return xi18nc("@info:tooltip", "The task has not been scheduled"); } nodeAssignmentMissing()102 QString ToolTip::nodeAssignmentMissing() { return i18n("An effort has been estimated, but no resource has been assigned"); } nodeResourceOverbooked()103 QString ToolTip::nodeResourceOverbooked() { return xi18nc("@info:tooltip", "A resource assigned to this task is overbooked"); } nodeResourceUnavailable()104 QString ToolTip::nodeResourceUnavailable() { return xi18nc("@info:tooltip", "A resource assigned to this task is not available"); } nodeConstraintsError()105 QString ToolTip::nodeConstraintsError() { return xi18nc("@info:tooltip", "A timing constraint could not be met"); } nodeEffortNotMet()106 QString ToolTip::nodeEffortNotMet() { return xi18nc("@info:tooltip", "The assigned resource could not meet the estimated effort"); } nodeSchedulingError()107 QString ToolTip::nodeSchedulingError() { return xi18nc("@info:tooltip", "A scheduling error occurred"); } 108 nodeBCWS()109 QString ToolTip::nodeBCWS() { return xi18nc("@info:tooltip", "Budgeted Cost of Work Scheduled"); } nodeBCWP()110 QString ToolTip::nodeBCWP() { return xi18nc("@info:tooltip", "Budgeted Cost of Work Performed"); } nodeACWP()111 QString ToolTip::nodeACWP() { return xi18nc("@info:tooltip", "Actual Cost of Work Performed"); } nodePerformanceIndex()112 QString ToolTip::nodePerformanceIndex() { return i18n("Schedule performance index (BCWP/BCWS)"); } 113 resourceName()114 QString ToolTip::resourceName() { return xi18nc("@info:tooltip", "The name of the resource or resource group"); } resourceScope()115 QString ToolTip::resourceScope() { return xi18nc("@info:tooltip", "The scope of the resource or resource group"); } resourceType()116 QString ToolTip::resourceType() { return xi18nc("@info:tooltip", "The type of the resource or resource group"); } resourceInitials()117 QString ToolTip::resourceInitials() { return xi18nc("@info:tooltip", "The initials of the resource"); } resourceEMail()118 QString ToolTip::resourceEMail() { return xi18nc("@info:tooltip", "The e-mail address of the resource"); } resourceCalendar()119 QString ToolTip::resourceCalendar() { return xi18nc("@info:tooltip", "The calendar defines when the resource is working"); } resourceUnits()120 QString ToolTip::resourceUnits() { return xi18nc("@info:tooltip", "The maximum load that can be assigned"); } resourceAvailableFrom()121 QString ToolTip::resourceAvailableFrom() { return xi18nc("@info:tooltip", "Defines when the resource is available to the project"); } resourceAvailableUntil()122 QString ToolTip::resourceAvailableUntil() { return xi18nc("@info:tooltip", "Defines when the resource is available to the project"); } resourceNormalRate()123 QString ToolTip::resourceNormalRate() { return xi18nc("@info:tooltip", "The cost pr hour, normal hours"); } resourceOvertimeRate()124 QString ToolTip::resourceOvertimeRate() { return xi18nc("@info:tooltip", "The cost pr hour, overtime hours"); } resourceFixedCost()125 QString ToolTip::resourceFixedCost() { return xi18nc("@info:tooltip", "The fixed cost"); } resourceAccount()126 QString ToolTip::resourceAccount() { return xi18nc("@info:tooltip", "The account where the resource cost is accumulated"); } 127 accountName()128 QString ToolTip::accountName() { return xi18nc("@info:tooltip", "The name of the account"); } accountDescription()129 QString ToolTip::accountDescription() { return xi18nc("@info:tooltip", "The description of the account"); } 130 scheduleName()131 QString ToolTip::scheduleName() { return xi18nc("@info:tooltip", "The name and scheduling mode of the schedule"); } scheduleState()132 QString ToolTip::scheduleState() { return xi18nc("@info:tooltip", "The schedules state"); } 133 scheduleOverbooking()134 QString ToolTip::scheduleOverbooking() { return xi18nc("@info:tooltip", "Controls resource overbooking when scheduling"); } scheduleOverbooking()135 QString WhatsThis::scheduleOverbooking() { return xi18nc("@info:whatsthis", 136 "<para>Controls resource overbooking when scheduling.</para>" 137 "<para>If overbooking is allowed, a resource may be booked (on working days) to work more than it is available. This can happen if the resource is allocated to multiple tasks or are booked on other projects.</para>" 138 "<para>If overbooking is to be avoided, resources will not be booked more than they are available. On resource conflict, tasks will be delayed until the resource is available.</para>" 139 ); 140 } 141 scheduleDistribution()142 QString ToolTip::scheduleDistribution() { return xi18nc("@info:tooltip", "The distribution to be used during scheduling"); } scheduleDistribution()143 QString WhatsThis::scheduleDistribution() { return xi18nc("@info:whatsthis", 144 "<para>The distribution to be used during scheduling</para>" 145 "<para>If distribution is 'None', the tasks estimate is used as is during scheduling.</para>" 146 "<para>If distribution is 'PERT', the estimate used is calculated based on the entered optimistic- (O), pessimistic-(P) and most likely (M) estimate. The formula used for this is (O + 4 * M + P) / 6.</para>" 147 ); 148 } 149 scheduleCalculate()150 QString ToolTip::scheduleCalculate() { return xi18nc("@info:tooltip", "Defines the schedules to be calculated"); } scheduleStart()151 QString ToolTip::scheduleStart() { return xi18nc("@info:tooltip", "The scheduled start time"); } scheduleFinish()152 QString ToolTip::scheduleFinish() { return xi18nc("@info:tooltip", "The scheduled finish time"); } schedulingDirection()153 QString ToolTip::schedulingDirection() { return xi18nc("@info:tooltip", "The scheduling direction"); } schedulingDirection()154 QString WhatsThis::schedulingDirection() { return xi18nc("@info:whatsthis", 155 "<para>The scheduling direction.</para>" 156 "<para>If direction is Forward, the project is scheduled starting at the projects earliest start time specified in the main project dialog.</para>" 157 "<para>If direction is Backward, the project is scheduled starting at the projects latest finish time specified in the main project dialog.</para>" 158 ); 159 } 160 scheduleScheduler()161 QString ToolTip::scheduleScheduler() { return xi18nc("@info:tooltip", "The scheduler used for calculating the project schedule"); } scheduleScheduler()162 QString WhatsThis::scheduleScheduler() { return xi18nc("@info:whatsthis", 163 "<para>The scheduler used for calculating the project schedule.</para>" 164 "<para>The default built-in scheduler is the Network Scheduler.</para>" 165 "<para>Other schedulers presently available is RCPS if libRCPS is installed on your system. " 166 "RCPS is a genetics based resource constrained project scheduler.</para>" 167 ); 168 } 169 scheduleGranularity()170 QString ToolTip::scheduleGranularity() { return xi18nc("@info:tooltip", "The granularity used when calculating the project schedule"); } scheduleMode()171 QString ToolTip::scheduleMode() { return xi18nc("@info:tooltip", 172 "<para>The scheduling mode:" 173 "<list>" 174 "<item><emphasis>Manual:</emphasis> Calculation must be initiated manually.</item>" 175 "<item><emphasis>Auto:</emphasis> Calculation is initiated automatically.</item>" 176 "</list>" 177 "</para>"); 178 } 179 documentUrl()180 QString ToolTip::documentUrl() { return xi18nc("@info:tooltip", "The url of the document"); } documentType()181 QString ToolTip::documentType() { return xi18nc("@info:tooltip", "The type of the document"); } documentStatus()182 QString ToolTip::documentStatus() { return xi18nc("@info:tooltip", "The status of the document"); } documentSendAs()183 QString ToolTip::documentSendAs() { return xi18nc("@info:tooltip", "Defines how this document is sent"); } 184 calendarName()185 QString ToolTip::calendarName() { return xi18nc("@info:tooltip", "The name of the calendar"); } calendarTimeZone()186 QString ToolTip::calendarTimeZone() { return xi18nc("@info:tooltip", "The timezone of the calendar"); } 187 relationParent()188 QString ToolTip::relationParent() { return xi18nc("@info:tooltip", "The name of the required task"); } relationChild()189 QString ToolTip::relationChild() { return xi18nc("@info:tooltip", "The name of the dependent task"); } relationType()190 QString ToolTip::relationType() { return xi18nc("@info:tooltip", "The type of relation"); } relationLag()191 QString ToolTip::relationLag() { return xi18nc("@info:tooltip", "The relations time lag"); } 192 193 194 // Work around string freeze removeDocument()195 KUndo2MagicString UndoText::removeDocument() { return kundo2_i18n("Remove document"); } 196 197 } //namespace KPlato 198 199