Finalized Change and Problem management for proceses

Added parent-case info and sub-case info in Case main tab
Added DB structure to caselink to be able to re-assign, impersonate task user, and to force synchronous calls
Set Version to 3.3.1
This commit is contained in:
tomolimo
2018-08-06 16:12:16 +02:00
parent 08689c1c29
commit 60beb4cca0
16 changed files with 1335 additions and 660 deletions

View File

@@ -147,7 +147,7 @@ function plugin_processmaker_uninstall() {
function plugin_processmaker_getAddSearchOptions($itemtype) { function plugin_processmaker_getAddSearchOptions($itemtype) {
$sopt = array(); $sopt = array();
// TODO add Change and Problem + other fields to the search // TODO add Change and Problem + other fields to the search
if ($itemtype == 'Ticket') { if ($itemtype == 'Ticket') {
@@ -260,10 +260,13 @@ function plugin_pre_item_update_processmaker(CommonITILObject $parm) {
*/ */
function plugin_item_update_processmaker_satisfaction($parm) { function plugin_item_update_processmaker_satisfaction($parm) {
$locCase = new PluginProcessmakerCase; $cases = PluginProcessmakerCase::getIDsFromItem('Ticket', $parm->fields['tickets_id']);
if ($locCase->getFromItem( 'Ticket', $parm->fields['tickets_id'] )) { foreach ($cases as $cases_id) {
// case is existing for this item $locCase = new PluginProcessmakerCase;
$locCase->sendVariables( ['GLPI_SATISFACTION_QUALITY' => $parm->fields['satisfaction']] ); if ($locCase->getFromDB($cases_id)) {
// case is existing for this item
$locCase->sendVariables( ['GLPI_SATISFACTION_QUALITY' => $parm->fields['satisfaction']] );
}
} }
} }
@@ -299,60 +302,38 @@ function plugin_item_purge_processmaker($parm) {
// We just deleted a tech from this ticket then we must if needed "de-assign" the tasks assigned to this tech // We just deleted a tech from this ticket then we must if needed "de-assign" the tasks assigned to this tech
// and re-assign them to the first tech in the list !!!! // and re-assign them to the first tech in the list !!!!
$locCase = new PluginProcessmakerCase; $itemType = strtolower(explode('_', $parm->getType())[0]); // $parm->getType() returns 'Ticket_User';
$itemId = $parm->fields[$itemType.'s_id'];
$cases = PluginProcessmakerCase::getIDsFromItem($itemType, $itemId);
foreach ($cases as $cases_id) {
// cases are existing for this item
$locCase = new PluginProcessmakerCase;
if ($locCase->getFromDB($cases_id)) {
$technicians = PluginProcessmakerProcessmaker::getItemUsers($itemType, $itemId, CommonITILActor::ASSIGN);
$itemId = $parm->fields['tickets_id']; $locVars = array( 'GLPI_TICKET_TECHNICIAN_GLPI_ID' => $technicians[0]['glpi_id'],
$itemType = explode('_', $parm->getType())[0]; // 'Ticket'; 'GLPI_ITEM_TECHNICIAN_GLPI_ID' => $technicians[0]['glpi_id'],
'GLPI_TICKET_TECHNICIAN_PM_ID' => $technicians[0]['pm_id'],
'GLPI_ITEM_TECHNICIAN_PM_ID' => $technicians[0]['pm_id']
);
if ($locCase->getFromItem( $itemType, $itemId )) { // and we must find all tasks assigned to this former user and re-assigned them to new user (if any :))!
// case is existing for this item $caseInfo = $locCase->getCaseInfo( );
$technicians = PluginProcessmakerProcessmaker::getItemUsers( $itemType, $itemId, CommonITILActor::ASSIGN ); // 2 for technicians if ($caseInfo !== false) {
//$locPM = new PluginProcessmakerProcessmaker; $locCase->sendVariables( $locVars);
//$locPM->login(); // need to get info on the thread of the GLPI current user
$locVars = array( 'GLPI_TICKET_TECHNICIAN_GLPI_ID' => $technicians[0]['glpi_id'], // we must retreive currentGLPI user from this array
'GLPI_ITEM_TECHNICIAN_GLPI_ID' => $technicians[0]['glpi_id'], $GLPICurrentPMUserId = PluginProcessmakerUser::getPMUserId( $parm->fields['users_id'] );
'GLPI_TICKET_TECHNICIAN_PM_ID' => $technicians[0]['pm_id'], if (property_exists($caseInfo, 'currentUsers') && is_array( $caseInfo->currentUsers )) {
'GLPI_ITEM_TECHNICIAN_PM_ID' => $technicians[0]['pm_id'] foreach ($caseInfo->currentUsers as $caseUser) {
); if ($caseUser->userId == $GLPICurrentPMUserId && in_array( $caseUser->delThreadStatus, array('DRAFT', 'OPEN', 'PAUSE' ) )) {
$locCase->reassignCase($caseUser->delIndex, $caseUser->taskId, $caseUser->delThread, $parm->fields['users_id'], $technicians[0]['pm_id'] );
// and we must find all tasks assigned to this former user and re-assigned them to new user (if any :))! }
//$caseInfo = $locPM->getCaseInfo( $locCase->getID() );
$caseInfo = $locCase->getCaseInfo( );
if ($caseInfo !== false) {
//$locPM->sendVariables( $locCase->getID( ), $locVars );
$locCase->sendVariables( $locVars);
// need to get info on the thread of the GLPI current user
// we must retreive currentGLPI user from this array
$GLPICurrentPMUserId = PluginProcessmakerUser::getPMUserId( $parm->fields['users_id'] );
if (property_exists($caseInfo, 'currentUsers') && is_array( $caseInfo->currentUsers )) {
foreach ($caseInfo->currentUsers as $caseUser) {
if ($caseUser->userId == $GLPICurrentPMUserId && in_array( $caseUser->delThreadStatus, array('DRAFT', 'OPEN', 'PAUSE' ) )) {
//$pmResponse = $locPM->reassignCase( $locCase->getID(), $caseUser->delIndex, $GLPICurrentPMUserId, $technicians[0]['pm_id'] );
$locCase->reassignCase($caseUser->delIndex, $caseUser->taskId, $caseUser->delThread, $parm->fields['users_id'], $technicians[0]['pm_id'] );
//// now should managed GLPI Tasks previously assigned to the $GLPICurrentPMUserId
//if ($pmResponse->status_code == 0) {
// // ATTENTION: should be aware of: ticket tech == task tech
// // In this particular flow due to 'Change Management'
// // we need to change the delindex of the glpi task and the assigned tech to prevent creation of new tasks
// // we need the delindex of the current glpi task, and the delindex of the new one
// // search for new delindex
// $newCaseInfo = $locPM->getCaseInfo( $locCase->getID() );
// $newDelIndex = 0;
// foreach ($newCaseInfo->currentUsers as $newCaseUser) {
// if ($newCaseUser->taskId == $caseUser->taskId && $newCaseUser->delThread == $caseUser->delThread) {
// $newDelIndex = $newCaseUser->delIndex;
// break;
// }
// }
// $locPM->reassignTask( $locCase->getID(), $caseUser->delIndex, $newDelIndex, $technicians[0]['glpi_id'] );
//}
} }
} }
} }
}
}
} }
} }
} }

View File

@@ -74,7 +74,12 @@ class PluginProcessmakerCase extends CommonDBTM {
function getTabNameForItem(CommonGLPI $item, $withtemplate=0) { function getTabNameForItem(CommonGLPI $item, $withtemplate=0) {
if ($item->getType() == __CLASS__) { if ($item->getType() == __CLASS__) {
// get tab name for a case itself // get tab name for a case itself
return [ __CLASS__ => __('Case', 'processmaker')."<sup class='tab_nb'> ".self::getStatus($item->fields['case_status'])."</sup>"]; $tabname = __('Case', 'processmaker');
if ($item->fields['plugin_processmaker_cases_id'] > 0) {
// case is a sub-case
$tabname = __('Sub-case', 'processmaker');
}
return [ __CLASS__ => $tabname."<sup class='tab_nb'> ".self::getStatus($item->fields['case_status'])."</sup>"];
} else { } else {
$items_id = $item->getID(); $items_id = $item->getID();
$itemtype = $item->getType(); $itemtype = $item->getType();
@@ -135,9 +140,9 @@ class PluginProcessmakerCase extends CommonDBTM {
* @param mixed $items_id is the item id * @param mixed $items_id is the item id
* @return mixed: returns false when there is no case associated with the item, else fills in the item fields from DB, and returns true * @return mixed: returns false when there is no case associated with the item, else fills in the item fields from DB, and returns true
*/ */
function getFromItem($itemtype, $items_id) { //function getFromItem($itemtype, $items_id) {
return $this->getFromDBByQuery(" WHERE items_id=$items_id and itemtype='$itemtype'"); // return $this->getFromDBByQuery(" WHERE items_id=$items_id and itemtype='$itemtype'");
} //}
/** /**
@@ -265,7 +270,24 @@ class PluginProcessmakerCase extends CommonDBTM {
* Summary of showCaseProperties * Summary of showCaseProperties
*/ */
function showCaseProperties() { function showCaseProperties() {
global $PM_DB; global $DB, $PM_DB;
// get all tasks that are OPEN for any sub-case of this case
$case_tasks = [];
$query = "SELECT `glpi_plugin_processmaker_tasks`.* FROM `glpi_plugin_processmaker_tasks`
WHERE `glpi_plugin_processmaker_tasks`.`plugin_processmaker_cases_id`={$this->getID()} AND `del_thread_status`='OPEN'";
foreach($DB->request($query) as $task) {
$case_tasks[$task['del_index']] = $task;
}
//// get all tasks that are OPEN for any sub-case of this case
//$sub_cases = [];
//$query = "SELECT `glpi_plugin_processmaker_tasks`.* FROM `glpi_plugin_processmaker_tasks`
// JOIN `glpi_plugin_processmaker_cases` on `glpi_plugin_processmaker_cases`.`id`=`glpi_plugin_processmaker_tasks`.`plugin_processmaker_cases_id`
// WHERE `glpi_plugin_processmaker_cases`.`plugin_processmaker_cases_id`={$this->getID()} AND `del_thread_status`='OPEN'";
//foreach($DB->request($query) as $task) {
// $sub_cases[$task['plugin_processmaker_cases_id']][$task['del_index']] = $task;
//}
$caseInfo = $this->getCaseInfo(); $caseInfo = $this->getCaseInfo();
if (property_exists($caseInfo, 'currentUsers')) { if (property_exists($caseInfo, 'currentUsers')) {
@@ -278,43 +300,10 @@ class PluginProcessmakerCase extends CommonDBTM {
} }
echo "<p></p>"; echo "<p></p>";
// show the case properties like given by PM server
$this->showShort($caseInfo);
echo "<div class='center'>"; // show current (running) tasks properties
echo "<table style='margin-bottom: 0px' class='tab_cadre_fixe'>";
echo "<tr><th colspan=4>".__('Case properties', 'processmaker')."</th></tr>";
echo "<tr><td class='tab_bg_2' style='font-weight: bold;'>".__('Process', 'processmaker')."</td>";
echo "<td class='tab_bg_2' colspan=3>".$caseInfo->processName."</td></tr>";
echo "<tr><td class='tab_bg_2' style='font-weight: bold;'>".__('Case title', 'processmaker')."</td>";
echo "<td class='tab_bg_2' colspan=3>".$caseInfo->caseName."</td></tr>";
echo "<tr><td class='tab_bg_2' style='font-weight: bold;'>".__('Case number', 'processmaker')."</td>";
echo "<td class='tab_bg_2' colspan=3>".$caseInfo->caseNumber."</td></tr>";
echo "<tr><td class='tab_bg_2' style='font-weight: bold;'>".__('Case status', 'processmaker')."</td>";
echo "<td class='tab_bg_2' colspan=3>".self::getStatus($caseInfo->caseStatus)."</td></tr>";
echo "<tr><td class='tab_bg_2' style='font-weight: bold;'>".__('Case guid', 'processmaker')."</td>";
echo "<td class='tab_bg_2' colspan=3>".$caseInfo->caseId."</td></tr>";
echo "<tr><td class='tab_bg_2' style='font-weight: bold;'>".__('Creator', 'processmaker')."</td>";
echo "<td class='tab_bg_2' colspan=3>".$caseInfo->caseCreatorUserName."</td></tr>";
echo "<tr><td class='tab_bg_2' style='font-weight: bold;'>".__('Creation date', 'processmaker')."</td>";
echo "<td class='tab_bg_2' colspan=3>".$caseInfo->createDate."</td></tr>";
echo "<tr><td class='tab_bg_2' style='font-weight: bold;'>".__('Last update', 'processmaker')."</td>";
echo "<td class='tab_bg_2' colspan=3>".$caseInfo->updateDate."</td></tr>";
//echo "<tr><td class='tab_bg_2' style='font-weight: bold;'>".__('Case description', 'processmaker')."</td>";
//echo "<td class='tab_bg_2' colspan=3>".$caseInfo->????."</td></tr>";
echo "</table>";
echo "</div>";
echo "<p></p>"; echo "<p></p>";
echo "<div class='center'>"; echo "<div class='center'>";
@@ -329,10 +318,24 @@ class PluginProcessmakerCase extends CommonDBTM {
<th>".__('Current user', 'processmaker')."</th> <th>".__('Current user', 'processmaker')."</th>
<th>".__('Task delegation date', 'processmaker')."</th> <th>".__('Task delegation date', 'processmaker')."</th>
</tr>"; </tr>";
foreach($caseInfo->currentUsers as $currentTask) { foreach($caseInfo->currentUsers as $currentTask) {
$case_url = $this->getLinkURL().'&forcetab=PluginProcessmakerTask$';
echo "<tr>"; echo "<tr>";
echo "<td class='tab_bg_2'>".$currentTask->taskName."</td>"; if (isset($case_tasks[$currentTask->delIndex])) {
$case_url .= $case_tasks[$currentTask->delIndex]['id'];
echo "<td class='tab_bg_2'><a href='$case_url'>".$currentTask->taskName."</a></td>";
} else {
$res = $PM_DB->query("SELECT APP_UID FROM SUB_APPLICATION WHERE APP_PARENT='{$this->fields['case_guid']}' AND DEL_INDEX_PARENT={$currentTask->delIndex} AND SA_STATUS='ACTIVE'");
if ($res && $PM_DB->numrows($res) == 1) {
$row = $PM_DB->fetch_assoc($res);
$sub_case = new PluginProcessmakerCase;
$sub_case->getFromGUID($row['APP_UID']);
$case_url .= $sub_case->getID()."-".$currentTask->delIndex;
echo "<td class='tab_bg_2'><a href='$case_url'><sub>> ".$currentTask->taskName."</sub></a></td>";
} else {
echo "<td class='tab_bg_2'>".$currentTask->taskName."</td>";
}
}
echo "<td class='tab_bg_2'>".$currentTask->taskId."</td>"; echo "<td class='tab_bg_2'>".$currentTask->taskId."</td>";
if ($currentTask->userName == '') { if ($currentTask->userName == '') {
echo "<td class='tab_bg_2'>".__('To be claimed', 'processmaker')."</td>"; echo "<td class='tab_bg_2'>".__('To be claimed', 'processmaker')."</td>";
@@ -350,9 +353,78 @@ class PluginProcessmakerCase extends CommonDBTM {
echo "</div>"; echo "</div>";
// show the parent case if it's a sub-case
if ($this->fields['plugin_processmaker_cases_id'] > 0) {
echo "<p></p>";
$sub_case = new self;
$sub_case->getFromDB($this->fields['plugin_processmaker_cases_id']);
$sub_case->showShort($sub_case->getCaseInfo(), true);
}
}
/**
* Summary of showShort
* @param mixed $caseInfo
* @param mixed $showparenturl
*/
function showShort($caseInfo, $showparenturl=false) {
echo "<div class='center'>";
echo "<table style='margin-bottom: 0px' class='tab_cadre_fixe'>";
if ($this->fields['plugin_processmaker_cases_id'] > 0) {
echo "<tr><th colspan=8>".__('Sub-case properties', 'processmaker')."</th></tr>";
} else {
if ($showparenturl) {
echo "<tr><th colspan=8>".__('Parent case properties', 'processmaker')."</th></tr>";
} else {
echo "<tr><th colspan=8>".__('Case properties', 'processmaker')."</th></tr>";
}
}
echo "<tr>";
echo "<th class='tab_bg_2'>".__('Process', 'processmaker')."</th>";
echo "<th class='tab_bg_2'>".__('Case title', 'processmaker')."</th>";
echo "<th class='tab_bg_2'>".__('Case number', 'processmaker')."</th>";
echo "<th class='tab_bg_2'>".__('Case status', 'processmaker')."</th>";
echo "<th class='tab_bg_2'>".__('Case guid', 'processmaker')."</th>";
echo "<th class='tab_bg_2'>".__('Creator', 'processmaker')."</th>";
echo "<th class='tab_bg_2'>".__('Creation date', 'processmaker')."</th>";
echo "<th class='tab_bg_2'>".__('Last update', 'processmaker')."</th>";
//echo "<th class='tab_bg_2'>".__('Case description', 'processmaker')."</th>";
echo "</tr>";
echo "<tr>";
echo "<td class='tab_bg_2'>".$caseInfo->processName."</td>";
if ($showparenturl){
echo "<td class='tab_bg_2'>".$this->getLink()."</td>";
} else {
echo "<td class='tab_bg_2'>".$caseInfo->caseName."</td>";
}
echo "<td class='tab_bg_2'>".$caseInfo->caseNumber."</td>";
echo "<td class='tab_bg_2'>".self::getStatus($caseInfo->caseStatus)."</td>";
echo "<td class='tab_bg_2'>".$caseInfo->caseId."</td>";
echo "<td class='tab_bg_2'>".$caseInfo->caseCreatorUserName."</td>";
echo "<td class='tab_bg_2'>".$caseInfo->createDate."</td>";
echo "<td class='tab_bg_2'>".$caseInfo->updateDate."</td>";
//echo "<td class='tab_bg_2'>".$caseInfo->????."</td>";
echo "</tr>";
echo "</table>";
echo "</div>";
} }
/**
* Summary of localSortTasks
* used to sort array of tasks in a currenUsers object
* @param mixed $a
* @param mixed $b
* @return integer
*/
static private function localSortTasks ($a, $b) { static private function localSortTasks ($a, $b) {
return $a->delIndex - $b->delIndex; return $a->delIndex - $b->delIndex;
} }
@@ -404,7 +476,12 @@ class PluginProcessmakerCase extends CommonDBTM {
$itemtype = $case->fields['itemtype']; $itemtype = $case->fields['itemtype'];
echo "<tr><th colspan=12>".__('Case item', 'processmaker')." > ".$itemtype::getTypeName(1)."</th></tr>"; $maintitle = __('Case is linked to a %1s', 'processmaker');
if ($case->fields['plugin_processmaker_cases_id'] > 0) {
$maintitle = __('Sub-case is linked to a %1s', 'processmaker');
}
echo "<tr><th colspan=12>".sprintf($maintitle, $itemtype::getTypeName(1))."</th></tr>";
Ticket::commonListHeader(Search::HTML_OUTPUT); Ticket::commonListHeader(Search::HTML_OUTPUT);
@@ -418,7 +495,7 @@ class PluginProcessmakerCase extends CommonDBTM {
if ($case->fields['plugin_processmaker_cases_id'] == 0 && self::canCancel() && $case->fields['case_status'] == self::TO_DO) { if ($case->fields['plugin_processmaker_cases_id'] == 0 && self::canCancel() && $case->fields['case_status'] == self::TO_DO) {
// it's a main case, not a sub-case // it's a main case, not a sub-case
// and we have the rightr to cancel cases // and we have the rights to cancel cases
// show a form to be able to cancel the case // show a form to be able to cancel the case
$rand = rand(); $rand = rand();
@@ -507,7 +584,7 @@ class PluginProcessmakerCase extends CommonDBTM {
$columns = array('pname' => __('Process', 'processmaker'), $columns = array('pname' => __('Process', 'processmaker'),
'name' => __('Title', 'processmaker'), 'name' => __('Title', 'processmaker'),
'status' => __('Status', 'processmaker'), 'status' => __('Status', 'processmaker'),
'sub' => __('Subcase of', 'processmaker') 'sub' => __('Sub-case of', 'processmaker')
); );
// check if item is not solved nor closed // check if item is not solved nor closed
@@ -527,7 +604,19 @@ class PluginProcessmakerCase extends CommonDBTM {
echo "<tr class='tab_bg_2'><td class='tab_bg_2'>"; echo "<tr class='tab_bg_2'><td class='tab_bg_2'>";
_e('Select the process you want to add', 'processmaker'); _e('Select the process you want to add', 'processmaker');
echo "</td><td class='tab_bg_2'>"; echo "</td><td class='tab_bg_2'>";
PluginProcessmakerProcess::dropdown(array( 'value' => 0, 'entity' => $item->fields['entities_id'], 'name' => 'plugin_processmaker_processes_id', 'condition' => "is_active=1")); if ($itemtype == 'Ticket') {
$is_itemtype = "AND is_incident=1";
if ($item->fields['type'] == Ticket::DEMAND_TYPE) {
$is_itemtype = "AND is_request=1";
}
} else {
$is_itemtype = "AND is_".strtolower($itemtype)."=1";
}
PluginProcessmakerProcess::dropdown(['value' => 0,
'entity' => $item->fields['entities_id'],
'name' => 'plugin_processmaker_processes_id',
'condition' => "is_active=1 $is_itemtype"
]);
echo "</td><td class='tab_bg_2'>"; echo "</td><td class='tab_bg_2'>";
echo "<input type='submit' name='additem' value='"._sx('button','Add')."' class='submit'>"; echo "<input type='submit' name='additem' value='"._sx('button','Add')."' class='submit'>";
echo "</td></tr></table>"; echo "</td></tr></table>";
@@ -723,17 +812,22 @@ class PluginProcessmakerCase extends CommonDBTM {
* Summary of canSolve * Summary of canSolve
* To know if a Ticket (Problem or Change) can be solved * To know if a Ticket (Problem or Change) can be solved
* i.e. the case permits solving of item * i.e. the case permits solving of item
* @param mixed $item is the item * @param mixed $param is an array containing the item
* @return bool true to permit solve, false otherwise * @return bool true to permit solve, false otherwise
*/ */
public static function canSolve ($item) { public static function canSolve ($param) {
$myCase = new self; $item = $param['item'];
if ($myCase->getFromItem( $item['item']->getType(), $item['item']->getID() )) { $cases = self::getIDsFromItem($item->getType(), $item->getID());
$pmVar = $myCase->getVariables(['GLPI_ITEM_CAN_BE_SOLVED']); foreach ($cases as $cases_id) {
// TODO also manage sub-cases $myCase = new self;
if ($myCase->fields['case_status'] != self::COMPLETED && $myCase->fields['case_status'] != self::CANCELLED && (!isset($pmVar['GLPI_ITEM_CAN_BE_SOLVED']) || $pmVar['GLPI_ITEM_CAN_BE_SOLVED'] != 1)) { if ($myCase->getFromDB($cases_id)) {
// then item can't be solved $pmVar = $myCase->getVariables(['GLPI_ITEM_CAN_BE_SOLVED']);
return false; if ($myCase->fields['case_status'] != self::COMPLETED
&& $myCase->fields['case_status'] != self::CANCELLED
&& (!isset($pmVar['GLPI_ITEM_CAN_BE_SOLVED']) || $pmVar['GLPI_ITEM_CAN_BE_SOLVED'] != 1)) {
// then item can't be solved
return false;
}
} }
} }
return true; return true;
@@ -741,16 +835,18 @@ class PluginProcessmakerCase extends CommonDBTM {
/** /**
* Summary of getToDoTasks * Summary of getToDoTasks
* @param mixed $parm is a Ticket, a Problem or a Change * @param mixed $item is a Ticket, a Problem or a Change
* @return array list of tasks with status 'to do' for case associated with item * @return array list of tasks with status 'to do' for case associated with item
*/ */
public static function getToDoTasks($parm) { public static function getToDoTasks($item) {
$myCase = new self; $ret = [];
if ($myCase->getFromItem( $parm->getType(), $parm->getID() )) { $cases = self::getIDsFromItem($item->getType(), $item->getID());
return PluginProcessmakerTask::getToDoTasks( $myCase->getID(), $parm->getType()."Task" ); foreach ($cases as $cases_id) {
$ret = array_merge($ret, PluginProcessmakerTask::getToDoTasks($cases_id, $item->getType()."Task"));
} }
return array();
return $ret;
} }
@@ -971,7 +1067,7 @@ class PluginProcessmakerCase extends CommonDBTM {
$tab[14]['table'] = self::getTable(); $tab[14]['table'] = self::getTable();
$tab[14]['field'] = 'plugin_processmaker_cases_id'; $tab[14]['field'] = 'plugin_processmaker_cases_id';
$tab[14]['name'] = __('Subcase of', 'processmaker'); $tab[14]['name'] = __('Sub-case of', 'processmaker');
$tab[14]['datatype'] = 'itemlink'; $tab[14]['datatype'] = 'itemlink';
$tab[14]['massiveaction'] = false; $tab[14]['massiveaction'] = false;

View File

@@ -430,13 +430,13 @@ class PluginProcessmakerProcess extends CommonDBTM {
$tab[11]['table'] = 'glpi_plugin_processmaker_processes'; $tab[11]['table'] = 'glpi_plugin_processmaker_processes';
$tab[11]['field'] = 'project_type'; $tab[11]['field'] = 'project_type';
$tab[11]['name'] = __('Project type', 'processmaker'); $tab[11]['name'] = __('Process type', 'processmaker');
$tab[11]['massiveaction'] = false; $tab[11]['massiveaction'] = false;
$tab[11]['datatype'] = 'specific'; $tab[11]['datatype'] = 'specific';
$tab[12]['table'] = 'glpi_plugin_processmaker_processes'; $tab[12]['table'] = 'glpi_plugin_processmaker_processes';
$tab[12]['field'] = 'hide_case_num_title'; $tab[12]['field'] = 'hide_case_num_title';
$tab[12]['name'] = __('Hide case number and title', 'processmaker'); $tab[12]['name'] = __('Hide case num. & title', 'processmaker');
$tab[12]['massiveaction'] = true; $tab[12]['massiveaction'] = true;
$tab[12]['datatype'] = 'bool'; $tab[12]['datatype'] = 'bool';
@@ -459,6 +459,30 @@ class PluginProcessmakerProcess extends CommonDBTM {
$tab[15]['datatype'] = 'specific'; $tab[15]['datatype'] = 'specific';
$tab[15]['massiveaction'] = false; $tab[15]['massiveaction'] = false;
$tab[16]['table'] = 'glpi_plugin_processmaker_processes';
$tab[16]['field'] = 'is_incident';
$tab[16]['name'] = __('Visible in Incident for Central interface', 'processmaker');
$tab[16]['massiveaction'] = true;
$tab[16]['datatype'] = 'bool';
$tab[17]['table'] = 'glpi_plugin_processmaker_processes';
$tab[17]['field'] = 'is_request';
$tab[17]['name'] = __('Visible in Request for Central interface', 'processmaker');
$tab[17]['massiveaction'] = true;
$tab[17]['datatype'] = 'bool';
$tab[18]['table'] = 'glpi_plugin_processmaker_processes';
$tab[18]['field'] = 'is_change';
$tab[18]['name'] = __('Visible in Change', 'processmaker');
$tab[18]['massiveaction'] = true;
$tab[18]['datatype'] = 'bool';
$tab[19]['table'] = 'glpi_plugin_processmaker_processes';
$tab[19]['field'] = 'is_problem';
$tab[19]['name'] = __('Visible in Problem', 'processmaker');
$tab[19]['massiveaction'] = true;
$tab[19]['datatype'] = 'bool';
return $tab; return $tab;
} }
@@ -501,7 +525,7 @@ class PluginProcessmakerProcess extends CommonDBTM {
/** /**
* Summary of getProcessTypeName * Summary of getProcessTypeName
* @param mixed $value * @param mixed $value
* @return mixed * @return mixed
*/ */
static function getProcessTypeName($value) { static function getProcessTypeName($value) {
@@ -582,25 +606,17 @@ class PluginProcessmakerProcess extends CommonDBTM {
echo "</td></tr>"; echo "</td></tr>";
echo "<tr class='tab_bg_1'>"; echo "<tr class='tab_bg_1'>";
echo "<td >".__('Ticket type (self-service)', 'processmaker')."</td><td>"; echo "<td >".__('Visible in Incident for Central interface', 'processmaker')."</td><td>";
if (true) { // $canupdate || !$ID Dropdown::showYesNo("is_incident", $this->fields["is_incident"]);
$idticketcategorysearch = mt_rand(); $opt = array('value' => $this->fields["type"]); echo "</td></tr>";
$rand = Ticket::dropdownType('type', $opt, array(), array('toupdate' => "search_".$idticketcategorysearch ));
$opt = array('value' => $this->fields["type"]);
$params = array('type' => '__VALUE__',
//'entity_restrict' => -1, //$this->fields['entities_id'],
'value' => $this->fields['itilcategories_id'],
'currenttype' => $this->fields['type']);
Ajax::updateItemOnSelectEvent("dropdown_type$rand", "show_category_by_type", echo "<tr class='tab_bg_1'>";
$CFG_GLPI["root_doc"]."/ajax/dropdownTicketCategories.php", echo "<td >".__('Visible in Request for Central interface', 'processmaker')."</td><td>";
$params); Dropdown::showYesNo("is_request", $this->fields["is_request"]);
} else { echo "</td></tr>";
echo Ticket::getTicketTypeName($this->fields["type"]);
}
echo "</td>";
echo "<td >".__('ITIL Category (self-service)', 'processmaker')."</td><td>"; echo "<tr class='tab_bg_1'>";
echo "<td >".__('ITIL Category for Self-service interface (left empty to disable)', 'processmaker')."</td><td>";
if (true) { // $canupdate || !$ID || $canupdate_descr if (true) { // $canupdate || !$ID || $canupdate_descr
$opt = array('value' => $this->fields["itilcategories_id"]); $opt = array('value' => $this->fields["itilcategories_id"]);
@@ -626,17 +642,40 @@ class PluginProcessmakerProcess extends CommonDBTM {
} else { } else {
echo Dropdown::getDropdownName("glpi_itilcategories", $this->fields["itilcategories_id"]); echo Dropdown::getDropdownName("glpi_itilcategories", $this->fields["itilcategories_id"]);
} }
echo "<td >".__('Type for Self-service interface', 'processmaker')."</td><td>";
if (true) { // $canupdate || !$ID
$idticketcategorysearch = mt_rand(); $opt = array('value' => $this->fields["type"]);
$rand = Ticket::dropdownType('type', $opt, array(), array('toupdate' => "search_".$idticketcategorysearch ));
$opt = array('value' => $this->fields["type"]);
$params = array('type' => '__VALUE__',
//'entity_restrict' => -1, //$this->fields['entities_id'],
'value' => $this->fields['itilcategories_id'],
'currenttype' => $this->fields['type']);
Ajax::updateItemOnSelectEvent("dropdown_type$rand", "show_category_by_type",
$CFG_GLPI["root_doc"]."/ajax/dropdownTicketCategories.php",
$params);
} else {
echo Ticket::getTicketTypeName($this->fields["type"]);
}
echo "</td>";
echo "</tr>";
echo "<tr class='tab_bg_1'>";
echo "<td >".__('Visible in Change', 'processmaker')."</td><td>";
Dropdown::showYesNo("is_change", $this->fields["is_change"]);
echo "</td></tr>"; echo "</td></tr>";
echo "<tr class='tab_bg_1'>"; echo "<tr class='tab_bg_1'>";
echo "<td >".__('Project type (to be changed if not up-to-date)', 'processmaker')."</td><td>"; echo "<td >".__('Visible in Problem', 'processmaker')."</td><td>";
Dropdown::showFromArray( 'project_type', self::getAllTypeArray(), array( 'value' => $this->fields["project_type"] ) ); Dropdown::showYesNo("is_problem", $this->fields["is_problem"]);
echo "</td></tr>"; echo "</td></tr>";
//echo "<tr class='tab_bg_1'>"; echo "<tr class='tab_bg_1'>";
//echo "<td >".__("Last update")."</td><td>"; echo "<td >".__('Process type (to be changed only if not up-to-date)', 'processmaker')."</td><td>";
//echo Html::convDateTime($this->fields["date_mod"]); Dropdown::showFromArray( 'project_type', self::getAllTypeArray(), array( 'value' => $this->fields["project_type"] ) );
//echo "</td></tr>"; echo "</td></tr>";
$this->showFormButtons($options); $this->showFormButtons($options);
} }
@@ -658,7 +697,9 @@ class PluginProcessmakerProcess extends CommonDBTM {
$orderby = ''; $orderby = '';
$where = ' WHERE glpi_plugin_processmaker_processes.is_active=1 '; if (isset($_REQUEST['condition']) && isset($_SESSION['glpicondition'][$_REQUEST['condition']])) {
$where = ' WHERE '.$_SESSION['glpicondition'][$_REQUEST['condition']]; //glpi_plugin_processmaker_processes.is_active=1 ';
}
if ($count) { if ($count) {
$fields = " COUNT(DISTINCT glpi_plugin_processmaker_processes.id) AS cpt "; $fields = " COUNT(DISTINCT glpi_plugin_processmaker_processes.id) AS cpt ";

View File

@@ -2163,7 +2163,7 @@ class PluginProcessmakerProcessmaker extends CommonDBTM {
case 'Ticket': case 'Ticket':
case 'Problem': case 'Problem':
case 'Change': case 'Change':
if ($params['options']['id']) { if ($params['options']['id'] && $params['options']['itemtype'] == $itemtype) {
// then we are in an ITIL Object // then we are in an ITIL Object
if (isset($_SESSION['glpiactiveprofile']['interface']) && $_SESSION['glpiactiveprofile']['interface'] != "helpdesk") { if (isset($_SESSION['glpiactiveprofile']['interface']) && $_SESSION['glpiactiveprofile']['interface'] != "helpdesk") {
$tabnum = $params['options']['tabnum']; $tabnum = $params['options']['tabnum'];
@@ -2173,8 +2173,8 @@ class PluginProcessmakerProcessmaker extends CommonDBTM {
// we must check if we can solve item even if PM case is still running (ex: PIR tasks for Change Management) // we must check if we can solve item even if PM case is still running (ex: PIR tasks for Change Management)
$pmCanSolve = PluginProcessmakerCase::canSolve( $params ); $pmCanSolve = PluginProcessmakerCase::canSolve( $params );
if (!$pmCanSolve) { if (!$pmCanSolve) {
// don't display message if arbehaviours is install // don't display message if arbehaviours is install and activated
if (!($plugin->isInstalled('arbehaviours') && $plugin->isActivated('arbehaviours'))) { if (!$plugin->isInstalled('arbehaviours') || !$plugin->isActivated('arbehaviours')) {
$messageOne = __('A \'Case\' is running!', 'processmaker'); $messageOne = __('A \'Case\' is running!', 'processmaker');
$messageTwo = __('You must manage it first (see \'Process - Case\' tab)!', 'processmaker'); $messageTwo = __('You must manage it first (see \'Process - Case\' tab)!', 'processmaker');
// output explicit message to explain why it's not possible to add solution // output explicit message to explain why it's not possible to add solution
@@ -2213,8 +2213,8 @@ class PluginProcessmakerProcessmaker extends CommonDBTM {
$pmHideSolution = true; $pmHideSolution = true;
$itemtype = strtolower($itemtype); $itemtype = strtolower($itemtype);
if ($tabnum == 1 && isset($_SESSION['glpiactiveprofile'][$itemtype.'_status'])) { if ($tabnum == 1 && isset($_SESSION['glpiactiveprofile'][$itemtype.'_status'])) {
// don't display message if arbehaviours is install // don't display message if arbehaviours is install and activated
if (!($plugin->isInstalled('arbehaviours') && $plugin->isActivated('arbehaviours'))) { if (!$plugin->isInstalled('arbehaviours') || !$plugin->isActivated('arbehaviours')) {
self::displayMessage($message, '', WARNING); self::displayMessage($message, '', WARNING);
//save current $_SESSION['glpiactiveprofile'][$itemtype.'_status''] //save current $_SESSION['glpiactiveprofile'][$itemtype.'_status'']

View File

@@ -16,6 +16,10 @@ class PluginProcessmakerTask extends CommonITILTask
$this->itemtype=$itemtype; $this->itemtype=$itemtype;
} }
const OPEN = 'OPEN';
const CLOSED = 'CLOSED';
/** /**
* Name of the type * Name of the type
* *
@@ -66,11 +70,14 @@ class PluginProcessmakerTask extends CommonITILTask
global $DB; global $DB;
$ret = array(); $ret = array();
$selfTable = getTableForItemType( __CLASS__); $selfTable = getTableForItemType( __CLASS__);
$itemTypeTaskTable = getTableForItemType( $itemtype ); //$itemTypeTaskTable = getTableForItemType( $itemtype );
$query = "SELECT glpi_tickettasks.id as taskID from $itemTypeTaskTable $query = "SELECT `$selfTable``items_id` as taskID from $selfTable
INNER JOIN $selfTable on $selfTable.items_id=$itemTypeTaskTable.id WHERE `$selfTable`.`del_thread_status` = '".self::OPEN."' AND `$selfTable`.`plugin_processmaker_cases_id` = '$case_id';";
WHERE $itemTypeTaskTable.state=1 and $selfTable.plugin_processmaker_cases_id='$case_id';";
//$query = "SELECT $itemTypeTaskTable.id as taskID from $itemTypeTaskTable
// INNER JOIN $selfTable on $selfTable.items_id=$itemTypeTaskTable.id
// WHERE $itemTypeTaskTable.state=1 and $selfTable.plugin_processmaker_cases_id='$case_id';";
foreach ($DB->request($query) as $row) { foreach ($DB->request($query) as $row) {
$ret[$row['taskID']]=$row['taskID']; $ret[$row['taskID']]=$row['taskID'];
} }
@@ -129,7 +136,7 @@ class PluginProcessmakerTask extends CommonITILTask
function getTabNameForItem(CommonGLPI $case, $withtemplate = 0){ function getTabNameForItem(CommonGLPI $case, $withtemplate = 0){
global $DB; global $DB, $PM_DB;
$tab = []; $tab = [];
@@ -146,18 +153,19 @@ class PluginProcessmakerTask extends CommonITILTask
$tasks[$task['del_index']] = $task; $tasks[$task['del_index']] = $task;
} }
// get all tasks that are OPEN for any sub-case of this case //// get all tasks that are OPEN for any sub-case of this case
$sub_tasks = []; //$sub_cases = [];
$query = "SELECT `glpi_plugin_processmaker_tasks`.* FROM `glpi_plugin_processmaker_tasks` //$query = "SELECT `glpi_plugin_processmaker_tasks`.* FROM `glpi_plugin_processmaker_tasks`
JOIN `glpi_plugin_processmaker_cases` on `glpi_plugin_processmaker_cases`.`id`=`glpi_plugin_processmaker_tasks`.`plugin_processmaker_cases_id` // JOIN `glpi_plugin_processmaker_cases` on `glpi_plugin_processmaker_cases`.`id`=`glpi_plugin_processmaker_tasks`.`plugin_processmaker_cases_id`
WHERE `glpi_plugin_processmaker_cases`.`plugin_processmaker_cases_id`={$case->fields['id']} AND `del_thread_status`='OPEN'"; // WHERE `glpi_plugin_processmaker_cases`.`plugin_processmaker_cases_id`={$case->fields['id']} AND `del_thread_status`='OPEN'";
foreach($DB->request($query) as $task) { //foreach($DB->request($query) as $task) {
$sub_tasks[$task['plugin_processmaker_cases_id']][$task['del_index']] = $task; // $sub_cases[$task['plugin_processmaker_cases_id']][$task['del_index']] = $task;
} //}
$caseInfo->currentUsers = $case->sortTasks($caseInfo->currentUsers, $GLPICurrentPMUserId); $caseInfo->currentUsers = $case->sortTasks($caseInfo->currentUsers, $GLPICurrentPMUserId);
foreach ($caseInfo->currentUsers as $key => $caseUser) { $main_tasks = []; //will contains the tasks that are main-processes
foreach ($caseInfo->currentUsers as $caseUser) {
$title = $caseUser->taskName; $title = $caseUser->taskName;
if (isset($tasks[$caseUser->delIndex])) { if (isset($tasks[$caseUser->delIndex])) {
$hide_claim_button = false; $hide_claim_button = false;
@@ -170,17 +178,45 @@ class PluginProcessmakerTask extends CommonITILTask
} }
} }
$tab[$tasks[$caseUser->delIndex]['id']] = ($caseUser->userId != '' && $caseUser->userId != $GLPICurrentPMUserId) || $hide_claim_button ? "<i><sub>$title</sub></i>" : $title; $tab[$tasks[$caseUser->delIndex]['id']] = ($caseUser->userId != '' && $caseUser->userId != $GLPICurrentPMUserId) || $hide_claim_button ? "<i><sub>$title</sub></i>" : $title;
} else {
$main_tasks[$caseUser->delIndex] = $caseUser;
} }
} }
foreach ($main_tasks as $task) {
$res = $PM_DB->query("SELECT APP_UID FROM SUB_APPLICATION WHERE APP_PARENT='{$case->fields['case_guid']}' AND DEL_INDEX_PARENT={$task->delIndex} AND SA_STATUS='ACTIVE'");
if ($res && $PM_DB->numrows($res) == 1) {
$row = $PM_DB->fetch_assoc($res);
$loc_case = new PluginProcessmakerCase;
$loc_case->getFromGUID($row['APP_UID']);
$tab[$loc_case->getID()."-".$task->delIndex] = "<i><sub>> ".$task->taskName."</sub></i>";
}
}
//$sub_case = new PluginProcessmakerCase;
//foreach ($sub_cases as $sub_cases_id => $sub_tasks) {
// $sub_case->getFromDB($sub_cases_id);
// $sub_case_info = $sub_case->getCaseInfo();
// $sub_case_info->currentUsers = $sub_case->sortTasks($sub_case_info->currentUsers, $GLPICurrentPMUserId);
// foreach ($sub_case_info->currentUsers as $caseUser) {
// $title = $caseUser->taskName;
// if (isset($sub_tasks[$caseUser->delIndex])) {
// $hide_claim_button = false;
// if ($caseUser->userId == '') { // task to be claimed
// $itemtask = getItemForItemtype($sub_tasks[$caseUser->delIndex]['itemtype']);
// $itemtask->getFromDB($sub_tasks[$caseUser->delIndex]['items_id']);
// // check if this group can be found in the current user's groups
// if (!isset($_SESSION['glpigroups']) || !in_array( $itemtask->fields['groups_id_tech'], $_SESSION['glpigroups'] )) {
// $hide_claim_button = true;
// }
// }
// $tab["$sub_cases_id-".$sub_tasks[$caseUser->delIndex]['id']] = ($caseUser->userId != '' && $caseUser->userId != $GLPICurrentPMUserId) || $hide_claim_button ? "<i><sub>> $title</sub></i>" : "> $title";
// }
// }
//}
} }
//// TODO manage of sub-tasks. return $tab;
//foreach ($sub_tasks as $scases_id => $scase) {
// foreach (
//}
return $tab;
} }
@@ -192,7 +228,67 @@ class PluginProcessmakerTask extends CommonITILTask
* @param mixed $withtemplate * @param mixed $withtemplate
*/ */
static function displayTabContentForItem(CommonGLPI $case, $tabnum=1, $withtemplate=0) { static function displayTabContentForItem(CommonGLPI $case, $tabnum=1, $withtemplate=0) {
global $CFG_GLPI, $PM_SOAP; global $CFG_GLPI, $PM_SOAP, $DB, $PM_DB;
// check if we are going to view a sub-task, then redirect to sub-case itself
if (preg_match('/^(?\'cases_id\'\d+)-(\d+)$/', $tabnum, $matches)) {
// Show sub-task list
// get all tasks that are OPEN for any sub-case of this case
$sub_tasks = [];
$query = "SELECT `glpi_plugin_processmaker_tasks`.* FROM `glpi_plugin_processmaker_tasks`
WHERE `glpi_plugin_processmaker_tasks`.`plugin_processmaker_cases_id`={$matches['cases_id']} AND `del_thread_status`='OPEN'";
foreach($DB->request($query) as $task) {
$sub_tasks[$task['plugin_processmaker_cases_id']][$task['del_index']] = $task;
}
$sub_case = new PluginProcessmakerCase;
$sub_case->getFromDB($matches['cases_id']);
$sub_case_url = $sub_case->getLinkURL().'&forcetab=PluginProcessmakerTask$';
$query = "SELECT `DEL_INDEX`, `DEL_DELEGATE_DATE` FROM `APP_DELEGATION` WHERE `APP_UID`='{$sub_case->fields['case_guid']}'";
$sub_tasks_pm = [];
foreach($PM_DB->request($query) as $row){
$sub_tasks_pm[$row['DEL_INDEX']] = $row['DEL_DELEGATE_DATE'];
}
$sub_case_info = $sub_case->getCaseInfo();
echo "<div class='center'>";
echo "<table style='margin-bottom: 0px' class='tab_cadre_fixe'>";
echo "<tr><th colspan=4>".__('Sub-case task(s)', 'processmaker')."</th></tr>";
if (property_exists($sub_case_info, 'currentUsers') && count($sub_case_info->currentUsers) > 0) {
echo "<tr style='font-weight: bold;'>
<th>".__('Task', 'processmaker')."</th>
<th>".__('Task guid', 'processmaker')."</th>
<th>".__('Current user', 'processmaker')."</th>
<th>".__('Task delegation date', 'processmaker')."</th>
</tr>";
foreach($sub_case_info->currentUsers as $currentTask) {
echo "<tr>";
$sub_case_url .= $sub_tasks[$matches['cases_id']][$currentTask->delIndex]['id'];
echo "<td class='tab_bg_2'><a href='$sub_case_url'>".$currentTask->taskName."</a></td>";
echo "<td class='tab_bg_2'>".$currentTask->taskId."</td>";
if ($currentTask->userName == '') {
echo "<td class='tab_bg_2'>".__('To be claimed', 'processmaker')."</td>";
} else {
echo "<td class='tab_bg_2'>".$currentTask->userName."</td>";
}
echo "<td class='tab_bg_2'>".$sub_tasks_pm[$currentTask->delIndex]."</td>";
echo "</tr>";
}
} else {
echo "<td colspan=4>".__('None')."</td>";
}
echo "</table>";
echo "</div>";
return;
}
$hide_claim_button = false; $hide_claim_button = false;
$config = $PM_SOAP->config; $config = $PM_SOAP->config;
@@ -201,8 +297,6 @@ class PluginProcessmakerTask extends CommonITILTask
// get infos for the current task // get infos for the current task
$task = getAllDatasFromTable('glpi_plugin_processmaker_tasks', "id = $tabnum"); $task = getAllDatasFromTable('glpi_plugin_processmaker_tasks', "id = $tabnum");
// TODO manage sub-tasks
// shows the re-assign form // shows the re-assign form
$caseInfo = $case->getCaseInfo(); $caseInfo = $case->getCaseInfo();
$currentUser = null; $currentUser = null;

View File

@@ -0,0 +1,186 @@
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!50503 SET NAMES utf8mb4 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
-- Dumping structure for table glpi.glpi_plugin_processmaker_caselinkactions
CREATE TABLE IF NOT EXISTS `glpi_plugin_processmaker_caselinkactions` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`plugin_processmaker_caselinks_id` int(11) DEFAULT NULL,
`name` varchar(255) NOT NULL,
`value` text,
PRIMARY KEY (`id`),
UNIQUE KEY `caselinks_id_name` (`plugin_processmaker_caselinks_id`,`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping structure for table glpi.glpi_plugin_processmaker_caselinks
CREATE TABLE IF NOT EXISTS `glpi_plugin_processmaker_caselinks` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) NOT NULL,
`is_active` tinyint(1) NOT NULL DEFAULT '0',
`is_externaldata` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0:insert data from case,1:wait for external application to set datas',
`is_self` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0:use linked tickets, 1:use self',
`sourcetask_guid` varchar(32) DEFAULT NULL,
`targettask_guid` varchar(32) DEFAULT NULL,
`targetprocess_guid` varchar(32) DEFAULT NULL,
`targetdynaform_guid` varchar(32) DEFAULT NULL,
`sourcecondition` text,
`is_targettoclaim` tinyint(1) NOT NULL DEFAULT '0',
`is_targettoreassign` TINYINT(1) NOT NULL DEFAULT '0',
`is_targettoimpersonate` TINYINT(1) NOT NULL DEFAULT '0',
`externalapplication` TEXT NULL,
`is_synchronous` TINYINT(1) NOT NULL DEFAULT '0',
`date_mod` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `is_active` (`is_active`),
KEY `is_externaldata` (`is_externaldata`),
KEY `is_self` (`is_self`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping structure for table glpi.glpi_plugin_processmaker_cases
CREATE TABLE IF NOT EXISTS `glpi_plugin_processmaker_cases` (
`id` INT(11) NOT NULL,
`itemtype` VARCHAR(10) NOT NULL DEFAULT 'Ticket',
`items_id` INT(11) NOT NULL,
`entities_id` INT(11) NOT NULL DEFAULT '0',
`name` MEDIUMTEXT NOT NULL DEFAULT '',
`case_guid` VARCHAR(32) NOT NULL,
`case_status` VARCHAR(20) NOT NULL DEFAULT 'DRAFT',
`plugin_processmaker_processes_id` INT(11) NULL DEFAULT NULL,
`plugin_processmaker_cases_id` INT(11) NULL DEFAULT NULL,
INDEX `items` (`itemtype`, `items_id`),
INDEX `case_status` (`case_status`),
PRIMARY KEY (`id`),
UNIQUE INDEX `case_guid` (`case_guid`),
INDEX `plugin_processmaker_processes_id` (`plugin_processmaker_processes_id`),
INDEX `plugin_processmaker_cases_id` (`plugin_processmaker_cases_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping structure for table glpi.glpi_plugin_processmaker_configs
CREATE TABLE IF NOT EXISTS `glpi_plugin_processmaker_configs` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL DEFAULT 'ProcessMaker',
`pm_server_URL` varchar(250) NOT NULL DEFAULT 'http://localhost/',
`pm_workspace` varchar(50) NOT NULL DEFAULT 'workflow',
`pm_admin_user` varchar(255) DEFAULT NULL,
`pm_admin_passwd` varchar(255) DEFAULT NULL,
`pm_theme` varchar(50) NOT NULL DEFAULT 'glpi_classic',
`date_mod` timestamp NULL DEFAULT NULL,
`taskcategories_id` int(11) DEFAULT NULL,
`users_id` int(11) DEFAULT NULL,
`pm_group_guid` varchar(32) DEFAULT NULL,
`comment` text,
`pm_dbserver_name` varchar(255) DEFAULT 'localhost',
`pm_dbname` varchar(50) DEFAULT 'wf_workflow',
`pm_dbserver_user` varchar(255) DEFAULT NULL,
`pm_dbserver_passwd` varchar(255) DEFAULT NULL,
`domain` varchar(50) DEFAULT '',
`maintenance` tinyint(1) NOT NULL DEFAULT '0',
`db_version` varchar(10) NOT NULL DEFAULT '3.3.0',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping structure for table glpi.glpi_plugin_processmaker_crontaskactions
CREATE TABLE IF NOT EXISTS `glpi_plugin_processmaker_crontaskactions` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`plugin_processmaker_caselinks_id` int(11) DEFAULT NULL,
`plugin_processmaker_cases_id` int(11) DEFAULT '0',
`users_id` int(11) NOT NULL DEFAULT '0',
`is_targettoclaim` tinyint(1) NOT NULL DEFAULT '0',
`postdata` mediumtext,
`logs_out` mediumtext,
`state` int(11) NOT NULL,
`date_mod` timestamp NULL DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping structure for table glpi.glpi_plugin_processmaker_processes
CREATE TABLE IF NOT EXISTS `glpi_plugin_processmaker_processes` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`process_guid` varchar(32) NOT NULL,
`name` varchar(255) NOT NULL,
`is_active` tinyint(1) NOT NULL DEFAULT '0',
`hide_case_num_title` tinyint(1) NOT NULL DEFAULT '0',
`insert_task_comment` tinyint(1) NOT NULL DEFAULT '0',
`comment` text,
`taskcategories_id` int(11) DEFAULT NULL,
`itilcategories_id` int(11) NOT NULL DEFAULT '0',
`type` int(11) NOT NULL DEFAULT '1' COMMENT 'Only used for self-service Tickets',
`date_mod` timestamp NULL DEFAULT NULL,
`project_type` varchar(50) NOT NULL DEFAULT 'classic',
`is_change` tinyint(1) NOT NULL DEFAULT '0',
`is_problem` tinyint(1) NOT NULL DEFAULT '0',
`is_incident` tinyint(1) NOT NULL DEFAULT '0',
`is_request` tinyint(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE KEY `process_guid` (`process_guid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping structure for table glpi.glpi_plugin_processmaker_processes_profiles
CREATE TABLE `glpi_plugin_processmaker_processes_profiles` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`plugin_processmaker_processes_id` int(11) NOT NULL,
`profiles_id` int(11) NOT NULL,
`entities_id` int(11) NOT NULL,
`is_recursive` tinyint(1) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE INDEX `plugin_processmaker_processes_id_profiles_id_entities_id` (`plugin_processmaker_processes_id`, `profiles_id`, `entities_id`),
KEY `entities_id` (`entities_id`),
KEY `profiles_id` (`profiles_id`),
KEY `plugin_processmaker_processes_id` (`plugin_processmaker_processes_id`),
KEY `is_recursive` (`is_recursive`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ;
-- Dumping structure for table glpi.glpi_plugin_processmaker_taskcategories
CREATE TABLE `glpi_plugin_processmaker_taskcategories` (
`id` INT(11) NOT NULL AUTO_INCREMENT,
`plugin_processmaker_processes_id` INT(11) NOT NULL,
`pm_task_guid` VARCHAR(32) NOT NULL,
`taskcategories_id` INT(11) NOT NULL,
`is_start` TINYINT(1) NOT NULL DEFAULT '0',
`is_active` TINYINT(1) NOT NULL DEFAULT '1',
`is_subprocess` TINYINT(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
UNIQUE INDEX `pm_task_guid` (`pm_task_guid`),
UNIQUE INDEX `items` (`taskcategories_id`),
INDEX `plugin_processmaker_processes_id` (`plugin_processmaker_processes_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping structure for table glpi.glpi_plugin_processmaker_tasks
CREATE TABLE IF NOT EXISTS `glpi_plugin_processmaker_tasks` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`items_id` int(11) NOT NULL,
`itemtype` varchar(32) NOT NULL,
`plugin_processmaker_cases_id` int(11) NOT NULL,
`plugin_processmaker_taskcategories_id` int(11) NOT NULL,
`del_index` int(11) NOT NULL,
`del_thread` INT(11) NOT NULL,
`del_thread_status` varchar(32) NOT NULL DEFAULT 'OPEN',
PRIMARY KEY (`id`),
UNIQUE KEY `tasks` (`plugin_processmaker_cases_id`,`del_index`),
UNIQUE KEY `items` (`itemtype`,`items_id`),
KEY `del_thread_status` (`del_thread_status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping structure for table glpi.glpi_plugin_processmaker_users
CREATE TABLE IF NOT EXISTS `glpi_plugin_processmaker_users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`pm_users_id` varchar(32) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `pm_users_id` (`pm_users_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;

View File

@@ -28,6 +28,11 @@ function processmaker_update(){
// will upgrade 3.2.9 to 3.3.0 // will upgrade 3.2.9 to 3.3.0
include_once(GLPI_ROOT."/plugins/processmaker/install/update_3_2_9_to_3_3_0.php"); include_once(GLPI_ROOT."/plugins/processmaker/install/update_3_2_9_to_3_3_0.php");
$new_version = update_3_2_9_to_3_3_0(); $new_version = update_3_2_9_to_3_3_0();
case '3.3.0' :
// will upgrade 3.3.0 to 3.3.1
include_once(GLPI_ROOT."/plugins/processmaker/install/update_3_3_0_to_3_3_1.php");
$new_version = update_3_3_0_to_3_3_1();
} }
// end update by updating the db version number // end update by updating the db version number

View File

@@ -0,0 +1,31 @@
<?php
function update_3_3_0_to_3_3_1(){
global $DB;
// Alter table glpi_plugin_processmaker_processes
if (!arFieldExists("glpi_plugin_processmaker_processes", "is_change" )) {
$query = "ALTER TABLE `glpi_plugin_processmaker_processes`
ADD COLUMN `is_change` TINYINT(1) NOT NULL DEFAULT '0' AFTER `project_type`,
ADD COLUMN `is_problem` TINYINT(1) NOT NULL DEFAULT '0' AFTER `is_change`,
ADD COLUMN `is_incident` TINYINT(1) NOT NULL DEFAULT '0' AFTER `is_problem`,
ADD COLUMN `is_request` TINYINT(1) NOT NULL DEFAULT '0' AFTER `is_incident`;";
$DB->query($query) or die("error adding is_change, etc... to glpi_plugin_processmaker_processes table" . $DB->error());
}
// Alter table glpi_plugin_processmaker_caselinks
if (!arFieldExists("glpi_plugin_processmaker_caselinks", "is_targettoreassign" )) {
$query = "ALTER TABLE `glpi_plugin_processmaker_caselinks`
ADD COLUMN `is_targettoreassign` TINYINT(1) NOT NULL DEFAULT '0' AFTER `is_targettoclaim`,
ADD COLUMN `is_targettoimpersonate` TINYINT(1) NOT NULL DEFAULT '0' AFTER `is_targettoreassign`,
ADD COLUMN `is_synchronous` TINYINT(1) NOT NULL DEFAULT '0' AFTER `externalapplication`;";
$DB->query($query) or die("error adding is_targettoreassign, etc... to glpi_plugin_processmaker_caselinks table" . $DB->error());
}
return '3.3.1';
}

Binary file not shown.

View File

@@ -1,8 +1,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: processmaker-plugin\n" "Project-Id-Version: processmaker-plugin\n"
"POT-Creation-Date: 2018-08-02 14:42+0200\n" "POT-Creation-Date: 2018-08-06 14:32+0200\n"
"PO-Revision-Date: 2018-08-03 09:43+0200\n" "PO-Revision-Date: 2018-08-06 14:43+0200\n"
"Last-Translator: tomolimo\n" "Last-Translator: tomolimo\n"
"Language-Team: Czech\n" "Language-Team: Czech\n"
"Language: cs_CZ\n" "Language: cs_CZ\n"
@@ -49,24 +49,17 @@ msgstr "Případ byl zrušen!"
msgid "Unable to cancel case!" msgid "Unable to cancel case!"
msgstr "Případ se nedaří zrušit!" msgstr "Případ se nedaří zrušit!"
#: front/case.form.php:76 front/case.form.php:78 inc/case.class.php:922 #: front/case.form.php:76 front/case.form.php:78 inc/case.class.php:1018
msgid "Process cases" msgid "Process cases"
msgstr "Případy procesu" msgstr "Případy procesu"
#: front/case.php:5 front/caselink.form.php:27 front/caselink.php:5 #: front/case.php:5 front/caselink.form.php:27 front/caselink.php:5
#: front/process.form.php:25 front/process.php:5 inc/caselink.class.php:143 #: front/process.form.php:25 front/process.php:5 inc/caselink.class.php:143
#: inc/config.class.php:50 inc/config.class.php:347 inc/process.class.php:393 #: inc/config.class.php:50 inc/config.class.php:354 inc/process.class.php:393
#: inc/profile.class.php:52 inc/profile.class.php:83 #: inc/profile.class.php:52 inc/profile.class.php:83
msgid "ProcessMaker" msgid "ProcessMaker"
msgstr "ProcessMaker" msgstr "ProcessMaker"
#: front/case.php:14 inc/case.class.php:644
msgid ""
"ProcessMaker plugin is under maintenance, please retry later, thank you."
msgstr ""
"Na zásuvném modulu ProcessMaker probíhá údržba, zkuste to prosím později "
"děkujeme."
#: front/processmaker.form.php:85 #: front/processmaker.form.php:85
msgid "Task re-assigned!" msgid "Task re-assigned!"
msgstr "Úkol předán!" msgstr "Úkol předán!"
@@ -83,7 +76,7 @@ msgstr "Úkol už je této osobě přiřazen!"
msgid "Process - Case" msgid "Process - Case"
msgstr "Proces případ" msgstr "Proces případ"
#: front/processmaker.helpdesk.form.php:24 inc/case.class.php:528 #: front/processmaker.helpdesk.form.php:24 inc/case.class.php:605
msgid "Select the process you want to add" msgid "Select the process you want to add"
msgstr "Vyberte proces který chcete přidat" msgstr "Vyberte proces který chcete přidat"
@@ -95,11 +88,11 @@ msgstr "Synchronizovat seznam úkolů"
msgid "Case" msgid "Case"
msgstr "Případ" msgstr "Případ"
#: hook.php:158 inc/case.class.php:509 inc/case.class.php:966 #: hook.php:158 inc/case.class.php:586 inc/case.class.php:1062
msgid "Status" msgid "Status"
msgstr "Stav" msgstr "Stav"
#: inc/case.class.php:23 inc/case.class.php:85 inc/case.class.php:87 #: inc/case.class.php:23 inc/case.class.php:90 inc/case.class.php:92
msgid "Process case" msgid "Process case"
msgid_plural "Process cases" msgid_plural "Process cases"
msgstr[0] "Případ procesu" msgstr[0] "Případ procesu"
@@ -107,136 +100,154 @@ msgstr[1] "Případy procesu"
msgstr[2] "Případy procesu" msgstr[2] "Případy procesu"
msgstr[3] "Případy procesu" msgstr[3] "Případy procesu"
#: inc/case.class.php:285 #: inc/case.class.php:80
msgid "Case properties" msgid "Sub-case"
msgstr "Vlastnosti případu" msgstr ""
#: inc/case.class.php:287 inc/case.class.php:507 inc/case.class.php:940 #: inc/case.class.php:312
#: inc/process.class.php:524
msgid "Process"
msgstr "Proces"
#: inc/case.class.php:290
msgid "Case title"
msgstr "Název případu"
#: inc/case.class.php:293
msgid "Case number"
msgstr "Číslo případu"
#: inc/case.class.php:296
msgid "Case status"
msgstr "Stav případu"
#: inc/case.class.php:299
msgid "Case guid"
msgstr "Nikde se neopakující identif. případu"
#: inc/case.class.php:302
msgid "Creator"
msgstr "Vytvořil"
#: inc/case.class.php:305
msgid "Creation date"
msgstr "Datum vytvoření"
#: inc/case.class.php:308
msgid "Last update"
msgstr "Poslední úprava"
#: inc/case.class.php:323
msgid "Current task(s) properties" msgid "Current task(s) properties"
msgstr "Vlastnosti stávajícího úkolu" msgstr "Vlastnosti stávajícího úkolu"
#: inc/case.class.php:327 #: inc/case.class.php:316 inc/task.class.php:263
msgid "Task" msgid "Task"
msgstr "Úkol" msgstr "Úkol"
#: inc/case.class.php:328 #: inc/case.class.php:317 inc/task.class.php:264
msgid "Task guid" msgid "Task guid"
msgstr "Nikde se neopakující identif. úkolu" msgstr "Nikde se neopakující identif. úkolu"
#: inc/case.class.php:329 #: inc/case.class.php:318 inc/task.class.php:265
msgid "Current user" msgid "Current user"
msgstr "Stávající uživatel" msgstr "Stávající uživatel"
#: inc/case.class.php:330 #: inc/case.class.php:319 inc/task.class.php:266
msgid "Task delegation date" msgid "Task delegation date"
msgstr "Datum delegování úkolu" msgstr "Datum delegování úkolu"
#: inc/case.class.php:338 #: inc/case.class.php:341 inc/task.class.php:275
msgid "To be claimed" msgid "To be claimed"
msgstr "Chcete-li uplatnit" msgstr "Chcete-li uplatnit"
#: inc/case.class.php:407 #: inc/case.class.php:377
msgid "Case item" msgid "Sub-case properties"
msgstr "Položka případu" msgstr ""
#: inc/case.class.php:429 #: inc/case.class.php:380
msgid "Parent case properties"
msgstr ""
#: inc/case.class.php:382
msgid "Case properties"
msgstr "Vlastnosti případu"
#: inc/case.class.php:387 inc/case.class.php:584 inc/case.class.php:1036
#: inc/process.class.php:548
msgid "Process"
msgstr "Proces"
#: inc/case.class.php:388
msgid "Case title"
msgstr "Název případu"
#: inc/case.class.php:389
msgid "Case number"
msgstr "Číslo případu"
#: inc/case.class.php:390
msgid "Case status"
msgstr "Stav případu"
#: inc/case.class.php:391
msgid "Case guid"
msgstr "Nikde se neopakující identif. případu"
#: inc/case.class.php:392
msgid "Creator"
msgstr "Vytvořil"
#: inc/case.class.php:393
msgid "Creation date"
msgstr "Datum vytvoření"
#: inc/case.class.php:394
msgid "Last update"
msgstr "Poslední úprava"
#: inc/case.class.php:479
#, php-format
msgid "Case is linked to a %1s"
msgstr ""
#: inc/case.class.php:481
#, php-format
msgid "Sub-case is linked to a %1s"
msgstr ""
#: inc/case.class.php:506
msgid "Case cancellation" msgid "Case cancellation"
msgstr "Zrušení případu" msgstr "Zrušení případu"
#: inc/case.class.php:430 #: inc/case.class.php:507
msgid "Cancel case" msgid "Cancel case"
msgstr "Zrušit případ" msgstr "Zrušit případ"
#: inc/case.class.php:434 #: inc/case.class.php:511
msgid "Confirm cancellation?" msgid "Confirm cancellation?"
msgstr "Potvrdit zrušení?" msgstr "Potvrdit zrušení?"
#: inc/case.class.php:434 inc/profile.class.php:23 #: inc/case.class.php:511 inc/profile.class.php:23
msgid "Cancel" msgid "Cancel"
msgstr "Storno" msgstr "Storno"
#: inc/case.class.php:455 #: inc/case.class.php:532
msgid "Case deletion" msgid "Case deletion"
msgstr "Mazání případu" msgstr "Mazání případu"
#: inc/case.class.php:456 #: inc/case.class.php:533
msgid "Delete case" msgid "Delete case"
msgstr "Smazat případ" msgstr "Smazat případ"
#: inc/case.class.php:508 inc/case.class.php:933 #: inc/case.class.php:585 inc/case.class.php:1029
msgid "Title" msgid "Title"
msgstr "Titulek" msgstr "Titulek"
#: inc/case.class.php:510 inc/case.class.php:974 #: inc/case.class.php:587 inc/case.class.php:1070
msgid "Subcase of" msgid "Sub-case of"
msgstr "Dílčí případ z" msgstr ""
#: inc/case.class.php:525 #: inc/case.class.php:602
msgid "Add a new case" msgid "Add a new case"
msgstr "Přidat nový případ" msgstr "Přidat nový případ"
#: inc/case.class.php:899 #: inc/case.class.php:995
msgctxt "case_status" msgctxt "case_status"
msgid "Draft" msgid "Draft"
msgstr "Koncept" msgstr "Koncept"
#: inc/case.class.php:900 #: inc/case.class.php:996
msgctxt "case_status" msgctxt "case_status"
msgid "To do" msgid "To do"
msgstr "Dodělat" msgstr "Dodělat"
#: inc/case.class.php:901 #: inc/case.class.php:997
msgctxt "case_status" msgctxt "case_status"
msgid "Completed" msgid "Completed"
msgstr "Dokončeno" msgstr "Dokončeno"
#: inc/case.class.php:902 #: inc/case.class.php:998
msgctxt "case_status" msgctxt "case_status"
msgid "Cancelled" msgid "Cancelled"
msgstr "Zrušeno" msgstr "Zrušeno"
#: inc/case.class.php:926 #: inc/case.class.php:1022
msgid "ID" msgid "ID"
msgstr "Identif." msgstr "Identif."
#: inc/case.class.php:953 #: inc/case.class.php:1049
msgid "Item" msgid "Item"
msgstr "Položka" msgstr "Položka"
#: inc/case.class.php:960 #: inc/case.class.php:1056
msgid "Item entity" msgid "Item entity"
msgstr "Entita položky" msgstr "Entita položky"
@@ -304,111 +315,111 @@ msgstr "Mapa"
msgid "ProcessMaker setup" msgid "ProcessMaker setup"
msgstr "Nastavení ProcessMaker" msgstr "Nastavení ProcessMaker"
#: inc/config.class.php:156 #: inc/config.class.php:159
msgid "Server URL (must be in same domain than GLPI)" msgid "Server URL (must be in same domain than GLPI)"
msgstr "URL adresa serveru (je třeba, aby byla ze stejné domény jako GLPI)" msgstr "URL adresa serveru (je třeba, aby byla ze stejné domény jako GLPI)"
#: inc/config.class.php:161 #: inc/config.class.php:164
msgid "Common domain with GLPI" msgid "Common domain with GLPI"
msgstr "Společná doména s GLPI" msgstr "Společná doména s GLPI"
#: inc/config.class.php:190 #: inc/config.class.php:193
msgid "None!" msgid "None!"
msgstr "Žádná!" msgstr "Žádná!"
#: inc/config.class.php:199 #: inc/config.class.php:202
msgid "Workspace Name" msgid "Workspace Name"
msgstr "Název pracovního prostoru" msgstr "Název pracovního prostoru"
#: inc/config.class.php:204 #: inc/config.class.php:207
msgid "Server administrator name" msgid "Server administrator name"
msgstr "Uživatelské jméno správce serveru" msgstr "Uživatelské jméno správce serveru"
#: inc/config.class.php:209 #: inc/config.class.php:212
msgid "Server administrator password" msgid "Server administrator password"
msgstr "Heslo správce serveru" msgstr "Heslo správce serveru"
#: inc/config.class.php:215 inc/config.class.php:255 #: inc/config.class.php:218 inc/config.class.php:258
msgid "Connection status" msgid "Connection status"
msgstr "Stav spojení" msgstr "Stav spojení"
#: inc/config.class.php:231 #: inc/config.class.php:234
msgid "SQL server setup" msgid "SQL server setup"
msgstr "Nastavení SQL serveru" msgstr "Nastavení SQL serveru"
#: inc/config.class.php:234 #: inc/config.class.php:237
msgid "SQL server (MariaDB or MySQL)" msgid "SQL server (MariaDB or MySQL)"
msgstr "SQL server (MariaDB nebo MySQL)" msgstr "SQL server (MariaDB nebo MySQL)"
#: inc/config.class.php:239 #: inc/config.class.php:242
msgid "Database name" msgid "Database name"
msgstr "Název databáze" msgstr "Název databáze"
#: inc/config.class.php:244 #: inc/config.class.php:247
msgid "SQL user" msgid "SQL user"
msgstr "SQL uživatel" msgstr "SQL uživatel"
#: inc/config.class.php:249 #: inc/config.class.php:252
msgid "SQL password" msgid "SQL password"
msgstr "SQL heslo" msgstr "SQL heslo"
#: inc/config.class.php:266 #: inc/config.class.php:269
msgid "Theme Name" msgid "Theme Name"
msgstr "Název motivu vzhledu" msgstr "Název motivu vzhledu"
#: inc/config.class.php:272 #: inc/config.class.php:275
msgid "Main Task Category (edit to change name)" msgid "Main Task Category (edit to change name)"
msgstr "Hlavní kategorie úkolu (pro změnu názvu upravte)" msgstr "Hlavní kategorie úkolu (pro změnu názvu upravte)"
#: inc/config.class.php:279 #: inc/config.class.php:282
msgid "Task Writer (edit to change name)" msgid "Task Writer (edit to change name)"
msgstr "Úkol zapsal (pro změnu jména upravte)" msgstr "Úkol zapsal (pro změnu jména upravte)"
#: inc/config.class.php:299 #: inc/config.class.php:302
msgid "Group in ProcessMaker which will contain all GLPI users" msgid "Group in ProcessMaker which will contain all GLPI users"
msgstr "Skupina v ProcessMaker která bude obsahovat všechny uživatele z GLPI" msgstr "Skupina v ProcessMaker která bude obsahovat všechny uživatele z GLPI"
#: inc/config.class.php:323 #: inc/config.class.php:331
msgid "Processmaker system information" msgid "Processmaker system information"
msgstr "Systémové informace o Processmaker" msgstr "Systémové informace o Processmaker"
#: inc/config.class.php:327 inc/config.class.php:337 #: inc/config.class.php:334 inc/config.class.php:344
msgid "Version" msgid "Version"
msgstr "Verze" msgstr "Verze"
#: inc/config.class.php:328 #: inc/config.class.php:335
msgid "Web server" msgid "Web server"
msgstr "Webový server" msgstr "Webový server"
#: inc/config.class.php:329 #: inc/config.class.php:336
msgid "Server name" msgid "Server name"
msgstr "Název serveru" msgstr "Název serveru"
#: inc/config.class.php:330 #: inc/config.class.php:337
msgid "PHP version" msgid "PHP version"
msgstr "Verze PHP" msgstr "Verze PHP"
#: inc/config.class.php:331 #: inc/config.class.php:338
msgid "DB version" msgid "DB version"
msgstr "Verze databáze" msgstr "Verze databáze"
#: inc/config.class.php:332 #: inc/config.class.php:339
msgid "DB server IP" msgid "DB server IP"
msgstr "IP adresa webového serveru" msgstr "IP adresa webového serveru"
#: inc/config.class.php:333 #: inc/config.class.php:340
msgid "DB name" msgid "DB name"
msgstr "Název databáze" msgstr "Název databáze"
#: inc/config.class.php:334 #: inc/config.class.php:341
msgid "User browser" msgid "User browser"
msgstr "Prohlížeč uživatele" msgstr "Prohlížeč uživatele"
#: inc/config.class.php:335 #: inc/config.class.php:342
msgid "User IP" msgid "User IP"
msgstr "IP adresa uživatele" msgstr "IP adresa uživatele"
#: inc/config.class.php:337 #: inc/config.class.php:344
msgid "Not yet!" msgid "Not yet!"
msgstr "Ještě ne!" msgstr "Ještě ne!"
@@ -416,55 +427,75 @@ msgstr "Ještě ne!"
msgid "Synchronize Process List" msgid "Synchronize Process List"
msgstr "Synchronizovat seznam procesů" msgstr "Synchronizovat seznam procesů"
#: inc/process.class.php:427 inc/process.class.php:565 #: inc/process.class.php:427 inc/process.class.php:589
msgid "Process GUID" msgid "Process GUID"
msgstr "Nikde se neopakující identif. procesu" msgstr "Nikde se neopakující identif. procesu"
#: inc/process.class.php:433 #: inc/process.class.php:433
msgid "Project type" msgid "Process type"
msgstr "Typ projektu" msgstr ""
#: inc/process.class.php:439 #: inc/process.class.php:439
msgid "Hide case number and title" msgid "Hide case num. & title"
msgstr "Skrýt číslo a titulek případu" msgstr ""
#: inc/process.class.php:445 #: inc/process.class.php:445
msgid "Insert Task Category" msgid "Insert Task Category"
msgstr "Vložit kategorii úkolu" msgstr "Vložit kategorii úkolu"
#: inc/process.class.php:457 inc/process.class.php:585 #: inc/process.class.php:457
msgid "Ticket type (self-service)" msgid "Ticket type (self-service)"
msgstr "Typ požadavku (samoobslužné)" msgstr "Typ požadavku (samoobslužné)"
#: inc/process.class.php:495 #: inc/process.class.php:464 inc/process.class.php:609
msgid "Visible in Incident for Central interface"
msgstr ""
#: inc/process.class.php:470 inc/process.class.php:614
msgid "Visible in Request for Central interface"
msgstr ""
#: inc/process.class.php:476 inc/process.class.php:666
msgid "Visible in Change"
msgstr ""
#: inc/process.class.php:482 inc/process.class.php:671
msgid "Visible in Problem"
msgstr ""
#: inc/process.class.php:519
msgctxt "process_type" msgctxt "process_type"
msgid "Classic" msgid "Classic"
msgstr "Klasický" msgstr "Klasický"
#: inc/process.class.php:496 #: inc/process.class.php:520
msgctxt "process_type" msgctxt "process_type"
msgid "BPMN" msgid "BPMN"
msgstr "BPMN" msgstr "BPMN"
#: inc/process.class.php:522 #: inc/process.class.php:546
msgid "Processes" msgid "Processes"
msgstr "Procesy" msgstr "Procesy"
#: inc/process.class.php:575 #: inc/process.class.php:599
msgid "Hide case number and title in task descriptions" msgid "Hide case number and title in task descriptions"
msgstr "V popisech úkolů skrýt číslo a titulek případu" msgstr "V popisech úkolů skrýt číslo a titulek případu"
#: inc/process.class.php:580 #: inc/process.class.php:604
msgid "Insert Task Category comments in Task Description" msgid "Insert Task Category comments in Task Description"
msgstr "Vložit komentáře kategorie úkolu do jeho popisu" msgstr "Vložit komentáře kategorie úkolu do jeho popisu"
#: inc/process.class.php:603 #: inc/process.class.php:619
msgid "ITIL Category (self-service)" msgid "ITIL Category for Self-service interface (left empty to disable)"
msgstr "ITIL kategorie (samoobslužné)" msgstr ""
#: inc/process.class.php:632 #: inc/process.class.php:646
msgid "Project type (to be changed if not up-to-date)" msgid "Type for Self-service interface"
msgstr "Typ projektu (pokud není aktuální, bude změněno)" msgstr ""
#: inc/process.class.php:676
msgid "Process type (to be changed only if not up-to-date)"
msgstr ""
#: inc/process_profile.class.php:26 inc/process_profile.class.php:45 #: inc/process_profile.class.php:26 inc/process_profile.class.php:45
msgid "Authorizations" msgid "Authorizations"
@@ -512,6 +543,13 @@ msgstr "„Případ“ je v běhu!"
msgid "You must manage it first (see 'Process - Case' tab)!" msgid "You must manage it first (see 'Process - Case' tab)!"
msgstr "Nejprve je třeba toto spravovat (viz panel „Proces případ“)!" msgstr "Nejprve je třeba toto spravovat (viz panel „Proces případ“)!"
#: inc/processmaker.class.php:3038
msgid ""
"ProcessMaker plugin is under maintenance, please retry later, thank you."
msgstr ""
"Na zásuvném modulu ProcessMaker probíhá údržba, zkuste to prosím později "
"děkujeme."
#: inc/profile.class.php:17 #: inc/profile.class.php:17
msgid "Process configuration" msgid "Process configuration"
msgstr "Nastavení procesu" msgstr "Nastavení procesu"
@@ -520,7 +558,7 @@ msgstr "Nastavení procesu"
msgid "Cases" msgid "Cases"
msgstr "Případy" msgstr "Případy"
#: inc/task.class.php:25 #: inc/task.class.php:29
msgid "Process case task" msgid "Process case task"
msgid_plural "Process case tasks" msgid_plural "Process case tasks"
msgstr[0] "Zpracovat úkoly případu" msgstr[0] "Zpracovat úkoly případu"
@@ -528,6 +566,10 @@ msgstr[1] "Process case tasks"
msgstr[2] "Process case tasks" msgstr[2] "Process case tasks"
msgstr[3] "Process case tasks" msgstr[3] "Process case tasks"
#: inc/task.class.php:258
msgid "Sub-case task(s)"
msgstr ""
#: inc/taskcategory.class.php:21 inc/taskcategory.class.php:31 #: inc/taskcategory.class.php:21 inc/taskcategory.class.php:31
msgid "Task List" msgid "Task List"
msgstr "Seznam úkolů" msgstr "Seznam úkolů"
@@ -548,5 +590,23 @@ msgstr "Nikde se neopakující identif. úkolu"
msgid "Sub-process" msgid "Sub-process"
msgstr "Dílčí proces" msgstr "Dílčí proces"
#~ msgid "Case item"
#~ msgstr "Case item"
#~ msgid "Subcase of"
#~ msgstr "Subcase of"
#~ msgid "Project type"
#~ msgstr "Project type"
#~ msgid "Hide case number and title"
#~ msgstr "Hide case number and title"
#~ msgid "ITIL Category (self-service)"
#~ msgstr "ITIL Category (self-service)"
#~ msgid "Project type (to be changed if not up-to-date)"
#~ msgstr "Project type (to be changed if not up-to-date)"
#~ msgid "Plugin is under maintenance, please retry later, thank you." #~ msgid "Plugin is under maintenance, please retry later, thank you."
#~ msgstr "Plugin is under maintenance, please retry later, thank you." #~ msgstr "Plugin is under maintenance, please retry later, thank you."

Binary file not shown.

View File

@@ -1,8 +1,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: processmaker-plugin\n" "Project-Id-Version: processmaker-plugin\n"
"POT-Creation-Date: 2018-08-02 14:42+0200\n" "POT-Creation-Date: 2018-08-06 14:32+0200\n"
"PO-Revision-Date: 2018-08-03 09:44+0200\n" "PO-Revision-Date: 2018-08-06 14:43+0200\n"
"Last-Translator: tomolimo\n" "Last-Translator: tomolimo\n"
"Language-Team: English, United Kingdom\n" "Language-Team: English, United Kingdom\n"
"Language: en_GB\n" "Language: en_GB\n"
@@ -49,23 +49,17 @@ msgstr "Case has been cancelled!"
msgid "Unable to cancel case!" msgid "Unable to cancel case!"
msgstr "Unable to cancel case!" msgstr "Unable to cancel case!"
#: front/case.form.php:76 front/case.form.php:78 inc/case.class.php:922 #: front/case.form.php:76 front/case.form.php:78 inc/case.class.php:1018
msgid "Process cases" msgid "Process cases"
msgstr "Process cases" msgstr "Process cases"
#: front/case.php:5 front/caselink.form.php:27 front/caselink.php:5 #: front/case.php:5 front/caselink.form.php:27 front/caselink.php:5
#: front/process.form.php:25 front/process.php:5 inc/caselink.class.php:143 #: front/process.form.php:25 front/process.php:5 inc/caselink.class.php:143
#: inc/config.class.php:50 inc/config.class.php:347 inc/process.class.php:393 #: inc/config.class.php:50 inc/config.class.php:354 inc/process.class.php:393
#: inc/profile.class.php:52 inc/profile.class.php:83 #: inc/profile.class.php:52 inc/profile.class.php:83
msgid "ProcessMaker" msgid "ProcessMaker"
msgstr "ProcessMaker" msgstr "ProcessMaker"
#: front/case.php:14 inc/case.class.php:644
msgid ""
"ProcessMaker plugin is under maintenance, please retry later, thank you."
msgstr ""
"ProcessMaker plugin is under maintenance, please retry later, thank you."
#: front/processmaker.form.php:85 #: front/processmaker.form.php:85
msgid "Task re-assigned!" msgid "Task re-assigned!"
msgstr "Task re-assigned!" msgstr "Task re-assigned!"
@@ -82,7 +76,7 @@ msgstr "Task already assigned to this person!"
msgid "Process - Case" msgid "Process - Case"
msgstr "Process - Case" msgstr "Process - Case"
#: front/processmaker.helpdesk.form.php:24 inc/case.class.php:528 #: front/processmaker.helpdesk.form.php:24 inc/case.class.php:605
msgid "Select the process you want to add" msgid "Select the process you want to add"
msgstr "Select the process you want to add" msgstr "Select the process you want to add"
@@ -94,146 +88,164 @@ msgstr "Synchronize Task List"
msgid "Case" msgid "Case"
msgstr "Case" msgstr "Case"
#: hook.php:158 inc/case.class.php:509 inc/case.class.php:966 #: hook.php:158 inc/case.class.php:586 inc/case.class.php:1062
msgid "Status" msgid "Status"
msgstr "Status" msgstr "Status"
#: inc/case.class.php:23 inc/case.class.php:85 inc/case.class.php:87 #: inc/case.class.php:23 inc/case.class.php:90 inc/case.class.php:92
msgid "Process case" msgid "Process case"
msgid_plural "Process cases" msgid_plural "Process cases"
msgstr[0] "Process case" msgstr[0] "Process case"
msgstr[1] "Process cases" msgstr[1] "Process cases"
#: inc/case.class.php:285 #: inc/case.class.php:80
msgid "Case properties" msgid "Sub-case"
msgstr "Case properties" msgstr "Sub-case"
#: inc/case.class.php:287 inc/case.class.php:507 inc/case.class.php:940 #: inc/case.class.php:312
#: inc/process.class.php:524
msgid "Process"
msgstr "Process"
#: inc/case.class.php:290
msgid "Case title"
msgstr "Case title"
#: inc/case.class.php:293
msgid "Case number"
msgstr "Case number"
#: inc/case.class.php:296
msgid "Case status"
msgstr "Case status"
#: inc/case.class.php:299
msgid "Case guid"
msgstr "Case guid"
#: inc/case.class.php:302
msgid "Creator"
msgstr "Creator"
#: inc/case.class.php:305
msgid "Creation date"
msgstr "Creation date"
#: inc/case.class.php:308
msgid "Last update"
msgstr "Last update"
#: inc/case.class.php:323
msgid "Current task(s) properties" msgid "Current task(s) properties"
msgstr "Current task properties" msgstr "Current task properties"
#: inc/case.class.php:327 #: inc/case.class.php:316 inc/task.class.php:263
msgid "Task" msgid "Task"
msgstr "Task" msgstr "Task"
#: inc/case.class.php:328 #: inc/case.class.php:317 inc/task.class.php:264
msgid "Task guid" msgid "Task guid"
msgstr "Task guid" msgstr "Task guid"
#: inc/case.class.php:329 #: inc/case.class.php:318 inc/task.class.php:265
msgid "Current user" msgid "Current user"
msgstr "Current user" msgstr "Current user"
#: inc/case.class.php:330 #: inc/case.class.php:319 inc/task.class.php:266
msgid "Task delegation date" msgid "Task delegation date"
msgstr "Task delegation date" msgstr "Task delegation date"
#: inc/case.class.php:338 #: inc/case.class.php:341 inc/task.class.php:275
msgid "To be claimed" msgid "To be claimed"
msgstr "To be claimed" msgstr "To be claimed"
#: inc/case.class.php:407 #: inc/case.class.php:377
msgid "Case item" msgid "Sub-case properties"
msgstr "Case item" msgstr "Sub-case properties"
#: inc/case.class.php:429 #: inc/case.class.php:380
msgid "Parent case properties"
msgstr "Parent case properties"
#: inc/case.class.php:382
msgid "Case properties"
msgstr "Case properties"
#: inc/case.class.php:387 inc/case.class.php:584 inc/case.class.php:1036
#: inc/process.class.php:548
msgid "Process"
msgstr "Process"
#: inc/case.class.php:388
msgid "Case title"
msgstr "Case title"
#: inc/case.class.php:389
msgid "Case number"
msgstr "Case number"
#: inc/case.class.php:390
msgid "Case status"
msgstr "Case status"
#: inc/case.class.php:391
msgid "Case guid"
msgstr "Case guid"
#: inc/case.class.php:392
msgid "Creator"
msgstr "Creator"
#: inc/case.class.php:393
msgid "Creation date"
msgstr "Creation date"
#: inc/case.class.php:394
msgid "Last update"
msgstr "Last update"
#: inc/case.class.php:479
#, php-format
msgid "Case is linked to a %1s"
msgstr "Case is linked to a %1s"
#: inc/case.class.php:481
#, php-format
msgid "Sub-case is linked to a %1s"
msgstr "Sub-case is linked to a %1s"
#: inc/case.class.php:506
msgid "Case cancellation" msgid "Case cancellation"
msgstr "Case cancellation" msgstr "Case cancellation"
#: inc/case.class.php:430 #: inc/case.class.php:507
msgid "Cancel case" msgid "Cancel case"
msgstr "Cancel case" msgstr "Cancel case"
#: inc/case.class.php:434 #: inc/case.class.php:511
msgid "Confirm cancellation?" msgid "Confirm cancellation?"
msgstr "Confirm cancellation?" msgstr "Confirm cancellation?"
#: inc/case.class.php:434 inc/profile.class.php:23 #: inc/case.class.php:511 inc/profile.class.php:23
msgid "Cancel" msgid "Cancel"
msgstr "Cancel" msgstr "Cancel"
#: inc/case.class.php:455 #: inc/case.class.php:532
msgid "Case deletion" msgid "Case deletion"
msgstr "Case deletion" msgstr "Case deletion"
#: inc/case.class.php:456 #: inc/case.class.php:533
msgid "Delete case" msgid "Delete case"
msgstr "Delete case" msgstr "Delete case"
#: inc/case.class.php:508 inc/case.class.php:933 #: inc/case.class.php:585 inc/case.class.php:1029
msgid "Title" msgid "Title"
msgstr "Title" msgstr "Title"
#: inc/case.class.php:510 inc/case.class.php:974 #: inc/case.class.php:587 inc/case.class.php:1070
msgid "Subcase of" msgid "Sub-case of"
msgstr "Subcase of" msgstr "Sub-case of"
#: inc/case.class.php:525 #: inc/case.class.php:602
msgid "Add a new case" msgid "Add a new case"
msgstr "Add a new case" msgstr "Add a new case"
#: inc/case.class.php:899 #: inc/case.class.php:995
msgctxt "case_status" msgctxt "case_status"
msgid "Draft" msgid "Draft"
msgstr "Draft" msgstr "Draft"
#: inc/case.class.php:900 #: inc/case.class.php:996
msgctxt "case_status" msgctxt "case_status"
msgid "To do" msgid "To do"
msgstr "To do" msgstr "To do"
#: inc/case.class.php:901 #: inc/case.class.php:997
msgctxt "case_status" msgctxt "case_status"
msgid "Completed" msgid "Completed"
msgstr "Completed" msgstr "Completed"
#: inc/case.class.php:902 #: inc/case.class.php:998
msgctxt "case_status" msgctxt "case_status"
msgid "Cancelled" msgid "Cancelled"
msgstr "Cancelled" msgstr "Cancelled"
#: inc/case.class.php:926 #: inc/case.class.php:1022
msgid "ID" msgid "ID"
msgstr "ID" msgstr "ID"
#: inc/case.class.php:953 #: inc/case.class.php:1049
msgid "Item" msgid "Item"
msgstr "Item" msgstr "Item"
#: inc/case.class.php:960 #: inc/case.class.php:1056
msgid "Item entity" msgid "Item entity"
msgstr "Item entity" msgstr "Item entity"
@@ -301,111 +313,111 @@ msgstr "Map"
msgid "ProcessMaker setup" msgid "ProcessMaker setup"
msgstr "ProcessMaker setup" msgstr "ProcessMaker setup"
#: inc/config.class.php:156 #: inc/config.class.php:159
msgid "Server URL (must be in same domain than GLPI)" msgid "Server URL (must be in same domain than GLPI)"
msgstr "Server URL (must be in same domain than GLPI)" msgstr "Server URL (must be in same domain than GLPI)"
#: inc/config.class.php:161 #: inc/config.class.php:164
msgid "Common domain with GLPI" msgid "Common domain with GLPI"
msgstr "Common domain with GLPI" msgstr "Common domain with GLPI"
#: inc/config.class.php:190 #: inc/config.class.php:193
msgid "None!" msgid "None!"
msgstr "None!" msgstr "None!"
#: inc/config.class.php:199 #: inc/config.class.php:202
msgid "Workspace Name" msgid "Workspace Name"
msgstr "Workspace Name" msgstr "Workspace Name"
#: inc/config.class.php:204 #: inc/config.class.php:207
msgid "Server administrator name" msgid "Server administrator name"
msgstr "Server administrator name" msgstr "Server administrator name"
#: inc/config.class.php:209 #: inc/config.class.php:212
msgid "Server administrator password" msgid "Server administrator password"
msgstr "Server administrator password" msgstr "Server administrator password"
#: inc/config.class.php:215 inc/config.class.php:255 #: inc/config.class.php:218 inc/config.class.php:258
msgid "Connection status" msgid "Connection status"
msgstr "Connection status" msgstr "Connection status"
#: inc/config.class.php:231 #: inc/config.class.php:234
msgid "SQL server setup" msgid "SQL server setup"
msgstr "SQL server setup" msgstr "SQL server setup"
#: inc/config.class.php:234 #: inc/config.class.php:237
msgid "SQL server (MariaDB or MySQL)" msgid "SQL server (MariaDB or MySQL)"
msgstr "SQL server (MariaDB or MySQL)" msgstr "SQL server (MariaDB or MySQL)"
#: inc/config.class.php:239 #: inc/config.class.php:242
msgid "Database name" msgid "Database name"
msgstr "Database name" msgstr "Database name"
#: inc/config.class.php:244 #: inc/config.class.php:247
msgid "SQL user" msgid "SQL user"
msgstr "SQL user" msgstr "SQL user"
#: inc/config.class.php:249 #: inc/config.class.php:252
msgid "SQL password" msgid "SQL password"
msgstr "SQL password" msgstr "SQL password"
#: inc/config.class.php:266 #: inc/config.class.php:269
msgid "Theme Name" msgid "Theme Name"
msgstr "Theme Name" msgstr "Theme Name"
#: inc/config.class.php:272 #: inc/config.class.php:275
msgid "Main Task Category (edit to change name)" msgid "Main Task Category (edit to change name)"
msgstr "Main Task Category (edit to change name)" msgstr "Main Task Category (edit to change name)"
#: inc/config.class.php:279 #: inc/config.class.php:282
msgid "Task Writer (edit to change name)" msgid "Task Writer (edit to change name)"
msgstr "Task Writer (edit to change name)" msgstr "Task Writer (edit to change name)"
#: inc/config.class.php:299 #: inc/config.class.php:302
msgid "Group in ProcessMaker which will contain all GLPI users" msgid "Group in ProcessMaker which will contain all GLPI users"
msgstr "Group in ProcessMaker which will contain all GLPI users" msgstr "Group in ProcessMaker which will contain all GLPI users"
#: inc/config.class.php:323 #: inc/config.class.php:331
msgid "Processmaker system information" msgid "Processmaker system information"
msgstr "Processmaker system information" msgstr "Processmaker system information"
#: inc/config.class.php:327 inc/config.class.php:337 #: inc/config.class.php:334 inc/config.class.php:344
msgid "Version" msgid "Version"
msgstr "Version" msgstr "Version"
#: inc/config.class.php:328 #: inc/config.class.php:335
msgid "Web server" msgid "Web server"
msgstr "Web server" msgstr "Web server"
#: inc/config.class.php:329 #: inc/config.class.php:336
msgid "Server name" msgid "Server name"
msgstr "Server name" msgstr "Server name"
#: inc/config.class.php:330 #: inc/config.class.php:337
msgid "PHP version" msgid "PHP version"
msgstr "PHP version" msgstr "PHP version"
#: inc/config.class.php:331 #: inc/config.class.php:338
msgid "DB version" msgid "DB version"
msgstr "DB version" msgstr "DB version"
#: inc/config.class.php:332 #: inc/config.class.php:339
msgid "DB server IP" msgid "DB server IP"
msgstr "DB server IP" msgstr "DB server IP"
#: inc/config.class.php:333 #: inc/config.class.php:340
msgid "DB name" msgid "DB name"
msgstr "DB name" msgstr "DB name"
#: inc/config.class.php:334 #: inc/config.class.php:341
msgid "User browser" msgid "User browser"
msgstr "User browser" msgstr "User browser"
#: inc/config.class.php:335 #: inc/config.class.php:342
msgid "User IP" msgid "User IP"
msgstr "User IP" msgstr "User IP"
#: inc/config.class.php:337 #: inc/config.class.php:344
msgid "Not yet!" msgid "Not yet!"
msgstr "Not yet!" msgstr "Not yet!"
@@ -413,55 +425,75 @@ msgstr "Not yet!"
msgid "Synchronize Process List" msgid "Synchronize Process List"
msgstr "Synchronize Process List" msgstr "Synchronize Process List"
#: inc/process.class.php:427 inc/process.class.php:565 #: inc/process.class.php:427 inc/process.class.php:589
msgid "Process GUID" msgid "Process GUID"
msgstr "Process GUID" msgstr "Process GUID"
#: inc/process.class.php:433 #: inc/process.class.php:433
msgid "Project type" msgid "Process type"
msgstr "Project type" msgstr "Process type"
#: inc/process.class.php:439 #: inc/process.class.php:439
msgid "Hide case number and title" msgid "Hide case num. & title"
msgstr "Hide case number and title" msgstr "Hide case num. & title"
#: inc/process.class.php:445 #: inc/process.class.php:445
msgid "Insert Task Category" msgid "Insert Task Category"
msgstr "Insert Task Category" msgstr "Insert Task Category"
#: inc/process.class.php:457 inc/process.class.php:585 #: inc/process.class.php:457
msgid "Ticket type (self-service)" msgid "Ticket type (self-service)"
msgstr "Ticket type (self-service)" msgstr "Ticket type (self-service)"
#: inc/process.class.php:495 #: inc/process.class.php:464 inc/process.class.php:609
msgid "Visible in Incident for Central interface"
msgstr "Visible in Incident for Central interface"
#: inc/process.class.php:470 inc/process.class.php:614
msgid "Visible in Request for Central interface"
msgstr "Visible in Request for Central interface"
#: inc/process.class.php:476 inc/process.class.php:666
msgid "Visible in Change"
msgstr "Visible in Change"
#: inc/process.class.php:482 inc/process.class.php:671
msgid "Visible in Problem"
msgstr "Visible in Problem"
#: inc/process.class.php:519
msgctxt "process_type" msgctxt "process_type"
msgid "Classic" msgid "Classic"
msgstr "Classic" msgstr "Classic"
#: inc/process.class.php:496 #: inc/process.class.php:520
msgctxt "process_type" msgctxt "process_type"
msgid "BPMN" msgid "BPMN"
msgstr "BPMN" msgstr "BPMN"
#: inc/process.class.php:522 #: inc/process.class.php:546
msgid "Processes" msgid "Processes"
msgstr "Processes" msgstr "Processes"
#: inc/process.class.php:575 #: inc/process.class.php:599
msgid "Hide case number and title in task descriptions" msgid "Hide case number and title in task descriptions"
msgstr "Hide case number and title in task descriptions" msgstr "Hide case number and title in task descriptions"
#: inc/process.class.php:580 #: inc/process.class.php:604
msgid "Insert Task Category comments in Task Description" msgid "Insert Task Category comments in Task Description"
msgstr "Insert Task Category comments in Task Description" msgstr "Insert Task Category comments in Task Description"
#: inc/process.class.php:603 #: inc/process.class.php:619
msgid "ITIL Category (self-service)" msgid "ITIL Category for Self-service interface (left empty to disable)"
msgstr "ITIL Category (self-service)" msgstr "ITIL Category for Self-service interface (left empty to disable)"
#: inc/process.class.php:632 #: inc/process.class.php:646
msgid "Project type (to be changed if not up-to-date)" msgid "Type for Self-service interface"
msgstr "Project type (to be changed if not up-to-date)" msgstr "Type for Self-service interface"
#: inc/process.class.php:676
msgid "Process type (to be changed only if not up-to-date)"
msgstr "Process type (to be changed only if not up-to-date)"
#: inc/process_profile.class.php:26 inc/process_profile.class.php:45 #: inc/process_profile.class.php:26 inc/process_profile.class.php:45
msgid "Authorizations" msgid "Authorizations"
@@ -509,6 +541,12 @@ msgstr "A 'Case' is running!"
msgid "You must manage it first (see 'Process - Case' tab)!" msgid "You must manage it first (see 'Process - Case' tab)!"
msgstr "You must manage it first (see 'Process - Case' tab)!" msgstr "You must manage it first (see 'Process - Case' tab)!"
#: inc/processmaker.class.php:3038
msgid ""
"ProcessMaker plugin is under maintenance, please retry later, thank you."
msgstr ""
"ProcessMaker plugin is under maintenance, please retry later, thank you."
#: inc/profile.class.php:17 #: inc/profile.class.php:17
msgid "Process configuration" msgid "Process configuration"
msgstr "Process configuration" msgstr "Process configuration"
@@ -517,12 +555,16 @@ msgstr "Process configuration"
msgid "Cases" msgid "Cases"
msgstr "Cases" msgstr "Cases"
#: inc/task.class.php:25 #: inc/task.class.php:29
msgid "Process case task" msgid "Process case task"
msgid_plural "Process case tasks" msgid_plural "Process case tasks"
msgstr[0] "Process case task" msgstr[0] "Process case task"
msgstr[1] "Process case tasks" msgstr[1] "Process case tasks"
#: inc/task.class.php:258
msgid "Sub-case task(s)"
msgstr "Sub-case task(s)"
#: inc/taskcategory.class.php:21 inc/taskcategory.class.php:31 #: inc/taskcategory.class.php:21 inc/taskcategory.class.php:31
msgid "Task List" msgid "Task List"
msgstr "Task List" msgstr "Task List"
@@ -543,5 +585,23 @@ msgstr "Task GUID"
msgid "Sub-process" msgid "Sub-process"
msgstr "Sub-process" msgstr "Sub-process"
#~ msgid "Case item"
#~ msgstr "Case item"
#~ msgid "Subcase of"
#~ msgstr "Subcase of"
#~ msgid "Project type"
#~ msgstr "Project type"
#~ msgid "Hide case number and title"
#~ msgstr "Hide case number and title"
#~ msgid "ITIL Category (self-service)"
#~ msgstr "ITIL Category (self-service)"
#~ msgid "Project type (to be changed if not up-to-date)"
#~ msgstr "Project type (to be changed if not up-to-date)"
#~ msgid "Plugin is under maintenance, please retry later, thank you." #~ msgid "Plugin is under maintenance, please retry later, thank you."
#~ msgstr "Plugin is under maintenance, please retry later, thank you." #~ msgstr "Plugin is under maintenance, please retry later, thank you."

Binary file not shown.

View File

@@ -1,8 +1,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: processmaker-plugin\n" "Project-Id-Version: processmaker-plugin\n"
"POT-Creation-Date: 2018-08-02 14:42+0200\n" "POT-Creation-Date: 2018-08-06 14:32+0200\n"
"PO-Revision-Date: 2018-08-03 09:44+0200\n" "PO-Revision-Date: 2018-08-06 14:44+0200\n"
"Last-Translator: tomolimo\n" "Last-Translator: tomolimo\n"
"Language-Team: French\n" "Language-Team: French\n"
"Language: fr_FR\n" "Language: fr_FR\n"
@@ -49,24 +49,17 @@ msgstr "Le cas a été annulé !"
msgid "Unable to cancel case!" msgid "Unable to cancel case!"
msgstr "Impossible d'annuler le cas !" msgstr "Impossible d'annuler le cas !"
#: front/case.form.php:76 front/case.form.php:78 inc/case.class.php:922 #: front/case.form.php:76 front/case.form.php:78 inc/case.class.php:1018
msgid "Process cases" msgid "Process cases"
msgstr "Cas des processus" msgstr "Cas des processus"
#: front/case.php:5 front/caselink.form.php:27 front/caselink.php:5 #: front/case.php:5 front/caselink.form.php:27 front/caselink.php:5
#: front/process.form.php:25 front/process.php:5 inc/caselink.class.php:143 #: front/process.form.php:25 front/process.php:5 inc/caselink.class.php:143
#: inc/config.class.php:50 inc/config.class.php:347 inc/process.class.php:393 #: inc/config.class.php:50 inc/config.class.php:354 inc/process.class.php:393
#: inc/profile.class.php:52 inc/profile.class.php:83 #: inc/profile.class.php:52 inc/profile.class.php:83
msgid "ProcessMaker" msgid "ProcessMaker"
msgstr "ProcessMaker" msgstr "ProcessMaker"
#: front/case.php:14 inc/case.class.php:644
msgid ""
"ProcessMaker plugin is under maintenance, please retry later, thank you."
msgstr ""
"Le plugin ProcessMaker est en maintenance, veuillez ré-essayer plus tard, "
"merci."
#: front/processmaker.form.php:85 #: front/processmaker.form.php:85
msgid "Task re-assigned!" msgid "Task re-assigned!"
msgstr "Tâche ré-affectée !" msgstr "Tâche ré-affectée !"
@@ -83,7 +76,7 @@ msgstr "Tâche déjà affectée à cette personne !"
msgid "Process - Case" msgid "Process - Case"
msgstr "Processus - Cas" msgstr "Processus - Cas"
#: front/processmaker.helpdesk.form.php:24 inc/case.class.php:528 #: front/processmaker.helpdesk.form.php:24 inc/case.class.php:605
msgid "Select the process you want to add" msgid "Select the process you want to add"
msgstr "Choisir le processus à démarrer" msgstr "Choisir le processus à démarrer"
@@ -95,146 +88,164 @@ msgstr "Synchroniser la liste des Tâches"
msgid "Case" msgid "Case"
msgstr "Cas" msgstr "Cas"
#: hook.php:158 inc/case.class.php:509 inc/case.class.php:966 #: hook.php:158 inc/case.class.php:586 inc/case.class.php:1062
msgid "Status" msgid "Status"
msgstr "Statut" msgstr "Statut"
#: inc/case.class.php:23 inc/case.class.php:85 inc/case.class.php:87 #: inc/case.class.php:23 inc/case.class.php:90 inc/case.class.php:92
msgid "Process case" msgid "Process case"
msgid_plural "Process cases" msgid_plural "Process cases"
msgstr[0] "Cas du processus" msgstr[0] "Cas du processus"
msgstr[1] "Cas des processus" msgstr[1] "Cas des processus"
#: inc/case.class.php:285 #: inc/case.class.php:80
msgid "Case properties" msgid "Sub-case"
msgstr "Propriétés du cas" msgstr "Sous-cas"
#: inc/case.class.php:287 inc/case.class.php:507 inc/case.class.php:940 #: inc/case.class.php:312
#: inc/process.class.php:524
msgid "Process"
msgstr "Processus"
#: inc/case.class.php:290
msgid "Case title"
msgstr "Titre du cas"
#: inc/case.class.php:293
msgid "Case number"
msgstr "Numéro du cas"
#: inc/case.class.php:296
msgid "Case status"
msgstr "Statut du cas"
#: inc/case.class.php:299
msgid "Case guid"
msgstr "Guid du cas"
#: inc/case.class.php:302
msgid "Creator"
msgstr "Créateur"
#: inc/case.class.php:305
msgid "Creation date"
msgstr "Date de création"
#: inc/case.class.php:308
msgid "Last update"
msgstr "Dernière mise à jour"
#: inc/case.class.php:323
msgid "Current task(s) properties" msgid "Current task(s) properties"
msgstr "Propriétés des tâches en cours" msgstr "Propriétés des tâches en cours"
#: inc/case.class.php:327 #: inc/case.class.php:316 inc/task.class.php:263
msgid "Task" msgid "Task"
msgstr "Tâche" msgstr "Tâche"
#: inc/case.class.php:328 #: inc/case.class.php:317 inc/task.class.php:264
msgid "Task guid" msgid "Task guid"
msgstr "Guid de la tâche" msgstr "Guid de la tâche"
#: inc/case.class.php:329 #: inc/case.class.php:318 inc/task.class.php:265
msgid "Current user" msgid "Current user"
msgstr "Utilisateur actuel" msgstr "Utilisateur actuel"
#: inc/case.class.php:330 #: inc/case.class.php:319 inc/task.class.php:266
msgid "Task delegation date" msgid "Task delegation date"
msgstr "Date de délégation de tâche" msgstr "Date de délégation de tâche"
#: inc/case.class.php:338 #: inc/case.class.php:341 inc/task.class.php:275
msgid "To be claimed" msgid "To be claimed"
msgstr "A réclamer" msgstr "A réclamer"
#: inc/case.class.php:407 #: inc/case.class.php:377
msgid "Case item" msgid "Sub-case properties"
msgstr "Item du cas" msgstr "Propriétés du sous-cas"
#: inc/case.class.php:429 #: inc/case.class.php:380
msgid "Parent case properties"
msgstr "Propriétés du cas parent"
#: inc/case.class.php:382
msgid "Case properties"
msgstr "Propriétés du cas"
#: inc/case.class.php:387 inc/case.class.php:584 inc/case.class.php:1036
#: inc/process.class.php:548
msgid "Process"
msgstr "Processus"
#: inc/case.class.php:388
msgid "Case title"
msgstr "Titre du cas"
#: inc/case.class.php:389
msgid "Case number"
msgstr "Numéro du cas"
#: inc/case.class.php:390
msgid "Case status"
msgstr "Statut du cas"
#: inc/case.class.php:391
msgid "Case guid"
msgstr "Guid du cas"
#: inc/case.class.php:392
msgid "Creator"
msgstr "Créateur"
#: inc/case.class.php:393
msgid "Creation date"
msgstr "Date de création"
#: inc/case.class.php:394
msgid "Last update"
msgstr "Dernière mise à jour"
#: inc/case.class.php:479
#, php-format
msgid "Case is linked to a %1s"
msgstr "Le cas est lié à un %1s"
#: inc/case.class.php:481
#, php-format
msgid "Sub-case is linked to a %1s"
msgstr "Le sous-cas est lié à un %1s"
#: inc/case.class.php:506
msgid "Case cancellation" msgid "Case cancellation"
msgstr "Annulation du cas" msgstr "Annulation du cas"
#: inc/case.class.php:430 #: inc/case.class.php:507
msgid "Cancel case" msgid "Cancel case"
msgstr "Annuler cas" msgstr "Annuler cas"
#: inc/case.class.php:434 #: inc/case.class.php:511
msgid "Confirm cancellation?" msgid "Confirm cancellation?"
msgstr "Confirmer lannulation ?" msgstr "Confirmer lannulation ?"
#: inc/case.class.php:434 inc/profile.class.php:23 #: inc/case.class.php:511 inc/profile.class.php:23
msgid "Cancel" msgid "Cancel"
msgstr "Annuler" msgstr "Annuler"
#: inc/case.class.php:455 #: inc/case.class.php:532
msgid "Case deletion" msgid "Case deletion"
msgstr "Suppression du cas" msgstr "Suppression du cas"
#: inc/case.class.php:456 #: inc/case.class.php:533
msgid "Delete case" msgid "Delete case"
msgstr "Supprimer le cas" msgstr "Supprimer le cas"
#: inc/case.class.php:508 inc/case.class.php:933 #: inc/case.class.php:585 inc/case.class.php:1029
msgid "Title" msgid "Title"
msgstr "Titre" msgstr "Titre"
#: inc/case.class.php:510 inc/case.class.php:974 #: inc/case.class.php:587 inc/case.class.php:1070
msgid "Subcase of" msgid "Sub-case of"
msgstr "Sous-cas de" msgstr "Sous-cas de"
#: inc/case.class.php:525 #: inc/case.class.php:602
msgid "Add a new case" msgid "Add a new case"
msgstr "Ajouter un nouveau cas" msgstr "Ajouter un nouveau cas"
#: inc/case.class.php:899 #: inc/case.class.php:995
msgctxt "case_status" msgctxt "case_status"
msgid "Draft" msgid "Draft"
msgstr "Brouillon" msgstr "Brouillon"
#: inc/case.class.php:900 #: inc/case.class.php:996
msgctxt "case_status" msgctxt "case_status"
msgid "To do" msgid "To do"
msgstr "A faire" msgstr "A faire"
#: inc/case.class.php:901 #: inc/case.class.php:997
msgctxt "case_status" msgctxt "case_status"
msgid "Completed" msgid "Completed"
msgstr "Terminé" msgstr "Terminé"
#: inc/case.class.php:902 #: inc/case.class.php:998
msgctxt "case_status" msgctxt "case_status"
msgid "Cancelled" msgid "Cancelled"
msgstr "Annulé" msgstr "Annulé"
#: inc/case.class.php:926 #: inc/case.class.php:1022
msgid "ID" msgid "ID"
msgstr "ID" msgstr "ID"
#: inc/case.class.php:953 #: inc/case.class.php:1049
msgid "Item" msgid "Item"
msgstr "Item" msgstr "Item"
#: inc/case.class.php:960 #: inc/case.class.php:1056
msgid "Item entity" msgid "Item entity"
msgstr "Entité de l'item" msgstr "Entité de l'item"
@@ -302,111 +313,111 @@ msgstr "Carte"
msgid "ProcessMaker setup" msgid "ProcessMaker setup"
msgstr "Configuration du serveur ProcessMaker" msgstr "Configuration du serveur ProcessMaker"
#: inc/config.class.php:156 #: inc/config.class.php:159
msgid "Server URL (must be in same domain than GLPI)" msgid "Server URL (must be in same domain than GLPI)"
msgstr "URL du serveur (doit être dans le même domaine que GLPI)" msgstr "URL du serveur (doit être dans le même domaine que GLPI)"
#: inc/config.class.php:161 #: inc/config.class.php:164
msgid "Common domain with GLPI" msgid "Common domain with GLPI"
msgstr "Domaine commun avec GLPI" msgstr "Domaine commun avec GLPI"
#: inc/config.class.php:190 #: inc/config.class.php:193
msgid "None!" msgid "None!"
msgstr "Aucun !" msgstr "Aucun !"
#: inc/config.class.php:199 #: inc/config.class.php:202
msgid "Workspace Name" msgid "Workspace Name"
msgstr "Nom du Workspace" msgstr "Nom du Workspace"
#: inc/config.class.php:204 #: inc/config.class.php:207
msgid "Server administrator name" msgid "Server administrator name"
msgstr "Non de l'administreur du server ProcessMaker" msgstr "Non de l'administreur du server ProcessMaker"
#: inc/config.class.php:209 #: inc/config.class.php:212
msgid "Server administrator password" msgid "Server administrator password"
msgstr "Mot de passe de l'administrateur du serveur ProcessMaker" msgstr "Mot de passe de l'administrateur du serveur ProcessMaker"
#: inc/config.class.php:215 inc/config.class.php:255 #: inc/config.class.php:218 inc/config.class.php:258
msgid "Connection status" msgid "Connection status"
msgstr "Status de la connexion" msgstr "Status de la connexion"
#: inc/config.class.php:231 #: inc/config.class.php:234
msgid "SQL server setup" msgid "SQL server setup"
msgstr "Configuration du serveur SQL" msgstr "Configuration du serveur SQL"
#: inc/config.class.php:234 #: inc/config.class.php:237
msgid "SQL server (MariaDB or MySQL)" msgid "SQL server (MariaDB or MySQL)"
msgstr "SQL server (MariaDB ou MySQL)" msgstr "SQL server (MariaDB ou MySQL)"
#: inc/config.class.php:239 #: inc/config.class.php:242
msgid "Database name" msgid "Database name"
msgstr "Nom de la base de données" msgstr "Nom de la base de données"
#: inc/config.class.php:244 #: inc/config.class.php:247
msgid "SQL user" msgid "SQL user"
msgstr "Utilisateur SQL" msgstr "Utilisateur SQL"
#: inc/config.class.php:249 #: inc/config.class.php:252
msgid "SQL password" msgid "SQL password"
msgstr "Mot de passe SQL" msgstr "Mot de passe SQL"
#: inc/config.class.php:266 #: inc/config.class.php:269
msgid "Theme Name" msgid "Theme Name"
msgstr "Nom du thème" msgstr "Nom du thème"
#: inc/config.class.php:272 #: inc/config.class.php:275
msgid "Main Task Category (edit to change name)" msgid "Main Task Category (edit to change name)"
msgstr "Catégorie principale des tâches (éditer pour changer le nom)" msgstr "Catégorie principale des tâches (éditer pour changer le nom)"
#: inc/config.class.php:279 #: inc/config.class.php:282
msgid "Task Writer (edit to change name)" msgid "Task Writer (edit to change name)"
msgstr "Auteur des tâches (éditer pour changer le nom)" msgstr "Auteur des tâches (éditer pour changer le nom)"
#: inc/config.class.php:299 #: inc/config.class.php:302
msgid "Group in ProcessMaker which will contain all GLPI users" msgid "Group in ProcessMaker which will contain all GLPI users"
msgstr "Groupe dans ProcessMaker qui contiendra les utilisateurs de GLPI" msgstr "Groupe dans ProcessMaker qui contiendra les utilisateurs de GLPI"
#: inc/config.class.php:323 #: inc/config.class.php:331
msgid "Processmaker system information" msgid "Processmaker system information"
msgstr "Informations système du serveur ProcessMaker" msgstr "Informations système du serveur ProcessMaker"
#: inc/config.class.php:327 inc/config.class.php:337 #: inc/config.class.php:334 inc/config.class.php:344
msgid "Version" msgid "Version"
msgstr "Version" msgstr "Version"
#: inc/config.class.php:328 #: inc/config.class.php:335
msgid "Web server" msgid "Web server"
msgstr "Serveur web" msgstr "Serveur web"
#: inc/config.class.php:329 #: inc/config.class.php:336
msgid "Server name" msgid "Server name"
msgstr "Nom du serveur" msgstr "Nom du serveur"
#: inc/config.class.php:330 #: inc/config.class.php:337
msgid "PHP version" msgid "PHP version"
msgstr "Version de PHP" msgstr "Version de PHP"
#: inc/config.class.php:331 #: inc/config.class.php:338
msgid "DB version" msgid "DB version"
msgstr "Version de la Db" msgstr "Version de la Db"
#: inc/config.class.php:332 #: inc/config.class.php:339
msgid "DB server IP" msgid "DB server IP"
msgstr "IP du serveur DB" msgstr "IP du serveur DB"
#: inc/config.class.php:333 #: inc/config.class.php:340
msgid "DB name" msgid "DB name"
msgstr "Nom de la BD" msgstr "Nom de la BD"
#: inc/config.class.php:334 #: inc/config.class.php:341
msgid "User browser" msgid "User browser"
msgstr "Navigateur de lutilisateur" msgstr "Navigateur de lutilisateur"
#: inc/config.class.php:335 #: inc/config.class.php:342
msgid "User IP" msgid "User IP"
msgstr "IP de l'utilisateur" msgstr "IP de l'utilisateur"
#: inc/config.class.php:337 #: inc/config.class.php:344
msgid "Not yet!" msgid "Not yet!"
msgstr "Pas encore !" msgstr "Pas encore !"
@@ -414,57 +425,78 @@ msgstr "Pas encore !"
msgid "Synchronize Process List" msgid "Synchronize Process List"
msgstr "Synchroniser la liste des processus" msgstr "Synchroniser la liste des processus"
#: inc/process.class.php:427 inc/process.class.php:565 #: inc/process.class.php:427 inc/process.class.php:589
msgid "Process GUID" msgid "Process GUID"
msgstr "GUID du Processus" msgstr "GUID du Processus"
#: inc/process.class.php:433 #: inc/process.class.php:433
msgid "Project type" msgid "Process type"
msgstr "Type de projet" msgstr "Type de processus"
#: inc/process.class.php:439 #: inc/process.class.php:439
msgid "Hide case number and title" msgid "Hide case num. & title"
msgstr "Masquer numéro et titre des cas" msgstr "Cacher num. et titre du cas"
#: inc/process.class.php:445 #: inc/process.class.php:445
msgid "Insert Task Category" msgid "Insert Task Category"
msgstr "Insérer la catégorie des tâches" msgstr "Insérer la catégorie des tâches"
#: inc/process.class.php:457 inc/process.class.php:585 #: inc/process.class.php:457
msgid "Ticket type (self-service)" msgid "Ticket type (self-service)"
msgstr "Type de ticket (self-service)" msgstr "Type de ticket (self-service)"
#: inc/process.class.php:495 #: inc/process.class.php:464 inc/process.class.php:609
msgid "Visible in Incident for Central interface"
msgstr "Visible pour un Incident sur l'interface Centrale"
#: inc/process.class.php:470 inc/process.class.php:614
msgid "Visible in Request for Central interface"
msgstr "Visible pour une demande sur l'interface Centrale"
#: inc/process.class.php:476 inc/process.class.php:666
msgid "Visible in Change"
msgstr "Visible dans un Changement"
#: inc/process.class.php:482 inc/process.class.php:671
msgid "Visible in Problem"
msgstr "Visible dans un Problème"
#: inc/process.class.php:519
msgctxt "process_type" msgctxt "process_type"
msgid "Classic" msgid "Classic"
msgstr "Classique" msgstr "Classique"
#: inc/process.class.php:496 #: inc/process.class.php:520
msgctxt "process_type" msgctxt "process_type"
msgid "BPMN" msgid "BPMN"
msgstr "BPMN" msgstr "BPMN"
#: inc/process.class.php:522 #: inc/process.class.php:546
msgid "Processes" msgid "Processes"
msgstr "Processus" msgstr "Processus"
#: inc/process.class.php:575 #: inc/process.class.php:599
msgid "Hide case number and title in task descriptions" msgid "Hide case number and title in task descriptions"
msgstr "Masquer numéro et titre des cas dans les descriptions des tâches" msgstr "Masquer numéro et titre des cas dans les descriptions des tâches"
#: inc/process.class.php:580 #: inc/process.class.php:604
msgid "Insert Task Category comments in Task Description" msgid "Insert Task Category comments in Task Description"
msgstr "" msgstr ""
"Insérer les commentaires des Catégories de Tâches dans les descriptions des " "Insérer les commentaires des Catégories de Tâches dans les descriptions des "
"Tâches" "Tâches"
#: inc/process.class.php:603 #: inc/process.class.php:619
msgid "ITIL Category (self-service)" msgid "ITIL Category for Self-service interface (left empty to disable)"
msgstr "Catégorie ITIL (self-service)" msgstr ""
"Catégorie ITIL pour l'interface libre-service (laissez vide pour désactiver)"
#: inc/process.class.php:632 #: inc/process.class.php:646
msgid "Project type (to be changed if not up-to-date)" msgid "Type for Self-service interface"
msgstr "Type de projet (à modifier si pas à jour)" msgstr "Type de ticket pour l'interface libre-service"
#: inc/process.class.php:676
msgid "Process type (to be changed only if not up-to-date)"
msgstr "Type de processus (à modifier uniquement si pas à jour)"
#: inc/process_profile.class.php:26 inc/process_profile.class.php:45 #: inc/process_profile.class.php:26 inc/process_profile.class.php:45
msgid "Authorizations" msgid "Authorizations"
@@ -512,6 +544,13 @@ msgstr "Un 'Cas' est en cours !"
msgid "You must manage it first (see 'Process - Case' tab)!" msgid "You must manage it first (see 'Process - Case' tab)!"
msgstr "Vous devez d'abord le terminer (voir onglet 'Processus - Cas') !" msgstr "Vous devez d'abord le terminer (voir onglet 'Processus - Cas') !"
#: inc/processmaker.class.php:3038
msgid ""
"ProcessMaker plugin is under maintenance, please retry later, thank you."
msgstr ""
"Le plugin ProcessMaker est en maintenance, veuillez ré-essayer plus tard, "
"merci."
#: inc/profile.class.php:17 #: inc/profile.class.php:17
msgid "Process configuration" msgid "Process configuration"
msgstr "Configuration des Processus" msgstr "Configuration des Processus"
@@ -520,12 +559,16 @@ msgstr "Configuration des Processus"
msgid "Cases" msgid "Cases"
msgstr "Cas" msgstr "Cas"
#: inc/task.class.php:25 #: inc/task.class.php:29
msgid "Process case task" msgid "Process case task"
msgid_plural "Process case tasks" msgid_plural "Process case tasks"
msgstr[0] "Tâche d'un cas" msgstr[0] "Tâche d'un cas"
msgstr[1] "Tâches d'un cas" msgstr[1] "Tâches d'un cas"
#: inc/task.class.php:258
msgid "Sub-case task(s)"
msgstr "Tache(s) du sous-cas"
#: inc/taskcategory.class.php:21 inc/taskcategory.class.php:31 #: inc/taskcategory.class.php:21 inc/taskcategory.class.php:31
msgid "Task List" msgid "Task List"
msgstr "Liste des tâches" msgstr "Liste des tâches"
@@ -546,5 +589,23 @@ msgstr "GUID de la Tâche"
msgid "Sub-process" msgid "Sub-process"
msgstr "Sous-processus" msgstr "Sous-processus"
#~ msgid "Case item"
#~ msgstr "Case item"
#~ msgid "Subcase of"
#~ msgstr "Subcase of"
#~ msgid "Project type"
#~ msgstr "Project type"
#~ msgid "Hide case number and title"
#~ msgstr "Hide case number and title"
#~ msgid "ITIL Category (self-service)"
#~ msgstr "ITIL Category (self-service)"
#~ msgid "Project type (to be changed if not up-to-date)"
#~ msgstr "Project type (to be changed if not up-to-date)"
#~ msgid "Plugin is under maintenance, please retry later, thank you." #~ msgid "Plugin is under maintenance, please retry later, thank you."
#~ msgstr "Plugin is under maintenance, please retry later, thank you." #~ msgstr "Plugin is under maintenance, please retry later, thank you."

View File

@@ -1,8 +1,8 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: Processmaker plugin 3.3.0\n" "Project-Id-Version: Processmaker plugin 3.3.0\n"
"POT-Creation-Date: 2018-08-02 14:42+0200\n" "POT-Creation-Date: 2018-08-06 14:32+0200\n"
"PO-Revision-Date: 2018-08-02 16:56+0200\n" "PO-Revision-Date: 2018-08-06 14:33+0200\n"
"Last-Translator: tomolimo\n" "Last-Translator: tomolimo\n"
"Language-Team: en_GB\n" "Language-Team: en_GB\n"
"Language: en_GB\n" "Language: en_GB\n"
@@ -46,23 +46,17 @@ msgstr "Case has been cancelled!"
msgid "Unable to cancel case!" msgid "Unable to cancel case!"
msgstr "Unable to cancel case!" msgstr "Unable to cancel case!"
#: front/case.form.php:76 front/case.form.php:78 inc/case.class.php:922 #: front/case.form.php:76 front/case.form.php:78 inc/case.class.php:1018
msgid "Process cases" msgid "Process cases"
msgstr "Process cases" msgstr "Process cases"
#: front/case.php:5 front/caselink.form.php:27 front/caselink.php:5 #: front/case.php:5 front/caselink.form.php:27 front/caselink.php:5
#: front/process.form.php:25 front/process.php:5 inc/caselink.class.php:143 #: front/process.form.php:25 front/process.php:5 inc/caselink.class.php:143
#: inc/config.class.php:50 inc/config.class.php:347 inc/process.class.php:393 #: inc/config.class.php:50 inc/config.class.php:354 inc/process.class.php:393
#: inc/profile.class.php:52 inc/profile.class.php:83 #: inc/profile.class.php:52 inc/profile.class.php:83
msgid "ProcessMaker" msgid "ProcessMaker"
msgstr "ProcessMaker" msgstr "ProcessMaker"
#: front/case.php:14 inc/case.class.php:644
msgid ""
"ProcessMaker plugin is under maintenance, please retry later, thank you."
msgstr ""
"ProcessMaker plugin is under maintenance, please retry later, thank you."
#: front/processmaker.form.php:85 #: front/processmaker.form.php:85
msgid "Task re-assigned!" msgid "Task re-assigned!"
msgstr "Task re-assigned!" msgstr "Task re-assigned!"
@@ -79,7 +73,7 @@ msgstr "Task already assigned to this person!"
msgid "Process - Case" msgid "Process - Case"
msgstr "Process - Case" msgstr "Process - Case"
#: front/processmaker.helpdesk.form.php:24 inc/case.class.php:528 #: front/processmaker.helpdesk.form.php:24 inc/case.class.php:605
msgid "Select the process you want to add" msgid "Select the process you want to add"
msgstr "Select the process you want to add" msgstr "Select the process you want to add"
@@ -91,146 +85,164 @@ msgstr "Synchronize Task List"
msgid "Case" msgid "Case"
msgstr "Case" msgstr "Case"
#: hook.php:158 inc/case.class.php:509 inc/case.class.php:966 #: hook.php:158 inc/case.class.php:586 inc/case.class.php:1062
msgid "Status" msgid "Status"
msgstr "Status" msgstr "Status"
#: inc/case.class.php:23 inc/case.class.php:85 inc/case.class.php:87 #: inc/case.class.php:23 inc/case.class.php:90 inc/case.class.php:92
msgid "Process case" msgid "Process case"
msgid_plural "Process cases" msgid_plural "Process cases"
msgstr[0] "Process case" msgstr[0] "Process case"
msgstr[1] "Process cases" msgstr[1] "Process cases"
#: inc/case.class.php:285 #: inc/case.class.php:80
msgid "Case properties" msgid "Sub-case"
msgstr "Case properties" msgstr "Sub-case"
#: inc/case.class.php:287 inc/case.class.php:507 inc/case.class.php:940 #: inc/case.class.php:312
#: inc/process.class.php:524
msgid "Process"
msgstr "Process"
#: inc/case.class.php:290
msgid "Case title"
msgstr "Case title"
#: inc/case.class.php:293
msgid "Case number"
msgstr "Case number"
#: inc/case.class.php:296
msgid "Case status"
msgstr "Case status"
#: inc/case.class.php:299
msgid "Case guid"
msgstr "Case guid"
#: inc/case.class.php:302
msgid "Creator"
msgstr "Creator"
#: inc/case.class.php:305
msgid "Creation date"
msgstr "Creation date"
#: inc/case.class.php:308
msgid "Last update"
msgstr "Last update"
#: inc/case.class.php:323
msgid "Current task(s) properties" msgid "Current task(s) properties"
msgstr "Current task(s) properties" msgstr "Current task(s) properties"
#: inc/case.class.php:327 #: inc/case.class.php:316 inc/task.class.php:263
msgid "Task" msgid "Task"
msgstr "Task" msgstr "Task"
#: inc/case.class.php:328 #: inc/case.class.php:317 inc/task.class.php:264
msgid "Task guid" msgid "Task guid"
msgstr "Task guid" msgstr "Task guid"
#: inc/case.class.php:329 #: inc/case.class.php:318 inc/task.class.php:265
msgid "Current user" msgid "Current user"
msgstr "Current user" msgstr "Current user"
#: inc/case.class.php:330 #: inc/case.class.php:319 inc/task.class.php:266
msgid "Task delegation date" msgid "Task delegation date"
msgstr "Task delegation date" msgstr "Task delegation date"
#: inc/case.class.php:338 #: inc/case.class.php:341 inc/task.class.php:275
msgid "To be claimed" msgid "To be claimed"
msgstr "To be claimed" msgstr "To be claimed"
#: inc/case.class.php:407 #: inc/case.class.php:377
msgid "Case item" msgid "Sub-case properties"
msgstr "Case item" msgstr "Sub-case properties"
#: inc/case.class.php:429 #: inc/case.class.php:380
msgid "Parent case properties"
msgstr "Parent case properties"
#: inc/case.class.php:382
msgid "Case properties"
msgstr "Case properties"
#: inc/case.class.php:387 inc/case.class.php:584 inc/case.class.php:1036
#: inc/process.class.php:548
msgid "Process"
msgstr "Process"
#: inc/case.class.php:388
msgid "Case title"
msgstr "Case title"
#: inc/case.class.php:389
msgid "Case number"
msgstr "Case number"
#: inc/case.class.php:390
msgid "Case status"
msgstr "Case status"
#: inc/case.class.php:391
msgid "Case guid"
msgstr "Case guid"
#: inc/case.class.php:392
msgid "Creator"
msgstr "Creator"
#: inc/case.class.php:393
msgid "Creation date"
msgstr "Creation date"
#: inc/case.class.php:394
msgid "Last update"
msgstr "Last update"
#: inc/case.class.php:479
#, php-format
msgid "Case is linked to a %1s"
msgstr "Case is linked to a %1s"
#: inc/case.class.php:481
#, php-format
msgid "Sub-case is linked to a %1s"
msgstr "Sub-case is linked to a %1s"
#: inc/case.class.php:506
msgid "Case cancellation" msgid "Case cancellation"
msgstr "Case cancellation" msgstr "Case cancellation"
#: inc/case.class.php:430 #: inc/case.class.php:507
msgid "Cancel case" msgid "Cancel case"
msgstr "Cancel case" msgstr "Cancel case"
#: inc/case.class.php:434 #: inc/case.class.php:511
msgid "Confirm cancellation?" msgid "Confirm cancellation?"
msgstr "Confirm cancellation?" msgstr "Confirm cancellation?"
#: inc/case.class.php:434 inc/profile.class.php:23 #: inc/case.class.php:511 inc/profile.class.php:23
msgid "Cancel" msgid "Cancel"
msgstr "Cancel" msgstr "Cancel"
#: inc/case.class.php:455 #: inc/case.class.php:532
msgid "Case deletion" msgid "Case deletion"
msgstr "Case deletion" msgstr "Case deletion"
#: inc/case.class.php:456 #: inc/case.class.php:533
msgid "Delete case" msgid "Delete case"
msgstr "Delete case" msgstr "Delete case"
#: inc/case.class.php:508 inc/case.class.php:933 #: inc/case.class.php:585 inc/case.class.php:1029
msgid "Title" msgid "Title"
msgstr "Title" msgstr "Title"
#: inc/case.class.php:510 inc/case.class.php:974 #: inc/case.class.php:587 inc/case.class.php:1070
msgid "Subcase of" msgid "Sub-case of"
msgstr "Subcase of" msgstr "Sub-case of"
#: inc/case.class.php:525 #: inc/case.class.php:602
msgid "Add a new case" msgid "Add a new case"
msgstr "Add a new case" msgstr "Add a new case"
#: inc/case.class.php:899 #: inc/case.class.php:995
msgctxt "case_status" msgctxt "case_status"
msgid "Draft" msgid "Draft"
msgstr "Draft" msgstr "Draft"
#: inc/case.class.php:900 #: inc/case.class.php:996
msgctxt "case_status" msgctxt "case_status"
msgid "To do" msgid "To do"
msgstr "To do" msgstr "To do"
#: inc/case.class.php:901 #: inc/case.class.php:997
msgctxt "case_status" msgctxt "case_status"
msgid "Completed" msgid "Completed"
msgstr "Completed" msgstr "Completed"
#: inc/case.class.php:902 #: inc/case.class.php:998
msgctxt "case_status" msgctxt "case_status"
msgid "Cancelled" msgid "Cancelled"
msgstr "Cancelled" msgstr "Cancelled"
#: inc/case.class.php:926 #: inc/case.class.php:1022
msgid "ID" msgid "ID"
msgstr "ID" msgstr "ID"
#: inc/case.class.php:953 #: inc/case.class.php:1049
msgid "Item" msgid "Item"
msgstr "Item" msgstr "Item"
#: inc/case.class.php:960 #: inc/case.class.php:1056
msgid "Item entity" msgid "Item entity"
msgstr "Item entity" msgstr "Item entity"
@@ -298,111 +310,111 @@ msgstr "Map"
msgid "ProcessMaker setup" msgid "ProcessMaker setup"
msgstr "ProcessMaker setup" msgstr "ProcessMaker setup"
#: inc/config.class.php:156 #: inc/config.class.php:159
msgid "Server URL (must be in same domain than GLPI)" msgid "Server URL (must be in same domain than GLPI)"
msgstr "Server URL (must be in same domain than GLPI)" msgstr "Server URL (must be in same domain than GLPI)"
#: inc/config.class.php:161 #: inc/config.class.php:164
msgid "Common domain with GLPI" msgid "Common domain with GLPI"
msgstr "Common domain with GLPI" msgstr "Common domain with GLPI"
#: inc/config.class.php:190 #: inc/config.class.php:193
msgid "None!" msgid "None!"
msgstr "None!" msgstr "None!"
#: inc/config.class.php:199 #: inc/config.class.php:202
msgid "Workspace Name" msgid "Workspace Name"
msgstr "Workspace Name" msgstr "Workspace Name"
#: inc/config.class.php:204 #: inc/config.class.php:207
msgid "Server administrator name" msgid "Server administrator name"
msgstr "Server administrator name" msgstr "Server administrator name"
#: inc/config.class.php:209 #: inc/config.class.php:212
msgid "Server administrator password" msgid "Server administrator password"
msgstr "Server administrator password" msgstr "Server administrator password"
#: inc/config.class.php:215 inc/config.class.php:255 #: inc/config.class.php:218 inc/config.class.php:258
msgid "Connection status" msgid "Connection status"
msgstr "Connection status" msgstr "Connection status"
#: inc/config.class.php:231 #: inc/config.class.php:234
msgid "SQL server setup" msgid "SQL server setup"
msgstr "SQL server setup" msgstr "SQL server setup"
#: inc/config.class.php:234 #: inc/config.class.php:237
msgid "SQL server (MariaDB or MySQL)" msgid "SQL server (MariaDB or MySQL)"
msgstr "SQL server (MariaDB or MySQL)" msgstr "SQL server (MariaDB or MySQL)"
#: inc/config.class.php:239 #: inc/config.class.php:242
msgid "Database name" msgid "Database name"
msgstr "Database name" msgstr "Database name"
#: inc/config.class.php:244 #: inc/config.class.php:247
msgid "SQL user" msgid "SQL user"
msgstr "SQL user" msgstr "SQL user"
#: inc/config.class.php:249 #: inc/config.class.php:252
msgid "SQL password" msgid "SQL password"
msgstr "SQL password" msgstr "SQL password"
#: inc/config.class.php:266 #: inc/config.class.php:269
msgid "Theme Name" msgid "Theme Name"
msgstr "Theme Name" msgstr "Theme Name"
#: inc/config.class.php:272 #: inc/config.class.php:275
msgid "Main Task Category (edit to change name)" msgid "Main Task Category (edit to change name)"
msgstr "Main Task Category (edit to change name)" msgstr "Main Task Category (edit to change name)"
#: inc/config.class.php:279 #: inc/config.class.php:282
msgid "Task Writer (edit to change name)" msgid "Task Writer (edit to change name)"
msgstr "Task Writer (edit to change name)" msgstr "Task Writer (edit to change name)"
#: inc/config.class.php:299 #: inc/config.class.php:302
msgid "Group in ProcessMaker which will contain all GLPI users" msgid "Group in ProcessMaker which will contain all GLPI users"
msgstr "Group in ProcessMaker which will contain all GLPI users" msgstr "Group in ProcessMaker which will contain all GLPI users"
#: inc/config.class.php:323 #: inc/config.class.php:331
msgid "Processmaker system information" msgid "Processmaker system information"
msgstr "Processmaker system information" msgstr "Processmaker system information"
#: inc/config.class.php:327 inc/config.class.php:337 #: inc/config.class.php:334 inc/config.class.php:344
msgid "Version" msgid "Version"
msgstr "Version" msgstr "Version"
#: inc/config.class.php:328 #: inc/config.class.php:335
msgid "Web server" msgid "Web server"
msgstr "Web server" msgstr "Web server"
#: inc/config.class.php:329 #: inc/config.class.php:336
msgid "Server name" msgid "Server name"
msgstr "Server name" msgstr "Server name"
#: inc/config.class.php:330 #: inc/config.class.php:337
msgid "PHP version" msgid "PHP version"
msgstr "PHP version" msgstr "PHP version"
#: inc/config.class.php:331 #: inc/config.class.php:338
msgid "DB version" msgid "DB version"
msgstr "DB version" msgstr "DB version"
#: inc/config.class.php:332 #: inc/config.class.php:339
msgid "DB server IP" msgid "DB server IP"
msgstr "DB server IP" msgstr "DB server IP"
#: inc/config.class.php:333 #: inc/config.class.php:340
msgid "DB name" msgid "DB name"
msgstr "DB name" msgstr "DB name"
#: inc/config.class.php:334 #: inc/config.class.php:341
msgid "User browser" msgid "User browser"
msgstr "User browser" msgstr "User browser"
#: inc/config.class.php:335 #: inc/config.class.php:342
msgid "User IP" msgid "User IP"
msgstr "User IP" msgstr "User IP"
#: inc/config.class.php:337 #: inc/config.class.php:344
msgid "Not yet!" msgid "Not yet!"
msgstr "Not yet!" msgstr "Not yet!"
@@ -410,55 +422,75 @@ msgstr "Not yet!"
msgid "Synchronize Process List" msgid "Synchronize Process List"
msgstr "Synchronize Process List" msgstr "Synchronize Process List"
#: inc/process.class.php:427 inc/process.class.php:565 #: inc/process.class.php:427 inc/process.class.php:589
msgid "Process GUID" msgid "Process GUID"
msgstr "Process GUID" msgstr "Process GUID"
#: inc/process.class.php:433 #: inc/process.class.php:433
msgid "Project type" msgid "Process type"
msgstr "Project type" msgstr "Process type"
#: inc/process.class.php:439 #: inc/process.class.php:439
msgid "Hide case number and title" msgid "Hide case num. & title"
msgstr "Hide case number and title" msgstr "Hide case num. & title"
#: inc/process.class.php:445 #: inc/process.class.php:445
msgid "Insert Task Category" msgid "Insert Task Category"
msgstr "Insert Task Category" msgstr "Insert Task Category"
#: inc/process.class.php:457 inc/process.class.php:585 #: inc/process.class.php:457
msgid "Ticket type (self-service)" msgid "Ticket type (self-service)"
msgstr "Ticket type (self-service)" msgstr "Ticket type (self-service)"
#: inc/process.class.php:495 #: inc/process.class.php:464 inc/process.class.php:609
msgid "Visible in Incident for Central interface"
msgstr "Visible in Incident for Central interface"
#: inc/process.class.php:470 inc/process.class.php:614
msgid "Visible in Request for Central interface"
msgstr "Visible in Request for Central interface"
#: inc/process.class.php:476 inc/process.class.php:666
msgid "Visible in Change"
msgstr "Visible in Change"
#: inc/process.class.php:482 inc/process.class.php:671
msgid "Visible in Problem"
msgstr "Visible in Problem"
#: inc/process.class.php:519
msgctxt "process_type" msgctxt "process_type"
msgid "Classic" msgid "Classic"
msgstr "Classic" msgstr "Classic"
#: inc/process.class.php:496 #: inc/process.class.php:520
msgctxt "process_type" msgctxt "process_type"
msgid "BPMN" msgid "BPMN"
msgstr "BPMN" msgstr "BPMN"
#: inc/process.class.php:522 #: inc/process.class.php:546
msgid "Processes" msgid "Processes"
msgstr "Processes" msgstr "Processes"
#: inc/process.class.php:575 #: inc/process.class.php:599
msgid "Hide case number and title in task descriptions" msgid "Hide case number and title in task descriptions"
msgstr "Hide case number and title in task descriptions" msgstr "Hide case number and title in task descriptions"
#: inc/process.class.php:580 #: inc/process.class.php:604
msgid "Insert Task Category comments in Task Description" msgid "Insert Task Category comments in Task Description"
msgstr "Insert Task Category comments in Task Description" msgstr "Insert Task Category comments in Task Description"
#: inc/process.class.php:603 #: inc/process.class.php:619
msgid "ITIL Category (self-service)" msgid "ITIL Category for Self-service interface (left empty to disable)"
msgstr "ITIL Category (self-service)" msgstr "ITIL Category for Self-service interface (left empty to disable)"
#: inc/process.class.php:632 #: inc/process.class.php:646
msgid "Project type (to be changed if not up-to-date)" msgid "Type for Self-service interface"
msgstr "Project type (to be changed if not up-to-date)" msgstr "Type for Self-service interface"
#: inc/process.class.php:676
msgid "Process type (to be changed only if not up-to-date)"
msgstr "Process type (to be changed only if not up-to-date)"
#: inc/process_profile.class.php:26 inc/process_profile.class.php:45 #: inc/process_profile.class.php:26 inc/process_profile.class.php:45
msgid "Authorizations" msgid "Authorizations"
@@ -506,6 +538,12 @@ msgstr "A 'Case' is running!"
msgid "You must manage it first (see 'Process - Case' tab)!" msgid "You must manage it first (see 'Process - Case' tab)!"
msgstr "You must manage it first (see 'Process - Case' tab)!" msgstr "You must manage it first (see 'Process - Case' tab)!"
#: inc/processmaker.class.php:3038
msgid ""
"ProcessMaker plugin is under maintenance, please retry later, thank you."
msgstr ""
"ProcessMaker plugin is under maintenance, please retry later, thank you."
#: inc/profile.class.php:17 #: inc/profile.class.php:17
msgid "Process configuration" msgid "Process configuration"
msgstr "Process configuration" msgstr "Process configuration"
@@ -514,12 +552,16 @@ msgstr "Process configuration"
msgid "Cases" msgid "Cases"
msgstr "Cases" msgstr "Cases"
#: inc/task.class.php:25 #: inc/task.class.php:29
msgid "Process case task" msgid "Process case task"
msgid_plural "Process case tasks" msgid_plural "Process case tasks"
msgstr[0] "Process case task" msgstr[0] "Process case task"
msgstr[1] "Process case tasks" msgstr[1] "Process case tasks"
#: inc/task.class.php:258
msgid "Sub-case task(s)"
msgstr "Sub-case task(s)"
#: inc/taskcategory.class.php:21 inc/taskcategory.class.php:31 #: inc/taskcategory.class.php:21 inc/taskcategory.class.php:31
msgid "Task List" msgid "Task List"
msgstr "Task List" msgstr "Task List"
@@ -540,5 +582,23 @@ msgstr "Task GUID"
msgid "Sub-process" msgid "Sub-process"
msgstr "Sub-process" msgstr "Sub-process"
#~ msgid "Case item"
#~ msgstr "Case item"
#~ msgid "Subcase of"
#~ msgstr "Subcase of"
#~ msgid "Project type"
#~ msgstr "Project type"
#~ msgid "Hide case number and title"
#~ msgstr "Hide case number and title"
#~ msgid "ITIL Category (self-service)"
#~ msgstr "ITIL Category (self-service)"
#~ msgid "Project type (to be changed if not up-to-date)"
#~ msgstr "Project type (to be changed if not up-to-date)"
#~ msgid "Plugin is under maintenance, please retry later, thank you." #~ msgid "Plugin is under maintenance, please retry later, thank you."
#~ msgstr "Plugin is under maintenance, please retry later, thank you." #~ msgstr "Plugin is under maintenance, please retry later, thank you."

View File

@@ -9,8 +9,8 @@ function plugin_init_processmaker() {
$PLUGIN_HOOKS['csrf_compliant']['processmaker'] = true; $PLUGIN_HOOKS['csrf_compliant']['processmaker'] = true;
// $objects = ['Ticket', 'Change', 'Problem']; $objects = ['Ticket', 'Change', 'Problem'];
$objects = ['Ticket']; // $objects = ['Ticket'];
Plugin::registerClass('PluginProcessmakerProcessmaker'); Plugin::registerClass('PluginProcessmakerProcessmaker');
@@ -124,7 +124,7 @@ function plugin_init_processmaker() {
// Get the name and the version of the plugin - Needed // Get the name and the version of the plugin - Needed
function plugin_version_processmaker() { function plugin_version_processmaker() {
return array ('name' => 'Process Maker', return array ('name' => 'Process Maker',
'version' => '3.3.0', 'version' => '3.3.1',
'author' => 'Olivier Moron', 'author' => 'Olivier Moron',
'homepage' => 'https://github.com/tomolimo/processmaker', 'homepage' => 'https://github.com/tomolimo/processmaker',
'minGlpiVersion' => '9.1'); 'minGlpiVersion' => '9.1');