├── LICENSE
├── README.md
├── ajax
├── index.php
├── loadscripts.php
├── ticket.php
└── updatestatus.php
├── css
├── hide_task_duration.css
└── moreticket.css
├── front
├── closeticket.form.php
├── config.form.php
├── index.php
├── waitingtype.form.php
└── waitingtype.php
├── hook.php
├── inc
├── closeticket.class.php
├── config.class.php
├── crontask.class.php
├── index.php
├── notificationticket.class.php
├── profile.class.php
├── solution.class.php
├── ticket.class.php
├── ticketfollowup.class.php
├── tickettask.class.php
├── urgencyticket.class.php
├── waitingticket.class.php
└── waitingtype.class.php
├── index.php
├── locales
├── cs_CZ.mo
├── cs_CZ.po
├── de_DE.mo
├── de_DE.po
├── en_GB.mo
├── en_GB.po
├── es_AR.mo
├── es_AR.po
├── es_EC.mo
├── es_EC.po
├── es_ES.mo
├── es_ES.po
├── fi_FI.mo
├── fi_FI.po
├── fr_CA.mo
├── fr_CA.po
├── fr_FR.mo
├── fr_FR.po
├── glpi.pot
├── it_IT.mo
├── it_IT.po
├── ja_JP.mo
├── ja_JP.po
├── pl_PL.mo
├── pl_PL.po
├── pt_BR.mo
├── pt_BR.po
├── pt_PT.mo
├── pt_PT.po
├── ru_RU.mo
└── ru_RU.po
├── moreticket.png
├── scripts
├── moreticket.js
├── moreticket.js.php
├── moreticket_load_scripts.js.php
├── moreticket_urgency.js
└── moreticket_urgency.js.php
├── setup.php
└── sql
├── empty-1.0.0.sql
├── empty-1.1.0.sql
├── empty-1.1.1.sql
├── empty-1.1.2.sql
├── empty-1.1.3.sql
├── empty-1.2.0.sql
├── empty-1.2.2.sql
├── empty-1.2.3.sql
├── empty-1.2.4.sql
├── empty-1.2.5.sql
├── empty-1.3.2.sql
├── empty-1.3.4.sql
├── empty-1.4.0.sql
├── empty-1.5.1.sql
├── empty-1.6.2.sql
├── empty-1.6.3.sql
├── empty-1.7.0.sql
├── empty-1.7.5.sql
├── update-1.1.1.sql
├── update-1.1.2.sql
├── update-1.1.3.sql
├── update-1.2.0.sql
├── update-1.2.2.sql
├── update-1.2.3.sql
├── update-1.2.4.sql
├── update-1.2.5.sql
├── update-1.3.2.sql
├── update-1.3.4.sql
├── update-1.5.1.sql
├── update-1.6.2.sql
├── update-1.6.3.sql
├── update-1.7.0.sql
└── update-1.7.5.sql
/README.md:
--------------------------------------------------------------------------------
1 | # moreticket
2 | Plugin moreticket for GLPI
3 |
4 | Ce plugin est sur Transifex - Aidez-nous à le traduire :
5 | https://www.transifex.com/infotelGLPI/GLPI_moreticket/
6 |
7 | This plugin is on Transifex - Help us to translate :
8 | https://www.transifex.com/infotelGLPI/GLPI_moreticket/
9 |
10 | Ce plugin permet d'ajouter des nouvelles options sur un ticket GLPI :
11 |
12 | * A la création d'un ticket, lors de la sélection du statut "Résolu" ou "Clos", le ticket vous proposera de remplir la solution du ticket.
13 |
14 | * A la création et à la modification d'un ticket, lors de la sélection du statut "En attente", vous pourrez définir des types d'attente, la raison de la mise en attente ainsi qu'une date de report
15 |
16 | * Utiliser le champ 'Durée' dans l'interface d'ajout de solution.
17 |
18 | * Enfin une nouvelle zone sera disponible pour ajouter des informations suite à la clôture du ticket.
19 |
--------------------------------------------------------------------------------
/ajax/index.php:
--------------------------------------------------------------------------------
1 | .
27 | --------------------------------------------------------------------------
28 | */
29 |
--------------------------------------------------------------------------------
/ajax/loadscripts.php:
--------------------------------------------------------------------------------
1 | .
28 | --------------------------------------------------------------------------
29 | */
30 |
31 | include ('../../../inc/includes.php');
32 |
33 | Html::header_nocache();
34 | Session::checkLoginUser();
35 | header("Content-Type: text/html; charset=UTF-8");
36 |
37 | if (isset($_POST['action'])) {
38 |
39 | switch ($_POST['action']) {
40 | case "load" :
41 |
42 | $config = new PluginMoreticketConfig();
43 | $use_waiting = $config->useWaiting();
44 | $use_solution = $config->useSolution();
45 | $use_question = $config->useQuestion();
46 | $use_urgency = $config->useUrgency();
47 | $solution_status = $config->solutionStatus();
48 | $urgency_ids = $config->getUrgency_ids();
49 | $use_duration_solution = $config->useDurationSolution();
50 |
51 | $params = ['root_doc' => $CFG_GLPI["root_doc"].PLUGIN_MORETICKET_DIR_NOFULL,
52 | 'waiting' => CommonITILObject::WAITING,
53 | 'closed' => CommonITILObject::CLOSED,
54 | 'use_waiting' => $use_waiting,
55 | 'use_solution' => $use_solution,
56 | 'use_question' => $use_question,
57 | 'solution_status' => $solution_status,
58 | // 'glpilayout' => $_SESSION['glpilayout'],
59 | 'use_urgency' => $use_urgency,
60 | 'urgency_ids' => $urgency_ids,
61 | 'div_kb' => Session::haveRight('knowbase', UPDATE)];
62 |
63 | echo "";
87 |
88 | break;
89 | }
90 | }
91 |
--------------------------------------------------------------------------------
/ajax/ticket.php:
--------------------------------------------------------------------------------
1 | .
27 | --------------------------------------------------------------------------
28 | */
29 |
30 | include('../../../inc/includes.php');
31 |
32 | Html::header_nocache();
33 | Session::checkLoginUser();
34 | header("Content-Type: text/html; charset=UTF-8");
35 |
36 | if (!isset($_POST['tickets_id']) || empty($_POST['tickets_id'])) {
37 | $_POST['tickets_id'] = 0;
38 | }
39 |
40 | if (isset($_POST['action'])) {
41 | switch ($_POST['action']) {
42 | case 'showForm':
43 | $config = new PluginMoreticketConfig();
44 |
45 | // Ticket is waiting
46 | if ($config->useWaiting()) {
47 | $waiting_ticket = new PluginMoreticketWaitingTicket();
48 | $waiting_ticket->showForm($_POST['tickets_id']);
49 | }
50 |
51 | // Ticket is closed
52 | if ($config->useSolution()) {
53 | if (isset($_POST['type']) && $_POST['type'] == 'add') {
54 | $close_ticket = new PluginMoreticketCloseTicket();
55 | $close_ticket->showForm($_POST['tickets_id']);
56 | }
57 | }
58 | break;
59 | case 'showFormUrgency':
60 | $config = new PluginMoreticketConfig();
61 | // Ticket is waiting
62 | if ($config->useUrgency()) {
63 | $urgency_ticket = new PluginMoreticketUrgencyTicket();
64 | $urgency_ticket->showForm($_POST['tickets_id']);
65 | }
66 | break;
67 |
68 | // case 'showFormSolution':
69 | // $config = new PluginMoreticketConfig();
70 | //
71 | // if ($config->useDurationSolution()) {
72 | // $solution = new PluginMoreticketSolution();
73 | // $solution->showFormSolution($_POST['tickets_id']);
74 | // }
75 | // break;
76 | }
77 | }
78 |
--------------------------------------------------------------------------------
/ajax/updatestatus.php:
--------------------------------------------------------------------------------
1 | .
26 | --------------------------------------------------------------------------
27 | */
28 |
29 | .moreticket_close_ticket {
30 | -moz-border-radius: 3px;
31 | -webkit-border-radius: 3px;
32 | border-radius: 3px;
33 | border: solid 1px #CCCCCC;
34 | }
35 |
36 | .moreticket_waiting_ticket {
37 | -moz-border-radius: 3px;
38 | -webkit-border-radius: 3px;
39 | border-radius: 3px;
40 | border: solid 1px #CCCCCC;
41 | margin-left: auto;
42 | margin-right: auto;
43 | }
44 |
--------------------------------------------------------------------------------
/front/closeticket.form.php:
--------------------------------------------------------------------------------
1 | .
27 | --------------------------------------------------------------------------
28 | */
29 |
30 | include('../../../inc/includes.php');
31 |
32 | $closeTicket = new PluginMoreticketCloseTicket();
33 |
34 | if (isset($_POST["add"])) {
35 | $closeTicket->check(-1, UPDATE, $_POST);
36 |
37 | $doc = new Document();
38 | $doc->check(-1, CREATE, $_POST);
39 | $DocId = $doc->add($_POST);
40 |
41 | $test = $closeTicket->add(['requesters_id' => $_POST['requesters_id'],
42 | 'tickets_id' => $_POST['tickets_id'],
43 | 'date' => $_POST['date'],
44 | 'comment' => $_POST['comment'],
45 | 'documents_id' => $DocId]);
46 | Html::back();
47 | }
48 |
--------------------------------------------------------------------------------
/front/config.form.php:
--------------------------------------------------------------------------------
1 | .
27 | --------------------------------------------------------------------------
28 | */
29 |
30 | include('../../../inc/includes.php');
31 | Session::checkLoginUser();
32 |
33 | if (Plugin::isPluginActive("moreticket")) {
34 |
35 | $config = new PluginMoreticketConfig();
36 | Session::checkRight('config', UPDATE);
37 |
38 | if (isset($_POST["update"])) {
39 | if (isset($_POST['solution_status'])) {
40 | $_POST['solution_status'] = json_encode($_POST['solution_status']);
41 | } else {
42 | $_POST['solution_status'] = "";
43 | }
44 |
45 | $dbu = new DbUtils();
46 | if (isset($_POST['urgency_ids'])) {
47 | $_POST['urgency_ids'] = $dbu->exportArrayToDB($_POST['urgency_ids']);
48 | } else {
49 | $_POST['urgency_ids'] = $dbu->exportArrayToDB([]);
50 | }
51 |
52 | $config->update($_POST);
53 | //Update singelton
54 | PluginMoreticketConfig::getConfig(true);
55 | Html::redirect($_SERVER['HTTP_REFERER']);
56 | } else {
57 | Html::header(PluginMoreticketConfig::getTypeName(), '', "plugins", "moreticket");
58 | $config->showConfigForm();
59 | Html::footer();
60 | }
61 |
62 | } else {
63 | Html::header(__('Setup'), '', "config", "plugins");
64 | echo "
";
65 | echo "" . __('Please activate the plugin', 'moreticket') . "
";
66 | Html::footer();
67 | }
68 |
--------------------------------------------------------------------------------
/front/index.php:
--------------------------------------------------------------------------------
1 | .
27 | --------------------------------------------------------------------------
28 | */
29 |
--------------------------------------------------------------------------------
/front/waitingtype.form.php:
--------------------------------------------------------------------------------
1 | .
27 | --------------------------------------------------------------------------
28 | */
29 |
30 | include('../../../inc/includes.php');
31 |
32 | $dropdown = new PluginMoreticketWaitingType();
33 | include(GLPI_ROOT . "/front/dropdown.common.form.php");
34 |
--------------------------------------------------------------------------------
/front/waitingtype.php:
--------------------------------------------------------------------------------
1 | .
27 | --------------------------------------------------------------------------
28 | */
29 |
30 | include('../../../inc/includes.php');
31 |
32 | $dropdown = new PluginMoreticketWaitingType();
33 | include(GLPI_ROOT . "/front/dropdown.common.php");
34 |
--------------------------------------------------------------------------------
/inc/crontask.class.php:
--------------------------------------------------------------------------------
1 | .
24 | --------------------------------------------------------------------------
25 | */
26 |
27 | class PluginMoreticketCrontask extends CommonDBTM
28 | {
29 |
30 | // public static function getTypeName($nb = 0)
31 | // {
32 | // return __('More ticket', 'moreticket');
33 | // }
34 | //
35 | // public static function MoreticketFollowup()
36 | // {
37 | // $ticket = new Ticket();
38 | // $tickets = $ticket->find(['status' => Ticket::WAITING , 'is_deleted' => "0"]);
39 | // $conf = new PluginMoreticketConfig();
40 | // $day = $conf->getField("day_sending");
41 | // $count = 0;
42 | // if (intval($day) > 0) {
43 | // foreach ($tickets as $t) {
44 | // $calendar = new Calendar();
45 | // $calendars_id = Entity::getUsedConfig('calendars_strategy', $t['entities_id'], 'calendars_id', 0);
46 | // if ($calendars_id > 0 && $calendar->getFromDB($calendars_id)) {
47 | // $cache_duration = $calendar->getDurationsCache();
48 | // $day_time = $cache_duration[1] * intval($day);
49 | // $enddate = $calendar->computeEndDate($t["begin_waiting_date"], $day_time);
50 | // $enddate = strtotime($enddate);
51 | // } else {
52 | // // cas 24/24 - 7/7
53 | // $day_time = DAY_TIMESTAMP * intval($day);
54 | // $begin_time = strtotime($t["begin_waiting_date"]);
55 | // $enddate = $begin_time + $day_time;
56 | // }
57 | // $today = strtotime(date('Y-m-d H:i:s'));
58 | // if ($enddate < $today && strtotime($t["date_mod"]) <= strtotime($t["begin_waiting_date"])) {
59 | // $followup = new TicketFollowup();
60 | // $input = [];
61 | // $input['tickets_id'] = $t['id'];
62 | // $input['_status'] = Ticket::WAITING;
63 | // $input['content'] = $conf->getField("followup_text");
64 | //
65 | // $followup->add($input);
66 | // $count++;
67 | // }
68 | // }
69 | // }
70 | // return $count;
71 | // }
72 | //
73 | //
74 | // public static function MoreticketClosing()
75 | // {
76 | // $ticket = new Ticket();
77 | // $tickets = $ticket->find(['status' => Ticket::WAITING , 'is_deleted' => "0"]);
78 | // $conf = new PluginMoreticketConfig();
79 | // $day = $conf->getField("day_sending");
80 | // $dayClose = $conf->getField("day_closing");
81 | // $count = 0;
82 | // if ($dayClose > 0) {
83 | // foreach ($tickets as $t) {
84 | // $calendar = new Calendar();
85 | // $calendars_id = Entity::getUsedConfig('calendars_strategy', $t['entities_id'], 'calendars_id', 0);
86 | //
87 | // if ($calendars_id > 0 && $calendar->getFromDB($calendars_id)) {
88 | // $cache_duration = $calendar->getDurationsCache();
89 | // $day_time = $cache_duration[1] * intval($day) + $cache_duration[1] * $dayClose;
90 | // $enddate = $calendar->computeEndDate($t["begin_waiting_date"], $day_time);
91 | // $enddate = strtotime($enddate);
92 | // } else {
93 | // // cas 24/24 - 7/7
94 | // $enddate = strtotime($t["begin_waiting_date"]) + (DAY_TIMESTAMP * $day) + (DAY_TIMESTAMP * $dayClose);
95 | // }
96 | //
97 | // $today = strtotime(date('Y-m-d H:i:s'));
98 | // $problemTicket = new Problem_Ticket();
99 | // if ($enddate < $today && strtotime($t["date_mod"]) > strtotime($t["begin_waiting_date"])
100 | // && (strtotime($t["date_mod"]) + (DAY_TIMESTAMP * $dayClose)) < $today
101 | // && ($conf->getField('closing_with_problem') == 1
102 | // || ($conf->getField('closing_with_problem') == 0
103 | // && count($problemTicket->find(['tickets_id' => $t['id']])) > 0))) {
104 | // $input = [];
105 | // $input['id'] = $t['id'];
106 | // $input['status'] = Ticket::CLOSED;
107 | // $input['notifSatisfaction'] = false;
108 | //
109 | // $ticket->update($input);
110 | // $count++;
111 | // }
112 | // }
113 | // }
114 | // return $count;
115 | //
116 | // }
117 | //
118 | // /**
119 | // * @param $name
120 | // *
121 | // * @return array
122 | // */
123 | // static function cronInfo($name)
124 | // {
125 | //
126 | // switch ($name) {
127 | // case 'MoreticketFollowup':
128 | // return [
129 | // 'description' => __('Moreticket - Send a followup to waiting ticket', 'moreticket')]; // Optional
130 | // break;
131 | // case 'MoreticketClosing':
132 | // return [
133 | // 'description' => __('Moreticket - Closed the tickets that did not respond to the follow-up', 'moreticket')]; // Optional
134 | // break;
135 | // }
136 | // return [];
137 | // }
138 | //
139 | // /**
140 | // *
141 | // * @param $task for log, if NULL display
142 | // *
143 | // *
144 | // * @return int
145 | // */
146 | // static function cronMoreticketClosing($task = null)
147 | // {
148 | // global $DB, $CFG_GLPI;
149 | //
150 | // $result = self::MoreticketClosing();
151 | // $task->addVolume($result);
152 | // return $result;
153 | // }
154 | //
155 | // static function cronMoreticketFollowup($task = null)
156 | // {
157 | // global $DB, $CFG_GLPI;
158 | //
159 | // $result = self::MoreticketFollowup();
160 | // $task->addVolume($result);
161 | // return $result;
162 | // }
163 | }
164 |
--------------------------------------------------------------------------------
/inc/index.php:
--------------------------------------------------------------------------------
1 | .
27 | --------------------------------------------------------------------------
28 | */
29 |
--------------------------------------------------------------------------------
/inc/notificationticket.class.php:
--------------------------------------------------------------------------------
1 | .
27 | --------------------------------------------------------------------------
28 | */
29 |
30 | if (!defined('GLPI_ROOT')) {
31 | die("Sorry. You can't access directly to this file");
32 | }
33 |
34 | /**
35 | * Class PluginMoreticketNotificationTicket
36 | */
37 | class PluginMoreticketNotificationTicket extends CommonDBTM {
38 |
39 | static $types = ['Ticket'];
40 | var $dohistory = true;
41 | static $rightname = "plugin_moreticket";
42 |
43 | /**
44 | * @param \Ticket $ticket
45 | */
46 | static function afterAddTicket(Ticket $ticket) {
47 | $notification = new PluginMoreticketNotificationTicket();
48 | if (!$notification->getFromDBByCrit(['tickets_id' => $ticket->getID()])) {
49 | $notification->add(
50 | [
51 | 'tickets_id' => $ticket->getID(),
52 | 'users_id_lastupdater' => $ticket->getField('users_id_lastupdater')
53 | ]);
54 | } else {
55 | $notification->update(
56 | [
57 | 'id' => $notification->getID(),
58 | 'tickets_id' => $ticket->getID(),
59 | 'users_id_lastupdater' => $ticket->getField('users_id_lastupdater')
60 | ]);
61 | }
62 | }
63 |
64 | /**
65 | * @param \Ticket $ticket
66 | */
67 | static function afterUpdateTicket(Ticket $ticket) {
68 | $notification = new PluginMoreticketNotificationTicket();
69 | if (!$notification->getFromDBByCrit(['tickets_id' => $ticket->getID()])) {
70 | $notification->add(
71 | [
72 | 'tickets_id' => $ticket->getID(),
73 | 'users_id_lastupdater' => $ticket->getField('users_id_lastupdater')
74 | ]);
75 | } else {
76 | $notification->update(
77 | [
78 | 'id' => $notification->getID(),
79 | 'tickets_id' => $ticket->getID(),
80 | 'users_id_lastupdater' => $ticket->getField('users_id_lastupdater')
81 | ]);
82 | }
83 | }
84 |
85 | /**
86 | * @param \ITILFollowup $followup
87 | *
88 | * @return bool
89 | */
90 | static function afterAddFollowup(ITILFollowup $followup) {
91 | global $DB;
92 | if (!$followup->getField('itemtype') == 'Ticket') {
93 | return false;
94 | }
95 |
96 | $notification = new PluginMoreticketNotificationTicket();
97 | $ticket = new Ticket();
98 | $ticket->getFromDB($followup->getField('items_id'));
99 | if ($ticket->getID() > 0) {
100 | if (!$notification->getFromDBByCrit(['tickets_id' => $ticket->getID()])) {
101 | $notification->add(
102 | [
103 | 'tickets_id' => $ticket->getID(),
104 | 'users_id_lastupdater' => $ticket->getField('users_id_lastupdater')
105 | ]);
106 | } else {
107 | $notification->update(
108 | [
109 | 'id' => $notification->getID(),
110 | 'tickets_id' => $ticket->getID(),
111 | 'users_id_lastupdater' => $ticket->getField('users_id_lastupdater')
112 | ]);
113 | }
114 | }
115 | }
116 |
117 | static function getSpecificValueToDisplay($field, $values, array $options = []) {
118 |
119 | if (!is_array($values)) {
120 | $values = [$field => $values];
121 | }
122 | switch ($field) {
123 | case 'users_id_lastupdater':
124 | $res = " ";
125 | $ticketUsers = new Ticket_User();
126 | // if ($values['users_id_lastupdater'] != Session::getLoginUserID()) {
127 | // if ($ticketUsers->getFromDBByCrit(['tickets_id' => $values['tickets_id'],
128 | // 'users_id' => $values['users_id_lastupdater'],
129 | // 'type' => Ticket_User::REQUESTER])) {
130 | // if (!$ticketUsers->getFromDBByCrit(['tickets_id' => $values['tickets_id'],
131 | // 'users_id' => $values['users_id_lastupdater'],
132 | // 'type' => Ticket_User::ASSIGN])) {
133 | $res = "";
134 | // }
135 | // }
136 | // }
137 |
138 | return $res;
139 | break;
140 | }
141 | return parent::getSpecificValueToDisplay($field, $values, $options);
142 | }
143 | }
144 |
--------------------------------------------------------------------------------
/inc/solution.class.php:
--------------------------------------------------------------------------------
1 | .
26 | --------------------------------------------------------------------------
27 | */
28 |
29 | if (!defined('GLPI_ROOT')) {
30 | die("Sorry. You can't access directly to this file");
31 | }
32 |
33 |
34 | /**
35 | * Class PluginMoreticketSolution
36 | */
37 | class PluginMoreticketSolution extends CommonITILObject
38 | {
39 |
40 | static $rightname = "plugin_moreticket";
41 |
42 | public static function getTaskClass()
43 | {
44 | // TODO: Implement getTaskClass() method.
45 | }
46 |
47 | public static function getDefaultValues($entity = 0)
48 | {
49 | // TODO: Implement getDefaultValues() method.
50 | }
51 |
52 | public static function getItemLinkClass(): string
53 | {
54 | // TODO: Implement getItemLinkClass() method.
55 | }
56 |
57 | public static function getContentTemplatesParametersClass(): string
58 | {
59 | // TODO: Implement getContentTemplatesParametersClass() method.
60 | }
61 |
62 | static function showFormSolution($params)
63 | {
64 |
65 | if (isset($params['item'])) {
66 | $item = $params['item'];
67 | $options = $params['options'];
68 |
69 | if ($item->getType() == 'ITILSolution') {
70 |
71 | $ticket = $options['item'];
72 | $config = new PluginMoreticketConfig();
73 | $use_duration_solution = $config->useDurationSolution();
74 | if ($use_duration_solution == 1) {
75 | echo "";
76 | echo __('Duration');
77 | if ($config->isMandatorysolution()) {
78 | echo " * ";
79 | }
80 | $rand = mt_rand();
81 | echo "";
82 | $toadd = [];
83 | for ($i = 9; $i <= 100; $i++) {
84 | $toadd[] = $i * HOUR_TIMESTAMP;
85 | }
86 | Dropdown::showTimeStamp("duration_solution", ['min' => 0,
87 | 'max' => 8 * HOUR_TIMESTAMP,
88 | // 'addfirstminutes' => true,
89 | 'inhours' => true,
90 | 'toadd' => $toadd]);
91 | echo "";
92 | echo "
";
93 | }
94 | }
95 | }
96 | }
97 |
98 | /**
99 | * @param \Ticket $item
100 | *
101 | * @return bool
102 | */
103 | static function beforeAdd(ITILSolution $solution)
104 | {
105 | global $CFG_GLPI;
106 |
107 | if (!is_array($solution->input) || !count($solution->input)) {
108 | // Already cancel by another plugin
109 | return false;
110 | }
111 | $config = new PluginMoreticketConfig();
112 |
113 | $configglpi = Config::getConfigurationValues('core', ['system_user']);
114 |
115 | if ($config->useDurationSolution()) {
116 | if ($solution->input['itemtype'] == 'Ticket') {
117 | if (isset($solution->input['duration_solution']) && $solution->input['duration_solution'] > 0) {
118 |
119 | // $solution->input['content'] = html_entity_decode($solution->input['content']);
120 | // $solution->input['content'] = strip_tags($solution->input['content']);
121 | $ticket = new Ticket();
122 | $tickets_id = $solution->input['items_id'];
123 | if ($ticket->getFromDB($tickets_id)) {
124 | if ($ticket->getField('actiontime') == 0) {
125 | $ticket->update(['id' => $tickets_id,
126 | 'actiontime' => $solution->input['duration_solution']]);
127 | }
128 | }
129 |
130 | $user = new User();
131 | $user->getFromDB(Session::getLoginUserID());
132 |
133 | $tickettask = new TicketTask();
134 | $tickettask->add(['tickets_id' => $tickets_id,
135 | 'date_creation' => date('Y-m-d H:i:s'),
136 | 'date' => date('Y-m-d H:i:s',
137 | strtotime('- 10 seconds', strtotime(date('Y-m-d H:i:s')))),
138 | 'users_id' => Session::getLoginUserID(),
139 | 'users_id_tech' => Session::getLoginUserID(),
140 | 'content' => $solution->input['content'],
141 | 'state' => Planning::DONE,
142 | 'is_private' => $user->getField('task_private'),
143 | 'actiontime' => $solution->input['duration_solution']]);
144 | } else if ($config->isMandatorysolution()) {
145 | if (Plugin::isPluginActive('servicecatalog')
146 | && Session::getCurrentInterface() != "central") {
147 | return true;
148 | }
149 | if ($configglpi['system_user'] == $solution->input['users_id']) {
150 | return true;
151 | }
152 | $ticket = new Ticket();
153 | $tickets_id = $solution->input['items_id'];
154 | $ticket->getFromDB($tickets_id);
155 | $dur = (isset($ticket->fields['actiontime']) ? $ticket->fields['actiontime'] : 0);
156 | if ($dur == 0) {
157 | Session::addMessageAfterRedirect(_n('Mandatory field', 'Mandatory fields', 2) . " : " . __('Duration'), false, ERROR);
158 | $solution->input = [];
159 | }
160 | return false;
161 | }
162 | }
163 | }
164 | return true;
165 | }
166 | }
167 |
--------------------------------------------------------------------------------
/inc/ticketfollowup.class.php:
--------------------------------------------------------------------------------
1 | .
27 | --------------------------------------------------------------------------
28 | */
29 |
30 | if (!defined('GLPI_ROOT')) {
31 | die("Sorry. You can't access directly to this file");
32 | }
33 |
34 |
35 | /**
36 | * Class PluginMoreticketTicketFollowup
37 | */
38 | class PluginMoreticketTicketFollowup extends CommonDBTM
39 | {
40 |
41 | static $rightname = "plugin_moreticket";
42 |
43 | /**
44 | * functions mandatory
45 | * getTypeName(), canCreate(), canView()
46 | *
47 | * @param int $nb
48 | *
49 | * @return string|translated
50 | */
51 | public static function getTypeName($nb = 0)
52 | {
53 |
54 | return _n('Ticket', 'Tickets', $nb);
55 | }
56 |
57 | /**
58 | * @param $ticketfollowup
59 | *
60 | * @return bool
61 | */
62 | static function beforeAdd($ticketfollowup)
63 | {
64 |
65 | if (!is_array($ticketfollowup->input) || !count($ticketfollowup->input)) {
66 | // Already cancel by another plugin
67 | return false;
68 | }
69 |
70 | $config = new PluginMoreticketConfig();
71 |
72 | if (isset($ticketfollowup->input['pending'])
73 | && $ticketfollowup->input['pending']
74 | && $config->useWaiting() == true) {
75 | PluginMoreticketWaitingTicket::addWaitingTicket($ticketfollowup);
76 | }
77 | }
78 | }
79 |
--------------------------------------------------------------------------------
/inc/tickettask.class.php:
--------------------------------------------------------------------------------
1 | .
27 | --------------------------------------------------------------------------
28 | */
29 |
30 | if (!defined('GLPI_ROOT')) {
31 | die("Sorry. You can't access directly to this file");
32 | }
33 |
34 |
35 | /**
36 | * Class PluginMoreticketTicketTask
37 | */
38 | class PluginMoreticketTicketTask extends CommonITILTask {
39 |
40 | static $rightname = "plugin_moreticket";
41 |
42 | /**
43 | * functions mandatory
44 | * getTypeName(), canCreate(), canView()
45 | *
46 | * @param int $nb
47 | *
48 | * @return string|translated
49 | */
50 | public static function getTypeName($nb = 0) {
51 |
52 | return _n('Ticket', 'Tickets', $nb);
53 | }
54 |
55 | /**
56 | * @param TicketTask $tickettask
57 | *
58 | * @return bool
59 | */
60 | static function beforeAdd(TicketTask $tickettask) {
61 |
62 | if (!is_array($tickettask->input) || !count($tickettask->input)) {
63 | // Already cancel by another plugin
64 | return false;
65 | }
66 |
67 | $config = new PluginMoreticketConfig();
68 |
69 | if (isset($tickettask->input['pending'])
70 | && $tickettask->input['pending']
71 | && $config->useWaiting() == true) {
72 | PluginMoreticketWaitingTicket::addWaitingTicket($tickettask);
73 | }
74 | }
75 | }
76 |
--------------------------------------------------------------------------------
/inc/waitingtype.class.php:
--------------------------------------------------------------------------------
1 | .
27 | --------------------------------------------------------------------------
28 | */
29 |
30 | if (!defined('GLPI_ROOT')) {
31 | die("Sorry. You can't access directly to this file");
32 | }
33 |
34 | /**
35 | * Class PluginMoreticketWaitingType
36 | */
37 | class PluginMoreticketWaitingType extends CommonTreeDropdown {
38 | var $can_be_translated = true;
39 | static $rightname = "dropdown";
40 |
41 | /**
42 | * @param int $nb
43 | *
44 | * @return \translated
45 | */
46 | public static function getTypeName($nb = 0) {
47 |
48 | return _n('Waiting type', 'Waiting types', $nb, 'moreticket');
49 | }
50 |
51 | /**
52 | * @return array
53 | */
54 | function getAdditionalFields() {
55 |
56 | $tab = [['name' => $this->getForeignKeyField(),
57 | 'label' => __('As child of'),
58 | 'type' => 'parent',
59 | 'list' => false]
60 | ];
61 |
62 | return $tab;
63 |
64 | }
65 |
66 | /**
67 | * Provides search options configuration. Do not rely directly
68 | * on this, @see CommonDBTM::searchOptions instead.
69 | *
70 | * @since 9.3
71 | *
72 | * This should be overloaded in Class
73 | *
74 | * @return array a *not indexed* array of search options
75 | *
76 | * @see https://glpi-developer-documentation.rtfd.io/en/master/devapi/search.html
77 | **/
78 | public function rawSearchOptions() {
79 |
80 | $tab = parent::rawSearchOptions();
81 |
82 | return $tab;
83 | }
84 | }
85 |
--------------------------------------------------------------------------------
/index.php:
--------------------------------------------------------------------------------
1 | .
27 | --------------------------------------------------------------------------
28 | */
29 |
--------------------------------------------------------------------------------
/locales/cs_CZ.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/InfotelGLPI/moreticket/d9670131d085de22aeb62784009c494c4c86afff/locales/cs_CZ.mo
--------------------------------------------------------------------------------
/locales/cs_CZ.po:
--------------------------------------------------------------------------------
1 | # SOME DESCRIPTIVE TITLE.
2 | # Copyright (C) YEAR MoreTicket Development Team
3 | # This file is distributed under the same license as the GLPI - MoreTicket plugin package.
4 | #
5 | # Translators:
6 | # Pavel Borecki , 2018
7 | msgid ""
8 | msgstr ""
9 | "Project-Id-Version: GLPI Project - moreticket plugin\n"
10 | "Report-Msgid-Bugs-To: \n"
11 | "POT-Creation-Date: 2019-02-26 15:54+0100\n"
12 | "PO-Revision-Date: 2019-02-26 15:09+0000\n"
13 | "Last-Translator: Mathieu Templier \n"
14 | "Language-Team: Czech (Czech Republic) (http://www.transifex.com/tsmr/GLPI_moreticket/language/cs_CZ/)\n"
15 | "MIME-Version: 1.0\n"
16 | "Content-Type: text/plain; charset=UTF-8\n"
17 | "Content-Transfer-Encoding: 8bit\n"
18 | "Language: cs_CZ\n"
19 | "Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"
20 |
21 | #: hook.php:200 inc/waitingticket.class.php:139
22 | #: inc/waitingticket.class.php:238 inc/waitingticket.class.php:317
23 | #: inc/waitingticket.class.php:390
24 | msgid "Reason"
25 | msgstr "Důvod"
26 |
27 | #: hook.php:208 inc/waitingticket.class.php:131
28 | #: inc/waitingticket.class.php:253 inc/waitingticket.class.php:332
29 | #: inc/waitingticket.class.php:392
30 | msgid "Postponement date"
31 | msgstr "Datum na které odložit"
32 |
33 | #: hook.php:228 hook.php:235 hook.php:242 hook.php:249
34 | #: inc/closeticket.class.php:75 inc/closeticket.class.php:79
35 | #: inc/closeticket.class.php:121 inc/closeticket.class.php:178
36 | #: inc/closeticket.class.php:326 inc/closeticket.class.php:380
37 | #: inc/config.class.php:167
38 | msgid "Close ticket informations"
39 | msgstr "Informace o uzavření požadavku"
40 |
41 | #: setup.php:94 inc/profile.class.php:49 inc/profile.class.php:194
42 | msgid "More ticket"
43 | msgstr "Více k požadavku"
44 |
45 | #: front/config.form.php:66
46 | msgid "Please activate the plugin"
47 | msgstr "Zapněte zásuvný modul"
48 |
49 | #: inc/closeticket.class.php:135 inc/closeticket.class.php:479
50 | msgid "Solution description"
51 | msgstr "Popis řešení"
52 |
53 | #: inc/closeticket.class.php:154
54 | msgid "Ticket cannot be closed"
55 | msgstr "Požadavek není možné uzavřít"
56 |
57 | #: inc/closeticket.class.php:576
58 | #, php-format
59 | msgid "%1$s added closing informations"
60 | msgstr "%1$s přidal informace o uzavření"
61 |
62 | #: inc/closeticket.class.php:595
63 | #, php-format
64 | msgid "%1$s updated closing informations"
65 | msgstr "%1$s aktualizoval informace o uzavření"
66 |
67 | #: inc/closeticket.class.php:614
68 | #, php-format
69 | msgid "%1$s deleted closing informations"
70 | msgstr "%1$s smazal informace o uzavření"
71 |
72 | #: inc/config.class.php:98
73 | msgid "Ticket waiting"
74 | msgstr "Čekající požadavek"
75 |
76 | #: inc/config.class.php:102
77 | msgid "Use waiting process"
78 | msgstr "Použít čekající proces"
79 |
80 | #: inc/config.class.php:120
81 | msgid "Report date is mandatory"
82 | msgstr "Je třeba vyplnit datum odkladu"
83 |
84 | #: inc/config.class.php:127
85 | msgid "Waiting type is mandatory"
86 | msgstr "Typ čekání je třeba vyplnit"
87 |
88 | #: inc/config.class.php:134
89 | msgid "Waiting reason is mandatory"
90 | msgstr "Důvod čekání je třeba vyplnit"
91 |
92 | #: inc/config.class.php:140
93 | msgid "Ticket resolution and close"
94 | msgstr "Vyřešení a uzavření požadavku"
95 |
96 | #: inc/config.class.php:142
97 | msgid "Use solution process"
98 | msgstr "Použít proces řešení"
99 |
100 | #: inc/config.class.php:160
101 | msgid "Solution type is mandatory"
102 | msgstr "Je třeba vyplnit typ řešení"
103 |
104 | #: inc/config.class.php:173
105 | msgid "Status used to display solution bloc"
106 | msgstr "Stav použitý pro zobrazení bloku řešení"
107 |
108 | #: inc/config.class.php:186
109 | msgid "Add a followup on immediate ticket closing"
110 | msgstr "Při uzavírání požadavku přidejte následnou komunikaci"
111 |
112 | #: inc/config.class.php:192
113 | msgid "Use the 'Duration' field in the add solution interface"
114 | msgstr "V rozhraní pro přidání řešení použijte kolonku „Doba trvání“"
115 |
116 | #: inc/config.class.php:206
117 | msgid "Mandatory 'Duration' field"
118 | msgstr "Povinná kolonka „Doba trvání“"
119 |
120 | #: inc/config.class.php:211
121 | msgid "Ticket urgency"
122 | msgstr "Naléhavost požadavku"
123 |
124 | #: inc/config.class.php:213
125 | msgid "Use a justification of the urgency field"
126 | msgstr "Použít zdůvodnění kolonky naléhavost"
127 |
128 | #: inc/config.class.php:229
129 | msgid "Urgency impacted justification for the field"
130 | msgstr "Naléhavostí ovlivněné zdůvodnění pro tuto kolonku"
131 |
132 | #: inc/profile.class.php:158
133 | msgid "Adding a justification of urgency"
134 | msgstr "Přidává se odůvodnění naléhavosti"
135 |
136 | #: inc/profile.class.php:166
137 | msgid "Hide task duration in tickets"
138 | msgstr ""
139 |
140 | #: inc/urgencyticket.class.php:69 inc/urgencyticket.class.php:155
141 | msgid "Justification"
142 | msgstr "Odůvodnění"
143 |
144 | #: inc/urgencyticket.class.php:92
145 | msgid "Urgency ticket cannot be saved"
146 | msgstr "Naléhavost požadavku se nedaří uložit"
147 |
148 | #: inc/urgencyticket.class.php:94 inc/waitingticket.class.php:171
149 | msgid "Ticket cannot be saved"
150 | msgstr "Požadavek není možné uložit"
151 |
152 | #: inc/waitingticket.class.php:65
153 | msgid "Waiting ticket"
154 | msgid_plural "Waiting tickets"
155 | msgstr[0] "Čekající požadavek"
156 | msgstr[1] "Čekající požadavky"
157 | msgstr[2] "Čekajících požadavků"
158 | msgstr[3] "Čekající požadavky"
159 |
160 | #: inc/waitingticket.class.php:169
161 | msgid "Waiting ticket cannot be saved"
162 | msgstr "Čekající požadavek není možné uložit"
163 |
164 | #: inc/waitingticket.class.php:175
165 | msgid "Report date is inferior of today's date"
166 | msgstr "Datum odkladu je dřívější než to dnešní"
167 |
168 | #: inc/waitingticket.class.php:386 inc/waitingticket.class.php:426
169 | msgid "Ticket suspension history"
170 | msgstr "Historie suspendování požadavku"
171 |
172 | #: inc/waitingticket.class.php:389
173 | msgid "Suspension date"
174 | msgstr "Datum suspendování"
175 |
176 | #: inc/waitingticket.class.php:393
177 | msgid "Suspension end date"
178 | msgstr "Datum konce suspendování"
179 |
180 | #: inc/waitingticket.class.php:751
181 | msgid "End of standby ticket"
182 | msgstr "Konec pohotovosti požadavku"
183 |
184 | #: inc/waitingtype.class.php:48
185 | msgid "Waiting type"
186 | msgid_plural "Waiting types"
187 | msgstr[0] "Typ čekání"
188 | msgstr[1] "Typy čekání"
189 | msgstr[2] "Typů čekání"
190 | msgstr[3] "Typy čekání"
191 |
--------------------------------------------------------------------------------
/locales/de_DE.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/InfotelGLPI/moreticket/d9670131d085de22aeb62784009c494c4c86afff/locales/de_DE.mo
--------------------------------------------------------------------------------
/locales/en_GB.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/InfotelGLPI/moreticket/d9670131d085de22aeb62784009c494c4c86afff/locales/en_GB.mo
--------------------------------------------------------------------------------
/locales/en_GB.po:
--------------------------------------------------------------------------------
1 | # SOME DESCRIPTIVE TITLE.
2 | # Copyright (C) YEAR MoreTicket Development Team
3 | # This file is distributed under the same license as the GLPI - MoreTicket plugin package.
4 | #
5 | # Translators:
6 | msgid ""
7 | msgstr ""
8 | "Project-Id-Version: GLPI Project - moreticket plugin\n"
9 | "Report-Msgid-Bugs-To: \n"
10 | "POT-Creation-Date: 2019-02-26 15:54+0100\n"
11 | "PO-Revision-Date: 2019-02-26 15:09+0000\n"
12 | "Last-Translator: Mathieu Templier \n"
13 | "Language-Team: English (United Kingdom) (http://www.transifex.com/tsmr/GLPI_moreticket/language/en_GB/)\n"
14 | "MIME-Version: 1.0\n"
15 | "Content-Type: text/plain; charset=UTF-8\n"
16 | "Content-Transfer-Encoding: 8bit\n"
17 | "Language: en_GB\n"
18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19 |
20 | #: hook.php:200 inc/waitingticket.class.php:139
21 | #: inc/waitingticket.class.php:238 inc/waitingticket.class.php:317
22 | #: inc/waitingticket.class.php:390
23 | msgid "Reason"
24 | msgstr "Reason"
25 |
26 | #: hook.php:208 inc/waitingticket.class.php:131
27 | #: inc/waitingticket.class.php:253 inc/waitingticket.class.php:332
28 | #: inc/waitingticket.class.php:392
29 | msgid "Postponement date"
30 | msgstr "Postponement date"
31 |
32 | #: hook.php:228 hook.php:235 hook.php:242 hook.php:249
33 | #: inc/closeticket.class.php:75 inc/closeticket.class.php:79
34 | #: inc/closeticket.class.php:121 inc/closeticket.class.php:178
35 | #: inc/closeticket.class.php:326 inc/closeticket.class.php:380
36 | #: inc/config.class.php:167
37 | msgid "Close ticket informations"
38 | msgstr "Close ticket informations"
39 |
40 | #: setup.php:94 inc/profile.class.php:49 inc/profile.class.php:194
41 | msgid "More ticket"
42 | msgstr "More ticket"
43 |
44 | #: front/config.form.php:66
45 | msgid "Please activate the plugin"
46 | msgstr "Please activate the plugin"
47 |
48 | #: inc/closeticket.class.php:135 inc/closeticket.class.php:479
49 | msgid "Solution description"
50 | msgstr "Solution description"
51 |
52 | #: inc/closeticket.class.php:154
53 | msgid "Ticket cannot be closed"
54 | msgstr "Ticket cannot be closed"
55 |
56 | #: inc/closeticket.class.php:576
57 | #, php-format
58 | msgid "%1$s added closing informations"
59 | msgstr "%1$s added closing informations"
60 |
61 | #: inc/closeticket.class.php:595
62 | #, php-format
63 | msgid "%1$s updated closing informations"
64 | msgstr "%1$s updated closing informations"
65 |
66 | #: inc/closeticket.class.php:614
67 | #, php-format
68 | msgid "%1$s deleted closing informations"
69 | msgstr "%1$s deleted closing informations"
70 |
71 | #: inc/config.class.php:98
72 | msgid "Ticket waiting"
73 | msgstr "Ticket waiting"
74 |
75 | #: inc/config.class.php:102
76 | msgid "Use waiting process"
77 | msgstr "Use waiting process"
78 |
79 | #: inc/config.class.php:120
80 | msgid "Report date is mandatory"
81 | msgstr "Report date is mandatory"
82 |
83 | #: inc/config.class.php:127
84 | msgid "Waiting type is mandatory"
85 | msgstr "Waiting type is mandatory"
86 |
87 | #: inc/config.class.php:134
88 | msgid "Waiting reason is mandatory"
89 | msgstr "Waiting reason is mandatory"
90 |
91 | #: inc/config.class.php:140
92 | msgid "Ticket resolution and close"
93 | msgstr "Ticket resolution and close"
94 |
95 | #: inc/config.class.php:142
96 | msgid "Use solution process"
97 | msgstr "Use solution process"
98 |
99 | #: inc/config.class.php:160
100 | msgid "Solution type is mandatory"
101 | msgstr "Solution type is mandatory"
102 |
103 | #: inc/config.class.php:173
104 | msgid "Status used to display solution bloc"
105 | msgstr "Status used to display solution bloc"
106 |
107 | #: inc/config.class.php:186
108 | msgid "Add a followup on immediate ticket closing"
109 | msgstr "Add a followup on immediate ticket closing"
110 |
111 | #: inc/config.class.php:192
112 | msgid "Use the 'Duration' field in the add solution interface"
113 | msgstr "Use the 'Duration' field in the add solution interface"
114 |
115 | #: inc/config.class.php:206
116 | msgid "Mandatory 'Duration' field"
117 | msgstr "Mandatory 'Duration' field"
118 |
119 | #: inc/config.class.php:211
120 | msgid "Ticket urgency"
121 | msgstr "Ticket urgency"
122 |
123 | #: inc/config.class.php:213
124 | msgid "Use a justification of the urgency field"
125 | msgstr "Use a justification of the urgency field"
126 |
127 | #: inc/config.class.php:229
128 | msgid "Urgency impacted justification for the field"
129 | msgstr "Urgency impacted justification for the field"
130 |
131 | #: inc/profile.class.php:158
132 | msgid "Adding a justification of urgency"
133 | msgstr "Adding a justification of urgency"
134 |
135 | #: inc/profile.class.php:166
136 | msgid "Hide task duration in tickets"
137 | msgstr "Hide task duration in tickets"
138 |
139 | #: inc/urgencyticket.class.php:69 inc/urgencyticket.class.php:155
140 | msgid "Justification"
141 | msgstr "Justification"
142 |
143 | #: inc/urgencyticket.class.php:92
144 | msgid "Urgency ticket cannot be saved"
145 | msgstr "Urgency ticket cannot be saved"
146 |
147 | #: inc/urgencyticket.class.php:94 inc/waitingticket.class.php:171
148 | msgid "Ticket cannot be saved"
149 | msgstr "Ticket cannot be saved"
150 |
151 | #: inc/waitingticket.class.php:65
152 | msgid "Waiting ticket"
153 | msgid_plural "Waiting tickets"
154 | msgstr[0] "Waiting ticket"
155 | msgstr[1] "Waiting tickets"
156 |
157 | #: inc/waitingticket.class.php:169
158 | msgid "Waiting ticket cannot be saved"
159 | msgstr "Waiting ticket cannot be saved"
160 |
161 | #: inc/waitingticket.class.php:175
162 | msgid "Report date is inferior of today's date"
163 | msgstr "Report date is inferior of today's date"
164 |
165 | #: inc/waitingticket.class.php:386 inc/waitingticket.class.php:426
166 | msgid "Ticket suspension history"
167 | msgstr "Ticket suspension history"
168 |
169 | #: inc/waitingticket.class.php:389
170 | msgid "Suspension date"
171 | msgstr "Suspension date"
172 |
173 | #: inc/waitingticket.class.php:393
174 | msgid "Suspension end date"
175 | msgstr "Suspension end date"
176 |
177 | #: inc/waitingticket.class.php:751
178 | msgid "End of standby ticket"
179 | msgstr "End of standby ticket"
180 |
181 | #: inc/waitingtype.class.php:48
182 | msgid "Waiting type"
183 | msgid_plural "Waiting types"
184 | msgstr[0] "Waiting type"
185 | msgstr[1] "Waiting types"
186 |
--------------------------------------------------------------------------------
/locales/es_AR.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/InfotelGLPI/moreticket/d9670131d085de22aeb62784009c494c4c86afff/locales/es_AR.mo
--------------------------------------------------------------------------------
/locales/es_AR.po:
--------------------------------------------------------------------------------
1 | # SOME DESCRIPTIVE TITLE.
2 | # Copyright (C) YEAR MoreTicket Development Team
3 | # This file is distributed under the same license as the GLPI - MoreTicket plugin package.
4 | # FIRST AUTHOR , YEAR.
5 | #
6 | # Translators:
7 | # Xavier CAILLAUD , 2020
8 | # Luis Angel Uriarte , 2020
9 | #
10 | #, fuzzy
11 | msgid ""
12 | msgstr ""
13 | "Project-Id-Version: GLPI - MoreTicket plugin\n"
14 | "Report-Msgid-Bugs-To: \n"
15 | "POT-Creation-Date: 2020-11-03 13:16+0000\n"
16 | "PO-Revision-Date: 2020-11-02 16:11+0000\n"
17 | "Last-Translator: Luis Angel Uriarte , 2020\n"
18 | "Language-Team: Spanish (Argentina) (https://www.transifex.com/infotelGLPI/teams/50826/es_AR/)\n"
19 | "MIME-Version: 1.0\n"
20 | "Content-Type: text/plain; charset=UTF-8\n"
21 | "Content-Transfer-Encoding: 8bit\n"
22 | "Language: es_AR\n"
23 | "Plural-Forms: nplurals=2; plural=(n != 1);\n"
24 |
25 | #: hook.php:204 inc/waitingticket.class.php:139
26 | #: inc/waitingticket.class.php:238 inc/waitingticket.class.php:317
27 | #: inc/waitingticket.class.php:390
28 | msgid "Reason"
29 | msgstr "Motivo"
30 |
31 | #: hook.php:212 inc/waitingticket.class.php:131
32 | #: inc/waitingticket.class.php:253 inc/waitingticket.class.php:332
33 | #: inc/waitingticket.class.php:392
34 | msgid "Postponement date"
35 | msgstr "Posponer hasta"
36 |
37 | #: hook.php:232 hook.php:239 hook.php:246 hook.php:253
38 | #: inc/closeticket.class.php:75 inc/closeticket.class.php:79
39 | #: inc/closeticket.class.php:121 inc/closeticket.class.php:178
40 | #: inc/closeticket.class.php:326 inc/closeticket.class.php:380
41 | #: inc/config.class.php:167
42 | msgid "Close ticket informations"
43 | msgstr "Informaciones del Req. Cerrado"
44 |
45 | #: setup.php:100 inc/profile.class.php:49 inc/profile.class.php:194
46 | msgid "More ticket"
47 | msgstr "Más requerimientos"
48 |
49 | #: front/config.form.php:66
50 | msgid "Please activate the plugin"
51 | msgstr "Por favor activar el complemento"
52 |
53 | #: inc/closeticket.class.php:135 inc/closeticket.class.php:479
54 | msgid "Solution description"
55 | msgstr "Descripción"
56 |
57 | #: inc/closeticket.class.php:154
58 | msgid "Ticket cannot be closed"
59 | msgstr "Requerimiento no se puede cerrar"
60 |
61 | #: inc/closeticket.class.php:580
62 | #, php-format
63 | msgid "%1$s added closing informations"
64 | msgstr "%1$s informaciones de cierres agregada"
65 |
66 | #: inc/closeticket.class.php:599
67 | #, php-format
68 | msgid "%1$s updated closing informations"
69 | msgstr "%1$s informaciones de cierres actualizadas"
70 |
71 | #: inc/closeticket.class.php:618
72 | #, php-format
73 | msgid "%1$s deleted closing informations"
74 | msgstr "%1$s informaciones de cierres borradas"
75 |
76 | #: inc/config.class.php:98 inc/config.class.php:243
77 | #: inc/waitingticket.class.php:807
78 | msgid "Ticket waiting"
79 | msgstr "Solicitación en espera"
80 |
81 | #: inc/config.class.php:102
82 | msgid "Use waiting process"
83 | msgstr "Usar procesos de espera"
84 |
85 | #: inc/config.class.php:120
86 | msgid "Report date is mandatory"
87 | msgstr "Fecha de informe es obligatoria"
88 |
89 | #: inc/config.class.php:127
90 | msgid "Waiting type is mandatory"
91 | msgstr "Tipo de espera es obligatorio"
92 |
93 | #: inc/config.class.php:134
94 | msgid "Waiting reason is mandatory"
95 | msgstr "Motivo de la espera es obligatorio "
96 |
97 | #: inc/config.class.php:140
98 | msgid "Ticket resolution and close"
99 | msgstr "Resolución de solicitación y cierre"
100 |
101 | #: inc/config.class.php:142
102 | msgid "Use solution process"
103 | msgstr "Usar procesos en soución"
104 |
105 | #: inc/config.class.php:160
106 | msgid "Solution type is mandatory"
107 | msgstr "Tipo de solución es obligatorio"
108 |
109 | #: inc/config.class.php:173
110 | msgid "Status used to display solution bloc"
111 | msgstr "Estado usado para mostrar solución en"
112 |
113 | #: inc/config.class.php:186
114 | msgid "Add a followup on immediate ticket closing"
115 | msgstr "Agregar un seguimiento en el cierre inmediato del servicio"
116 |
117 | #: inc/config.class.php:192
118 | msgid "Use the 'Duration' field in the add solution interface"
119 | msgstr "Use el campo \"Duración\" en la interfaz de la solución"
120 |
121 | #: inc/config.class.php:206
122 | msgid "Mandatory 'Duration' field"
123 | msgstr "Campo \"Duración\" obligatorio "
124 |
125 | #: inc/config.class.php:211
126 | msgid "Ticket urgency"
127 | msgstr "Urgencia de la llamada"
128 |
129 | #: inc/config.class.php:213
130 | msgid "Use a justification of the urgency field"
131 | msgstr "Justifique la urgencia de la llamada"
132 |
133 | #: inc/config.class.php:229
134 | msgid "Urgency impacted justification for the field"
135 | msgstr "Impacto de la justificación de la llamada"
136 |
137 | #: inc/config.class.php:245
138 | msgid "Use the option ticket waiting in ticket followup"
139 | msgstr "Utilice la opción ticket esperando en el seguimiento del ticket"
140 |
141 | #: inc/profile.class.php:158
142 | msgid "Adding a justification of urgency"
143 | msgstr "Agregar la justificación de urgencia "
144 |
145 | #: inc/profile.class.php:166
146 | msgid "Hide task duration in tickets"
147 | msgstr "Ocultar la duración de la tarea en los tickets"
148 |
149 | #: inc/urgencyticket.class.php:69 inc/urgencyticket.class.php:155
150 | msgid "Justification"
151 | msgstr "Justificación"
152 |
153 | #: inc/urgencyticket.class.php:92
154 | msgid "Urgency ticket cannot be saved"
155 | msgstr "Urgencia de la llamada no se puede grabar "
156 |
157 | #: inc/urgencyticket.class.php:94 inc/waitingticket.class.php:171
158 | msgid "Ticket cannot be saved"
159 | msgstr "Requerimiento no se puede guardar"
160 |
161 | #: inc/waitingticket.class.php:65
162 | msgid "Waiting ticket"
163 | msgid_plural "Waiting tickets"
164 | msgstr[0] "Esperando servicio"
165 | msgstr[1] "Esperando servicios"
166 |
167 | #: inc/waitingticket.class.php:169
168 | msgid "Waiting ticket cannot be saved"
169 | msgstr "En espera no se puede guardar"
170 |
171 | #: inc/waitingticket.class.php:175
172 | msgid "Report date is inferior of today's date"
173 | msgstr "Fecha de informe es inferior a fecha de hoy"
174 |
175 | #: inc/waitingticket.class.php:386 inc/waitingticket.class.php:426
176 | msgid "Ticket suspension history"
177 | msgstr "Historial de espera"
178 |
179 | #: inc/waitingticket.class.php:389
180 | msgid "Suspension date"
181 | msgstr "Fecha de suspención"
182 |
183 | #: inc/waitingticket.class.php:393
184 | msgid "Suspension end date"
185 | msgstr "Fecha fin de suspención"
186 |
187 | #: inc/waitingticket.class.php:754
188 | msgid "End of standby ticket"
189 | msgstr "Fin de servicio en espera"
190 |
191 | #: inc/waitingtype.class.php:48
192 | msgid "Waiting type"
193 | msgid_plural "Waiting types"
194 | msgstr[0] "Waiting type"
195 | msgstr[1] "Tipo de espera"
196 |
--------------------------------------------------------------------------------
/locales/es_EC.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/InfotelGLPI/moreticket/d9670131d085de22aeb62784009c494c4c86afff/locales/es_EC.mo
--------------------------------------------------------------------------------
/locales/es_ES.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/InfotelGLPI/moreticket/d9670131d085de22aeb62784009c494c4c86afff/locales/es_ES.mo
--------------------------------------------------------------------------------
/locales/es_ES.po:
--------------------------------------------------------------------------------
1 | # SOME DESCRIPTIVE TITLE.
2 | # Copyright (C) YEAR MoreTicket Development Team
3 | # This file is distributed under the same license as the GLPI - MoreTicket plugin package.
4 | # FIRST AUTHOR , YEAR.
5 | #
6 | # Translators:
7 | # Xavier CAILLAUD , 2022
8 | # FranciscoFJ , 2022
9 | #
10 | #, fuzzy
11 | msgid ""
12 | msgstr ""
13 | "Project-Id-Version: GLPI - MoreTicket plugin\n"
14 | "Report-Msgid-Bugs-To: \n"
15 | "POT-Creation-Date: 2022-06-02 06:39+0000\n"
16 | "PO-Revision-Date: 2020-11-02 16:11+0000\n"
17 | "Last-Translator: FranciscoFJ , 2022\n"
18 | "Language-Team: Spanish (Spain) (https://www.transifex.com/infotelGLPI/teams/50826/es_ES/)\n"
19 | "MIME-Version: 1.0\n"
20 | "Content-Type: text/plain; charset=UTF-8\n"
21 | "Content-Transfer-Encoding: 8bit\n"
22 | "Language: es_ES\n"
23 | "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n"
24 |
25 | #: hook.php:255 hook.php:262 hook.php:269 hook.php:276
26 | #: inc/closeticket.class.php:75 inc/closeticket.class.php:79
27 | #: inc/closeticket.class.php:121 inc/closeticket.class.php:179
28 | #: inc/closeticket.class.php:330 inc/closeticket.class.php:384
29 | #: inc/config.class.php:174
30 | msgid "Close ticket informations"
31 | msgstr "Informaciones del cierre de la petición"
32 |
33 | #: hook.php:290
34 | msgid "Updated by a user"
35 | msgstr "Actualizado por un usuario"
36 |
37 | #: setup.php:117 inc/profile.class.php:49 inc/profile.class.php:194
38 | msgid "More ticket"
39 | msgstr "Más peticiones"
40 |
41 | #: front/config.form.php:66
42 | msgid "Please activate the plugin"
43 | msgstr "Por favor active el complemento"
44 |
45 | #: inc/closeticket.class.php:136 inc/closeticket.class.php:496
46 | msgid "Solution description"
47 | msgstr "Descripción de la solución "
48 |
49 | #: inc/closeticket.class.php:155
50 | msgid "Ticket cannot be closed"
51 | msgstr "La petición no puede ser cerrada"
52 |
53 | #: inc/closeticket.class.php:620
54 | #, php-format
55 | msgid "%1$s added closing informations"
56 | msgstr "%1$s informaciones del cierre de la petición"
57 |
58 | #: inc/closeticket.class.php:639
59 | #, php-format
60 | msgid "%1$s updated closing informations"
61 | msgstr "%1$sactualizaciones del cierre de la petición"
62 |
63 | #: inc/closeticket.class.php:658
64 | #, php-format
65 | msgid "%1$s deleted closing informations"
66 | msgstr "%1$sinformaciones del cierre apagadas"
67 |
68 | #: inc/config.class.php:147
69 | msgid "Ticket resolution and close"
70 | msgstr "Resolución y cierre de la petición"
71 |
72 | #: inc/config.class.php:149
73 | msgid "Use solution process"
74 | msgstr "Use la solución de la petición"
75 |
76 | #: inc/config.class.php:167
77 | msgid "Solution type is mandatory"
78 | msgstr "Tipo de solución es obligatorio"
79 |
80 | #: inc/config.class.php:180
81 | msgid "Status used to display solution block"
82 | msgstr "Estado utilizado para mostrar el bloque de solución"
83 |
84 | #: inc/config.class.php:193
85 | msgid "Add a followup on immediate ticket closing"
86 | msgstr "Añadir un seguimiento en el cierre inmediato de la petición"
87 |
88 | #: inc/config.class.php:199
89 | msgid "Use the 'Duration' field in the add solution interface"
90 | msgstr "Utilice el campo 'Duración' en la interfaz de agregar solución"
91 |
92 | #: inc/config.class.php:213
93 | msgid "Mandatory 'Duration' field"
94 | msgstr "El campo 'Duración' es obligatorio"
95 |
96 | #: inc/config.class.php:218
97 | msgid "Ticket urgency"
98 | msgstr "Urgencia de la petición"
99 |
100 | #: inc/config.class.php:220
101 | msgid "Use a justification of the urgency field"
102 | msgstr "Utilizar una justificación del campo de urgencia."
103 |
104 | #: inc/config.class.php:236
105 | msgid "Urgency impacted justification for the field"
106 | msgstr "Justificativa de la urgencia de impacto en un campo"
107 |
108 | #: inc/config.class.php:264
109 | msgid "Update ticket status"
110 | msgstr "Actualizar el estado de la petición"
111 |
112 | #: inc/config.class.php:267
113 | msgid "Update ticket status to processing after add document"
114 | msgstr ""
115 | "Actualizar el estado de la petición para procesar después de agregar el "
116 | "documento"
117 |
118 | #: inc/config.class.php:273
119 | msgid "Update ticket status to processing after approval"
120 | msgstr ""
121 | "Actualizar el estado de la petición a procesar después de la aprobación"
122 |
123 | #: inc/profile.class.php:158
124 | msgid "Adding a justification of urgency"
125 | msgstr "Añadiendo una justificación de urgencia"
126 |
127 | #: inc/profile.class.php:166
128 | msgid "Hide task duration in tickets"
129 | msgstr "Ocultar la duración de la tarea en las peticiones"
130 |
131 | #: inc/urgencyticket.class.php:69 inc/urgencyticket.class.php:164
132 | msgid "Justification"
133 | msgstr "Justificación"
134 |
135 | #: inc/urgencyticket.class.php:92
136 | msgid "Urgency ticket cannot be saved"
137 | msgstr "Petición de urgencia no se puede guardar"
138 |
139 | #: inc/urgencyticket.class.php:94
140 | msgid "Ticket cannot be saved"
141 | msgstr "La petición no se puede guardar"
142 |
143 | #: inc/waitingtype.class.php:48
144 | msgid "Waiting type"
145 | msgid_plural "Waiting types"
146 | msgstr[0] "Tipo de espera"
147 | msgstr[1] "Tipos de espera"
148 | msgstr[2] "Tipos de espera"
149 |
--------------------------------------------------------------------------------
/locales/fi_FI.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/InfotelGLPI/moreticket/d9670131d085de22aeb62784009c494c4c86afff/locales/fi_FI.mo
--------------------------------------------------------------------------------
/locales/fi_FI.po:
--------------------------------------------------------------------------------
1 | # SOME DESCRIPTIVE TITLE.
2 | # Copyright (C) YEAR MoreTicket Development Team
3 | # This file is distributed under the same license as the GLPI - MoreTicket plugin package.
4 | #
5 | # Translators:
6 | # Markku Vepsä, 2018
7 | msgid ""
8 | msgstr ""
9 | "Project-Id-Version: GLPI Project - moreticket plugin\n"
10 | "Report-Msgid-Bugs-To: \n"
11 | "POT-Creation-Date: 2019-02-26 15:54+0100\n"
12 | "PO-Revision-Date: 2019-02-26 15:09+0000\n"
13 | "Last-Translator: Mathieu Templier \n"
14 | "Language-Team: Finnish (Finland) (http://www.transifex.com/tsmr/GLPI_moreticket/language/fi_FI/)\n"
15 | "MIME-Version: 1.0\n"
16 | "Content-Type: text/plain; charset=UTF-8\n"
17 | "Content-Transfer-Encoding: 8bit\n"
18 | "Language: fi_FI\n"
19 | "Plural-Forms: nplurals=2; plural=(n != 1);\n"
20 |
21 | #: hook.php:200 inc/waitingticket.class.php:139
22 | #: inc/waitingticket.class.php:238 inc/waitingticket.class.php:317
23 | #: inc/waitingticket.class.php:390
24 | msgid "Reason"
25 | msgstr "Syy"
26 |
27 | #: hook.php:208 inc/waitingticket.class.php:131
28 | #: inc/waitingticket.class.php:253 inc/waitingticket.class.php:332
29 | #: inc/waitingticket.class.php:392
30 | msgid "Postponement date"
31 | msgstr "Lykkäyspäivä"
32 |
33 | #: hook.php:228 hook.php:235 hook.php:242 hook.php:249
34 | #: inc/closeticket.class.php:75 inc/closeticket.class.php:79
35 | #: inc/closeticket.class.php:121 inc/closeticket.class.php:178
36 | #: inc/closeticket.class.php:326 inc/closeticket.class.php:380
37 | #: inc/config.class.php:167
38 | msgid "Close ticket informations"
39 | msgstr "Sulje tiketin tiedot"
40 |
41 | #: setup.php:94 inc/profile.class.php:49 inc/profile.class.php:194
42 | msgid "More ticket"
43 | msgstr "Lisää tiketöintiä"
44 |
45 | #: front/config.form.php:66
46 | msgid "Please activate the plugin"
47 | msgstr "Ole hyvä ja aktivoi liitännäinen"
48 |
49 | #: inc/closeticket.class.php:135 inc/closeticket.class.php:479
50 | msgid "Solution description"
51 | msgstr "Ratkaisun kuvaus"
52 |
53 | #: inc/closeticket.class.php:154
54 | msgid "Ticket cannot be closed"
55 | msgstr "Tikettiä ei voida sulkea"
56 |
57 | #: inc/closeticket.class.php:576
58 | #, php-format
59 | msgid "%1$s added closing informations"
60 | msgstr "%1$s lisätty sulkemista koskevat tiedot"
61 |
62 | #: inc/closeticket.class.php:595
63 | #, php-format
64 | msgid "%1$s updated closing informations"
65 | msgstr "%1$s päivitetty sulkemista koskevat tiedot"
66 |
67 | #: inc/closeticket.class.php:614
68 | #, php-format
69 | msgid "%1$s deleted closing informations"
70 | msgstr "%1$s poistettu sulkemista koskevat tiedot"
71 |
72 | #: inc/config.class.php:98
73 | msgid "Ticket waiting"
74 | msgstr "Odottava tiketti"
75 |
76 | #: inc/config.class.php:102
77 | msgid "Use waiting process"
78 | msgstr "Käytä odotus menetelmää"
79 |
80 | #: inc/config.class.php:120
81 | msgid "Report date is mandatory"
82 | msgstr "Raportin päivämäärä on pakollinen"
83 |
84 | #: inc/config.class.php:127
85 | msgid "Waiting type is mandatory"
86 | msgstr "Odotuksen tyyppi on pakollinen"
87 |
88 | #: inc/config.class.php:134
89 | msgid "Waiting reason is mandatory"
90 | msgstr "Odotuksen syy on pakollinen"
91 |
92 | #: inc/config.class.php:140
93 | msgid "Ticket resolution and close"
94 | msgstr "Tiketin ratkaisu ja sulkeminen"
95 |
96 | #: inc/config.class.php:142
97 | msgid "Use solution process"
98 | msgstr "Käytä ratkaisuprosessia"
99 |
100 | #: inc/config.class.php:160
101 | msgid "Solution type is mandatory"
102 | msgstr "Ratkaisun tyyppi on pakollinen"
103 |
104 | #: inc/config.class.php:173
105 | msgid "Status used to display solution bloc"
106 | msgstr "Tila, jota käytetään näyttämään ratkaisuryhmä"
107 |
108 | #: inc/config.class.php:186
109 | msgid "Add a followup on immediate ticket closing"
110 | msgstr "Lisää seuranta välittömään tiketin sulkemiseen"
111 |
112 | #: inc/config.class.php:192
113 | msgid "Use the 'Duration' field in the add solution interface"
114 | msgstr "Käytä Lisää ratkaisu -rajapinnan 'Kesto' -kenttää"
115 |
116 | #: inc/config.class.php:206
117 | msgid "Mandatory 'Duration' field"
118 | msgstr "Pakollinen 'Kesto' -kenttä"
119 |
120 | #: inc/config.class.php:211
121 | msgid "Ticket urgency"
122 | msgstr "Tiketin kiireellisyys"
123 |
124 | #: inc/config.class.php:213
125 | msgid "Use a justification of the urgency field"
126 | msgstr "Käytä kiireellisyyskentän perustelua"
127 |
128 | #: inc/config.class.php:229
129 | msgid "Urgency impacted justification for the field"
130 | msgstr "Kiireellisyys vaikutti kentän perusteluun"
131 |
132 | #: inc/profile.class.php:158
133 | msgid "Adding a justification of urgency"
134 | msgstr "Lisää perustelu kiireellisyydelle"
135 |
136 | #: inc/profile.class.php:166
137 | msgid "Hide task duration in tickets"
138 | msgstr ""
139 |
140 | #: inc/urgencyticket.class.php:69 inc/urgencyticket.class.php:155
141 | msgid "Justification"
142 | msgstr "Perustelu"
143 |
144 | #: inc/urgencyticket.class.php:92
145 | msgid "Urgency ticket cannot be saved"
146 | msgstr "Kiireellisyys tikettiä ei voida tallentaa"
147 |
148 | #: inc/urgencyticket.class.php:94 inc/waitingticket.class.php:171
149 | msgid "Ticket cannot be saved"
150 | msgstr "Tikettiä ei voida tallentaa"
151 |
152 | #: inc/waitingticket.class.php:65
153 | msgid "Waiting ticket"
154 | msgid_plural "Waiting tickets"
155 | msgstr[0] "Odottava tiketti"
156 | msgstr[1] "Odottavat tiketit"
157 |
158 | #: inc/waitingticket.class.php:169
159 | msgid "Waiting ticket cannot be saved"
160 | msgstr "Odottavaa tikettiä ei voida tallentaa"
161 |
162 | #: inc/waitingticket.class.php:175
163 | msgid "Report date is inferior of today's date"
164 | msgstr "Raportin päivämäärä on tätä päivää aiempi"
165 |
166 | #: inc/waitingticket.class.php:386 inc/waitingticket.class.php:426
167 | msgid "Ticket suspension history"
168 | msgstr "Tiketin keskeytys historia"
169 |
170 | #: inc/waitingticket.class.php:389
171 | msgid "Suspension date"
172 | msgstr "Keskeytyspäivä"
173 |
174 | #: inc/waitingticket.class.php:393
175 | msgid "Suspension end date"
176 | msgstr "Keskeytyksen päättymispäivä"
177 |
178 | #: inc/waitingticket.class.php:751
179 | msgid "End of standby ticket"
180 | msgstr "Tiketin valmiustilan loppu"
181 |
182 | #: inc/waitingtype.class.php:48
183 | msgid "Waiting type"
184 | msgid_plural "Waiting types"
185 | msgstr[0] "Odotuksen tyyppi"
186 | msgstr[1] "Odotuksien tyypit"
187 |
--------------------------------------------------------------------------------
/locales/fr_CA.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/InfotelGLPI/moreticket/d9670131d085de22aeb62784009c494c4c86afff/locales/fr_CA.mo
--------------------------------------------------------------------------------
/locales/fr_CA.po:
--------------------------------------------------------------------------------
1 | # SOME DESCRIPTIVE TITLE.
2 | # Copyright (C) YEAR MoreTicket Development Team
3 | # This file is distributed under the same license as the GLPI - MoreTicket plugin package.
4 | # FIRST AUTHOR , YEAR.
5 | #
6 | # Translators:
7 | # Tiago Graça, 2022
8 | # Xavier CAILLAUD , 2022
9 | #
10 | #, fuzzy
11 | msgid ""
12 | msgstr ""
13 | "Project-Id-Version: GLPI - MoreTicket plugin\n"
14 | "Report-Msgid-Bugs-To: \n"
15 | "POT-Creation-Date: 2022-04-25 08:43+0000\n"
16 | "PO-Revision-Date: 2020-11-02 16:11+0000\n"
17 | "Last-Translator: Xavier CAILLAUD , 2022\n"
18 | "Language-Team: French (Canada) (https://www.transifex.com/infotelGLPI/teams/50826/fr_CA/)\n"
19 | "MIME-Version: 1.0\n"
20 | "Content-Type: text/plain; charset=UTF-8\n"
21 | "Content-Transfer-Encoding: 8bit\n"
22 | "Language: fr_CA\n"
23 | "Plural-Forms: nplurals=2; plural=(n > 1);\n"
24 |
25 | #: hook.php:254 hook.php:261 hook.php:268 hook.php:275
26 | #: inc/closeticket.class.php:75 inc/closeticket.class.php:79
27 | #: inc/closeticket.class.php:121 inc/closeticket.class.php:179
28 | #: inc/closeticket.class.php:330 inc/closeticket.class.php:384
29 | #: inc/config.class.php:174
30 | msgid "Close ticket informations"
31 | msgstr "Informations de clôture des tickets"
32 |
33 | #: hook.php:289
34 | msgid "Updated by a user"
35 | msgstr "Mis à jour par un utilisateur"
36 |
37 | #: setup.php:117 inc/profile.class.php:49 inc/profile.class.php:194
38 | msgid "More ticket"
39 | msgstr "Plus de ticket"
40 |
41 | #: front/config.form.php:66
42 | msgid "Please activate the plugin"
43 | msgstr "Merci d'activer le plugin"
44 |
45 | #: inc/closeticket.class.php:136 inc/closeticket.class.php:496
46 | msgid "Solution description"
47 | msgstr "Description de la solution"
48 |
49 | #: inc/closeticket.class.php:155
50 | msgid "Ticket cannot be closed"
51 | msgstr "Impossible de clore le ticket"
52 |
53 | #: inc/closeticket.class.php:620
54 | #, php-format
55 | msgid "%1$s added closing informations"
56 | msgstr "%1$s a ajouté des informations de clôture"
57 |
58 | #: inc/closeticket.class.php:639
59 | #, php-format
60 | msgid "%1$s updated closing informations"
61 | msgstr "%1$s a mis à jour des informations de clôture"
62 |
63 | #: inc/closeticket.class.php:658
64 | #, php-format
65 | msgid "%1$s deleted closing informations"
66 | msgstr "%1$s a supprimé des informations de clôture"
67 |
68 | #: inc/config.class.php:147
69 | msgid "Ticket resolution and close"
70 | msgstr "Résolution et clôture du ticket"
71 |
72 | #: inc/config.class.php:149
73 | msgid "Use solution process"
74 | msgstr "Utiliser le bloc solution à la création du ticket"
75 |
76 | #: inc/config.class.php:167
77 | msgid "Solution type is mandatory"
78 | msgstr "Le type de solution est obligatoire"
79 |
80 | #: inc/config.class.php:180
81 | msgid "Status used to display solution block"
82 | msgstr "Statuts utilisés pour afficher le bloc de solution"
83 |
84 | #: inc/config.class.php:193
85 | msgid "Add a followup on immediate ticket closing"
86 | msgstr "Ajouter un suivi lors de la clôture du ticket"
87 |
88 | #: inc/config.class.php:199
89 | msgid "Use the 'Duration' field in the add solution interface"
90 | msgstr "Utilisez le champ 'Durée' dans l'interface d'ajout de solution."
91 |
92 | #: inc/config.class.php:213
93 | msgid "Mandatory 'Duration' field"
94 | msgstr "Champ 'Durée' obligatoire"
95 |
96 | #: inc/config.class.php:218
97 | msgid "Ticket urgency"
98 | msgstr "Urgence de ticket"
99 |
100 | #: inc/config.class.php:220
101 | msgid "Use a justification of the urgency field"
102 | msgstr "Utiliser une zone de justification sur l'urgence"
103 |
104 | #: inc/config.class.php:236
105 | msgid "Urgency impacted justification for the field"
106 | msgstr "Urgences impactées pour la zone de justification"
107 |
108 | #: inc/config.class.php:264
109 | msgid "Update ticket status"
110 | msgstr "Mise à jour des statuts de tickets"
111 |
112 | #: inc/config.class.php:267
113 | msgid "Update ticket status to processing after add document"
114 | msgstr "Mise à jour du statut du ticket à en cours après ajout d'un document"
115 |
116 | #: inc/config.class.php:273
117 | msgid "Update ticket status to processing after approval"
118 | msgstr "Mise à jour du statut du ticket à en cours après approbation"
119 |
120 | #: inc/profile.class.php:158
121 | msgid "Adding a justification of urgency"
122 | msgstr "Ajout d'une zone de justification pour l'urgence"
123 |
124 | #: inc/profile.class.php:166
125 | msgid "Hide task duration in tickets"
126 | msgstr "Cacher la durée des tâches des tickets"
127 |
128 | #: inc/urgencyticket.class.php:69 inc/urgencyticket.class.php:164
129 | msgid "Justification"
130 | msgstr "Justification"
131 |
132 | #: inc/urgencyticket.class.php:92
133 | msgid "Urgency ticket cannot be saved"
134 | msgstr "Impossible d'enregistrer l'urgence du ticket"
135 |
136 | #: inc/urgencyticket.class.php:94
137 | msgid "Ticket cannot be saved"
138 | msgstr "Impossible d'enregistrer le ticket"
139 |
140 | #: inc/waitingtype.class.php:48
141 | msgid "Waiting type"
142 | msgid_plural "Waiting types"
143 | msgstr[0] "Type d'attente"
144 | msgstr[1] "Types d'attente"
145 |
--------------------------------------------------------------------------------
/locales/fr_FR.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/InfotelGLPI/moreticket/d9670131d085de22aeb62784009c494c4c86afff/locales/fr_FR.mo
--------------------------------------------------------------------------------
/locales/glpi.pot:
--------------------------------------------------------------------------------
1 | # SOME DESCRIPTIVE TITLE.
2 | # Copyright (C) YEAR MoreTicket Development Team
3 | # This file is distributed under the same license as the GLPI - MoreTicket plugin package.
4 | # FIRST AUTHOR , YEAR.
5 | #
6 | #, fuzzy
7 | msgid ""
8 | msgstr ""
9 | "Project-Id-Version: GLPI - MoreTicket plugin\n"
10 | "Report-Msgid-Bugs-To: \n"
11 | "POT-Creation-Date: 2025-03-10 11:15+0000\n"
12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13 | "Last-Translator: FULL NAME \n"
14 | "Language-Team: LANGUAGE \n"
15 | "Language: \n"
16 | "MIME-Version: 1.0\n"
17 | "Content-Type: text/plain; charset=CHARSET\n"
18 | "Content-Transfer-Encoding: 8bit\n"
19 | "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
20 |
21 | #: hook.php:261 hook.php:268 hook.php:275 hook.php:282
22 | #: inc/closeticket.class.php:77 inc/closeticket.class.php:84
23 | #: inc/closeticket.class.php:125 inc/closeticket.class.php:192
24 | #: inc/closeticket.class.php:348 inc/closeticket.class.php:402
25 | #: inc/config.class.php:195
26 | msgid "Close ticket informations"
27 | msgstr ""
28 |
29 | #: hook.php:296
30 | msgid "Updated by a user"
31 | msgstr ""
32 |
33 | #: setup.php:121 inc/profile.class.php:50 inc/profile.class.php:212
34 | msgid "More ticket"
35 | msgstr ""
36 |
37 | #: front/config.form.php:65
38 | msgid "Please activate the plugin"
39 | msgstr ""
40 |
41 | #: inc/closeticket.class.php:141 inc/closeticket.class.php:524
42 | msgid "Solution description"
43 | msgstr ""
44 |
45 | #: inc/closeticket.class.php:161
46 | msgid "Ticket cannot be closed"
47 | msgstr ""
48 |
49 | #: inc/closeticket.class.php:681
50 | #, php-format
51 | msgid "%1$s added closing informations"
52 | msgstr ""
53 |
54 | #: inc/closeticket.class.php:702
55 | #, php-format
56 | msgid "%1$s updated closing informations"
57 | msgstr ""
58 |
59 | #: inc/closeticket.class.php:723
60 | #, php-format
61 | msgid "%1$s deleted closing informations"
62 | msgstr ""
63 |
64 | #: inc/config.class.php:98 inc/waitingticket.class.php:929
65 | msgid "Ticket waiting"
66 | msgstr ""
67 |
68 | #: inc/config.class.php:102
69 | msgid "Use waiting process"
70 | msgstr ""
71 |
72 | #: inc/config.class.php:120
73 | msgid "Postponement date is mandatory"
74 | msgstr ""
75 |
76 | #: inc/config.class.php:135
77 | msgid "Waiting reason is mandatory"
78 | msgstr ""
79 |
80 | #: inc/config.class.php:142
81 | msgid "Add followup when waiting date is reached"
82 | msgstr ""
83 |
84 | #: inc/config.class.php:149
85 | msgid "Check by default to put the ticket on waiting when adding a follow-up"
86 | msgstr ""
87 |
88 | #: inc/config.class.php:156
89 | msgid "Check by default to put the ticket on waiting when adding a task"
90 | msgstr ""
91 |
92 | #: inc/config.class.php:168
93 | msgid "Ticket resolution and close"
94 | msgstr ""
95 |
96 | #: inc/config.class.php:170
97 | msgid "Use solution process"
98 | msgstr ""
99 |
100 | #: inc/config.class.php:188
101 | msgid "Solution type is mandatory"
102 | msgstr ""
103 |
104 | #: inc/config.class.php:201
105 | msgid "Status used to display solution block"
106 | msgstr ""
107 |
108 | #: inc/config.class.php:214
109 | msgid "Add a followup on immediate ticket closing"
110 | msgstr ""
111 |
112 | #: inc/config.class.php:220
113 | msgid "Use the 'Duration' field in the add solution interface"
114 | msgstr ""
115 |
116 | #: inc/config.class.php:234
117 | msgid "Mandatory 'Duration' field"
118 | msgstr ""
119 |
120 | #: inc/config.class.php:239
121 | msgid "Ticket urgency"
122 | msgstr ""
123 |
124 | #: inc/config.class.php:241
125 | msgid "Use a justification of the urgency field"
126 | msgstr ""
127 |
128 | #: inc/config.class.php:257
129 | msgid "Urgency impacted justification for the field"
130 | msgstr ""
131 |
132 | #: inc/config.class.php:279
133 | msgid "Update ticket status"
134 | msgstr ""
135 |
136 | #: inc/config.class.php:282
137 | msgid "Update ticket status to processing after add document"
138 | msgstr ""
139 |
140 | #: inc/config.class.php:288
141 | msgid "Update ticket status to processing after approval"
142 | msgstr ""
143 |
144 | #: inc/config.class.php:295
145 | msgid "Update ticket status to pending after a technician adds a follow up"
146 | msgstr ""
147 |
148 | #: inc/config.class.php:301
149 | msgid "Update ticket status to pending after a technician adds a task"
150 | msgstr ""
151 |
152 | #: inc/profile.class.php:175
153 | msgid "Adding a justification of urgency"
154 | msgstr ""
155 |
156 | #: inc/profile.class.php:183
157 | msgid "Hide task duration in tickets"
158 | msgstr ""
159 |
160 | #: inc/urgencyticket.class.php:70 inc/urgencyticket.class.php:167
161 | msgid "Justification"
162 | msgstr ""
163 |
164 | #: inc/urgencyticket.class.php:93
165 | msgid "Urgency ticket cannot be saved"
166 | msgstr ""
167 |
168 | #: inc/urgencyticket.class.php:95 inc/waitingticket.class.php:169
169 | msgid "Ticket cannot be saved"
170 | msgstr ""
171 |
172 | #: inc/waitingticket.class.php:65
173 | msgid "Waiting ticket"
174 | msgid_plural "Waiting tickets"
175 | msgstr[0] ""
176 | msgstr[1] ""
177 |
178 | #: inc/waitingticket.class.php:133 inc/waitingticket.class.php:252
179 | #: inc/waitingticket.class.php:328 inc/waitingticket.class.php:436
180 | msgid "Postponement date"
181 | msgstr ""
182 |
183 | #: inc/waitingticket.class.php:137 inc/waitingticket.class.php:236
184 | #: inc/waitingticket.class.php:321 inc/waitingticket.class.php:434
185 | msgid "Reason"
186 | msgstr ""
187 |
188 | #: inc/waitingticket.class.php:167
189 | msgid "Waiting ticket cannot be saved"
190 | msgstr ""
191 |
192 | #: inc/waitingticket.class.php:173
193 | msgid "Postponement date is inferior of today's date"
194 | msgstr ""
195 |
196 | #: inc/waitingticket.class.php:430 inc/waitingticket.class.php:473
197 | msgid "Ticket suspension history"
198 | msgstr ""
199 |
200 | #: inc/waitingticket.class.php:433
201 | msgid "Suspension date"
202 | msgstr ""
203 |
204 | #: inc/waitingticket.class.php:437
205 | msgid "Suspension end date"
206 | msgstr ""
207 |
208 | #: inc/waitingticket.class.php:839
209 | msgid "Waiting ticket exceedeed"
210 | msgstr ""
211 |
212 | #: inc/waitingticket.class.php:881
213 | msgid "End of standby ticket"
214 | msgstr ""
215 |
216 | #: inc/waitingticket.class.php:1051
217 | #, php-format
218 | msgid "%s duplicates deleted"
219 | msgstr ""
220 |
221 | #: inc/waitingtype.class.php:48
222 | msgid "Waiting type"
223 | msgid_plural "Waiting types"
224 | msgstr[0] ""
225 | msgstr[1] ""
226 |
--------------------------------------------------------------------------------
/locales/it_IT.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/InfotelGLPI/moreticket/d9670131d085de22aeb62784009c494c4c86afff/locales/it_IT.mo
--------------------------------------------------------------------------------
/locales/ja_JP.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/InfotelGLPI/moreticket/d9670131d085de22aeb62784009c494c4c86afff/locales/ja_JP.mo
--------------------------------------------------------------------------------
/locales/ja_JP.po:
--------------------------------------------------------------------------------
1 | # SOME DESCRIPTIVE TITLE.
2 | # Copyright (C) YEAR MoreTicket Development Team
3 | # This file is distributed under the same license as the GLPI - MoreTicket plugin package.
4 | # FIRST AUTHOR , YEAR.
5 | #
6 | # Translators:
7 | # INOUE Daisuke, 2024
8 | #
9 | #, fuzzy
10 | msgid ""
11 | msgstr ""
12 | "Project-Id-Version: GLPI - MoreTicket plugin\n"
13 | "Report-Msgid-Bugs-To: \n"
14 | "POT-Creation-Date: 2024-10-30 09:33+0000\n"
15 | "PO-Revision-Date: 2020-11-02 16:11+0000\n"
16 | "Last-Translator: INOUE Daisuke, 2024\n"
17 | "Language-Team: Japanese (Japan) (https://app.transifex.com/infotelGLPI/teams/50826/ja_JP/)\n"
18 | "MIME-Version: 1.0\n"
19 | "Content-Type: text/plain; charset=UTF-8\n"
20 | "Content-Transfer-Encoding: 8bit\n"
21 | "Language: ja_JP\n"
22 | "Plural-Forms: nplurals=1; plural=0;\n"
23 |
24 | #: hook.php:261 hook.php:268 hook.php:275 hook.php:282
25 | #: inc/closeticket.class.php:77 inc/closeticket.class.php:84
26 | #: inc/closeticket.class.php:125 inc/closeticket.class.php:192
27 | #: inc/closeticket.class.php:348 inc/closeticket.class.php:402
28 | #: inc/config.class.php:195
29 | msgid "Close ticket informations"
30 | msgstr "チケット終了情報"
31 |
32 | #: hook.php:296
33 | msgid "Updated by a user"
34 | msgstr "ユーザーが更新"
35 |
36 | #: setup.php:121 inc/profile.class.php:50 inc/profile.class.php:212
37 | msgid "More ticket"
38 | msgstr "チケット拡張"
39 |
40 | #: front/config.form.php:65
41 | msgid "Please activate the plugin"
42 | msgstr "プラグインを有効にしてください"
43 |
44 | #: inc/closeticket.class.php:141 inc/closeticket.class.php:524
45 | msgid "Solution description"
46 | msgstr "解決情報"
47 |
48 | #: inc/closeticket.class.php:161
49 | msgid "Ticket cannot be closed"
50 | msgstr "チケットを終了できません"
51 |
52 | #: inc/closeticket.class.php:681
53 | #, php-format
54 | msgid "%1$s added closing informations"
55 | msgstr "%1$s が終了情報を追加"
56 |
57 | #: inc/closeticket.class.php:702
58 | #, php-format
59 | msgid "%1$s updated closing informations"
60 | msgstr "%1$s が終了情報を更新"
61 |
62 | #: inc/closeticket.class.php:723
63 | #, php-format
64 | msgid "%1$s deleted closing informations"
65 | msgstr "%1$s が終了情報を削除"
66 |
67 | #: inc/config.class.php:98 inc/waitingticket.class.php:929
68 | msgid "Ticket waiting"
69 | msgstr "保留チケット"
70 |
71 | #: inc/config.class.php:102
72 | msgid "Use waiting process"
73 | msgstr "保留処理を利用する"
74 |
75 | #: inc/config.class.php:120
76 | msgid "Postponement date is mandatory"
77 | msgstr "再開予定日を必須に"
78 |
79 | #: inc/config.class.php:135
80 | msgid "Waiting reason is mandatory"
81 | msgstr "保留理由を必須に"
82 |
83 | #: inc/config.class.php:142
84 | msgid "Add followup when waiting date is reached"
85 | msgstr "再開日に達したらフォローを追加する"
86 |
87 | #: inc/config.class.php:149
88 | msgid "Check by default to put the ticket on waiting when adding a follow-up"
89 | msgstr "標準で回答を追加したらチケットを保留中にする場合はチェック"
90 |
91 | #: inc/config.class.php:156
92 | msgid "Check by default to put the ticket on waiting when adding a task"
93 | msgstr "標準でタスクを追加したらチケットを保留中にする場合はチェック"
94 |
95 | #: inc/config.class.php:168
96 | msgid "Ticket resolution and close"
97 | msgstr "チケットの解決と終了"
98 |
99 | #: inc/config.class.php:170
100 | msgid "Use solution process"
101 | msgstr "解決処理を利用する"
102 |
103 | #: inc/config.class.php:188
104 | msgid "Solution type is mandatory"
105 | msgstr "解決の型を必須に"
106 |
107 | #: inc/config.class.php:201
108 | msgid "Status used to display solution block"
109 | msgstr "解決ブロック表示で利用する状態"
110 |
111 | #: inc/config.class.php:214
112 | msgid "Add a followup on immediate ticket closing"
113 | msgstr "チケットの終了直後にフォローを追加する"
114 |
115 | #: inc/config.class.php:220
116 | msgid "Use the 'Duration' field in the add solution interface"
117 | msgstr "解決の追加画面で「期間」項目を利用する"
118 |
119 | #: inc/config.class.php:234
120 | msgid "Mandatory 'Duration' field"
121 | msgstr "「期間」項目を必須に"
122 |
123 | #: inc/config.class.php:239
124 | msgid "Ticket urgency"
125 | msgstr "チケットの緊急性"
126 |
127 | #: inc/config.class.php:241
128 | msgid "Use a justification of the urgency field"
129 | msgstr "緊急性項目で正当性を利用する"
130 |
131 | #: inc/config.class.php:257
132 | msgid "Urgency impacted justification for the field"
133 | msgstr "項目の正当性に影響を与える緊急度"
134 |
135 | #: inc/config.class.php:279
136 | msgid "Update ticket status"
137 | msgstr "チケットの状態を更新"
138 |
139 | #: inc/config.class.php:282
140 | msgid "Update ticket status to processing after add document"
141 | msgstr "文書を追加したら、チケットの状態を「対応中」に更新する"
142 |
143 | #: inc/config.class.php:288
144 | msgid "Update ticket status to processing after approval"
145 | msgstr "承認を受けたら、チケットの状態を「対応中」に更新する"
146 |
147 | #: inc/config.class.php:295
148 | msgid "Update ticket status to pending after a technician adds a follow up"
149 | msgstr "技術者が回答を追加したら、チケットの状態を保留中に更新する"
150 |
151 | #: inc/config.class.php:301
152 | msgid "Update ticket status to pending after a technician adds a task"
153 | msgstr "技術者がタスクを追加したら、チケットの状態を保留中に更新する"
154 |
155 | #: inc/profile.class.php:175
156 | msgid "Adding a justification of urgency"
157 | msgstr "緊急性に正当性を追加"
158 |
159 | #: inc/profile.class.php:183
160 | msgid "Hide task duration in tickets"
161 | msgstr "チケットにタスクの期間を表示しない"
162 |
163 | #: inc/urgencyticket.class.php:70 inc/urgencyticket.class.php:167
164 | msgid "Justification"
165 | msgstr "正当性"
166 |
167 | #: inc/urgencyticket.class.php:93
168 | msgid "Urgency ticket cannot be saved"
169 | msgstr "チケットの緊急性を保存できません"
170 |
171 | #: inc/urgencyticket.class.php:95 inc/waitingticket.class.php:169
172 | msgid "Ticket cannot be saved"
173 | msgstr "チケットを保存できません"
174 |
175 | #: inc/waitingticket.class.php:65
176 | msgid "Waiting ticket"
177 | msgid_plural "Waiting tickets"
178 | msgstr[0] "保留チケット"
179 |
180 | #: inc/waitingticket.class.php:133 inc/waitingticket.class.php:252
181 | #: inc/waitingticket.class.php:328 inc/waitingticket.class.php:436
182 | msgid "Postponement date"
183 | msgstr "再開予定日"
184 |
185 | #: inc/waitingticket.class.php:137 inc/waitingticket.class.php:236
186 | #: inc/waitingticket.class.php:321 inc/waitingticket.class.php:434
187 | msgid "Reason"
188 | msgstr "理由"
189 |
190 | #: inc/waitingticket.class.php:167
191 | msgid "Waiting ticket cannot be saved"
192 | msgstr "保留チケットを保存できません"
193 |
194 | #: inc/waitingticket.class.php:173
195 | msgid "Postponement date is inferior of today's date"
196 | msgstr "再開予定日は現在日付より未来に設定してください"
197 |
198 | #: inc/waitingticket.class.php:430 inc/waitingticket.class.php:473
199 | msgid "Ticket suspension history"
200 | msgstr "チケットの延期履歴"
201 |
202 | #: inc/waitingticket.class.php:433
203 | msgid "Suspension date"
204 | msgstr "中断日"
205 |
206 | #: inc/waitingticket.class.php:437
207 | msgid "Suspension end date"
208 | msgstr "実再開日"
209 |
210 | #: inc/waitingticket.class.php:839
211 | msgid "Waiting ticket exceedeed"
212 | msgstr "チケットの保留を延長"
213 |
214 | #: inc/waitingticket.class.php:881
215 | msgid "End of standby ticket"
216 | msgstr "準備チケットの終了"
217 |
218 | #: inc/waitingticket.class.php:1051
219 | #, php-format
220 | msgid "%s duplicates deleted"
221 | msgstr "%s 件の重複を削除しました"
222 |
223 | #: inc/waitingtype.class.php:48
224 | msgid "Waiting type"
225 | msgid_plural "Waiting types"
226 | msgstr[0] "保留型"
227 |
--------------------------------------------------------------------------------
/locales/pl_PL.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/InfotelGLPI/moreticket/d9670131d085de22aeb62784009c494c4c86afff/locales/pl_PL.mo
--------------------------------------------------------------------------------
/locales/pt_BR.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/InfotelGLPI/moreticket/d9670131d085de22aeb62784009c494c4c86afff/locales/pt_BR.mo
--------------------------------------------------------------------------------
/locales/pt_PT.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/InfotelGLPI/moreticket/d9670131d085de22aeb62784009c494c4c86afff/locales/pt_PT.mo
--------------------------------------------------------------------------------
/locales/pt_PT.po:
--------------------------------------------------------------------------------
1 | # SOME DESCRIPTIVE TITLE.
2 | # Copyright (C) YEAR MoreTicket Development Team
3 | # This file is distributed under the same license as the GLPI - MoreTicket plugin package.
4 | #
5 | # Translators:
6 | msgid ""
7 | msgstr ""
8 | "Project-Id-Version: GLPI Project - moreticket plugin\n"
9 | "Report-Msgid-Bugs-To: \n"
10 | "POT-Creation-Date: 2019-02-26 15:54+0100\n"
11 | "PO-Revision-Date: 2019-02-26 15:09+0000\n"
12 | "Last-Translator: Mathieu Templier \n"
13 | "Language-Team: Portuguese (Portugal) (http://www.transifex.com/tsmr/GLPI_moreticket/language/pt_PT/)\n"
14 | "MIME-Version: 1.0\n"
15 | "Content-Type: text/plain; charset=UTF-8\n"
16 | "Content-Transfer-Encoding: 8bit\n"
17 | "Language: pt_PT\n"
18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19 |
20 | #: hook.php:200 inc/waitingticket.class.php:139
21 | #: inc/waitingticket.class.php:238 inc/waitingticket.class.php:317
22 | #: inc/waitingticket.class.php:390
23 | msgid "Reason"
24 | msgstr "Razão"
25 |
26 | #: hook.php:208 inc/waitingticket.class.php:131
27 | #: inc/waitingticket.class.php:253 inc/waitingticket.class.php:332
28 | #: inc/waitingticket.class.php:392
29 | msgid "Postponement date"
30 | msgstr "Data de adiamento"
31 |
32 | #: hook.php:228 hook.php:235 hook.php:242 hook.php:249
33 | #: inc/closeticket.class.php:75 inc/closeticket.class.php:79
34 | #: inc/closeticket.class.php:121 inc/closeticket.class.php:178
35 | #: inc/closeticket.class.php:326 inc/closeticket.class.php:380
36 | #: inc/config.class.php:167
37 | msgid "Close ticket informations"
38 | msgstr "Fechar informações do ticket"
39 |
40 | #: setup.php:94 inc/profile.class.php:49 inc/profile.class.php:194
41 | msgid "More ticket"
42 | msgstr "Mais incidência"
43 |
44 | #: front/config.form.php:66
45 | msgid "Please activate the plugin"
46 | msgstr "Por favor active o plugin"
47 |
48 | #: inc/closeticket.class.php:135 inc/closeticket.class.php:479
49 | msgid "Solution description"
50 | msgstr "Descrição da solução"
51 |
52 | #: inc/closeticket.class.php:154
53 | msgid "Ticket cannot be closed"
54 | msgstr "Incidência não pode ser fechada"
55 |
56 | #: inc/closeticket.class.php:576
57 | #, php-format
58 | msgid "%1$s added closing informations"
59 | msgstr "%1$s adicionou informações de fecho"
60 |
61 | #: inc/closeticket.class.php:595
62 | #, php-format
63 | msgid "%1$s updated closing informations"
64 | msgstr "%1$s actualizou informações de fecho"
65 |
66 | #: inc/closeticket.class.php:614
67 | #, php-format
68 | msgid "%1$s deleted closing informations"
69 | msgstr "%1$s apagou informações de fecho"
70 |
71 | #: inc/config.class.php:98
72 | msgid "Ticket waiting"
73 | msgstr ""
74 |
75 | #: inc/config.class.php:102
76 | msgid "Use waiting process"
77 | msgstr "Usar processo de espera"
78 |
79 | #: inc/config.class.php:120
80 | msgid "Report date is mandatory"
81 | msgstr "Data de reporte obrigatória"
82 |
83 | #: inc/config.class.php:127
84 | msgid "Waiting type is mandatory"
85 | msgstr "Tipo de espera é mandatório"
86 |
87 | #: inc/config.class.php:134
88 | msgid "Waiting reason is mandatory"
89 | msgstr "Razão de espera é mandatório"
90 |
91 | #: inc/config.class.php:140
92 | msgid "Ticket resolution and close"
93 | msgstr ""
94 |
95 | #: inc/config.class.php:142
96 | msgid "Use solution process"
97 | msgstr "Usar processo de solução"
98 |
99 | #: inc/config.class.php:160
100 | msgid "Solution type is mandatory"
101 | msgstr "Tipo de solução é mandatório"
102 |
103 | #: inc/config.class.php:173
104 | msgid "Status used to display solution bloc"
105 | msgstr "Estado para mostrar bloco de solução"
106 |
107 | #: inc/config.class.php:186
108 | msgid "Add a followup on immediate ticket closing"
109 | msgstr "Adicionar um acompanhamento após fecho da incidência"
110 |
111 | #: inc/config.class.php:192
112 | msgid "Use the 'Duration' field in the add solution interface"
113 | msgstr ""
114 |
115 | #: inc/config.class.php:206
116 | msgid "Mandatory 'Duration' field"
117 | msgstr ""
118 |
119 | #: inc/config.class.php:211
120 | msgid "Ticket urgency"
121 | msgstr ""
122 |
123 | #: inc/config.class.php:213
124 | msgid "Use a justification of the urgency field"
125 | msgstr "Usar um campo de justificação de urgência "
126 |
127 | #: inc/config.class.php:229
128 | msgid "Urgency impacted justification for the field"
129 | msgstr "Justificação de impacto da urgência para o campo"
130 |
131 | #: inc/profile.class.php:158
132 | msgid "Adding a justification of urgency"
133 | msgstr "A adicionar uma justificação de urgência"
134 |
135 | #: inc/profile.class.php:166
136 | msgid "Hide task duration in tickets"
137 | msgstr ""
138 |
139 | #: inc/urgencyticket.class.php:69 inc/urgencyticket.class.php:155
140 | msgid "Justification"
141 | msgstr "Justificação"
142 |
143 | #: inc/urgencyticket.class.php:92
144 | msgid "Urgency ticket cannot be saved"
145 | msgstr "Incidência de urgência não pode ser guardada"
146 |
147 | #: inc/urgencyticket.class.php:94 inc/waitingticket.class.php:171
148 | msgid "Ticket cannot be saved"
149 | msgstr "Incidência não pode ser guardada"
150 |
151 | #: inc/waitingticket.class.php:65
152 | msgid "Waiting ticket"
153 | msgid_plural "Waiting tickets"
154 | msgstr[0] "Incidência em espera"
155 | msgstr[1] "Incidências em espera"
156 |
157 | #: inc/waitingticket.class.php:169
158 | msgid "Waiting ticket cannot be saved"
159 | msgstr "Incidência de espera não pode ser guardada"
160 |
161 | #: inc/waitingticket.class.php:175
162 | msgid "Report date is inferior of today's date"
163 | msgstr "Data de reporte é inferior à data de hoje"
164 |
165 | #: inc/waitingticket.class.php:386 inc/waitingticket.class.php:426
166 | msgid "Ticket suspension history"
167 | msgstr "Histórico de suspensão da incidência"
168 |
169 | #: inc/waitingticket.class.php:389
170 | msgid "Suspension date"
171 | msgstr "Data de suspensão"
172 |
173 | #: inc/waitingticket.class.php:393
174 | msgid "Suspension end date"
175 | msgstr "Fim da data de suspensão"
176 |
177 | #: inc/waitingticket.class.php:751
178 | msgid "End of standby ticket"
179 | msgstr "Fim de espera da incidência"
180 |
181 | #: inc/waitingtype.class.php:48
182 | msgid "Waiting type"
183 | msgid_plural "Waiting types"
184 | msgstr[0] "Tipo de espera"
185 | msgstr[1] "Tipos de espera"
186 |
--------------------------------------------------------------------------------
/locales/ru_RU.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/InfotelGLPI/moreticket/d9670131d085de22aeb62784009c494c4c86afff/locales/ru_RU.mo
--------------------------------------------------------------------------------
/locales/ru_RU.po:
--------------------------------------------------------------------------------
1 | # SOME DESCRIPTIVE TITLE.
2 | # Copyright (C) YEAR MoreTicket Development Team
3 | # This file is distributed under the same license as the GLPI - MoreTicket plugin package.
4 | #
5 | # Translators:
6 | # Alexey Petukhov , 2016
7 | # Andrey Saridzha, 2015
8 | msgid ""
9 | msgstr ""
10 | "Project-Id-Version: GLPI Project - moreticket plugin\n"
11 | "Report-Msgid-Bugs-To: \n"
12 | "POT-Creation-Date: 2019-02-26 15:54+0100\n"
13 | "PO-Revision-Date: 2019-02-26 15:09+0000\n"
14 | "Last-Translator: Mathieu Templier \n"
15 | "Language-Team: Russian (Russia) (http://www.transifex.com/tsmr/GLPI_moreticket/language/ru_RU/)\n"
16 | "MIME-Version: 1.0\n"
17 | "Content-Type: text/plain; charset=UTF-8\n"
18 | "Content-Transfer-Encoding: 8bit\n"
19 | "Language: ru_RU\n"
20 | "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n"
21 |
22 | #: hook.php:200 inc/waitingticket.class.php:139
23 | #: inc/waitingticket.class.php:238 inc/waitingticket.class.php:317
24 | #: inc/waitingticket.class.php:390
25 | msgid "Reason"
26 | msgstr "Причина"
27 |
28 | #: hook.php:208 inc/waitingticket.class.php:131
29 | #: inc/waitingticket.class.php:253 inc/waitingticket.class.php:332
30 | #: inc/waitingticket.class.php:392
31 | msgid "Postponement date"
32 | msgstr "Дата отсрочки"
33 |
34 | #: hook.php:228 hook.php:235 hook.php:242 hook.php:249
35 | #: inc/closeticket.class.php:75 inc/closeticket.class.php:79
36 | #: inc/closeticket.class.php:121 inc/closeticket.class.php:178
37 | #: inc/closeticket.class.php:326 inc/closeticket.class.php:380
38 | #: inc/config.class.php:167
39 | msgid "Close ticket informations"
40 | msgstr "Информация о закрытии заявки"
41 |
42 | #: setup.php:94 inc/profile.class.php:49 inc/profile.class.php:194
43 | msgid "More ticket"
44 | msgstr "Еще заявка"
45 |
46 | #: front/config.form.php:66
47 | msgid "Please activate the plugin"
48 | msgstr "Включите плагин"
49 |
50 | #: inc/closeticket.class.php:135 inc/closeticket.class.php:479
51 | msgid "Solution description"
52 | msgstr "Описание решения"
53 |
54 | #: inc/closeticket.class.php:154
55 | msgid "Ticket cannot be closed"
56 | msgstr "Заявка не может быть закрыта"
57 |
58 | #: inc/closeticket.class.php:576
59 | #, php-format
60 | msgid "%1$s added closing informations"
61 | msgstr "%1$s добавлена информация при закрытии"
62 |
63 | #: inc/closeticket.class.php:595
64 | #, php-format
65 | msgid "%1$s updated closing informations"
66 | msgstr "%1$s обновлена информация при закрытии"
67 |
68 | #: inc/closeticket.class.php:614
69 | #, php-format
70 | msgid "%1$s deleted closing informations"
71 | msgstr "%1$s удалена информация при закрытии"
72 |
73 | #: inc/config.class.php:98
74 | msgid "Ticket waiting"
75 | msgstr ""
76 |
77 | #: inc/config.class.php:102
78 | msgid "Use waiting process"
79 | msgstr "Использовать процесс ожидания"
80 |
81 | #: inc/config.class.php:120
82 | msgid "Report date is mandatory"
83 | msgstr "Дата отчета является обязательным"
84 |
85 | #: inc/config.class.php:127
86 | msgid "Waiting type is mandatory"
87 | msgstr "Тип ожидания является обязательным"
88 |
89 | #: inc/config.class.php:134
90 | msgid "Waiting reason is mandatory"
91 | msgstr "Причина ожидания является обязательной"
92 |
93 | #: inc/config.class.php:140
94 | msgid "Ticket resolution and close"
95 | msgstr ""
96 |
97 | #: inc/config.class.php:142
98 | msgid "Use solution process"
99 | msgstr "Использовать процесс решения"
100 |
101 | #: inc/config.class.php:160
102 | msgid "Solution type is mandatory"
103 | msgstr "Тип решения является обязательным"
104 |
105 | #: inc/config.class.php:173
106 | msgid "Status used to display solution bloc"
107 | msgstr "Использовать статус для отображения блока решения"
108 |
109 | #: inc/config.class.php:186
110 | msgid "Add a followup on immediate ticket closing"
111 | msgstr "Добавить заметку на немедленное закрытие заявки"
112 |
113 | #: inc/config.class.php:192
114 | msgid "Use the 'Duration' field in the add solution interface"
115 | msgstr ""
116 |
117 | #: inc/config.class.php:206
118 | msgid "Mandatory 'Duration' field"
119 | msgstr ""
120 |
121 | #: inc/config.class.php:211
122 | msgid "Ticket urgency"
123 | msgstr ""
124 |
125 | #: inc/config.class.php:213
126 | msgid "Use a justification of the urgency field"
127 | msgstr "Использовать обоснование для поля срочности"
128 |
129 | #: inc/config.class.php:229
130 | msgid "Urgency impacted justification for the field"
131 | msgstr "Обоснование влияния срочности для заявки"
132 |
133 | #: inc/profile.class.php:158
134 | msgid "Adding a justification of urgency"
135 | msgstr "Добавлять обоснование срочности"
136 |
137 | #: inc/profile.class.php:166
138 | msgid "Hide task duration in tickets"
139 | msgstr ""
140 |
141 | #: inc/urgencyticket.class.php:69 inc/urgencyticket.class.php:155
142 | msgid "Justification"
143 | msgstr "Обоснование"
144 |
145 | #: inc/urgencyticket.class.php:92
146 | msgid "Urgency ticket cannot be saved"
147 | msgstr "Срочная заявка не может быть сохранена"
148 |
149 | #: inc/urgencyticket.class.php:94 inc/waitingticket.class.php:171
150 | msgid "Ticket cannot be saved"
151 | msgstr "Заявка не может быть сохранена"
152 |
153 | #: inc/waitingticket.class.php:65
154 | msgid "Waiting ticket"
155 | msgid_plural "Waiting tickets"
156 | msgstr[0] "Ожидающая заявка"
157 | msgstr[1] "Ожидающая заявка"
158 | msgstr[2] "Ожидающая заявка"
159 | msgstr[3] "Ожидающие заявки"
160 |
161 | #: inc/waitingticket.class.php:169
162 | msgid "Waiting ticket cannot be saved"
163 | msgstr "Ожидающая заявка не может быть сохранена"
164 |
165 | #: inc/waitingticket.class.php:175
166 | msgid "Report date is inferior of today's date"
167 | msgstr "Дата отчета позднее сегодняшней даты"
168 |
169 | #: inc/waitingticket.class.php:386 inc/waitingticket.class.php:426
170 | msgid "Ticket suspension history"
171 | msgstr "История приостановки заявок"
172 |
173 | #: inc/waitingticket.class.php:389
174 | msgid "Suspension date"
175 | msgstr "Дата приостановки"
176 |
177 | #: inc/waitingticket.class.php:393
178 | msgid "Suspension end date"
179 | msgstr "Дата возобновления"
180 |
181 | #: inc/waitingticket.class.php:751
182 | msgid "End of standby ticket"
183 | msgstr "Конец ожидания заявки"
184 |
185 | #: inc/waitingtype.class.php:48
186 | msgid "Waiting type"
187 | msgid_plural "Waiting types"
188 | msgstr[0] "Тип ожидания"
189 | msgstr[1] "Типы ожидания"
190 | msgstr[2] "Типы ожидания"
191 | msgstr[3] "Типы ожидания"
192 |
--------------------------------------------------------------------------------
/moreticket.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/InfotelGLPI/moreticket/d9670131d085de22aeb62784009c494c4c86afff/moreticket.png
--------------------------------------------------------------------------------
/scripts/moreticket.js.php:
--------------------------------------------------------------------------------
1 | .
27 | --------------------------------------------------------------------------
28 | */
29 |
30 | include('../../../inc/includes.php');
31 |
32 | //change mimetype
33 | header("Content-type: application/javascript");
34 |
35 | //not executed in self-service interface & right verification
36 | if (Session::getCurrentInterface() == "central") {
37 |
38 | $config = new PluginMoreticketConfig();
39 | $use_waiting = $config->useWaiting();
40 | $use_solution = $config->useSolution();
41 | $use_question = $config->useQuestion();
42 | $solution_status = $config->solutionStatus();
43 |
44 | $params = ['root_doc' => PLUGIN_MORETICKET_WEBDIR,
45 | 'waiting' => CommonITILObject::WAITING,
46 | 'closed' => CommonITILObject::CLOSED,
47 | 'use_waiting' => $use_waiting,
48 | 'use_solution' => $use_solution,
49 | 'use_question' => $use_question,
50 | 'solution_status' => $solution_status];
51 |
52 | echo "moreticket(" . json_encode($params) . ");";
53 | }
54 |
--------------------------------------------------------------------------------
/scripts/moreticket_load_scripts.js.php:
--------------------------------------------------------------------------------
1 |
7 |
8 | var root_moreticket_doc = "";
9 | (function ($) {
10 | $.fn.moreticket_load_scripts = function () {
11 |
12 | init();
13 |
14 | // Start the plugin
15 | function init() {
16 |
17 | // Send data
18 | $.ajax({
19 | url: root_moreticket_doc + '/ajax/loadscripts.php',
20 | type: "POST",
21 | dataType: "html",
22 | data: 'action=load',
23 | success: function (response, opts) {
24 | var scripts, scriptsFinder = /