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 | #include "kptcommonstrings.h" |
21 | |
22 | #include <klocale.h> |
23 | #include <kundo2magicstring.h> |
24 | |
25 | namespace KPlato |
26 | { |
27 | |
28 | QString ToolTip::nodeName() { return i18nc( "@info:tooltip" , "The name of the task" ); } |
29 | QString ToolTip::nodeType() { return i18nc( "@info:tooltip" , "Task type" ); } |
30 | QString ToolTip::nodeResponsible() { return i18nc( "@info:tooltip" , "The person responsible for this task" ); } |
31 | QString ToolTip::allocation() { return i18nc( "@info:tooltip" , "List of resource allocations" ); } |
32 | QString ToolTip::nodeConstraint() { return i18nc( "@info:tooltip" , "The timing constraint type" ); } |
33 | QString ToolTip::nodeConstraintStart() { return i18nc( "@info:tooltip" , "Constraint start time" ); } |
34 | QString ToolTip::nodeConstraintEnd() { return i18nc( "@info:tooltip" , "Constraint end time" ); } |
35 | QString ToolTip::nodeDescription() { return i18nc( "@info:tooltip" , "Task notes" ); } |
36 | QString ToolTip::nodeWBS() { return i18nc( "@info:tooltip" , "Work Breakdown Structure Code" ); } |
37 | QString ToolTip::nodeLevel() { return i18nc( "@info:tooltip" , "Node level" ); } |
38 | QString ToolTip::nodeRisk() { return i18nc( "@info:tooltip" , "Risk controls the PERT distribution used when calculating the actual estimate for this task" ); } |
39 | QString ToolTip::nodeRunningAccount() { return i18nc( "@info:tooltip" , "Account for running costs" ); } |
40 | QString ToolTip::nodeStartupAccount() { return i18nc( "@info:tooltip" , "Account for cost incurred at startup of the task" ); } |
41 | QString ToolTip::nodeStartupCost() { return i18nc( "@info:tooltip" , "The cost incurred at startup of the task" ); } |
42 | QString ToolTip::nodeShutdownAccount() { return i18nc( "@info:tooltip" , "Account for cost incurred at shutdown of the task" ); } |
43 | QString ToolTip::nodeShutdownCost() { return i18nc( "@info:tooltip" , "The cost incurred at shutdown of the task" ); } |
44 | |
45 | QString ToolTip::nodeStartTime() { return i18nc( "@info:tooltip" , "Planned start time" ); } |
46 | QString ToolTip::nodeEndTime() { return i18nc( "@info:tooltip" , "Planned finish time" ); } |
47 | QString ToolTip::nodeEarlyStart() { return i18nc( "@info:tooltip" , "Earliest start time allowed by dependencies" ); } |
48 | QString ToolTip::nodeEarlyFinish() { return i18nc( "@info:tooltip" , "Earliest finish time allowed by dependencies" ); } |
49 | QString ToolTip::nodeLateStart() { return i18nc( "@info:tooltip" , "Latest start time allowed by dependencies" ); } |
50 | QString ToolTip::nodeLateFinish() { return i18nc( "@info:tooltip" , "Latest finish time allowed by dependencies" ); } |
51 | |
52 | QString ToolTip::nodeDuration() { return i18nc( "@info:tooltip" , "The planned duration" ); } |
53 | QString ToolTip::nodeVarianceDuration() { return i18nc( "@info:tooltip" , "The variance of the duration" ); } |
54 | QString ToolTip::nodeOptimisticDuration() { return i18nc( "@info:tooltip" , "The optimistic duration" ); } |
55 | QString ToolTip::nodePessimisticDuration() { return i18nc( "@info:tooltip" , "The pessimistic duration" ); } |
56 | |
57 | QString ToolTip::nodePositiveFloat() { return i18nc( "@info:tooltip" , "The duration by which a tasks start can be delayed without affecting the project completion time" ); } |
58 | |
59 | QString ToolTip::nodeNegativeFloat() { return i18nc( "@info:tooltip" , "The duration by which the duration of a task or path has to be reduced in order to fulfill a timing constraint" ); } |
60 | QString WhatsThis::nodeNegativeFloat() { return i18nc( "@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." ); } |
61 | |
62 | QString ToolTip::nodeFreeFloat() { return i18nc( "@info:tooltip" , "The duration by which a task can be delayed or extended without affecting the start of any succeeding task" ); } |
63 | QString WhatsThis::nodeFreeFloat() { return i18nc( "@info:whatsthis" , "Free float is the duration by which a task can be delayed or extended without affecting the start of any succeeding task." ); } |
64 | |
65 | QString ToolTip::nodeStartFloat() { return i18nc( "@info:tooltip" , "The duration from Early Start to Late Start" ); } |
66 | QString WhatsThis::nodeStartFloat() { return i18nc( "@info:whatsthis" , "Start float is the duration from Early Start to Late Start." ); } |
67 | |
68 | QString ToolTip::nodeFinishFloat() { return i18nc( "@info:tooltip" , "The duration from Early Finish to Late Finish" ); } |
69 | QString WhatsThis::nodeFinishFloat() { return i18nc( "@info:whatsthis" , "Finish float is the duration from Early Finish to Late Finish." ); } |
70 | |
71 | QString ToolTip::nodeAssignment() { return i18nc( "@info:tooltip" , "The resources assigned to the task" ); } |
72 | |
73 | QString ToolTip::nodeStatus() { return i18nc( "@info:tooltip" , "Task status" ); } |
74 | QString ToolTip::nodeCompletion() { return i18nc( "@info:tooltip" , "Task completion" ); } |
75 | QString ToolTip::nodePlannedEffortTo() { return i18nc( "@info:tooltip" , "Planned effort" ); } |
76 | QString ToolTip::nodeActualEffortTo() { return i18nc( "@info:tooltip" , "Actual effort" ); } |
77 | QString ToolTip::nodeRemainingEffort() { return i18nc( "@info:tooltip" , "Remaining effort" ); } |
78 | QString ToolTip::nodePlannedCostTo() { return i18nc( "@info:tooltip" , "Planned cost" ); } |
79 | QString ToolTip::nodeActualCostTo() { return i18nc( "@info:tooltip" , "Actual cost" ); } |
80 | QString ToolTip::completionStartedTime() { return i18nc( "@info:tooltip" , "Time when task was actually started" ); } |
81 | QString ToolTip::completionStarted() { return i18nc( "@info:tooltip" , "Shows if the task is started" ); } |
82 | QString ToolTip::completionFinishedTime() { return i18nc( "@info:tooltip" , "Time when task was actually finished" ); } |
83 | QString ToolTip::completionFinished() { return i18nc( "@info:tooltip" , "Shows if the task is finished" ); } |
84 | QString ToolTip::completionStatusNote() { return i18nc( "@info:tooltip" , "Status Note" ); } |
85 | |
86 | QString ToolTip::estimateExpected() { return i18nc( "@info:tooltip" , "Calculated expected estimate" ); } |
87 | QString ToolTip::estimateVariance() { return i18nc( "@info:tooltip" , "Calculated estimate variance" ); } |
88 | QString ToolTip::estimateOptimistic() { return i18nc( "@info:tooltip" , "Optimistic estimate" ); } |
89 | QString ToolTip::estimatePessimistic() { return i18nc( "@info:tooltip" , "Pessimistic estimate" ); } |
90 | QString ToolTip::estimateType() { return i18nc( "@info:tooltip" , "Type of estimate" ); } |
91 | QString ToolTip::estimateCalendar() { return i18nc( "@info:tooltip" , "The calendar used when estimate type is Duration" ); } |
92 | QString ToolTip::estimate() { return i18nc( "@info:tooltip" , "The most likely estimate" ); } |
93 | QString ToolTip::optimisticRatio() { return i18nc( "@info:tooltip" , "Optimistic estimate" ); } |
94 | QString ToolTip::pessimisticRatio() { return i18nc( "@info:tooltip" , "Pessimistic estimate" ); } |
95 | QString ToolTip::riskType() { return i18nc( "@info:tooltip" , "Type of risk" ); } |
96 | |
97 | QString ToolTip::nodeSchedulingStatus() { return i18nc( "@info:tooltip" , "Shows the tasks scheduling status" ); } |
98 | QString ToolTip::nodeNotScheduled() { return i18nc( "@info:tooltip" , "The task has not been scheduled" ); } |
99 | QString ToolTip::nodeAssignmentMissing() { return i18n( "An effort has been estimated, but no resource has been assigned" ); } |
100 | QString ToolTip::nodeResourceOverbooked() { return i18nc( "@info:tooltip" , "A resource assigned to this task is overbooked" ); } |
101 | QString ToolTip::nodeResourceUnavailable() { return i18nc( "@info:tooltip" , "A resource assigned to this task is not available" ); } |
102 | QString ToolTip::nodeConstraintsError() { return i18nc( "@info:tooltip" , "A timing constraint could not be met" ); } |
103 | QString ToolTip::nodeEffortNotMet() { return i18nc( "@info:tooltip" , "The assigned resource could not meet the estimated effort" ); } |
104 | QString ToolTip::nodeSchedulingError() { return i18nc( "@info:tooltip" , "A scheduling error occurred" ); } |
105 | |
106 | QString ToolTip::nodeBCWS() { return i18nc( "@info:tooltip" , "Budgeted Cost of Work Scheduled" ); } |
107 | QString ToolTip::nodeBCWP() { return i18nc( "@info:tooltip" , "Budgeted Cost of Work Performed" ); } |
108 | QString ToolTip::nodeACWP() { return i18nc( "@info:tooltip" , "Actual Cost of Work Performed" ); } |
109 | QString ToolTip::nodePerformanceIndex() { return i18n( "Schedule performance index (BCWP/BCWS)" ); } |
110 | |
111 | QString ToolTip::resourceName() { return i18nc( "@info:tooltip" , "The name of the resource or resource group" ); } |
112 | QString ToolTip::resourceType() { return i18nc( "@info:tooltip" , "The type of the resource or resource group" ); } |
113 | QString ToolTip::resourceInitials() { return i18nc( "@info:tooltip" , "The initials of the resource" ); } |
114 | QString ToolTip::resourceEMail() { return i18nc( "@info:tooltip" , "The e-mail address of the resource" ); } |
115 | QString ToolTip::resourceCalendar() { return i18nc( "@info:tooltip" , "The calendar defines when the resource is working" ); } |
116 | QString ToolTip::resourceUnits() { return i18nc( "@info:tooltip" , "The maximum load that can be assigned" ); } |
117 | QString ToolTip::resourceAvailableFrom() { return i18nc( "@info:tooltip" , "Defines when the resource is available to the project" ); } |
118 | QString ToolTip::resourceAvailableUntil() { return i18nc( "@info:tooltip" , "Defines when the resource is available to the project" ); } |
119 | QString ToolTip::resourceNormalRate() { return i18nc( "@info:tooltip" , "The cost pr hour, normal hours" ); } |
120 | QString ToolTip::resourceOvertimeRate() { return i18nc( "@info:tooltip" , "The cost pr hour, overtime hours" ); } |
121 | QString ToolTip::resourceFixedCost() { return i18nc( "@info:tooltip" , "The fixed cost" ); } |
122 | QString ToolTip::resourceAccount() { return i18nc( "@info:tooltip" , "The account where the resource cost is accumulated" ); } |
123 | |
124 | QString ToolTip::accountName() { return i18nc( "@info:tooltip" , "The name of the account" ); } |
125 | QString ToolTip::accountDescription() { return i18nc( "@info:tooltip" , "The description of the account" ); } |
126 | |
127 | QString ToolTip::scheduleName() { return i18nc( "@info:tooltip" , "The name of the schedule" ); } |
128 | QString ToolTip::scheduleState() { return i18nc( "@info:tooltip" , "The schedules state" ); } |
129 | |
130 | QString ToolTip::scheduleOverbooking() { return i18nc( "@info:tooltip" , "Controls resource overbooking when scheduling" ); } |
131 | QString WhatsThis::scheduleOverbooking() { return i18nc( "@info:whatsthis" , |
132 | "<para>Controls resource overbooking when scheduling.</para>" |
133 | "<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>" |
134 | "<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>" |
135 | ); |
136 | } |
137 | |
138 | QString ToolTip::scheduleDistribution() { return i18nc( "@info:tooltip" , "The distribution to be used during scheduling" ); } |
139 | QString WhatsThis::scheduleDistribution() { return i18nc( "@info:whatsthis" , |
140 | "<para>The distribution to be used during scheduling</para>" |
141 | "<para>If distribution is 'None', the tasks estimate is used as is during scheduling.</para>" |
142 | "<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>" |
143 | ); |
144 | } |
145 | |
146 | QString ToolTip::scheduleCalculate() { return i18nc( "@info:tooltip" , "Defines the schedules to be calculated" ); } |
147 | QString ToolTip::scheduleStart() { return i18nc( "@info:tooltip" , "The scheduled start time" ); } |
148 | QString ToolTip::scheduleFinish() { return i18nc( "@info:tooltip" , "The scheduled finish time" ); } |
149 | QString ToolTip::schedulingDirection() { return i18nc( "@info:tooltip" , "The scheduling direction" ); } |
150 | QString WhatsThis::schedulingDirection() { return i18nc( "@info:whatsthis" , |
151 | "<para>The scheduling direction.</para>" |
152 | "<para>If direction is Forward, the project is scheduled starting at the projects earliest start time specified in the main project dialog.</para>" |
153 | "<para>If direction is Backward, the project is scheduled starting at the projects latest finish time specified in the main project dialog.</para>" |
154 | ); |
155 | } |
156 | |
157 | QString ToolTip::scheduleScheduler() { return i18nc( "@info:tooltip" , "The scheduler used for calculating the project schedule" ); } |
158 | QString WhatsThis::scheduleScheduler() { return i18nc( "@info:whatsthis" , |
159 | "<para>The scheduler used for calculating the project schedule.</para>" |
160 | "<para>The default built-in scheduler is the Network Scheduler.</para>" |
161 | "<para>Other schedulers presently available is RCPS if libRCPS is installed on your system. " |
162 | "RCPS is a genetics based resource constrained project scheduler.</para>" |
163 | ); |
164 | } |
165 | |
166 | QString ToolTip::scheduleGranularity() { return i18nc( "@info:tooltip" , "The granularity used when calculating the project schedule" ); } |
167 | |
168 | QString ToolTip::documentUrl() { return i18nc( "@info:tooltip" , "The url of the document" ); } |
169 | QString ToolTip::documentType() { return i18nc( "@info:tooltip" , "The type of the document" ); } |
170 | QString ToolTip::documentStatus() { return i18nc( "@info:tooltip" , "The status of the document" ); } |
171 | QString ToolTip::documentSendAs() { return i18nc( "@info:tooltip" , "Defines how this document is sent" ); } |
172 | |
173 | QString ToolTip::calendarName() { return i18nc( "@info:tooltip" , "The name of the calendar" ); } |
174 | QString ToolTip::calendarTimeZone() { return i18nc( "@info:tooltip" , "The timezone of the calendar" ); } |
175 | |
176 | QString ToolTip::relationParent() { return i18nc( "@info:tooltip" , "The name of the required task" ); } |
177 | QString ToolTip::relationChild() { return i18nc( "@info:tooltip" , "The name of the dependent task" ); } |
178 | QString ToolTip::relationType() { return i18nc( "@info:tooltip" , "The type of relation" ); } |
179 | QString ToolTip::relationLag() { return i18nc( "@info:tooltip" , "The relations time lag" ); } |
180 | |
181 | |
182 | // Work around string freeze |
183 | KUndo2MagicString UndoText::removeDocument() { return kundo2_i18n( "Remove document" ); } |
184 | |
185 | } //namespace KPlato |
186 | |
187 | |