";
222 | echo "" . __('Add a question', 'satisfaction') . " |
";
223 |
224 | echo "";
225 | echo "" . self::getTypeName(1) . " : | ";
226 | echo "";
227 | echo Html::textarea([
228 | 'name' => 'name',
229 | 'value' => $surveyquestion->fields["name"],
230 | 'cols' => '50',
231 | 'rows' => '4',
232 | 'display' => false,
233 | ]);
234 | echo " | ";
235 | echo Html::hidden(self::$items_id, ['value' =>$surveyquestion->fields[self::$items_id]]);
236 | echo "";
237 | echo "" . __('Comments') . " | ";
238 | echo "";
239 | echo Html::textarea([
240 | 'name' => 'comment',
241 | 'value' => $surveyquestion->fields["comment"],
242 | 'cols' => '60',
243 | 'rows' => '6',
244 | 'display' => false,
245 | ]);
246 | echo " |
";
247 |
248 | echo "";
249 | echo "" . __('Type') . " | ";
250 | echo "";
251 | $array = self::getQuestionTypeList();
252 | Dropdown::showFromArray('type', $array, ['value' => $surveyquestion->fields['type'],
253 | 'on_change' => "plugin_satisfaction_loadtype(this.value, \"" . self::NOTE . "\");"]);
254 |
255 | $script = "function plugin_satisfaction_loadtype(val, note){";
256 | $script .= "if(val == note) {
257 | $('#show_note').show();
258 | } else {
259 | $('#show_note').hide();
260 | }";
261 | $script .= "};";
262 |
263 | echo Html::scriptBlock($script);
264 | $style = ($surveyquestion->fields['type'] == self::NOTE) ? "" : "style='display: none '";
265 | echo " | ";
266 | echo "
";
267 |
268 | echo "";
269 | echo "";
270 | echo __('Note on', 'satisfaction');
271 | echo " | ";
272 | echo "";
273 | Dropdown::showNumber('number', ['max' => 10,
274 | 'min' => 2,
275 | 'value' => $surveyquestion->fields['number'],
276 | 'on_change' => "plugin_satisfaction_load_defaultvalue(\"" . Plugin::getWebDir('satisfaction') . "\", this.value);"]);
277 | echo " | ";
278 |
279 | if (!empty($surveyquestion->fields['number'])) {
280 | $max_default_value = $surveyquestion->fields['number'];
281 | } else {
282 | $max_default_value = 2;
283 | }
284 |
285 | echo "";
286 | echo __('Default value');
287 | echo " | ";
288 | echo "";
289 | Dropdown::showNumber('default_value', ['max' => $max_default_value,
290 | 'min' => 1,
291 | 'value' => $surveyquestion->fields['default_value']]);
292 |
293 | echo " | ";
294 | echo "
";
295 |
296 | echo "";
297 | echo "";
298 | if ($ID <= 0) {
299 | echo Html::hidden(self::$items_id, ['value' => $survey->getField('id')]);
300 | echo Html::submit(_sx('button', 'Add'), ['name' => 'add', 'class' => 'btn btn-primary']);
301 | } else {
302 | echo Html::hidden('id', ['value' => $ID]);
303 | echo Html::submit(_sx('button', 'Save'), ['name' => 'update', 'class' => 'btn btn-primary']);
304 | }
305 | echo " | ";
306 | echo "
";
307 | echo "
";
308 |
309 | Html::closeForm();
310 | }
311 |
312 | /**
313 | * Display line with name & type
314 | *
315 | * @param $canedit
316 | * @param $rand
317 | */
318 | function showOne($canedit, $canpurge, $rand) {
319 | global $CFG_GLPI;
320 |
321 | $style = '';
322 | if ($canedit) {
323 | $style = "style='cursor:pointer' onClick=\"viewEditQuestion" .
324 | $this->fields[self::$items_id] .
325 | $this->fields['id'] . "$rand();\"" .
326 | " id='viewquestion" . $this->fields[self::$items_id] . $this->fields["id"] . "$rand'";
327 | }
328 | echo "
";
329 |
330 | if ($canpurge) {
331 | echo "";
332 | Html::showMassiveActionCheckBox(__CLASS__, $this->fields["id"]);
333 | echo " | ";
334 | }
335 |
336 | if ($canedit) {
337 | echo "\n\n";
347 | }
348 |
349 | $name = $this->fields["name"];
350 |
351 | echo "" . nl2br($name) . " | ";
352 | echo "" . self::getQuestionType($this->fields["type"]) . " | ";
353 | echo "
";
354 | }
355 |
356 | /**
357 | * List of question types
358 | *
359 | * @return array
360 | */
361 | static function getQuestionTypeList() {
362 | $array = [];
363 | $array[self::YESNO] = __('Yes') . '/' . __('No');
364 | $array[self::TEXTAREA] = __('Text', 'satisfaction');
365 | $array[self::NOTE] = __('Note', 'satisfaction');
366 | return $array;
367 | }
368 |
369 | /**
370 | * Return the type
371 | *
372 | * @return array
373 | */
374 | static function getQuestionType($type) {
375 | switch ($type) {
376 | case self::YESNO :
377 | return __('Yes') . '/' . __('No');
378 | case self::TEXTAREA :
379 | return __('Text', 'satisfaction');
380 | case self::NOTE :
381 | return __('Note', 'satisfaction');
382 | }
383 | return "";
384 |
385 | }
386 |
387 | /**
388 | * Get the standard massive actions which are forbidden
389 | *
390 | * @since version 0.84
391 | *
392 | * @return an array of massive actions
393 | **/
394 | public function getForbiddenStandardMassiveAction() {
395 |
396 | $forbidden = parent::getForbiddenStandardMassiveAction();
397 | $forbidden[] = 'update';
398 | return $forbidden;
399 | }
400 |
401 | }
402 |
--------------------------------------------------------------------------------
/inc/surveyresult.class.php:
--------------------------------------------------------------------------------
1 | .
27 | --------------------------------------------------------------------------
28 | */
29 |
30 |
31 | /**
32 | * Class PluginSatisfactionSurveyResult
33 | */
34 | class PluginSatisfactionSurveyResult extends CommonDBChild {
35 |
36 | static $rightname = "plugin_satisfaction";
37 | public $dohistory = true;
38 |
39 | // From CommonDBChild
40 | public static $itemtype = 'PluginSatisfactionSurvey';
41 | public static $items_id = 'plugin_satisfaction_surveys_id';
42 |
43 | /**
44 | * Return the localized name of the current Type
45 | * Should be overloaded in each new class
46 | *
47 | * @return string
48 | **/
49 | static function getTypeName($nb = 0) {
50 | return _n('Result of the survey', 'Results of the survey', $nb, 'satisfaction');
51 | }
52 |
53 |
54 | /**
55 | * Get Tab Name used for itemtype
56 | *
57 | * NB : Only called for existing object
58 | * Must check right on what will be displayed + template
59 | *
60 | * @since version 0.83
61 | *
62 | * @param $item CommonDBTM object for which the tab need to be displayed
63 | * @param $withtemplate boolean is a template object ? (default 0)
64 | *
65 | * @return string tab name
66 | **/
67 | function getTabNameForItem(CommonGLPI $item, $withtemplate = 0) {
68 |
69 | // can exists for template
70 | if ($item->getType() == 'PluginSatisfactionSurvey') {
71 | return __('Result', 'satisfaction');
72 | }
73 |
74 | return '';
75 | }
76 |
77 |
78 | /**
79 | * show Tab content
80 | *
81 | * @since version 0.83
82 | *
83 | * @param $item CommonGLPI object for which the tab need to be displayed
84 | * @param $tabnum integer tab number (default 1)
85 | * @param $withtemplate boolean is a template object ? (default 0)
86 | *
87 | * @return true
88 | **/
89 | static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0) {
90 | if ($item->getType() == 'PluginSatisfactionSurvey') {
91 | self::showResult($item);
92 |
93 | }
94 | return true;
95 | }
96 |
97 | static function showResult(PluginSatisfactionSurvey $item) {
98 | global $DB;
99 |
100 | if (isset($_GET["start"])) {
101 | $start = intval($_GET["start"]);
102 | } else {
103 | $start = 0;
104 | }
105 |
106 | // Total Number of events
107 | $total_number = countElementsInTable("glpi_plugin_satisfaction_surveyanswers",
108 | ['plugin_satisfaction_surveys_id' => $item->getID()]);
109 |
110 | // No Events in database
111 | if ($total_number == 0) {
112 | echo "
";
113 | echo "
";
114 | echo "" . __('No result of the survey', 'satisfaction') . " | ";
115 | echo "
---|
";
116 | echo "
";
117 | return;
118 | }
119 |
120 | // Display the pager
121 | Html::printAjaxPager(self::getTypeName(1), $start, $total_number, '', true);
122 |
123 |
124 | echo "
";
125 | echo "
";
126 | if ($total_number > 0) {
127 | echo "";
128 | echo "" . __('ID') . " | ";
129 | echo "" . __('Ticket') . " | ";
130 |
131 | $squestion_obj = new PluginSatisfactionSurveyQuestion;
132 | foreach ($squestion_obj->find([PluginSatisfactionSurveyQuestion::$items_id => $item->getID()]) as $question) {
133 | echo "" . nl2br($question['name']) . " | ";
134 | }
135 | echo "".__('Satisfaction with the resolution of the ticket')." | ";
136 | echo "".__('Comments')." | ";
137 | echo "".__('Response date to the satisfaction survey')." | ";
138 | echo "
";
139 |
140 | $dbu = new DbUtils();
141 | $obj_survey_answer = new PluginSatisfactionSurveyAnswer();
142 |
143 | $query = [
144 | 'FROM' => 'glpi_plugin_satisfaction_surveyanswers',
145 | 'WHERE' => [
146 | 'plugin_satisfaction_surveys_id' => $item->getID(),
147 | ],
148 | 'ORDER' => 'id DESC'
149 | ];
150 | $query['START'] = (int)$start;
151 | $query['LIMIT'] = (int)$_SESSION['glpilist_limit'];
152 |
153 | $iterator = $DB->request($query);
154 | foreach ($iterator as $data) {
155 | echo "";
156 |
157 | $ticket_satisfaction = new TicketSatisfaction();
158 | $ticket_satisfaction->getFromDBByRequest(['WHERE' =>
159 | ["id" => $data['ticketsatisfactions_id']]]);
160 |
161 | $ticket = new Ticket();
162 | $ticket->getFromDB($ticket_satisfaction->getField('tickets_id'));
163 | echo "" . $ticket_satisfaction->getField('tickets_id') . " | ";
164 | echo "" . $ticket->getLink() . " | ";
165 |
166 | $answers = $dbu->importArrayFromDB($data['answer']);
167 | foreach ($answers as $questions_id => $answer) {
168 | echo "";
169 | $squestion_obj->getFromDB($questions_id);
170 | echo $obj_survey_answer->getAnswer($squestion_obj->fields, $answer);
171 | echo " | ";
172 | }
173 | echo "" . $ticket_satisfaction->getField('satisfaction') . " | ";
174 | echo "" . $ticket_satisfaction->getField('comment') . " | ";
175 | $date_answered = "";
176 | if (!empty($ticket_satisfaction->getField('date_answered'))) {
177 | $date_answered = $ticket_satisfaction->getField('date_answered');
178 | }
179 | echo "" . Html::convDateTime($date_answered). " | ";
180 | echo "
";
181 | }
182 |
183 | }
184 |
185 | echo "
";
186 | echo "
";
187 | }
188 | }
189 |
--------------------------------------------------------------------------------
/inc/surveytranslation.dao.php:
--------------------------------------------------------------------------------
1 | .
27 | --------------------------------------------------------------------------
28 | */
29 |
30 |
31 | if (!defined('GLPI_ROOT')) {
32 | die("Sorry. You can't access this file directly");
33 | }
34 |
35 | class PluginSatisfactionSurveyTranslationDAO{
36 |
37 | static $tablename = "glpi_plugin_satisfaction_surveytranslations";
38 |
39 | static function getSurveyTranslationByCrit($crit = []){
40 | global $DB;
41 | $datas = [];
42 |
43 | $query = "SELECT * FROM `".self::$tablename."`";
44 | if(!empty($crit)){
45 | $it = 0;
46 | foreach($crit as $key=>$value){
47 | if($it == 0){
48 | $query.= " WHERE ";
49 | }else{
50 | $query.= " AND ";
51 | }
52 | if(is_string($value)){
53 | $query.= "`$key` = '".$value."'";
54 | }else{
55 | $query.= "`$key` = ".$value;
56 | }
57 | $it++;
58 | }
59 | }
60 |
61 | $result = $DB->query($query);
62 |
63 | while ($data = $DB->fetchAssoc($result)) {
64 | $datas[] = $data;
65 | }
66 | return $datas;
67 | }
68 |
69 | static function countSurveyTranslationByCrit($crit = []){
70 | global $DB;
71 |
72 | $query = "SELECT count(*) as nb FROM `".self::$tablename."`";
73 | if(!empty($crit)){
74 | $it = 0;
75 | foreach($crit as $key=>$value){
76 | if($it == 0){
77 | $query.= " WHERE ";
78 | }else{
79 | $query.= " AND ";
80 | }
81 | if(is_string($value)){
82 | $query.= "`$key` = '".$value."'";
83 | }else{
84 | $query.= "`$key` = ".$value;
85 | }
86 |
87 | $it++;
88 | }
89 | }
90 |
91 | $result = $DB->query($query);
92 | while ($data = $DB->fetchAssoc($result)) {
93 | return $data['nb'];
94 | }
95 | return 0;
96 | }
97 |
98 | static function getSurveyTranslationByID($ID){
99 | global $DB;
100 |
101 | $query = "SELECT * FROM `".self::$tablename."`";
102 | $query .=" WHERE `id` = ".$ID;
103 |
104 | $result = $DB->query($query);
105 | while ($data = $DB->fetchAssoc($result)) {
106 | return $data;
107 | }
108 | }
109 |
110 | static function newSurveyTranslation($surveyId, $questionId, $language, $value){
111 | global $DB;
112 |
113 | $query = "INSERT INTO `".self::$tablename."`";
114 | $query .= " (`plugin_satisfaction_surveys_id`, `glpi_plugin_satisfaction_surveyquestions_id`, `language`, `value`)";
115 | $query .= " VALUES(".$surveyId.",".$questionId.",'".$language."','".$value."')";
116 |
117 | if($DB->query($query)){
118 | return $DB->insertId();
119 | }else{
120 | return null;
121 | }
122 | }
123 |
124 | static function editSurveyTranslation($id, $value){
125 | global $DB;
126 |
127 | $query = "UPDATE `".self::$tablename."`";
128 | $query .= " SET `value` = '".$value."'";
129 | $query .= " WHERE `id` = ".$id;
130 |
131 | return ($DB->query($query));
132 | }
133 | }
134 |
--------------------------------------------------------------------------------
/index.php:
--------------------------------------------------------------------------------
1 | .
27 | --------------------------------------------------------------------------
28 | */
29 |
--------------------------------------------------------------------------------
/install/sql/empty-1.1.0.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE `glpi_plugin_satisfaction_surveys` (
2 | `id` int(11) NOT NULL AUTO_INCREMENT,
3 | `entities_id` int(11) NOT NULL DEFAULT 0,
4 | `is_recursive` tinyint(1) NOT NULL default '0',
5 | `is_active` tinyint(1) NOT NULL default '0',
6 | `name` varchar(255) collate utf8_unicode_ci default NULL,
7 | `comment` text collate utf8_unicode_ci default NULL,
8 | `date_creation` date default NULL,
9 | `date_mod` datetime default NULL,
10 | PRIMARY KEY (`id`)
11 | ) ENGINE = MYISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
12 |
13 | CREATE TABLE `glpi_plugin_satisfaction_surveyquestions` (
14 | `id` int(11) NOT NULL AUTO_INCREMENT,
15 | `plugin_satisfaction_surveys_id` int(11) NOT NULL,
16 | `name` text collate utf8_unicode_ci default NULL,
17 | `type` varchar(255) collate utf8_unicode_ci default NULL,
18 | `comment` text collate utf8_unicode_ci default NULL,
19 | `number` int(11) NOT NULL DEFAULT 0,
20 | PRIMARY KEY (`id`)
21 | ) ENGINE = MYISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
22 |
23 | CREATE TABLE `glpi_plugin_satisfaction_surveyanswers` (
24 | `id` int(11) NOT NULL AUTO_INCREMENT,
25 | `answer` text collate utf8_unicode_ci default NULL,
26 | `comment` text collate utf8_unicode_ci default NULL,
27 | `plugin_satisfaction_surveys_id` int(11) NOT NULL,
28 | `ticketsatisfactions_id` int(11) NOT NULL,
29 | PRIMARY KEY (`id`)
30 | ) ENGINE = MYISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--------------------------------------------------------------------------------
/install/sql/empty-1.2.2.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE `glpi_plugin_satisfaction_surveys` (
2 | `id` int(11) NOT NULL AUTO_INCREMENT,
3 | `entities_id` int(11) NOT NULL DEFAULT 0,
4 | `is_recursive` tinyint(1) NOT NULL default '0',
5 | `is_active` tinyint(1) NOT NULL default '0',
6 | `name` varchar(255) collate utf8_unicode_ci default NULL,
7 | `comment` text collate utf8_unicode_ci default NULL,
8 | `date_creation` date default NULL,
9 | `date_mod` datetime default NULL,
10 | PRIMARY KEY (`id`)
11 | ) ENGINE = MYISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
12 |
13 | CREATE TABLE `glpi_plugin_satisfaction_surveyquestions` (
14 | `id` int(11) NOT NULL AUTO_INCREMENT,
15 | `plugin_satisfaction_surveys_id` int(11) NOT NULL,
16 | `name` text collate utf8_unicode_ci default NULL,
17 | `type` varchar(255) collate utf8_unicode_ci default NULL,
18 | `comment` text collate utf8_unicode_ci default NULL,
19 | `number` int(11) NOT NULL DEFAULT 0,
20 | `default_value` int(11) NOT NULL DEFAULT 1,
21 | PRIMARY KEY (`id`)
22 | ) ENGINE = MYISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
23 |
24 | CREATE TABLE `glpi_plugin_satisfaction_surveyanswers` (
25 | `id` int(11) NOT NULL AUTO_INCREMENT,
26 | `answer` text collate utf8_unicode_ci default NULL,
27 | `comment` text collate utf8_unicode_ci default NULL,
28 | `plugin_satisfaction_surveys_id` int(11) NOT NULL,
29 | `ticketsatisfactions_id` int(11) NOT NULL,
30 | PRIMARY KEY (`id`)
31 | ) ENGINE = MYISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--------------------------------------------------------------------------------
/install/sql/empty-1.3.0.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE `glpi_plugin_satisfaction_surveys` (
2 | `id` int(11) NOT NULL AUTO_INCREMENT,
3 | `entities_id` int(11) NOT NULL DEFAULT 0,
4 | `is_recursive` tinyint(1) NOT NULL default '0',
5 | `is_active` tinyint(1) NOT NULL default '0',
6 | `name` varchar(255) collate utf8_unicode_ci default NULL,
7 | `comment` text collate utf8_unicode_ci default NULL,
8 | `date_creation` date default NULL,
9 | `date_mod` datetime default NULL,
10 | PRIMARY KEY (`id`)
11 | ) ENGINE = InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
12 |
13 | CREATE TABLE `glpi_plugin_satisfaction_surveyquestions` (
14 | `id` int(11) NOT NULL AUTO_INCREMENT,
15 | `plugin_satisfaction_surveys_id` int(11) NOT NULL,
16 | `name` text collate utf8_unicode_ci default NULL,
17 | `type` varchar(255) collate utf8_unicode_ci default NULL,
18 | `comment` text collate utf8_unicode_ci default NULL,
19 | `number` int(11) NOT NULL DEFAULT 0,
20 | `default_value` int(11) NOT NULL DEFAULT 1,
21 | PRIMARY KEY (`id`)
22 | ) ENGINE = InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
23 |
24 | CREATE TABLE `glpi_plugin_satisfaction_surveyanswers` (
25 | `id` int(11) NOT NULL AUTO_INCREMENT,
26 | `answer` text collate utf8_unicode_ci default NULL,
27 | `comment` text collate utf8_unicode_ci default NULL,
28 | `plugin_satisfaction_surveys_id` int(11) NOT NULL,
29 | `ticketsatisfactions_id` int(11) NOT NULL,
30 | PRIMARY KEY (`id`)
31 | ) ENGINE = InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--------------------------------------------------------------------------------
/install/sql/empty-1.4.1.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE `glpi_plugin_satisfaction_surveys` (
2 | `id` int(11) NOT NULL AUTO_INCREMENT,
3 | `entities_id` int(11) NOT NULL DEFAULT 0,
4 | `is_recursive` tinyint(1) NOT NULL default '0',
5 | `is_active` tinyint(1) NOT NULL default '0',
6 | `name` varchar(255) collate utf8_unicode_ci default NULL,
7 | `comment` text collate utf8_unicode_ci default NULL,
8 | `date_creation` date default NULL,
9 | `date_mod` datetime default NULL,
10 | PRIMARY KEY (`id`)
11 | ) ENGINE = InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
12 |
13 | CREATE TABLE `glpi_plugin_satisfaction_surveyquestions` (
14 | `id` int(11) NOT NULL AUTO_INCREMENT,
15 | `plugin_satisfaction_surveys_id` int(11) NOT NULL,
16 | `name` text collate utf8_unicode_ci default NULL,
17 | `type` varchar(255) collate utf8_unicode_ci default NULL,
18 | `comment` text collate utf8_unicode_ci default NULL,
19 | `number` int(11) NOT NULL DEFAULT 0,
20 | `default_value` int(11) NOT NULL DEFAULT 1,
21 | PRIMARY KEY (`id`)
22 | ) ENGINE = InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
23 |
24 | CREATE TABLE `glpi_plugin_satisfaction_surveyanswers` (
25 | `id` int(11) NOT NULL AUTO_INCREMENT,
26 | `answer` text collate utf8_unicode_ci default NULL,
27 | `comment` text collate utf8_unicode_ci default NULL,
28 | `plugin_satisfaction_surveys_id` int(11) NOT NULL,
29 | `ticketsatisfactions_id` int(11) NOT NULL,
30 | PRIMARY KEY (`id`)
31 | ) ENGINE = InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
32 |
33 | ### Dump table glpi_plugin_satisfaction_surveytranslations
34 |
35 | DROP TABLE IF EXISTS `glpi_plugin_satisfaction_surveytranslations`;
36 | CREATE TABLE `glpi_plugin_satisfaction_surveytranslations` (
37 | `id` int(11) NOT NULL AUTO_INCREMENT,
38 | `plugin_satisfaction_surveys_id` int(11) NOT NULL DEFAULT '0',
39 | `glpi_plugin_satisfaction_surveyquestions_id` int(11) NOT NULL DEFAULT '0',
40 | `language` varchar(5) COLLATE utf8_unicode_ci DEFAULT NULL,
41 | `value` text COLLATE utf8_unicode_ci,
42 | PRIMARY KEY (`id`),
43 | UNIQUE KEY `unicity` (`plugin_satisfaction_surveys_id`,`glpi_plugin_satisfaction_surveyquestions_id`,`language`),
44 | KEY `typeid` (`plugin_satisfaction_surveys_id`,`glpi_plugin_satisfaction_surveyquestions_id`),
45 | KEY `language` (`language`)
46 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--------------------------------------------------------------------------------
/install/sql/empty-1.4.3.sql:
--------------------------------------------------------------------------------
1 | # noinspection SqlNoDataSourceInspectionForFile
2 |
3 | CREATE TABLE `glpi_plugin_satisfaction_surveys` (
4 | `id` int(11) NOT NULL AUTO_INCREMENT,
5 | `entities_id` int(11) NOT NULL DEFAULT 0,
6 | `is_recursive` tinyint(1) NOT NULL default '0',
7 | `is_active` tinyint(1) NOT NULL default '0',
8 | `name` varchar(255) collate utf8_unicode_ci default NULL,
9 | `comment` text collate utf8_unicode_ci default NULL,
10 | `date_creation` date default NULL,
11 | `date_mod` datetime default NULL,
12 | PRIMARY KEY (`id`)
13 | ) ENGINE = InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
14 |
15 | CREATE TABLE `glpi_plugin_satisfaction_surveyquestions` (
16 | `id` int(11) NOT NULL AUTO_INCREMENT,
17 | `plugin_satisfaction_surveys_id` int(11) NOT NULL,
18 | `name` text collate utf8_unicode_ci default NULL,
19 | `type` varchar(255) collate utf8_unicode_ci default NULL,
20 | `comment` text collate utf8_unicode_ci default NULL,
21 | `number` int(11) NOT NULL DEFAULT 0,
22 | `default_value` int(11) NOT NULL DEFAULT 1,
23 | PRIMARY KEY (`id`)
24 | ) ENGINE = InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
25 |
26 | CREATE TABLE `glpi_plugin_satisfaction_surveyanswers` (
27 | `id` int(11) NOT NULL AUTO_INCREMENT,
28 | `answer` text collate utf8_unicode_ci default NULL,
29 | `comment` text collate utf8_unicode_ci default NULL,
30 | `plugin_satisfaction_surveys_id` int(11) NOT NULL,
31 | `ticketsatisfactions_id` int(11) NOT NULL,
32 | PRIMARY KEY (`id`)
33 | ) ENGINE = InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
34 |
35 | DROP TABLE IF EXISTS `glpi_plugin_satisfaction_surveytranslations`;
36 | CREATE TABLE `glpi_plugin_satisfaction_surveytranslations` (
37 | `id` int(11) NOT NULL AUTO_INCREMENT,
38 | `plugin_satisfaction_surveys_id` int(11) NOT NULL DEFAULT '0',
39 | `glpi_plugin_satisfaction_surveyquestions_id` int(11) NOT NULL DEFAULT '0',
40 | `language` varchar(5) COLLATE utf8_unicode_ci DEFAULT NULL,
41 | `value` text COLLATE utf8_unicode_ci,
42 | PRIMARY KEY (`id`),
43 | UNIQUE KEY `unicity` (`plugin_satisfaction_surveys_id`,`glpi_plugin_satisfaction_surveyquestions_id`,`language`),
44 | KEY `typeid` (`plugin_satisfaction_surveys_id`,`glpi_plugin_satisfaction_surveyquestions_id`),
45 | KEY `language` (`language`)
46 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
47 |
48 | DROP TABLE IF EXISTS `glpi_plugin_satisfaction_surveyreminders`;
49 | CREATE TABLE `glpi_plugin_satisfaction_surveyreminders` (
50 | `id` int(11) NOT NULL AUTO_INCREMENT,
51 | `plugin_satisfaction_surveys_id` int(11) NOT NULL,
52 | `name` text collate utf8_unicode_ci default NULL,
53 | `duration_type` int(11) NOT NULL,
54 | `duration` int(11) NOT NULL,
55 | `is_active` tinyint(1) NOT NULL default '0',
56 | `comment` text collate utf8_unicode_ci default NULL,
57 | PRIMARY KEY (`id`)
58 | ) ENGINE = InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
59 |
60 | DROP TABLE IF EXISTS `glpi_plugin_satisfaction_reminders`;
61 | CREATE TABLE `glpi_plugin_satisfaction_reminders` (
62 | `id` int(11) NOT NULL AUTO_INCREMENT,
63 | `type` int(11) NOT NULL DEFAULT '0',
64 | `tickets_id` int(11) NOT NULL,
65 | `date` date default NULL,
66 | PRIMARY KEY (`id`),
67 | UNIQUE KEY `unicity` (`tickets_id`)
68 | ) ENGINE = InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--------------------------------------------------------------------------------
/install/sql/empty-1.4.5.sql:
--------------------------------------------------------------------------------
1 | # noinspection SqlNoDataSourceInspectionForFile
2 |
3 | CREATE TABLE `glpi_plugin_satisfaction_surveys` (
4 | `id` int(11) NOT NULL AUTO_INCREMENT,
5 | `entities_id` int(11) NOT NULL DEFAULT 0,
6 | `is_recursive` tinyint(1) NOT NULL default '0',
7 | `is_active` tinyint(1) NOT NULL default '0',
8 | `name` varchar(255) collate utf8_unicode_ci default NULL,
9 | `comment` text collate utf8_unicode_ci default NULL,
10 | `date_creation` date default NULL,
11 | `date_mod` datetime default NULL,
12 | `reminders_days` int(11) NOT NULL default '30',
13 | PRIMARY KEY (`id`)
14 | ) ENGINE = InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
15 |
16 | CREATE TABLE `glpi_plugin_satisfaction_surveyquestions` (
17 | `id` int(11) NOT NULL AUTO_INCREMENT,
18 | `plugin_satisfaction_surveys_id` int(11) NOT NULL,
19 | `name` text collate utf8_unicode_ci default NULL,
20 | `type` varchar(255) collate utf8_unicode_ci default NULL,
21 | `comment` text collate utf8_unicode_ci default NULL,
22 | `number` int(11) NOT NULL DEFAULT 0,
23 | `default_value` int(11) NOT NULL DEFAULT 1,
24 | PRIMARY KEY (`id`)
25 | ) ENGINE = InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
26 |
27 | CREATE TABLE `glpi_plugin_satisfaction_surveyanswers` (
28 | `id` int(11) NOT NULL AUTO_INCREMENT,
29 | `answer` text collate utf8_unicode_ci default NULL,
30 | `comment` text collate utf8_unicode_ci default NULL,
31 | `plugin_satisfaction_surveys_id` int(11) NOT NULL,
32 | `ticketsatisfactions_id` int(11) NOT NULL,
33 | PRIMARY KEY (`id`)
34 | ) ENGINE = InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
35 |
36 | DROP TABLE IF EXISTS `glpi_plugin_satisfaction_surveytranslations`;
37 | CREATE TABLE `glpi_plugin_satisfaction_surveytranslations` (
38 | `id` int(11) NOT NULL AUTO_INCREMENT,
39 | `plugin_satisfaction_surveys_id` int(11) NOT NULL DEFAULT '0',
40 | `glpi_plugin_satisfaction_surveyquestions_id` int(11) NOT NULL DEFAULT '0',
41 | `language` varchar(5) COLLATE utf8_unicode_ci DEFAULT NULL,
42 | `value` text COLLATE utf8_unicode_ci,
43 | PRIMARY KEY (`id`),
44 | UNIQUE KEY `unicity` (`plugin_satisfaction_surveys_id`,`glpi_plugin_satisfaction_surveyquestions_id`,`language`),
45 | KEY `typeid` (`plugin_satisfaction_surveys_id`,`glpi_plugin_satisfaction_surveyquestions_id`),
46 | KEY `language` (`language`)
47 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
48 |
49 | DROP TABLE IF EXISTS `glpi_plugin_satisfaction_surveyreminders`;
50 | CREATE TABLE `glpi_plugin_satisfaction_surveyreminders` (
51 | `id` int(11) NOT NULL AUTO_INCREMENT,
52 | `plugin_satisfaction_surveys_id` int(11) NOT NULL,
53 | `name` text collate utf8_unicode_ci default NULL,
54 | `duration_type` int(11) NOT NULL,
55 | `duration` int(11) NOT NULL,
56 | `is_active` tinyint(1) NOT NULL default '0',
57 | `comment` text collate utf8_unicode_ci default NULL,
58 | PRIMARY KEY (`id`)
59 | ) ENGINE = InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
60 |
61 | DROP TABLE IF EXISTS `glpi_plugin_satisfaction_reminders`;
62 | CREATE TABLE `glpi_plugin_satisfaction_reminders` (
63 | `id` int(11) NOT NULL AUTO_INCREMENT,
64 | `type` int(11) NOT NULL DEFAULT '0',
65 | `tickets_id` int(11) NOT NULL,
66 | `date` date default NULL,
67 | PRIMARY KEY (`id`),
68 | UNIQUE KEY `unicity` (`tickets_id`)
69 | ) ENGINE = InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--------------------------------------------------------------------------------
/install/sql/empty-1.5.0.sql:
--------------------------------------------------------------------------------
1 | # noinspection SqlNoDataSourceInspectionForFile
2 |
3 | CREATE TABLE `glpi_plugin_satisfaction_surveys` (
4 | `id` int(11) NOT NULL AUTO_INCREMENT,
5 | `entities_id` int(11) NOT NULL DEFAULT 0,
6 | `is_recursive` tinyint(1) NOT NULL default '0',
7 | `is_active` tinyint(1) NOT NULL default '0',
8 | `name` varchar(255) collate utf8_unicode_ci default NULL,
9 | `comment` text collate utf8_unicode_ci default NULL,
10 | `date_creation` timestamp NULL DEFAULT NULL,
11 | `date_mod` timestamp NULL DEFAULT NULL,
12 | `reminders_days` int(11) NOT NULL default '30',
13 | PRIMARY KEY (`id`)
14 | ) ENGINE = InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
15 |
16 | CREATE TABLE `glpi_plugin_satisfaction_surveyquestions` (
17 | `id` int(11) NOT NULL AUTO_INCREMENT,
18 | `plugin_satisfaction_surveys_id` int(11) NOT NULL,
19 | `name` text collate utf8_unicode_ci default NULL,
20 | `type` varchar(255) collate utf8_unicode_ci default NULL,
21 | `comment` text collate utf8_unicode_ci default NULL,
22 | `number` int(11) NOT NULL DEFAULT 0,
23 | `default_value` int(11) NOT NULL DEFAULT 1,
24 | PRIMARY KEY (`id`)
25 | ) ENGINE = InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
26 |
27 | CREATE TABLE `glpi_plugin_satisfaction_surveyanswers` (
28 | `id` int(11) NOT NULL AUTO_INCREMENT,
29 | `answer` text collate utf8_unicode_ci default NULL,
30 | `comment` text collate utf8_unicode_ci default NULL,
31 | `plugin_satisfaction_surveys_id` int(11) NOT NULL,
32 | `ticketsatisfactions_id` int(11) NOT NULL,
33 | PRIMARY KEY (`id`)
34 | ) ENGINE = InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
35 |
36 | DROP TABLE IF EXISTS `glpi_plugin_satisfaction_surveytranslations`;
37 | CREATE TABLE `glpi_plugin_satisfaction_surveytranslations` (
38 | `id` int(11) NOT NULL AUTO_INCREMENT,
39 | `plugin_satisfaction_surveys_id` int(11) NOT NULL DEFAULT '0',
40 | `glpi_plugin_satisfaction_surveyquestions_id` int(11) NOT NULL DEFAULT '0',
41 | `language` varchar(5) COLLATE utf8_unicode_ci DEFAULT NULL,
42 | `value` text COLLATE utf8_unicode_ci,
43 | PRIMARY KEY (`id`),
44 | UNIQUE KEY `unicity` (`plugin_satisfaction_surveys_id`,`glpi_plugin_satisfaction_surveyquestions_id`,`language`),
45 | KEY `typeid` (`plugin_satisfaction_surveys_id`,`glpi_plugin_satisfaction_surveyquestions_id`),
46 | KEY `language` (`language`)
47 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
48 |
49 | DROP TABLE IF EXISTS `glpi_plugin_satisfaction_surveyreminders`;
50 | CREATE TABLE `glpi_plugin_satisfaction_surveyreminders` (
51 | `id` int(11) NOT NULL AUTO_INCREMENT,
52 | `plugin_satisfaction_surveys_id` int(11) NOT NULL,
53 | `name` text collate utf8_unicode_ci default NULL,
54 | `duration_type` int(11) NOT NULL,
55 | `duration` int(11) NOT NULL,
56 | `is_active` tinyint(1) NOT NULL default '0',
57 | `comment` text collate utf8_unicode_ci default NULL,
58 | PRIMARY KEY (`id`)
59 | ) ENGINE = InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
60 |
61 | DROP TABLE IF EXISTS `glpi_plugin_satisfaction_reminders`;
62 | CREATE TABLE `glpi_plugin_satisfaction_reminders` (
63 | `id` int(11) NOT NULL AUTO_INCREMENT,
64 | `type` int(11) NOT NULL DEFAULT '0',
65 | `tickets_id` int(11) NOT NULL,
66 | `date` timestamp NULL DEFAULT NULL,
67 | PRIMARY KEY (`id`),
68 | UNIQUE KEY `unicity` (`tickets_id`)
69 | ) ENGINE = InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--------------------------------------------------------------------------------
/install/sql/empty-1.6.0.sql:
--------------------------------------------------------------------------------
1 | # noinspection SqlNoDataSourceInspectionForFile
2 |
3 | CREATE TABLE `glpi_plugin_satisfaction_surveys` (
4 | `id` int unsigned NOT NULL AUTO_INCREMENT,
5 | `entities_id` int unsigned NOT NULL DEFAULT 0,
6 | `is_recursive` tinyint NOT NULL default '0',
7 | `is_active` tinyint NOT NULL default '0',
8 | `name` varchar(255) collate utf8mb4_unicode_ci default NULL,
9 | `comment` text collate utf8mb4_unicode_ci default NULL,
10 | `date_creation` timestamp NULL DEFAULT NULL,
11 | `date_mod` timestamp NULL DEFAULT NULL,
12 | `reminders_days` int unsigned NOT NULL default '30',
13 | PRIMARY KEY (`id`)
14 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
15 |
16 | CREATE TABLE `glpi_plugin_satisfaction_surveyquestions` (
17 | `id` int unsigned NOT NULL AUTO_INCREMENT,
18 | `plugin_satisfaction_surveys_id` int unsigned NOT NULL,
19 | `name` text collate utf8mb4_unicode_ci default NULL,
20 | `type` varchar(255) collate utf8mb4_unicode_ci default NULL,
21 | `comment` text collate utf8mb4_unicode_ci default NULL,
22 | `number` int unsigned NOT NULL DEFAULT 0,
23 | `default_value` int unsigned NOT NULL DEFAULT 1,
24 | PRIMARY KEY (`id`)
25 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
26 |
27 | CREATE TABLE `glpi_plugin_satisfaction_surveyanswers` (
28 | `id` int unsigned NOT NULL AUTO_INCREMENT,
29 | `answer` text collate utf8mb4_unicode_ci default NULL,
30 | `comment` text collate utf8mb4_unicode_ci default NULL,
31 | `plugin_satisfaction_surveys_id` int unsigned NOT NULL,
32 | `ticketsatisfactions_id` int unsigned NOT NULL,
33 | PRIMARY KEY (`id`)
34 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
35 |
36 | DROP TABLE IF EXISTS `glpi_plugin_satisfaction_surveytranslations`;
37 | CREATE TABLE `glpi_plugin_satisfaction_surveytranslations` (
38 | `id` int unsigned NOT NULL AUTO_INCREMENT,
39 | `plugin_satisfaction_surveys_id` int unsigned NOT NULL DEFAULT '0',
40 | `glpi_plugin_satisfaction_surveyquestions_id` int unsigned NOT NULL DEFAULT '0',
41 | `language` varchar(5) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
42 | `value` text COLLATE utf8mb4_unicode_ci,
43 | PRIMARY KEY (`id`),
44 | UNIQUE KEY `unicity` (`plugin_satisfaction_surveys_id`,`glpi_plugin_satisfaction_surveyquestions_id`,`language`),
45 | KEY `typeid` (`plugin_satisfaction_surveys_id`,`glpi_plugin_satisfaction_surveyquestions_id`),
46 | KEY `language` (`language`)
47 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
48 |
49 | DROP TABLE IF EXISTS `glpi_plugin_satisfaction_surveyreminders`;
50 | CREATE TABLE `glpi_plugin_satisfaction_surveyreminders` (
51 | `id` int unsigned NOT NULL AUTO_INCREMENT,
52 | `plugin_satisfaction_surveys_id` int unsigned NOT NULL,
53 | `name` text collate utf8mb4_unicode_ci default NULL,
54 | `duration_type` int unsigned NOT NULL,
55 | `duration` int unsigned NOT NULL,
56 | `is_active` tinyint NOT NULL default '0',
57 | `comment` text collate utf8mb4_unicode_ci default NULL,
58 | PRIMARY KEY (`id`)
59 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
60 |
61 | DROP TABLE IF EXISTS `glpi_plugin_satisfaction_reminders`;
62 | CREATE TABLE `glpi_plugin_satisfaction_reminders` (
63 | `id` int unsigned NOT NULL AUTO_INCREMENT,
64 | `type` int unsigned NOT NULL DEFAULT '0',
65 | `tickets_id` int unsigned NOT NULL,
66 | `date` timestamp NULL DEFAULT NULL,
67 | PRIMARY KEY (`id`),
68 | UNIQUE KEY `unicity` (`tickets_id`)
69 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci ROW_FORMAT=DYNAMIC;
70 |
--------------------------------------------------------------------------------
/install/sql/update-1.1.0.sql:
--------------------------------------------------------------------------------
1 | ALTER TABLE `glpi_plugin_satisfaction_surveys` ADD `date_creation` date default NULL;
2 | ALTER TABLE `glpi_plugin_satisfaction_surveys` ADD `date_mod` datetime default NULL;
3 |
4 | ALTER TABLE `glpi_plugin_satisfaction_surveyquestions` ADD `type` varchar(255) collate utf8_unicode_ci default NULL;
5 | ALTER TABLE `glpi_plugin_satisfaction_surveyquestions` ADD `comment` text collate utf8_unicode_ci default NULL;
6 | ALTER TABLE `glpi_plugin_satisfaction_surveyquestions` ADD `number` int(11) NOT NULL DEFAULT 0;
7 |
8 |
9 | ALTER TABLE `glpi_plugin_satisfaction_surveyanswers` ADD `ticketsatisfactions` int(11) NOT NULL DEFAULT 0;
10 | ALTER TABLE `glpi_plugin_satisfaction_surveyanswers` DROP `tickets_id`;
11 |
--------------------------------------------------------------------------------
/install/sql/update-1.2.2.sql:
--------------------------------------------------------------------------------
1 | ALTER TABLE `glpi_plugin_satisfaction_surveyquestions` ADD `default_value` int(11) NOT NULL DEFAULT 1;
--------------------------------------------------------------------------------
/install/sql/update-1.4.1.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE `glpi_plugin_satisfaction_surveytranslations` (
2 | `id` int(11) NOT NULL AUTO_INCREMENT,
3 | `plugin_satisfaction_surveys_id` int(11) NOT NULL DEFAULT '0',
4 | `glpi_plugin_satisfaction_surveyquestions_id` int(11) NOT NULL DEFAULT '0',
5 | `language` varchar(5) COLLATE utf8_unicode_ci DEFAULT NULL,
6 | `value` text COLLATE utf8_unicode_ci,
7 | PRIMARY KEY (`id`),
8 | UNIQUE KEY `unicity` (`plugin_satisfaction_surveys_id`,`glpi_plugin_satisfaction_surveyquestions_id`,`language`),
9 | KEY `typeid` (`plugin_satisfaction_surveys_id`,`glpi_plugin_satisfaction_surveyquestions_id`),
10 | KEY `language` (`language`)
11 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--------------------------------------------------------------------------------
/install/sql/update-1.4.3.sql:
--------------------------------------------------------------------------------
1 | CREATE TABLE `glpi_plugin_satisfaction_surveyreminders` (
2 | `id` int(11) NOT NULL AUTO_INCREMENT,
3 | `plugin_satisfaction_surveys_id` int(11) NOT NULL,
4 | `name` text collate utf8_unicode_ci default NULL,
5 | `duration_type` int(11) NOT NULL,
6 | `duration` int(11) NOT NULL,
7 | `is_active` tinyint(1) NOT NULL default '0',
8 | `comment` text collate utf8_unicode_ci default NULL,
9 | PRIMARY KEY (`id`)
10 | ) ENGINE = InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
11 |
12 | CREATE TABLE `glpi_plugin_satisfaction_reminders` (
13 | `id` int(11) NOT NULL AUTO_INCREMENT,
14 | `type` int(11) NOT NULL DEFAULT '0',
15 | `tickets_id` int(11) NOT NULL,
16 | `date` date default NULL,
17 | PRIMARY KEY (`id`)
18 | ) ENGINE = InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
--------------------------------------------------------------------------------
/install/sql/update-1.4.5.sql:
--------------------------------------------------------------------------------
1 | ALTER TABLE `glpi_plugin_satisfaction_surveys` ADD `reminders_days` int(11) NOT NULL DEFAULT '30';
--------------------------------------------------------------------------------
/locales/cs_CZ.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pluginsGLPI/satisfaction/aa010b71167b74201fe8dfd8f270371cf64bc74a/locales/cs_CZ.mo
--------------------------------------------------------------------------------
/locales/cs_CZ.po:
--------------------------------------------------------------------------------
1 | # SOME DESCRIPTIVE TITLE.
2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3 | # This file is distributed under the same license as the PACKAGE package.
4 | # FIRST AUTHOR
, YEAR.
5 | #
6 | # Translators:
7 | # Pavel Borecki , 2020
8 | #
9 | #, fuzzy
10 | msgid ""
11 | msgstr ""
12 | "Project-Id-Version: PACKAGE VERSION\n"
13 | "Report-Msgid-Bugs-To: \n"
14 | "POT-Creation-Date: 2020-04-28 08:52+0200\n"
15 | "PO-Revision-Date: 2018-03-14 08:28+0000\n"
16 | "Last-Translator: Pavel Borecki , 2020\n"
17 | "Language-Team: Czech (Czech Republic) (https://www.transifex.com/infotelGLPI/teams/84146/cs_CZ/)\n"
18 | "MIME-Version: 1.0\n"
19 | "Content-Type: text/plain; charset=UTF-8\n"
20 | "Content-Transfer-Encoding: 8bit\n"
21 | "Language: cs_CZ\n"
22 | "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"
23 |
24 | #: hook.php:93
25 | msgid "Ticket Satisfaction Reminder"
26 | msgstr ""
27 |
28 | #: setup.php:62
29 | msgid "More satisfaction"
30 | msgstr "Více o spokojenosti"
31 |
32 | #: inc/dashboard.class.php:76 inc/menu.class.php:14 inc/profile.class.php:50
33 | #: inc/survey.class.php:24
34 | msgid "Satisfaction survey"
35 | msgid_plural "Satisfaction surveys"
36 | msgstr[0] "Průzkum spokojenosti"
37 | msgstr[1] "Průzkumy spokojenosti"
38 | msgstr[2] "Průzkumů spokojenosti"
39 | msgstr[3] "Průzkumy spokojenosti"
40 |
41 | #: inc/dashboard.class.php:99
42 | msgid "First Trimester"
43 | msgstr "První čtvrtletí"
44 |
45 | #: inc/dashboard.class.php:100
46 | msgid "Second Trimester"
47 | msgstr "Druhé čtvrtletí"
48 |
49 | #: inc/dashboard.class.php:101
50 | msgid "Third Trimester"
51 | msgstr "Třetí čtvrtletí"
52 |
53 | #: inc/dashboard.class.php:102
54 | msgid "Fourth Trimester"
55 | msgstr "Čtvrté čtvrtletí"
56 |
57 | #: inc/dashboard.class.php:103
58 | msgid "Year"
59 | msgstr "Rok"
60 |
61 | #: inc/dashboard.class.php:199
62 | msgid "There are no survey for current entity"
63 | msgstr ""
64 |
65 | #: inc/dashboard.class.php:312
66 | msgid "Number of surveys"
67 | msgstr ""
68 |
69 | #: inc/dashboard.class.php:317
70 | msgid "Number of concerned tickets"
71 | msgstr ""
72 |
73 | #: inc/dashboard.class.php:322
74 | msgid "Survey not answered"
75 | msgstr ""
76 |
77 | #: inc/dashboard.class.php:327
78 | msgid "Survey answered"
79 | msgstr ""
80 |
81 | #: inc/dashboard.class.php:332
82 | msgid "Global satisfaction"
83 | msgstr ""
84 |
85 | #: inc/dashboard.class.php:374
86 | msgid "Periods"
87 | msgstr ""
88 |
89 | #: inc/notificationMailing.class.php:51
90 | msgid "Notification satisfaction reminder"
91 | msgstr ""
92 |
93 | #: inc/notificationMailing.class.php:180
94 | msgid "Resource creation"
95 | msgstr ""
96 |
97 | #: inc/notificationMailing.class.php:181
98 | msgid "Other"
99 | msgstr ""
100 |
101 | #: inc/notificationtargetticket.class.php:39
102 | msgid "Survey Reminder"
103 | msgstr ""
104 |
105 | #: inc/reminder.class.php:30
106 | msgid "Satisfaction reminder"
107 | msgid_plural "Satisfaction reminders"
108 | msgstr[0] ""
109 | msgstr[1] ""
110 | msgstr[2] ""
111 | msgstr[3] ""
112 |
113 | #: inc/reminder.class.php:44
114 | msgid "Send automaticaly survey reminders"
115 | msgstr ""
116 |
117 | #: inc/surveyanswer.class.php:22
118 | msgid "Answer"
119 | msgid_plural "Answers"
120 | msgstr[0] "Odpověď"
121 | msgstr[1] "Odpovědi"
122 | msgstr[2] "Odpovědí"
123 | msgstr[3] "Odpovědi"
124 |
125 | #: inc/surveyanswer.class.php:43
126 | msgid "Preview"
127 | msgstr "Náhled"
128 |
129 | #: inc/surveyanswer.class.php:116
130 | msgid "Satisfaction"
131 | msgstr "Spokojenost"
132 |
133 | #: inc/survey.class.php:223 inc/survey.class.php:249
134 | msgid "Error : only one survey is allowed by entity"
135 | msgstr "Chyba: na entitu je možné mít pouze jeden průzkum"
136 |
137 | #: inc/surveyquestion.class.php:30
138 | msgid "Question"
139 | msgid_plural "Questions"
140 | msgstr[0] "Otázka"
141 | msgstr[1] "Otázky"
142 | msgstr[2] "Otázek"
143 | msgstr[3] "Otázky"
144 |
145 | #: inc/surveyquestion.class.php:105
146 | msgid ""
147 | "You cannot edit the questions when answers exists for this survey. Disable "
148 | "this survey and create a new one !"
149 | msgstr ""
150 | "Pokud na otázky v rámci tohoto průzkumu už někdo odpověděl, není možné je "
151 | "dodatečně měnit. Pokud je to třeba, nezbývá než stávající průzkum zrušit a "
152 | "vytvořit nový!"
153 |
154 | #: inc/surveyquestion.class.php:125 inc/surveyquestion.class.php:195
155 | msgid "Add a question"
156 | msgstr "Přidat otázku"
157 |
158 | #: inc/surveyquestion.class.php:133
159 | msgid "No questions for this survey"
160 | msgstr "Žádné otázky pro tento průzkum"
161 |
162 | #: inc/surveyquestion.class.php:231
163 | msgid "Note on"
164 | msgstr "Poznámka k"
165 |
166 | #: inc/surveyquestion.class.php:325 inc/surveyquestion.class.php:340
167 | msgid "Text"
168 | msgstr "Text"
169 |
170 | #: inc/surveyquestion.class.php:326 inc/surveyquestion.class.php:342
171 | msgid "Note"
172 | msgstr "Poznámka"
173 |
174 | #: inc/surveyreminder.class.php:45 inc/surveyreminder.class.php:65
175 | #: inc/surveyreminder.class.php:446
176 | msgid "Reminder"
177 | msgid_plural "Reminders"
178 | msgstr[0] ""
179 | msgstr[1] ""
180 | msgstr[2] ""
181 | msgstr[3] ""
182 |
183 | #: inc/surveyreminder.class.php:143 inc/surveyreminder.class.php:246
184 | msgid "Add a reminder"
185 | msgstr ""
186 |
187 | #: inc/surveyreminder.class.php:147
188 | msgid "Add a predefined reminder"
189 | msgstr ""
190 |
191 | #: inc/surveyreminder.class.php:154
192 | msgid "Setup maximum number of days to send reminder"
193 | msgstr ""
194 |
195 | #: inc/surveyreminder.class.php:155
196 | msgid "Maximum number of days to send reminder"
197 | msgstr ""
198 |
199 | #: inc/surveyreminder.class.php:173
200 | msgid "No reminders for this survey"
201 | msgstr ""
202 |
203 | #: inc/surveyreminder.class.php:244
204 | msgid "Choose a predefined reminder"
205 | msgstr ""
206 |
207 | #: inc/surveyreminder.class.php:255
208 | msgid "Predefined Reminders"
209 | msgstr ""
210 |
211 | #: inc/surveyreminder.class.php:388
212 | msgid "Month"
213 | msgstr ""
214 |
215 | #: inc/surveyreminder.class.php:402
216 | msgid "One Week"
217 | msgstr ""
218 |
219 | #: inc/surveyreminder.class.php:403
220 | msgid "Two Week"
221 | msgstr ""
222 |
223 | #: inc/surveyreminder.class.php:404
224 | msgid "One Month"
225 | msgstr ""
226 |
227 | #: inc/surveyreminder.class.php:417
228 | msgid "Duration Type"
229 | msgstr ""
230 |
231 | #: inc/surveyreminder.class.php:418
232 | msgid "Duration"
233 | msgstr ""
234 |
235 | #: inc/surveyreminder.class.php:491
236 | #, php-format
237 | msgid ""
238 | "You already have a reminder with the same duration type and duration named :"
239 | " %s"
240 | msgstr ""
241 |
242 | #: inc/surveyreminder.class.php:521
243 | msgid "There are nothing to save"
244 | msgstr ""
245 |
246 | #: inc/surveyresult.class.php:22
247 | msgid "Result of the survey"
248 | msgid_plural "Results of the survey"
249 | msgstr[0] "Výsledek průzkumu"
250 | msgstr[1] "Výsledky průzkumu"
251 | msgstr[2] "Výsledků průzkumu"
252 | msgstr[3] "Výsledky průzkumu"
253 |
254 | #: inc/surveyresult.class.php:43
255 | msgid "Result"
256 | msgstr "Výsledek"
257 |
258 | #: inc/surveyresult.class.php:86
259 | msgid "No result of the survey"
260 | msgstr "Žádný výsledek průzkumu"
261 |
262 | #: inc/surveytranslation.class.php:240
263 | msgid "No translation found"
264 | msgstr "Nenalezen žádný překlad"
265 |
266 | #: inc/surveytranslation.class.php:396
267 | #, php-format
268 | msgid "An %s translation for this Question already exist."
269 | msgstr "Překlad tohoto dotazu do %s už existuje."
270 |
271 | #: inc/surveytranslation.class.php:409
272 | msgid "Translation successfully created."
273 | msgstr "Překlad úspěšně vytvořen."
274 |
275 | #: inc/surveytranslation.class.php:421
276 | msgid "Translation creation failed"
277 | msgstr "Vytvoření překladu se nezdařilo."
278 |
279 | #: inc/surveytranslation.class.php:435
280 | msgid "The translation you want to edit does not exist."
281 | msgstr "Překlad který chcete upravit neexistuje."
282 |
283 | #: inc/surveytranslation.class.php:445
284 | msgid "Translation successfully edited."
285 | msgstr "Překlad úspěšně upraven."
286 |
--------------------------------------------------------------------------------
/locales/en_GB.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pluginsGLPI/satisfaction/aa010b71167b74201fe8dfd8f270371cf64bc74a/locales/en_GB.mo
--------------------------------------------------------------------------------
/locales/en_GB.po:
--------------------------------------------------------------------------------
1 | # SOME DESCRIPTIVE TITLE.
2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3 | # This file is distributed under the same license as the PACKAGE package.
4 | # FIRST AUTHOR , YEAR.
5 | #
6 | msgid ""
7 | msgstr ""
8 | "Project-Id-Version: \n"
9 | "Report-Msgid-Bugs-To: \n"
10 | "POT-Creation-Date: 2020-04-28 08:52+0200\n"
11 | "PO-Revision-Date: 2020-04-28 09:07+0200\n"
12 | "MIME-Version: 1.0\n"
13 | "Content-Type: text/plain; charset=UTF-8\n"
14 | "Content-Transfer-Encoding: 8bit\n"
15 | "Language: en_GB\n"
16 | "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17 | "Last-Translator: \n"
18 | "Language-Team: \n"
19 | "X-Generator: Poedit 2.3\n"
20 |
21 | #: hook.php:93
22 | msgid "Ticket Satisfaction Reminder"
23 | msgstr "Ticket Satisfaction Reminder"
24 |
25 | #: setup.php:62
26 | msgid "More satisfaction"
27 | msgstr "More satisfaction"
28 |
29 | #: inc/dashboard.class.php:76 inc/menu.class.php:14 inc/profile.class.php:50
30 | #: inc/survey.class.php:24
31 | msgid "Satisfaction survey"
32 | msgid_plural "Satisfaction surveys"
33 | msgstr[0] "Satisfaction survey"
34 | msgstr[1] "Satisfaction surveys"
35 |
36 | #: inc/dashboard.class.php:99
37 | msgid "First Trimester"
38 | msgstr "First Trimester"
39 |
40 | #: inc/dashboard.class.php:100
41 | msgid "Second Trimester"
42 | msgstr "Second Trimester"
43 |
44 | #: inc/dashboard.class.php:101
45 | msgid "Third Trimester"
46 | msgstr "Third Trimester"
47 |
48 | #: inc/dashboard.class.php:102
49 | msgid "Fourth Trimester"
50 | msgstr "Fourth Trimester"
51 |
52 | #: inc/dashboard.class.php:103
53 | msgid "Year"
54 | msgstr "Year"
55 |
56 | #: inc/dashboard.class.php:199
57 | msgid "There are no survey for current entity"
58 | msgstr "There are no survey for current entity"
59 |
60 | #: inc/dashboard.class.php:312
61 | msgid "Number of surveys"
62 | msgstr "Number of surveys"
63 |
64 | #: inc/dashboard.class.php:317
65 | msgid "Number of concerned tickets"
66 | msgstr "Number of concerned tickets"
67 |
68 | #: inc/dashboard.class.php:322
69 | msgid "Survey not answered"
70 | msgstr "Survey not answered"
71 |
72 | #: inc/dashboard.class.php:327
73 | msgid "Survey answered"
74 | msgstr "Survey answered"
75 |
76 | #: inc/dashboard.class.php:332
77 | msgid "Global satisfaction"
78 | msgstr "Global satisfaction"
79 |
80 | #: inc/dashboard.class.php:374
81 | msgid "Periods"
82 | msgstr "Periods"
83 |
84 | #: inc/notificationMailing.class.php:51
85 | msgid "Notification satisfaction reminder"
86 | msgstr "Notification satisfaction reminder"
87 |
88 | #: inc/notificationMailing.class.php:180
89 | msgid "Resource creation"
90 | msgstr "Resource creation"
91 |
92 | #: inc/notificationMailing.class.php:181
93 | msgid "Other"
94 | msgstr "Other"
95 |
96 | #: inc/notificationtargetticket.class.php:39
97 | msgid "Survey Reminder"
98 | msgstr "Survey Reminder"
99 |
100 | #: inc/reminder.class.php:30
101 | msgid "Satisfaction reminder"
102 | msgid_plural "Satisfaction reminders"
103 | msgstr[0] "Satisfaction reminder"
104 | msgstr[1] "Satisfaction reminders"
105 |
106 | #: inc/reminder.class.php:44
107 | msgid "Send automaticaly survey reminders"
108 | msgstr "Send automaticaly survey reminders"
109 |
110 | #: inc/surveyanswer.class.php:22
111 | msgid "Answer"
112 | msgid_plural "Answers"
113 | msgstr[0] "Answer"
114 | msgstr[1] "Answers"
115 |
116 | #: inc/surveyanswer.class.php:43
117 | msgid "Preview"
118 | msgstr "Preview"
119 |
120 | #: inc/surveyanswer.class.php:116
121 | msgid "Satisfaction"
122 | msgstr "Satisfaction"
123 |
124 | #: inc/survey.class.php:223 inc/survey.class.php:249
125 | msgid "Error : only one survey is allowed by entity"
126 | msgstr "Error : only one survey is allowed by entity"
127 |
128 | #: inc/surveyquestion.class.php:30
129 | msgid "Question"
130 | msgid_plural "Questions"
131 | msgstr[0] "Question"
132 | msgstr[1] "Questions"
133 |
134 | #: inc/surveyquestion.class.php:105
135 | msgid ""
136 | "You cannot edit the questions when answers exists for this survey. Disable "
137 | "this survey and create a new one !"
138 | msgstr ""
139 | "You cannot edit the questions when answers exists for this survey. Disable "
140 | "this survey and create a new one !"
141 |
142 | #: inc/surveyquestion.class.php:125 inc/surveyquestion.class.php:195
143 | msgid "Add a question"
144 | msgstr "Add a question"
145 |
146 | #: inc/surveyquestion.class.php:133
147 | msgid "No questions for this survey"
148 | msgstr "No questions for this survey"
149 |
150 | #: inc/surveyquestion.class.php:231
151 | msgid "Note on"
152 | msgstr "Note on"
153 |
154 | #: inc/surveyquestion.class.php:325 inc/surveyquestion.class.php:340
155 | msgid "Text"
156 | msgstr "Text"
157 |
158 | #: inc/surveyquestion.class.php:326 inc/surveyquestion.class.php:342
159 | msgid "Note"
160 | msgstr "Note"
161 |
162 | #: inc/surveyreminder.class.php:45 inc/surveyreminder.class.php:65
163 | #: inc/surveyreminder.class.php:446
164 | msgid "Reminder"
165 | msgid_plural "Reminders"
166 | msgstr[0] "Reminder"
167 | msgstr[1] "Reminders"
168 |
169 | #: inc/surveyreminder.class.php:143 inc/surveyreminder.class.php:246
170 | msgid "Add a reminder"
171 | msgstr "Add a reminder"
172 |
173 | #: inc/surveyreminder.class.php:147
174 | msgid "Add a predefined reminder"
175 | msgstr "Add a predefined reminder"
176 |
177 | #: inc/surveyreminder.class.php:154
178 | msgid "Setup maximum number of days to send reminder"
179 | msgstr "Setup maximum number of days to send reminder"
180 |
181 | #: inc/surveyreminder.class.php:155
182 | msgid "Maximum number of days to send reminder"
183 | msgstr "Maximum number of days to send reminder"
184 |
185 | #: inc/surveyreminder.class.php:173
186 | msgid "No reminders for this survey"
187 | msgstr "No reminders for this survey"
188 |
189 | #: inc/surveyreminder.class.php:244
190 | msgid "Choose a predefined reminder"
191 | msgstr "Choose a predefined reminder"
192 |
193 | #: inc/surveyreminder.class.php:255
194 | msgid "Predefined Reminders"
195 | msgstr "Predefined Reminders"
196 |
197 | #: inc/surveyreminder.class.php:388
198 | msgid "Month"
199 | msgstr "Month"
200 |
201 | #: inc/surveyreminder.class.php:402
202 | msgid "One Week"
203 | msgstr "One Week"
204 |
205 | #: inc/surveyreminder.class.php:403
206 | msgid "Two Week"
207 | msgstr "Two Week"
208 |
209 | #: inc/surveyreminder.class.php:404
210 | msgid "One Month"
211 | msgstr "One Month"
212 |
213 | #: inc/surveyreminder.class.php:417
214 | msgid "Duration Type"
215 | msgstr "Duration Type"
216 |
217 | #: inc/surveyreminder.class.php:418
218 | msgid "Duration"
219 | msgstr "Duration"
220 |
221 | #: inc/surveyreminder.class.php:491
222 | #, php-format
223 | msgid ""
224 | "You already have a reminder with the same duration type and duration "
225 | "named : %s"
226 | msgstr ""
227 | "You already have a reminder with the same duration type and duration "
228 | "named : %s"
229 |
230 | #: inc/surveyreminder.class.php:521
231 | msgid "There are nothing to save"
232 | msgstr "There are nothing to save"
233 |
234 | #: inc/surveyresult.class.php:22
235 | msgid "Result of the survey"
236 | msgid_plural "Results of the survey"
237 | msgstr[0] "Result of the survey"
238 | msgstr[1] "Results of the survey"
239 |
240 | #: inc/surveyresult.class.php:43
241 | msgid "Result"
242 | msgstr "Result"
243 |
244 | #: inc/surveyresult.class.php:86
245 | msgid "No result of the survey"
246 | msgstr "No result of the survey"
247 |
248 | #: inc/surveytranslation.class.php:240
249 | msgid "No translation found"
250 | msgstr "No translation found"
251 |
252 | #: inc/surveytranslation.class.php:396
253 | #, php-format
254 | msgid "An %s translation for this Question already exist."
255 | msgstr "An %s translation for this Question already exist."
256 |
257 | #: inc/surveytranslation.class.php:409
258 | msgid "Translation successfully created."
259 | msgstr "Translation successfully created."
260 |
261 | #: inc/surveytranslation.class.php:421
262 | msgid "Translation creation failed"
263 | msgstr "Translation creation failed"
264 |
265 | #: inc/surveytranslation.class.php:435
266 | msgid "The translation you want to edit does not exist."
267 | msgstr "The translation you want to edit does not exist."
268 |
269 | #: inc/surveytranslation.class.php:445
270 | msgid "Translation successfully edited."
271 | msgstr "Translation successfully edited."
272 |
--------------------------------------------------------------------------------
/locales/fi_FI.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pluginsGLPI/satisfaction/aa010b71167b74201fe8dfd8f270371cf64bc74a/locales/fi_FI.mo
--------------------------------------------------------------------------------
/locales/fi_FI.po:
--------------------------------------------------------------------------------
1 | # SOME DESCRIPTIVE TITLE.
2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3 | # This file is distributed under the same license as the PACKAGE package.
4 | # FIRST AUTHOR , YEAR.
5 | #
6 | # Translators:
7 | # Markku Vepsä, 2018
8 | #
9 | #, fuzzy
10 | msgid ""
11 | msgstr ""
12 | "Project-Id-Version: PACKAGE VERSION\n"
13 | "Report-Msgid-Bugs-To: \n"
14 | "POT-Creation-Date: 2020-04-28 08:52+0200\n"
15 | "PO-Revision-Date: 2018-03-14 08:28+0000\n"
16 | "Last-Translator: Markku Vepsä, 2018\n"
17 | "Language-Team: Finnish (Finland) (https://www.transifex.com/infotelGLPI/teams/84146/fi_FI/)\n"
18 | "MIME-Version: 1.0\n"
19 | "Content-Type: text/plain; charset=UTF-8\n"
20 | "Content-Transfer-Encoding: 8bit\n"
21 | "Language: fi_FI\n"
22 | "Plural-Forms: nplurals=2; plural=(n != 1);\n"
23 |
24 | #: hook.php:93
25 | msgid "Ticket Satisfaction Reminder"
26 | msgstr ""
27 |
28 | #: setup.php:62
29 | msgid "More satisfaction"
30 | msgstr "Lisää tyytyväisyyttä"
31 |
32 | #: inc/dashboard.class.php:76 inc/menu.class.php:14 inc/profile.class.php:50
33 | #: inc/survey.class.php:24
34 | msgid "Satisfaction survey"
35 | msgid_plural "Satisfaction surveys"
36 | msgstr[0] "Tyytyväisyyskysely"
37 | msgstr[1] "Tyytyväisyyskyselyt"
38 |
39 | #: inc/dashboard.class.php:99
40 | msgid "First Trimester"
41 | msgstr ""
42 |
43 | #: inc/dashboard.class.php:100
44 | msgid "Second Trimester"
45 | msgstr ""
46 |
47 | #: inc/dashboard.class.php:101
48 | msgid "Third Trimester"
49 | msgstr ""
50 |
51 | #: inc/dashboard.class.php:102
52 | msgid "Fourth Trimester"
53 | msgstr ""
54 |
55 | #: inc/dashboard.class.php:103
56 | msgid "Year"
57 | msgstr ""
58 |
59 | #: inc/dashboard.class.php:199
60 | msgid "There are no survey for current entity"
61 | msgstr ""
62 |
63 | #: inc/dashboard.class.php:312
64 | msgid "Number of surveys"
65 | msgstr ""
66 |
67 | #: inc/dashboard.class.php:317
68 | msgid "Number of concerned tickets"
69 | msgstr ""
70 |
71 | #: inc/dashboard.class.php:322
72 | msgid "Survey not answered"
73 | msgstr ""
74 |
75 | #: inc/dashboard.class.php:327
76 | msgid "Survey answered"
77 | msgstr ""
78 |
79 | #: inc/dashboard.class.php:332
80 | msgid "Global satisfaction"
81 | msgstr ""
82 |
83 | #: inc/dashboard.class.php:374
84 | msgid "Periods"
85 | msgstr ""
86 |
87 | #: inc/notificationMailing.class.php:51
88 | msgid "Notification satisfaction reminder"
89 | msgstr ""
90 |
91 | #: inc/notificationMailing.class.php:180
92 | msgid "Resource creation"
93 | msgstr ""
94 |
95 | #: inc/notificationMailing.class.php:181
96 | msgid "Other"
97 | msgstr ""
98 |
99 | #: inc/notificationtargetticket.class.php:39
100 | msgid "Survey Reminder"
101 | msgstr ""
102 |
103 | #: inc/reminder.class.php:30
104 | msgid "Satisfaction reminder"
105 | msgid_plural "Satisfaction reminders"
106 | msgstr[0] ""
107 | msgstr[1] ""
108 |
109 | #: inc/reminder.class.php:44
110 | msgid "Send automaticaly survey reminders"
111 | msgstr ""
112 |
113 | #: inc/surveyanswer.class.php:22
114 | msgid "Answer"
115 | msgid_plural "Answers"
116 | msgstr[0] "Vastaus"
117 | msgstr[1] "Vastaukset"
118 |
119 | #: inc/surveyanswer.class.php:43
120 | msgid "Preview"
121 | msgstr "Esikatselu"
122 |
123 | #: inc/surveyanswer.class.php:116
124 | msgid "Satisfaction"
125 | msgstr "Tyytyväisyys"
126 |
127 | #: inc/survey.class.php:223 inc/survey.class.php:249
128 | msgid "Error : only one survey is allowed by entity"
129 | msgstr "Virhe : vain yksi kysely yksikköä kohden on sallittu"
130 |
131 | #: inc/surveyquestion.class.php:30
132 | msgid "Question"
133 | msgid_plural "Questions"
134 | msgstr[0] "Kysymys"
135 | msgstr[1] "Kysymykset"
136 |
137 | #: inc/surveyquestion.class.php:105
138 | msgid ""
139 | "You cannot edit the questions when answers exists for this survey. Disable "
140 | "this survey and create a new one !"
141 | msgstr ""
142 | "Et voi muokata kysymyksiä, kun vastauksia on olemassa tässä kyselyssä. "
143 | "Poista tämä kysely käytöstä ja luo uusi!"
144 |
145 | #: inc/surveyquestion.class.php:125 inc/surveyquestion.class.php:195
146 | msgid "Add a question"
147 | msgstr "Lisää kysymys"
148 |
149 | #: inc/surveyquestion.class.php:133
150 | msgid "No questions for this survey"
151 | msgstr "Ei kysymyksiä tätä kyselyä varten"
152 |
153 | #: inc/surveyquestion.class.php:231
154 | msgid "Note on"
155 | msgstr "Huomautus"
156 |
157 | #: inc/surveyquestion.class.php:325 inc/surveyquestion.class.php:340
158 | msgid "Text"
159 | msgstr "Teksti"
160 |
161 | #: inc/surveyquestion.class.php:326 inc/surveyquestion.class.php:342
162 | msgid "Note"
163 | msgstr "Huomautus"
164 |
165 | #: inc/surveyreminder.class.php:45 inc/surveyreminder.class.php:65
166 | #: inc/surveyreminder.class.php:446
167 | msgid "Reminder"
168 | msgid_plural "Reminders"
169 | msgstr[0] ""
170 | msgstr[1] ""
171 |
172 | #: inc/surveyreminder.class.php:143 inc/surveyreminder.class.php:246
173 | msgid "Add a reminder"
174 | msgstr ""
175 |
176 | #: inc/surveyreminder.class.php:147
177 | msgid "Add a predefined reminder"
178 | msgstr ""
179 |
180 | #: inc/surveyreminder.class.php:154
181 | msgid "Setup maximum number of days to send reminder"
182 | msgstr ""
183 |
184 | #: inc/surveyreminder.class.php:155
185 | msgid "Maximum number of days to send reminder"
186 | msgstr ""
187 |
188 | #: inc/surveyreminder.class.php:173
189 | msgid "No reminders for this survey"
190 | msgstr ""
191 |
192 | #: inc/surveyreminder.class.php:244
193 | msgid "Choose a predefined reminder"
194 | msgstr ""
195 |
196 | #: inc/surveyreminder.class.php:255
197 | msgid "Predefined Reminders"
198 | msgstr ""
199 |
200 | #: inc/surveyreminder.class.php:388
201 | msgid "Month"
202 | msgstr ""
203 |
204 | #: inc/surveyreminder.class.php:402
205 | msgid "One Week"
206 | msgstr ""
207 |
208 | #: inc/surveyreminder.class.php:403
209 | msgid "Two Week"
210 | msgstr ""
211 |
212 | #: inc/surveyreminder.class.php:404
213 | msgid "One Month"
214 | msgstr ""
215 |
216 | #: inc/surveyreminder.class.php:417
217 | msgid "Duration Type"
218 | msgstr ""
219 |
220 | #: inc/surveyreminder.class.php:418
221 | msgid "Duration"
222 | msgstr ""
223 |
224 | #: inc/surveyreminder.class.php:491
225 | #, php-format
226 | msgid ""
227 | "You already have a reminder with the same duration type and duration named :"
228 | " %s"
229 | msgstr ""
230 |
231 | #: inc/surveyreminder.class.php:521
232 | msgid "There are nothing to save"
233 | msgstr ""
234 |
235 | #: inc/surveyresult.class.php:22
236 | msgid "Result of the survey"
237 | msgid_plural "Results of the survey"
238 | msgstr[0] "Kyselyn tulos"
239 | msgstr[1] "Kyselyn tulokset"
240 |
241 | #: inc/surveyresult.class.php:43
242 | msgid "Result"
243 | msgstr "Tulos"
244 |
245 | #: inc/surveyresult.class.php:86
246 | msgid "No result of the survey"
247 | msgstr "Ei kyselyn tulos"
248 |
249 | #: inc/surveytranslation.class.php:240
250 | msgid "No translation found"
251 | msgstr ""
252 |
253 | #: inc/surveytranslation.class.php:396
254 | #, php-format
255 | msgid "An %s translation for this Question already exist."
256 | msgstr ""
257 |
258 | #: inc/surveytranslation.class.php:409
259 | msgid "Translation successfully created."
260 | msgstr ""
261 |
262 | #: inc/surveytranslation.class.php:421
263 | msgid "Translation creation failed"
264 | msgstr ""
265 |
266 | #: inc/surveytranslation.class.php:435
267 | msgid "The translation you want to edit does not exist."
268 | msgstr ""
269 |
270 | #: inc/surveytranslation.class.php:445
271 | msgid "Translation successfully edited."
272 | msgstr ""
273 |
--------------------------------------------------------------------------------
/locales/fr_FR.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pluginsGLPI/satisfaction/aa010b71167b74201fe8dfd8f270371cf64bc74a/locales/fr_FR.mo
--------------------------------------------------------------------------------
/locales/fr_FR.po:
--------------------------------------------------------------------------------
1 | # SOME DESCRIPTIVE TITLE.
2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3 | # This file is distributed under the same license as the PACKAGE package.
4 | # FIRST AUTHOR , YEAR.
5 | #
6 | # Translators:
7 | # Amandine Manceau, 2018
8 | # Mathieu Templier , 2019
9 | # guillaume GUIBOUX , 2019
10 | # Xavier CAILLAUD , 2020
11 | #
12 | #, fuzzy
13 | msgid ""
14 | msgstr ""
15 | "Project-Id-Version: PACKAGE VERSION\n"
16 | "Report-Msgid-Bugs-To: \n"
17 | "POT-Creation-Date: 2020-04-28 08:52+0200\n"
18 | "PO-Revision-Date: 2018-03-14 08:28+0000\n"
19 | "Last-Translator: Xavier CAILLAUD , 2020\n"
20 | "Language-Team: French (France) (https://www.transifex.com/infotelGLPI/teams/84146/fr_FR/)\n"
21 | "MIME-Version: 1.0\n"
22 | "Content-Type: text/plain; charset=UTF-8\n"
23 | "Content-Transfer-Encoding: 8bit\n"
24 | "Language: fr_FR\n"
25 | "Plural-Forms: nplurals=2; plural=(n > 1);\n"
26 |
27 | #: hook.php:93
28 | msgid "Ticket Satisfaction Reminder"
29 | msgstr "Rappel de satisfaction ticket"
30 |
31 | #: setup.php:62
32 | msgid "More satisfaction"
33 | msgstr "Plus de satisfaction"
34 |
35 | #: inc/dashboard.class.php:76 inc/menu.class.php:14 inc/profile.class.php:50
36 | #: inc/survey.class.php:24
37 | msgid "Satisfaction survey"
38 | msgid_plural "Satisfaction surveys"
39 | msgstr[0] "Enquête de satisfaction"
40 | msgstr[1] "Enquêtes de satisfactions"
41 |
42 | #: inc/dashboard.class.php:99
43 | msgid "First Trimester"
44 | msgstr "Premier trimestre"
45 |
46 | #: inc/dashboard.class.php:100
47 | msgid "Second Trimester"
48 | msgstr "Deuxième trimestre"
49 |
50 | #: inc/dashboard.class.php:101
51 | msgid "Third Trimester"
52 | msgstr "Troisième trimestre"
53 |
54 | #: inc/dashboard.class.php:102
55 | msgid "Fourth Trimester"
56 | msgstr "Quatrième trimestre"
57 |
58 | #: inc/dashboard.class.php:103
59 | msgid "Year"
60 | msgstr "Année"
61 |
62 | #: inc/dashboard.class.php:199
63 | msgid "There are no survey for current entity"
64 | msgstr "Il n'y a pas d'enquête de satisfaction pour l'entité actuelle"
65 |
66 | #: inc/dashboard.class.php:312
67 | msgid "Number of surveys"
68 | msgstr "Nombre d'enquêtes"
69 |
70 | #: inc/dashboard.class.php:317
71 | msgid "Number of concerned tickets"
72 | msgstr "Nombre de tickets concernés"
73 |
74 | #: inc/dashboard.class.php:322
75 | msgid "Survey not answered"
76 | msgstr "Enquête non répondue"
77 |
78 | #: inc/dashboard.class.php:327
79 | msgid "Survey answered"
80 | msgstr "Enquête répondue"
81 |
82 | #: inc/dashboard.class.php:332
83 | msgid "Global satisfaction"
84 | msgstr "Satisfaction globale"
85 |
86 | #: inc/dashboard.class.php:374
87 | msgid "Periods"
88 | msgstr "Périodes"
89 |
90 | #: inc/notificationMailing.class.php:51
91 | msgid "Notification satisfaction reminder"
92 | msgstr "Notification de rappel de satisfaction"
93 |
94 | #: inc/notificationMailing.class.php:180
95 | msgid "Resource creation"
96 | msgstr "Création de ressources"
97 |
98 | #: inc/notificationMailing.class.php:181
99 | msgid "Other"
100 | msgstr "Autres"
101 |
102 | #: inc/notificationtargetticket.class.php:39
103 | msgid "Survey Reminder"
104 | msgstr "Rappel d'enquête"
105 |
106 | #: inc/reminder.class.php:30
107 | msgid "Satisfaction reminder"
108 | msgid_plural "Satisfaction reminders"
109 | msgstr[0] "Rappel de satisfaction"
110 | msgstr[1] "Rappels de satisfaction"
111 |
112 | #: inc/reminder.class.php:44
113 | msgid "Send automaticaly survey reminders"
114 | msgstr "Envoyer automatiquement des rappels d'enquêtes"
115 |
116 | #: inc/surveyanswer.class.php:22
117 | msgid "Answer"
118 | msgid_plural "Answers"
119 | msgstr[0] "Réponse"
120 | msgstr[1] "Réponses"
121 |
122 | #: inc/surveyanswer.class.php:43
123 | msgid "Preview"
124 | msgstr "Prévisualisation"
125 |
126 | #: inc/surveyanswer.class.php:116
127 | msgid "Satisfaction"
128 | msgstr "Satisfaction"
129 |
130 | #: inc/survey.class.php:223 inc/survey.class.php:249
131 | msgid "Error : only one survey is allowed by entity"
132 | msgstr "Erreur : un seul questionnaire par entité est autorisé"
133 |
134 | #: inc/surveyquestion.class.php:30
135 | msgid "Question"
136 | msgid_plural "Questions"
137 | msgstr[0] "Question"
138 | msgstr[1] "Questions"
139 |
140 | #: inc/surveyquestion.class.php:105
141 | msgid ""
142 | "You cannot edit the questions when answers exists for this survey. Disable "
143 | "this survey and create a new one !"
144 | msgstr ""
145 | "Vous ne pouvez pas éditer les questions quand des réponses existent pour ce "
146 | "questionnaire. Désactivez ce questionnaire et créez en un nouveau !"
147 |
148 | #: inc/surveyquestion.class.php:125 inc/surveyquestion.class.php:195
149 | msgid "Add a question"
150 | msgstr "Ajouter une question"
151 |
152 | #: inc/surveyquestion.class.php:133
153 | msgid "No questions for this survey"
154 | msgstr "Pas de questions pour ce questionnaire"
155 |
156 | #: inc/surveyquestion.class.php:231
157 | msgid "Note on"
158 | msgstr "Note sur"
159 |
160 | #: inc/surveyquestion.class.php:325 inc/surveyquestion.class.php:340
161 | msgid "Text"
162 | msgstr "Texte"
163 |
164 | #: inc/surveyquestion.class.php:326 inc/surveyquestion.class.php:342
165 | msgid "Note"
166 | msgstr "Note"
167 |
168 | #: inc/surveyreminder.class.php:45 inc/surveyreminder.class.php:65
169 | #: inc/surveyreminder.class.php:446
170 | msgid "Reminder"
171 | msgid_plural "Reminders"
172 | msgstr[0] "Rappel"
173 | msgstr[1] "Rappels"
174 |
175 | #: inc/surveyreminder.class.php:143 inc/surveyreminder.class.php:246
176 | msgid "Add a reminder"
177 | msgstr "Ajouter un rappel"
178 |
179 | #: inc/surveyreminder.class.php:147
180 | msgid "Add a predefined reminder"
181 | msgstr "Ajouter un rappel prédéfini"
182 |
183 | #: inc/surveyreminder.class.php:154
184 | msgid "Setup maximum number of days to send reminder"
185 | msgstr "Configurer le nombre maximum de jours pour envoyer un rappel"
186 |
187 | #: inc/surveyreminder.class.php:155
188 | msgid "Maximum number of days to send reminder"
189 | msgstr "Nombre maximum de jours pour envoyer un rappel"
190 |
191 | #: inc/surveyreminder.class.php:173
192 | msgid "No reminders for this survey"
193 | msgstr "Aucun rappel pour cette enquête"
194 |
195 | #: inc/surveyreminder.class.php:244
196 | msgid "Choose a predefined reminder"
197 | msgstr "Choisir un nombre prédéfini"
198 |
199 | #: inc/surveyreminder.class.php:255
200 | msgid "Predefined Reminders"
201 | msgstr "Rappels prédéfinis"
202 |
203 | #: inc/surveyreminder.class.php:388
204 | msgid "Month"
205 | msgstr "Mois"
206 |
207 | #: inc/surveyreminder.class.php:402
208 | msgid "One Week"
209 | msgstr "Une semaine"
210 |
211 | #: inc/surveyreminder.class.php:403
212 | msgid "Two Week"
213 | msgstr "Deux semaines"
214 |
215 | #: inc/surveyreminder.class.php:404
216 | msgid "One Month"
217 | msgstr "Un mois"
218 |
219 | #: inc/surveyreminder.class.php:417
220 | msgid "Duration Type"
221 | msgstr "Type de durée"
222 |
223 | #: inc/surveyreminder.class.php:418
224 | msgid "Duration"
225 | msgstr "Durée"
226 |
227 | #: inc/surveyreminder.class.php:491
228 | #, php-format
229 | msgid ""
230 | "You already have a reminder with the same duration type and duration named :"
231 | " %s"
232 | msgstr "Vous avez déjà un rappel avec le même type et nom de durée : %s"
233 |
234 | #: inc/surveyreminder.class.php:521
235 | msgid "There are nothing to save"
236 | msgstr "Il n'y a rien à enregistrer"
237 |
238 | #: inc/surveyresult.class.php:22
239 | msgid "Result of the survey"
240 | msgid_plural "Results of the survey"
241 | msgstr[0] "Résultat du questionnaire"
242 | msgstr[1] "Résultats du questionnaire"
243 |
244 | #: inc/surveyresult.class.php:43
245 | msgid "Result"
246 | msgstr "Résultat"
247 |
248 | #: inc/surveyresult.class.php:86
249 | msgid "No result of the survey"
250 | msgstr "Pas de résultat pour ce questionnaire"
251 |
252 | #: inc/surveytranslation.class.php:240
253 | msgid "No translation found"
254 | msgstr "Pas de traductions trouvées"
255 |
256 | #: inc/surveytranslation.class.php:396
257 | #, php-format
258 | msgid "An %s translation for this Question already exist."
259 | msgstr "Une traduction en %s pour cette Question existe déjà."
260 |
261 | #: inc/surveytranslation.class.php:409
262 | msgid "Translation successfully created."
263 | msgstr "Traduction crée avec succès."
264 |
265 | #: inc/surveytranslation.class.php:421
266 | msgid "Translation creation failed"
267 | msgstr "La création de la Traduction a échoué."
268 |
269 | #: inc/surveytranslation.class.php:435
270 | msgid "The translation you want to edit does not exist."
271 | msgstr "La traduction que vous voulez éditer n'existe pas."
272 |
273 | #: inc/surveytranslation.class.php:445
274 | msgid "Translation successfully edited."
275 | msgstr "Traduction mise à jour avec succès."
276 |
--------------------------------------------------------------------------------
/locales/glpi.pot:
--------------------------------------------------------------------------------
1 | # SOME DESCRIPTIVE TITLE.
2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3 | # This file is distributed under the same license as the PACKAGE package.
4 | # FIRST AUTHOR , YEAR.
5 | #
6 | #, fuzzy
7 | msgid ""
8 | msgstr ""
9 | "Project-Id-Version: PACKAGE VERSION\n"
10 | "Report-Msgid-Bugs-To: \n"
11 | "POT-Creation-Date: 2020-07-20 14:55+0200\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:93
22 | msgid "Ticket Satisfaction Reminder"
23 | msgstr ""
24 |
25 | #: setup.php:62
26 | msgid "More satisfaction"
27 | msgstr ""
28 |
29 | #: inc/dashboard.class.php:76 inc/menu.class.php:14 inc/profile.class.php:50
30 | #: inc/survey.class.php:24
31 | msgid "Satisfaction survey"
32 | msgid_plural "Satisfaction surveys"
33 | msgstr[0] ""
34 | msgstr[1] ""
35 |
36 | #: inc/dashboard.class.php:99
37 | msgid "First Trimester"
38 | msgstr ""
39 |
40 | #: inc/dashboard.class.php:100
41 | msgid "Second Trimester"
42 | msgstr ""
43 |
44 | #: inc/dashboard.class.php:101
45 | msgid "Third Trimester"
46 | msgstr ""
47 |
48 | #: inc/dashboard.class.php:102
49 | msgid "Fourth Trimester"
50 | msgstr ""
51 |
52 | #: inc/dashboard.class.php:103
53 | msgid "Year"
54 | msgstr ""
55 |
56 | #: inc/dashboard.class.php:199
57 | msgid "There are no survey for current entity"
58 | msgstr ""
59 |
60 | #: inc/dashboard.class.php:312
61 | msgid "Number of surveys"
62 | msgstr ""
63 |
64 | #: inc/dashboard.class.php:317
65 | msgid "Number of concerned tickets"
66 | msgstr ""
67 |
68 | #: inc/dashboard.class.php:322
69 | msgid "Survey not answered"
70 | msgstr ""
71 |
72 | #: inc/dashboard.class.php:327
73 | msgid "Survey answered"
74 | msgstr ""
75 |
76 | #: inc/dashboard.class.php:332
77 | msgid "Global satisfaction"
78 | msgstr ""
79 |
80 | #: inc/dashboard.class.php:374
81 | msgid "Periods"
82 | msgstr ""
83 |
84 | #: inc/notificationMailing.class.php:51
85 | msgid "Notification satisfaction reminder"
86 | msgstr ""
87 |
88 | #: inc/notificationMailing.class.php:180
89 | msgid "Resource creation"
90 | msgstr ""
91 |
92 | #: inc/notificationMailing.class.php:181
93 | msgid "Other"
94 | msgstr ""
95 |
96 | #: inc/notificationtargetticket.class.php:39
97 | msgid "Survey Reminder"
98 | msgstr ""
99 |
100 | #: inc/reminder.class.php:30
101 | msgid "Satisfaction reminder"
102 | msgid_plural "Satisfaction reminders"
103 | msgstr[0] ""
104 | msgstr[1] ""
105 |
106 | #: inc/reminder.class.php:44
107 | msgid "Send automaticaly survey reminders"
108 | msgstr ""
109 |
110 | #: inc/surveyanswer.class.php:22
111 | msgid "Answer"
112 | msgid_plural "Answers"
113 | msgstr[0] ""
114 | msgstr[1] ""
115 |
116 | #: inc/surveyanswer.class.php:43
117 | msgid "Preview"
118 | msgstr ""
119 |
120 | #: inc/surveyanswer.class.php:116
121 | msgid "Satisfaction"
122 | msgstr ""
123 |
124 | #: inc/survey.class.php:223 inc/survey.class.php:249
125 | msgid "Error : only one survey is allowed by entity"
126 | msgstr ""
127 |
128 | #: inc/surveyquestion.class.php:30
129 | msgid "Question"
130 | msgid_plural "Questions"
131 | msgstr[0] ""
132 | msgstr[1] ""
133 |
134 | #: inc/surveyquestion.class.php:105
135 | msgid ""
136 | "You cannot edit the questions when answers exists for this survey. Disable "
137 | "this survey and create a new one !"
138 | msgstr ""
139 |
140 | #: inc/surveyquestion.class.php:125 inc/surveyquestion.class.php:195
141 | msgid "Add a question"
142 | msgstr ""
143 |
144 | #: inc/surveyquestion.class.php:133
145 | msgid "No questions for this survey"
146 | msgstr ""
147 |
148 | #: inc/surveyquestion.class.php:231
149 | msgid "Note on"
150 | msgstr ""
151 |
152 | #: inc/surveyquestion.class.php:325 inc/surveyquestion.class.php:340
153 | msgid "Text"
154 | msgstr ""
155 |
156 | #: inc/surveyquestion.class.php:326 inc/surveyquestion.class.php:342
157 | msgid "Note"
158 | msgstr ""
159 |
160 | #: inc/surveyreminder.class.php:45 inc/surveyreminder.class.php:65
161 | #: inc/surveyreminder.class.php:446
162 | msgid "Reminder"
163 | msgid_plural "Reminders"
164 | msgstr[0] ""
165 | msgstr[1] ""
166 |
167 | #: inc/surveyreminder.class.php:143 inc/surveyreminder.class.php:246
168 | msgid "Add a reminder"
169 | msgstr ""
170 |
171 | #: inc/surveyreminder.class.php:147
172 | msgid "Add a predefined reminder"
173 | msgstr ""
174 |
175 | #: inc/surveyreminder.class.php:154
176 | msgid "Setup maximum number of days to send reminder"
177 | msgstr ""
178 |
179 | #: inc/surveyreminder.class.php:155
180 | msgid "Maximum number of days to send reminder"
181 | msgstr ""
182 |
183 | #: inc/surveyreminder.class.php:173
184 | msgid "No reminders for this survey"
185 | msgstr ""
186 |
187 | #: inc/surveyreminder.class.php:244
188 | msgid "Choose a predefined reminder"
189 | msgstr ""
190 |
191 | #: inc/surveyreminder.class.php:255
192 | msgid "Predefined Reminders"
193 | msgstr ""
194 |
195 | #: inc/surveyreminder.class.php:388
196 | msgid "Month"
197 | msgstr ""
198 |
199 | #: inc/surveyreminder.class.php:402
200 | msgid "One Week"
201 | msgstr ""
202 |
203 | #: inc/surveyreminder.class.php:403
204 | msgid "Two Week"
205 | msgstr ""
206 |
207 | #: inc/surveyreminder.class.php:404
208 | msgid "One Month"
209 | msgstr ""
210 |
211 | #: inc/surveyreminder.class.php:417
212 | msgid "Duration Type"
213 | msgstr ""
214 |
215 | #: inc/surveyreminder.class.php:418
216 | msgid "Duration"
217 | msgstr ""
218 |
219 | #: inc/surveyreminder.class.php:491
220 | #, php-format
221 | msgid ""
222 | "You already have a reminder with the same duration type and duration named : "
223 | "%s"
224 | msgstr ""
225 |
226 | #: inc/surveyreminder.class.php:521
227 | msgid "There are nothing to save"
228 | msgstr ""
229 |
230 | #: inc/surveyresult.class.php:22
231 | msgid "Result of the survey"
232 | msgid_plural "Results of the survey"
233 | msgstr[0] ""
234 | msgstr[1] ""
235 |
236 | #: inc/surveyresult.class.php:43
237 | msgid "Result"
238 | msgstr ""
239 |
240 | #: inc/surveyresult.class.php:86
241 | msgid "No result of the survey"
242 | msgstr ""
243 |
244 | #: inc/surveytranslation.class.php:240
245 | msgid "No translation found"
246 | msgstr ""
247 |
248 | #: inc/surveytranslation.class.php:396
249 | #, php-format
250 | msgid "An %s translation for this Question already exist."
251 | msgstr ""
252 |
253 | #: inc/surveytranslation.class.php:409
254 | msgid "Translation successfully created."
255 | msgstr ""
256 |
257 | #: inc/surveytranslation.class.php:421
258 | msgid "Translation creation failed"
259 | msgstr ""
260 |
261 | #: inc/surveytranslation.class.php:435
262 | msgid "The translation you want to edit does not exist."
263 | msgstr ""
264 |
265 | #: inc/surveytranslation.class.php:445
266 | msgid "Translation successfully edited."
267 | msgstr ""
268 |
--------------------------------------------------------------------------------
/locales/hr_HR.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pluginsGLPI/satisfaction/aa010b71167b74201fe8dfd8f270371cf64bc74a/locales/hr_HR.mo
--------------------------------------------------------------------------------
/locales/hr_HR.po:
--------------------------------------------------------------------------------
1 | # SOME DESCRIPTIVE TITLE.
2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3 | # This file is distributed under the same license as the PACKAGE package.
4 | # FIRST AUTHOR , YEAR.
5 | #
6 | # Translators:
7 | # Xavier CAILLAUD , 2020
8 | #
9 | #, fuzzy
10 | msgid ""
11 | msgstr ""
12 | "Project-Id-Version: PACKAGE VERSION\n"
13 | "Report-Msgid-Bugs-To: \n"
14 | "POT-Creation-Date: 2020-04-28 08:52+0200\n"
15 | "PO-Revision-Date: 2018-03-14 08:28+0000\n"
16 | "Last-Translator: Xavier CAILLAUD , 2020\n"
17 | "Language-Team: Croatian (Croatia) (https://www.transifex.com/infotelGLPI/teams/84146/hr_HR/)\n"
18 | "MIME-Version: 1.0\n"
19 | "Content-Type: text/plain; charset=UTF-8\n"
20 | "Content-Transfer-Encoding: 8bit\n"
21 | "Language: hr_HR\n"
22 | "Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n"
23 |
24 | #: hook.php:93
25 | msgid "Ticket Satisfaction Reminder"
26 | msgstr "Podsjetnik zadovoljstva za naloge"
27 |
28 | #: setup.php:62
29 | msgid "More satisfaction"
30 | msgstr "Više zadovoljstva"
31 |
32 | #: inc/dashboard.class.php:76 inc/menu.class.php:14 inc/profile.class.php:50
33 | #: inc/survey.class.php:24
34 | msgid "Satisfaction survey"
35 | msgid_plural "Satisfaction surveys"
36 | msgstr[0] "Anketa o zadovoljstvu"
37 | msgstr[1] "Ankete o zadovoljstvu"
38 | msgstr[2] "Ankete o zadovoljstvu"
39 |
40 | #: inc/dashboard.class.php:99
41 | msgid "First Trimester"
42 | msgstr "Prvi kvartal"
43 |
44 | #: inc/dashboard.class.php:100
45 | msgid "Second Trimester"
46 | msgstr "Drugi kvartal"
47 |
48 | #: inc/dashboard.class.php:101
49 | msgid "Third Trimester"
50 | msgstr "Treći kvartal"
51 |
52 | #: inc/dashboard.class.php:102
53 | msgid "Fourth Trimester"
54 | msgstr "Četvrti kvartal"
55 |
56 | #: inc/dashboard.class.php:103
57 | msgid "Year"
58 | msgstr "Godina"
59 |
60 | #: inc/dashboard.class.php:199
61 | msgid "There are no survey for current entity"
62 | msgstr "Nema ankete za trenutačni entitet"
63 |
64 | #: inc/dashboard.class.php:312
65 | msgid "Number of surveys"
66 | msgstr "Broj anketa"
67 |
68 | #: inc/dashboard.class.php:317
69 | msgid "Number of concerned tickets"
70 | msgstr "Broj dotičnih naloga"
71 |
72 | #: inc/dashboard.class.php:322
73 | msgid "Survey not answered"
74 | msgstr "Anketa nije odgovorena"
75 |
76 | #: inc/dashboard.class.php:327
77 | msgid "Survey answered"
78 | msgstr "Anketa odgovorena"
79 |
80 | #: inc/dashboard.class.php:332
81 | msgid "Global satisfaction"
82 | msgstr "Opće zadovoljstvo"
83 |
84 | #: inc/dashboard.class.php:374
85 | msgid "Periods"
86 | msgstr "Razdoblja"
87 |
88 | #: inc/notificationMailing.class.php:51
89 | msgid "Notification satisfaction reminder"
90 | msgstr "Obavijest o podsjetniku zadovoljstva"
91 |
92 | #: inc/notificationMailing.class.php:180
93 | msgid "Resource creation"
94 | msgstr "Stvaranje resursa"
95 |
96 | #: inc/notificationMailing.class.php:181
97 | msgid "Other"
98 | msgstr "Ostalo"
99 |
100 | #: inc/notificationtargetticket.class.php:39
101 | msgid "Survey Reminder"
102 | msgstr "Podsjetnik za anketu"
103 |
104 | #: inc/reminder.class.php:30
105 | msgid "Satisfaction reminder"
106 | msgid_plural "Satisfaction reminders"
107 | msgstr[0] "Podsjetnik zadovoljstva"
108 | msgstr[1] "Podsjetnici zadovoljstva"
109 | msgstr[2] "Podsjetnici zadovoljstva"
110 |
111 | #: inc/reminder.class.php:44
112 | msgid "Send automaticaly survey reminders"
113 | msgstr ""
114 |
115 | #: inc/surveyanswer.class.php:22
116 | msgid "Answer"
117 | msgid_plural "Answers"
118 | msgstr[0] "Odgovor"
119 | msgstr[1] "Odgovori"
120 | msgstr[2] "Odgovori"
121 |
122 | #: inc/surveyanswer.class.php:43
123 | msgid "Preview"
124 | msgstr "Pregled"
125 |
126 | #: inc/surveyanswer.class.php:116
127 | msgid "Satisfaction"
128 | msgstr "Zadovoljstvo"
129 |
130 | #: inc/survey.class.php:223 inc/survey.class.php:249
131 | msgid "Error : only one survey is allowed by entity"
132 | msgstr "Greška: dozvoljena je samo jedna anketa po entitetu"
133 |
134 | #: inc/surveyquestion.class.php:30
135 | msgid "Question"
136 | msgid_plural "Questions"
137 | msgstr[0] "Pitanje"
138 | msgstr[1] "Pitanja"
139 | msgstr[2] "Pitanja"
140 |
141 | #: inc/surveyquestion.class.php:105
142 | msgid ""
143 | "You cannot edit the questions when answers exists for this survey. Disable "
144 | "this survey and create a new one !"
145 | msgstr ""
146 | "Ne možeš urediti pitanja kad postoje odgovori za ovu anketu. Deaktiviraj ovu"
147 | " anketu i stvori novu!"
148 |
149 | #: inc/surveyquestion.class.php:125 inc/surveyquestion.class.php:195
150 | msgid "Add a question"
151 | msgstr "Dodaj pitanje"
152 |
153 | #: inc/surveyquestion.class.php:133
154 | msgid "No questions for this survey"
155 | msgstr "Nema pitanja za ovu anketu"
156 |
157 | #: inc/surveyquestion.class.php:231
158 | msgid "Note on"
159 | msgstr "Napomena za"
160 |
161 | #: inc/surveyquestion.class.php:325 inc/surveyquestion.class.php:340
162 | msgid "Text"
163 | msgstr "Tekst"
164 |
165 | #: inc/surveyquestion.class.php:326 inc/surveyquestion.class.php:342
166 | msgid "Note"
167 | msgstr "Bilješka"
168 |
169 | #: inc/surveyreminder.class.php:45 inc/surveyreminder.class.php:65
170 | #: inc/surveyreminder.class.php:446
171 | msgid "Reminder"
172 | msgid_plural "Reminders"
173 | msgstr[0] "Podsjetnik"
174 | msgstr[1] "Podsjetnici"
175 | msgstr[2] "Podsjetnici"
176 |
177 | #: inc/surveyreminder.class.php:143 inc/surveyreminder.class.php:246
178 | msgid "Add a reminder"
179 | msgstr "Dodaj podsjetnik"
180 |
181 | #: inc/surveyreminder.class.php:147
182 | msgid "Add a predefined reminder"
183 | msgstr "Dodaj predodređeni podsjetnik"
184 |
185 | #: inc/surveyreminder.class.php:154
186 | msgid "Setup maximum number of days to send reminder"
187 | msgstr ""
188 |
189 | #: inc/surveyreminder.class.php:155
190 | msgid "Maximum number of days to send reminder"
191 | msgstr ""
192 |
193 | #: inc/surveyreminder.class.php:173
194 | msgid "No reminders for this survey"
195 | msgstr "Nema podsjetnika za ovu anketu"
196 |
197 | #: inc/surveyreminder.class.php:244
198 | msgid "Choose a predefined reminder"
199 | msgstr "Odaberi predodređeni podsjetnik"
200 |
201 | #: inc/surveyreminder.class.php:255
202 | msgid "Predefined Reminders"
203 | msgstr "Predodređeni podsjetnici"
204 |
205 | #: inc/surveyreminder.class.php:388
206 | msgid "Month"
207 | msgstr "Mjesec"
208 |
209 | #: inc/surveyreminder.class.php:402
210 | msgid "One Week"
211 | msgstr "Jedan tjedan"
212 |
213 | #: inc/surveyreminder.class.php:403
214 | msgid "Two Week"
215 | msgstr "Dva tjedna"
216 |
217 | #: inc/surveyreminder.class.php:404
218 | msgid "One Month"
219 | msgstr "Jedan mjesec"
220 |
221 | #: inc/surveyreminder.class.php:417
222 | msgid "Duration Type"
223 | msgstr "Vrsta trajanja"
224 |
225 | #: inc/surveyreminder.class.php:418
226 | msgid "Duration"
227 | msgstr "Trajanje"
228 |
229 | #: inc/surveyreminder.class.php:491
230 | #, php-format
231 | msgid ""
232 | "You already have a reminder with the same duration type and duration named :"
233 | " %s"
234 | msgstr "Već imaš podsjetnik iste vrste i trajanja, zove se: %s"
235 |
236 | #: inc/surveyreminder.class.php:521
237 | msgid "There are nothing to save"
238 | msgstr "Nema se što spremiti"
239 |
240 | #: inc/surveyresult.class.php:22
241 | msgid "Result of the survey"
242 | msgid_plural "Results of the survey"
243 | msgstr[0] "Rezultat ankete"
244 | msgstr[1] "Rezultati ankete"
245 | msgstr[2] "Rezultati ankete"
246 |
247 | #: inc/surveyresult.class.php:43
248 | msgid "Result"
249 | msgstr "Rezultat"
250 |
251 | #: inc/surveyresult.class.php:86
252 | msgid "No result of the survey"
253 | msgstr "Nema rezultata iz ankete"
254 |
255 | #: inc/surveytranslation.class.php:240
256 | msgid "No translation found"
257 | msgstr "Nijedan prijevod nije pronađen"
258 |
259 | #: inc/surveytranslation.class.php:396
260 | #, php-format
261 | msgid "An %s translation for this Question already exist."
262 | msgstr "Jedan %s prijevod za ovo pitanje već postoji."
263 |
264 | #: inc/surveytranslation.class.php:409
265 | msgid "Translation successfully created."
266 | msgstr "Prijevod uspješno stvoren."
267 |
268 | #: inc/surveytranslation.class.php:421
269 | msgid "Translation creation failed"
270 | msgstr "Neuspjelo stvaranje prijevoda"
271 |
272 | #: inc/surveytranslation.class.php:435
273 | msgid "The translation you want to edit does not exist."
274 | msgstr "Prijevod kojeg želiš urediti ne postoji."
275 |
276 | #: inc/surveytranslation.class.php:445
277 | msgid "Translation successfully edited."
278 | msgstr "Prijevod uspješno uređen."
279 |
--------------------------------------------------------------------------------
/locales/pt_BR.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pluginsGLPI/satisfaction/aa010b71167b74201fe8dfd8f270371cf64bc74a/locales/pt_BR.mo
--------------------------------------------------------------------------------
/locales/pt_BR.po:
--------------------------------------------------------------------------------
1 | # SOME DESCRIPTIVE TITLE.
2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3 | # This file is distributed under the same license as the PACKAGE package.
4 | # FIRST AUTHOR , YEAR.
5 | #
6 | # Translators:
7 | # Paulo Renato , 2018
8 | # Elton Pereira Rosa , 2019
9 | #
10 | #, fuzzy
11 | msgid ""
12 | msgstr ""
13 | "Project-Id-Version: PACKAGE VERSION\n"
14 | "Report-Msgid-Bugs-To: \n"
15 | "POT-Creation-Date: 2020-04-28 08:52+0200\n"
16 | "PO-Revision-Date: 2018-03-14 08:28+0000\n"
17 | "Last-Translator: Elton Pereira Rosa , 2019\n"
18 | "Language-Team: Portuguese (Brazil) (https://www.transifex.com/infotelGLPI/teams/84146/pt_BR/)\n"
19 | "MIME-Version: 1.0\n"
20 | "Content-Type: text/plain; charset=UTF-8\n"
21 | "Content-Transfer-Encoding: 8bit\n"
22 | "Language: pt_BR\n"
23 | "Plural-Forms: nplurals=2; plural=(n > 1);\n"
24 |
25 | #: hook.php:93
26 | msgid "Ticket Satisfaction Reminder"
27 | msgstr "Lembrete de Satisfação do Chamado"
28 |
29 | #: setup.php:62
30 | msgid "More satisfaction"
31 | msgstr "Mais satisfação"
32 |
33 | #: inc/dashboard.class.php:76 inc/menu.class.php:14 inc/profile.class.php:50
34 | #: inc/survey.class.php:24
35 | msgid "Satisfaction survey"
36 | msgid_plural "Satisfaction surveys"
37 | msgstr[0] "Pesquisas de Satisfação"
38 | msgstr[1] "Pesquisas de Satisfação"
39 |
40 | #: inc/dashboard.class.php:99
41 | msgid "First Trimester"
42 | msgstr "Primeiro Trimestre"
43 |
44 | #: inc/dashboard.class.php:100
45 | msgid "Second Trimester"
46 | msgstr "Segundo Trimestre"
47 |
48 | #: inc/dashboard.class.php:101
49 | msgid "Third Trimester"
50 | msgstr "Terceiro Trimestre"
51 |
52 | #: inc/dashboard.class.php:102
53 | msgid "Fourth Trimester"
54 | msgstr "Quatro Trimestre"
55 |
56 | #: inc/dashboard.class.php:103
57 | msgid "Year"
58 | msgstr "Ano"
59 |
60 | #: inc/dashboard.class.php:199
61 | msgid "There are no survey for current entity"
62 | msgstr "Não há pesquisa para a entidade atual"
63 |
64 | #: inc/dashboard.class.php:312
65 | msgid "Number of surveys"
66 | msgstr "Número de pesquisas"
67 |
68 | #: inc/dashboard.class.php:317
69 | msgid "Number of concerned tickets"
70 | msgstr "Número de chamados em questão"
71 |
72 | #: inc/dashboard.class.php:322
73 | msgid "Survey not answered"
74 | msgstr "Pesquisa não respondida"
75 |
76 | #: inc/dashboard.class.php:327
77 | msgid "Survey answered"
78 | msgstr "Pesquisa respondida"
79 |
80 | #: inc/dashboard.class.php:332
81 | msgid "Global satisfaction"
82 | msgstr "Satisfação Global"
83 |
84 | #: inc/dashboard.class.php:374
85 | msgid "Periods"
86 | msgstr "Períodos"
87 |
88 | #: inc/notificationMailing.class.php:51
89 | msgid "Notification satisfaction reminder"
90 | msgstr "Notificação de lembrete de satisfação"
91 |
92 | #: inc/notificationMailing.class.php:180
93 | msgid "Resource creation"
94 | msgstr "Criação de recurso"
95 |
96 | #: inc/notificationMailing.class.php:181
97 | msgid "Other"
98 | msgstr "Outros"
99 |
100 | #: inc/notificationtargetticket.class.php:39
101 | msgid "Survey Reminder"
102 | msgstr "Lembrete da pesquisa"
103 |
104 | #: inc/reminder.class.php:30
105 | msgid "Satisfaction reminder"
106 | msgid_plural "Satisfaction reminders"
107 | msgstr[0] "Lembrete de satisfação"
108 | msgstr[1] "Lembretes de satisfação"
109 |
110 | #: inc/reminder.class.php:44
111 | msgid "Send automaticaly survey reminders"
112 | msgstr ""
113 |
114 | #: inc/surveyanswer.class.php:22
115 | msgid "Answer"
116 | msgid_plural "Answers"
117 | msgstr[0] "Resposta"
118 | msgstr[1] "Respostas"
119 |
120 | #: inc/surveyanswer.class.php:43
121 | msgid "Preview"
122 | msgstr "Visualizar"
123 |
124 | #: inc/surveyanswer.class.php:116
125 | msgid "Satisfaction"
126 | msgstr "Satisfação"
127 |
128 | #: inc/survey.class.php:223 inc/survey.class.php:249
129 | msgid "Error : only one survey is allowed by entity"
130 | msgstr "Erro: apenas uma pesquisa é permitida por entidade"
131 |
132 | #: inc/surveyquestion.class.php:30
133 | msgid "Question"
134 | msgid_plural "Questions"
135 | msgstr[0] "Questão"
136 | msgstr[1] "Questões"
137 |
138 | #: inc/surveyquestion.class.php:105
139 | msgid ""
140 | "You cannot edit the questions when answers exists for this survey. Disable "
141 | "this survey and create a new one !"
142 | msgstr ""
143 | "Você não pode editar as perguntas quando houver respostas para essa "
144 | "pesquisa. Desative esta pesquisa e crie uma nova!"
145 |
146 | #: inc/surveyquestion.class.php:125 inc/surveyquestion.class.php:195
147 | msgid "Add a question"
148 | msgstr "Adicionar uma questão"
149 |
150 | #: inc/surveyquestion.class.php:133
151 | msgid "No questions for this survey"
152 | msgstr "Nenhuma pergunta para esta pesquisa"
153 |
154 | #: inc/surveyquestion.class.php:231
155 | msgid "Note on"
156 | msgstr "Nota sobre"
157 |
158 | #: inc/surveyquestion.class.php:325 inc/surveyquestion.class.php:340
159 | msgid "Text"
160 | msgstr "Texto"
161 |
162 | #: inc/surveyquestion.class.php:326 inc/surveyquestion.class.php:342
163 | msgid "Note"
164 | msgstr "Nota"
165 |
166 | #: inc/surveyreminder.class.php:45 inc/surveyreminder.class.php:65
167 | #: inc/surveyreminder.class.php:446
168 | msgid "Reminder"
169 | msgid_plural "Reminders"
170 | msgstr[0] "Lembrete"
171 | msgstr[1] "Lembretes"
172 |
173 | #: inc/surveyreminder.class.php:143 inc/surveyreminder.class.php:246
174 | msgid "Add a reminder"
175 | msgstr "Adicionar um lembrete"
176 |
177 | #: inc/surveyreminder.class.php:147
178 | msgid "Add a predefined reminder"
179 | msgstr "Adicionar um lembrete predefinido"
180 |
181 | #: inc/surveyreminder.class.php:154
182 | msgid "Setup maximum number of days to send reminder"
183 | msgstr ""
184 |
185 | #: inc/surveyreminder.class.php:155
186 | msgid "Maximum number of days to send reminder"
187 | msgstr ""
188 |
189 | #: inc/surveyreminder.class.php:173
190 | msgid "No reminders for this survey"
191 | msgstr "Nenhum lembrete para esta pesquisa"
192 |
193 | #: inc/surveyreminder.class.php:244
194 | msgid "Choose a predefined reminder"
195 | msgstr "Escolha um lembrete predefinido"
196 |
197 | #: inc/surveyreminder.class.php:255
198 | msgid "Predefined Reminders"
199 | msgstr "Lembretes Predefinidos"
200 |
201 | #: inc/surveyreminder.class.php:388
202 | msgid "Month"
203 | msgstr "Mês"
204 |
205 | #: inc/surveyreminder.class.php:402
206 | msgid "One Week"
207 | msgstr "Uma Semana"
208 |
209 | #: inc/surveyreminder.class.php:403
210 | msgid "Two Week"
211 | msgstr "Duas Semanas"
212 |
213 | #: inc/surveyreminder.class.php:404
214 | msgid "One Month"
215 | msgstr "Um Mês"
216 |
217 | #: inc/surveyreminder.class.php:417
218 | msgid "Duration Type"
219 | msgstr "Tipo de Duração"
220 |
221 | #: inc/surveyreminder.class.php:418
222 | msgid "Duration"
223 | msgstr "Duração"
224 |
225 | #: inc/surveyreminder.class.php:491
226 | #, php-format
227 | msgid ""
228 | "You already have a reminder with the same duration type and duration named :"
229 | " %s"
230 | msgstr ""
231 | "Você já tem um lembrete com o mesmo tipo de duração e duração chamado: %s"
232 |
233 | #: inc/surveyreminder.class.php:521
234 | msgid "There are nothing to save"
235 | msgstr "Não há nada para salvar"
236 |
237 | #: inc/surveyresult.class.php:22
238 | msgid "Result of the survey"
239 | msgid_plural "Results of the survey"
240 | msgstr[0] "Resultado da pesquisa"
241 | msgstr[1] "Resultados da pesquisa"
242 |
243 | #: inc/surveyresult.class.php:43
244 | msgid "Result"
245 | msgstr "Resultado"
246 |
247 | #: inc/surveyresult.class.php:86
248 | msgid "No result of the survey"
249 | msgstr "Nenhum resultado da pesquisa"
250 |
251 | #: inc/surveytranslation.class.php:240
252 | msgid "No translation found"
253 | msgstr "Nenhuma tradução encontrada."
254 |
255 | #: inc/surveytranslation.class.php:396
256 | #, php-format
257 | msgid "An %s translation for this Question already exist."
258 | msgstr "Já existe %s tradução para estra Questão."
259 |
260 | #: inc/surveytranslation.class.php:409
261 | msgid "Translation successfully created."
262 | msgstr "Tradução criada com sucesso."
263 |
264 | #: inc/surveytranslation.class.php:421
265 | msgid "Translation creation failed"
266 | msgstr "Falha na criação da tradução."
267 |
268 | #: inc/surveytranslation.class.php:435
269 | msgid "The translation you want to edit does not exist."
270 | msgstr "A tradução que você quer editar não existe."
271 |
272 | #: inc/surveytranslation.class.php:445
273 | msgid "Translation successfully edited."
274 | msgstr "Tradução alterada com sucesso."
275 |
--------------------------------------------------------------------------------
/locales/pt_PT.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pluginsGLPI/satisfaction/aa010b71167b74201fe8dfd8f270371cf64bc74a/locales/pt_PT.mo
--------------------------------------------------------------------------------
/locales/pt_PT.po:
--------------------------------------------------------------------------------
1 | # SOME DESCRIPTIVE TITLE.
2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3 | # This file is distributed under the same license as the PACKAGE package.
4 | # FIRST AUTHOR , YEAR.
5 | #
6 | # Translators:
7 | # Emperium , 2019
8 | #
9 | #, fuzzy
10 | msgid ""
11 | msgstr ""
12 | "Project-Id-Version: PACKAGE VERSION\n"
13 | "Report-Msgid-Bugs-To: \n"
14 | "POT-Creation-Date: 2020-04-28 08:52+0200\n"
15 | "PO-Revision-Date: 2018-03-14 08:28+0000\n"
16 | "Last-Translator: Emperium , 2019\n"
17 | "Language-Team: Portuguese (Portugal) (https://www.transifex.com/infotelGLPI/teams/84146/pt_PT/)\n"
18 | "MIME-Version: 1.0\n"
19 | "Content-Type: text/plain; charset=UTF-8\n"
20 | "Content-Transfer-Encoding: 8bit\n"
21 | "Language: pt_PT\n"
22 | "Plural-Forms: nplurals=2; plural=(n != 1);\n"
23 |
24 | #: hook.php:93
25 | msgid "Ticket Satisfaction Reminder"
26 | msgstr "Lembrete de satisfação do ticket"
27 |
28 | #: setup.php:62
29 | msgid "More satisfaction"
30 | msgstr "Mais satisfação"
31 |
32 | #: inc/dashboard.class.php:76 inc/menu.class.php:14 inc/profile.class.php:50
33 | #: inc/survey.class.php:24
34 | msgid "Satisfaction survey"
35 | msgid_plural "Satisfaction surveys"
36 | msgstr[0] "Avaliação de satisfação"
37 | msgstr[1] "Avaliações de satisfação"
38 |
39 | #: inc/dashboard.class.php:99
40 | msgid "First Trimester"
41 | msgstr "Primeiro trimestre"
42 |
43 | #: inc/dashboard.class.php:100
44 | msgid "Second Trimester"
45 | msgstr "Segundo trimestre"
46 |
47 | #: inc/dashboard.class.php:101
48 | msgid "Third Trimester"
49 | msgstr "Terceiro trimestre"
50 |
51 | #: inc/dashboard.class.php:102
52 | msgid "Fourth Trimester"
53 | msgstr "Quarto trimestre"
54 |
55 | #: inc/dashboard.class.php:103
56 | msgid "Year"
57 | msgstr "Ano"
58 |
59 | #: inc/dashboard.class.php:199
60 | msgid "There are no survey for current entity"
61 | msgstr "Não existem vistorias para a entidade actual "
62 |
63 | #: inc/dashboard.class.php:312
64 | msgid "Number of surveys"
65 | msgstr "Número de vistoria "
66 |
67 | #: inc/dashboard.class.php:317
68 | msgid "Number of concerned tickets"
69 | msgstr ""
70 |
71 | #: inc/dashboard.class.php:322
72 | msgid "Survey not answered"
73 | msgstr "Vistoria não respondida "
74 |
75 | #: inc/dashboard.class.php:327
76 | msgid "Survey answered"
77 | msgstr "Vistoria respondida"
78 |
79 | #: inc/dashboard.class.php:332
80 | msgid "Global satisfaction"
81 | msgstr "Satisfação global"
82 |
83 | #: inc/dashboard.class.php:374
84 | msgid "Periods"
85 | msgstr "Períodos "
86 |
87 | #: inc/notificationMailing.class.php:51
88 | msgid "Notification satisfaction reminder"
89 | msgstr "Notificação de lembrete de satisfação "
90 |
91 | #: inc/notificationMailing.class.php:180
92 | msgid "Resource creation"
93 | msgstr "Criação de recursos"
94 |
95 | #: inc/notificationMailing.class.php:181
96 | msgid "Other"
97 | msgstr "Outro"
98 |
99 | #: inc/notificationtargetticket.class.php:39
100 | msgid "Survey Reminder"
101 | msgstr "Lembrete de vistoria"
102 |
103 | #: inc/reminder.class.php:30
104 | msgid "Satisfaction reminder"
105 | msgid_plural "Satisfaction reminders"
106 | msgstr[0] "Lembrete de satisfação "
107 | msgstr[1] "Lembretes de satisfação "
108 |
109 | #: inc/reminder.class.php:44
110 | msgid "Send automaticaly survey reminders"
111 | msgstr ""
112 |
113 | #: inc/surveyanswer.class.php:22
114 | msgid "Answer"
115 | msgid_plural "Answers"
116 | msgstr[0] "Resposta"
117 | msgstr[1] "Respostas"
118 |
119 | #: inc/surveyanswer.class.php:43
120 | msgid "Preview"
121 | msgstr "Visualização "
122 |
123 | #: inc/surveyanswer.class.php:116
124 | msgid "Satisfaction"
125 | msgstr "Satisfação "
126 |
127 | #: inc/survey.class.php:223 inc/survey.class.php:249
128 | msgid "Error : only one survey is allowed by entity"
129 | msgstr "Erro : Apenas uma avaliação é permitida pela entidade "
130 |
131 | #: inc/surveyquestion.class.php:30
132 | msgid "Question"
133 | msgid_plural "Questions"
134 | msgstr[0] "Pergunta"
135 | msgstr[1] "Perguntas"
136 |
137 | #: inc/surveyquestion.class.php:105
138 | msgid ""
139 | "You cannot edit the questions when answers exists for this survey. Disable "
140 | "this survey and create a new one !"
141 | msgstr ""
142 | "Não pode editar as perguntas quando já existem respostas para esta "
143 | "avaliação. Desactive esta avaliação e crie uma nova!"
144 |
145 | #: inc/surveyquestion.class.php:125 inc/surveyquestion.class.php:195
146 | msgid "Add a question"
147 | msgstr "Insira uma pergunta"
148 |
149 | #: inc/surveyquestion.class.php:133
150 | msgid "No questions for this survey"
151 | msgstr "Sem perguntas para esta avaliação"
152 |
153 | #: inc/surveyquestion.class.php:231
154 | msgid "Note on"
155 | msgstr "Nota sobre"
156 |
157 | #: inc/surveyquestion.class.php:325 inc/surveyquestion.class.php:340
158 | msgid "Text"
159 | msgstr "Texto"
160 |
161 | #: inc/surveyquestion.class.php:326 inc/surveyquestion.class.php:342
162 | msgid "Note"
163 | msgstr "Nota"
164 |
165 | #: inc/surveyreminder.class.php:45 inc/surveyreminder.class.php:65
166 | #: inc/surveyreminder.class.php:446
167 | msgid "Reminder"
168 | msgid_plural "Reminders"
169 | msgstr[0] "Lembrete"
170 | msgstr[1] "Lembretes"
171 |
172 | #: inc/surveyreminder.class.php:143 inc/surveyreminder.class.php:246
173 | msgid "Add a reminder"
174 | msgstr "Adicionar um lembrete"
175 |
176 | #: inc/surveyreminder.class.php:147
177 | msgid "Add a predefined reminder"
178 | msgstr "Adicionar um lembrete predefinido "
179 |
180 | #: inc/surveyreminder.class.php:154
181 | msgid "Setup maximum number of days to send reminder"
182 | msgstr ""
183 |
184 | #: inc/surveyreminder.class.php:155
185 | msgid "Maximum number of days to send reminder"
186 | msgstr ""
187 |
188 | #: inc/surveyreminder.class.php:173
189 | msgid "No reminders for this survey"
190 | msgstr "Sem lembretes para esta vistoria"
191 |
192 | #: inc/surveyreminder.class.php:244
193 | msgid "Choose a predefined reminder"
194 | msgstr "Escolher um lembrete pré-definido "
195 |
196 | #: inc/surveyreminder.class.php:255
197 | msgid "Predefined Reminders"
198 | msgstr "Lembretes pré-definidos"
199 |
200 | #: inc/surveyreminder.class.php:388
201 | msgid "Month"
202 | msgstr "Mês"
203 |
204 | #: inc/surveyreminder.class.php:402
205 | msgid "One Week"
206 | msgstr "Uma semana"
207 |
208 | #: inc/surveyreminder.class.php:403
209 | msgid "Two Week"
210 | msgstr "Duas semanas"
211 |
212 | #: inc/surveyreminder.class.php:404
213 | msgid "One Month"
214 | msgstr "Um mês"
215 |
216 | #: inc/surveyreminder.class.php:417
217 | msgid "Duration Type"
218 | msgstr "Tipo de duração"
219 |
220 | #: inc/surveyreminder.class.php:418
221 | msgid "Duration"
222 | msgstr "Duração"
223 |
224 | #: inc/surveyreminder.class.php:491
225 | #, php-format
226 | msgid ""
227 | "You already have a reminder with the same duration type and duration named :"
228 | " %s"
229 | msgstr ""
230 | "Já existe um lembrete com o mesmo tipo de duração e duração chamada : %s"
231 |
232 | #: inc/surveyreminder.class.php:521
233 | msgid "There are nothing to save"
234 | msgstr "Não existe nada para guardar"
235 |
236 | #: inc/surveyresult.class.php:22
237 | msgid "Result of the survey"
238 | msgid_plural "Results of the survey"
239 | msgstr[0] "Resultado da avaliação"
240 | msgstr[1] "Resultados da avaliação"
241 |
242 | #: inc/surveyresult.class.php:43
243 | msgid "Result"
244 | msgstr "Resultado"
245 |
246 | #: inc/surveyresult.class.php:86
247 | msgid "No result of the survey"
248 | msgstr "Sem resultado da avaliação "
249 |
250 | #: inc/surveytranslation.class.php:240
251 | msgid "No translation found"
252 | msgstr "Tradução não encontrada"
253 |
254 | #: inc/surveytranslation.class.php:396
255 | #, php-format
256 | msgid "An %s translation for this Question already exist."
257 | msgstr "Já existe %s de tradução para esta questão"
258 |
259 | #: inc/surveytranslation.class.php:409
260 | msgid "Translation successfully created."
261 | msgstr "Tradução criada com sucesso"
262 |
263 | #: inc/surveytranslation.class.php:421
264 | msgid "Translation creation failed"
265 | msgstr "Falhou a criação da tradução"
266 |
267 | #: inc/surveytranslation.class.php:435
268 | msgid "The translation you want to edit does not exist."
269 | msgstr "A tradução que pretende editar não existe"
270 |
271 | #: inc/surveytranslation.class.php:445
272 | msgid "Translation successfully edited."
273 | msgstr "Tradução editada com sucesso"
274 |
--------------------------------------------------------------------------------
/locales/ru_RU.mo:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pluginsGLPI/satisfaction/aa010b71167b74201fe8dfd8f270371cf64bc74a/locales/ru_RU.mo
--------------------------------------------------------------------------------
/locales/ru_RU.po:
--------------------------------------------------------------------------------
1 | # SOME DESCRIPTIVE TITLE.
2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3 | # This file is distributed under the same license as the PACKAGE package.
4 | # FIRST AUTHOR , YEAR.
5 | #
6 | # Translators:
7 | # Kirill Lavrik , 2018
8 | #
9 | #, fuzzy
10 | msgid ""
11 | msgstr ""
12 | "Project-Id-Version: PACKAGE VERSION\n"
13 | "Report-Msgid-Bugs-To: \n"
14 | "POT-Creation-Date: 2020-04-28 08:52+0200\n"
15 | "PO-Revision-Date: 2018-03-14 08:28+0000\n"
16 | "Last-Translator: Kirill Lavrik , 2018\n"
17 | "Language-Team: Russian (Russia) (https://www.transifex.com/infotelGLPI/teams/84146/ru_RU/)\n"
18 | "MIME-Version: 1.0\n"
19 | "Content-Type: text/plain; charset=UTF-8\n"
20 | "Content-Transfer-Encoding: 8bit\n"
21 | "Language: ru_RU\n"
22 | "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"
23 |
24 | #: hook.php:93
25 | msgid "Ticket Satisfaction Reminder"
26 | msgstr ""
27 |
28 | #: setup.php:62
29 | msgid "More satisfaction"
30 | msgstr "Больше вопросов для оценки удовлетворения"
31 |
32 | #: inc/dashboard.class.php:76 inc/menu.class.php:14 inc/profile.class.php:50
33 | #: inc/survey.class.php:24
34 | msgid "Satisfaction survey"
35 | msgid_plural "Satisfaction surveys"
36 | msgstr[0] ""
37 | msgstr[1] ""
38 | msgstr[2] ""
39 | msgstr[3] ""
40 |
41 | #: inc/dashboard.class.php:99
42 | msgid "First Trimester"
43 | msgstr ""
44 |
45 | #: inc/dashboard.class.php:100
46 | msgid "Second Trimester"
47 | msgstr ""
48 |
49 | #: inc/dashboard.class.php:101
50 | msgid "Third Trimester"
51 | msgstr ""
52 |
53 | #: inc/dashboard.class.php:102
54 | msgid "Fourth Trimester"
55 | msgstr ""
56 |
57 | #: inc/dashboard.class.php:103
58 | msgid "Year"
59 | msgstr ""
60 |
61 | #: inc/dashboard.class.php:199
62 | msgid "There are no survey for current entity"
63 | msgstr ""
64 |
65 | #: inc/dashboard.class.php:312
66 | msgid "Number of surveys"
67 | msgstr ""
68 |
69 | #: inc/dashboard.class.php:317
70 | msgid "Number of concerned tickets"
71 | msgstr ""
72 |
73 | #: inc/dashboard.class.php:322
74 | msgid "Survey not answered"
75 | msgstr ""
76 |
77 | #: inc/dashboard.class.php:327
78 | msgid "Survey answered"
79 | msgstr ""
80 |
81 | #: inc/dashboard.class.php:332
82 | msgid "Global satisfaction"
83 | msgstr ""
84 |
85 | #: inc/dashboard.class.php:374
86 | msgid "Periods"
87 | msgstr ""
88 |
89 | #: inc/notificationMailing.class.php:51
90 | msgid "Notification satisfaction reminder"
91 | msgstr ""
92 |
93 | #: inc/notificationMailing.class.php:180
94 | msgid "Resource creation"
95 | msgstr ""
96 |
97 | #: inc/notificationMailing.class.php:181
98 | msgid "Other"
99 | msgstr ""
100 |
101 | #: inc/notificationtargetticket.class.php:39
102 | msgid "Survey Reminder"
103 | msgstr ""
104 |
105 | #: inc/reminder.class.php:30
106 | msgid "Satisfaction reminder"
107 | msgid_plural "Satisfaction reminders"
108 | msgstr[0] ""
109 | msgstr[1] ""
110 | msgstr[2] ""
111 | msgstr[3] ""
112 |
113 | #: inc/reminder.class.php:44
114 | msgid "Send automaticaly survey reminders"
115 | msgstr ""
116 |
117 | #: inc/surveyanswer.class.php:22
118 | msgid "Answer"
119 | msgid_plural "Answers"
120 | msgstr[0] ""
121 | msgstr[1] ""
122 | msgstr[2] ""
123 | msgstr[3] ""
124 |
125 | #: inc/surveyanswer.class.php:43
126 | msgid "Preview"
127 | msgstr "Предварительный просмотр"
128 |
129 | #: inc/surveyanswer.class.php:116
130 | msgid "Satisfaction"
131 | msgstr "Удовлетворенность"
132 |
133 | #: inc/survey.class.php:223 inc/survey.class.php:249
134 | msgid "Error : only one survey is allowed by entity"
135 | msgstr "Ошибка: разрешено только одно обследование"
136 |
137 | #: inc/surveyquestion.class.php:30
138 | msgid "Question"
139 | msgid_plural "Questions"
140 | msgstr[0] ""
141 | msgstr[1] ""
142 | msgstr[2] ""
143 | msgstr[3] ""
144 |
145 | #: inc/surveyquestion.class.php:105
146 | msgid ""
147 | "You cannot edit the questions when answers exists for this survey. Disable "
148 | "this survey and create a new one !"
149 | msgstr ""
150 | "Вы не можете редактировать вопросы, когда ответы существуют для этого "
151 | "опроса. Отключите этот опрос и создайте новый!"
152 |
153 | #: inc/surveyquestion.class.php:125 inc/surveyquestion.class.php:195
154 | msgid "Add a question"
155 | msgstr "Добавить вопрос"
156 |
157 | #: inc/surveyquestion.class.php:133
158 | msgid "No questions for this survey"
159 | msgstr "Нет вопросов для этого опроса"
160 |
161 | #: inc/surveyquestion.class.php:231
162 | msgid "Note on"
163 | msgstr "Обратите внимание на"
164 |
165 | #: inc/surveyquestion.class.php:325 inc/surveyquestion.class.php:340
166 | msgid "Text"
167 | msgstr "Текст"
168 |
169 | #: inc/surveyquestion.class.php:326 inc/surveyquestion.class.php:342
170 | msgid "Note"
171 | msgstr "Отметить"
172 |
173 | #: inc/surveyreminder.class.php:45 inc/surveyreminder.class.php:65
174 | #: inc/surveyreminder.class.php:446
175 | msgid "Reminder"
176 | msgid_plural "Reminders"
177 | msgstr[0] ""
178 | msgstr[1] ""
179 | msgstr[2] ""
180 | msgstr[3] ""
181 |
182 | #: inc/surveyreminder.class.php:143 inc/surveyreminder.class.php:246
183 | msgid "Add a reminder"
184 | msgstr ""
185 |
186 | #: inc/surveyreminder.class.php:147
187 | msgid "Add a predefined reminder"
188 | msgstr ""
189 |
190 | #: inc/surveyreminder.class.php:154
191 | msgid "Setup maximum number of days to send reminder"
192 | msgstr ""
193 |
194 | #: inc/surveyreminder.class.php:155
195 | msgid "Maximum number of days to send reminder"
196 | msgstr ""
197 |
198 | #: inc/surveyreminder.class.php:173
199 | msgid "No reminders for this survey"
200 | msgstr ""
201 |
202 | #: inc/surveyreminder.class.php:244
203 | msgid "Choose a predefined reminder"
204 | msgstr ""
205 |
206 | #: inc/surveyreminder.class.php:255
207 | msgid "Predefined Reminders"
208 | msgstr ""
209 |
210 | #: inc/surveyreminder.class.php:388
211 | msgid "Month"
212 | msgstr ""
213 |
214 | #: inc/surveyreminder.class.php:402
215 | msgid "One Week"
216 | msgstr ""
217 |
218 | #: inc/surveyreminder.class.php:403
219 | msgid "Two Week"
220 | msgstr ""
221 |
222 | #: inc/surveyreminder.class.php:404
223 | msgid "One Month"
224 | msgstr ""
225 |
226 | #: inc/surveyreminder.class.php:417
227 | msgid "Duration Type"
228 | msgstr ""
229 |
230 | #: inc/surveyreminder.class.php:418
231 | msgid "Duration"
232 | msgstr ""
233 |
234 | #: inc/surveyreminder.class.php:491
235 | #, php-format
236 | msgid ""
237 | "You already have a reminder with the same duration type and duration named :"
238 | " %s"
239 | msgstr ""
240 |
241 | #: inc/surveyreminder.class.php:521
242 | msgid "There are nothing to save"
243 | msgstr ""
244 |
245 | #: inc/surveyresult.class.php:22
246 | msgid "Result of the survey"
247 | msgid_plural "Results of the survey"
248 | msgstr[0] ""
249 | msgstr[1] ""
250 | msgstr[2] ""
251 | msgstr[3] ""
252 |
253 | #: inc/surveyresult.class.php:43
254 | msgid "Result"
255 | msgstr ""
256 |
257 | #: inc/surveyresult.class.php:86
258 | msgid "No result of the survey"
259 | msgstr ""
260 |
261 | #: inc/surveytranslation.class.php:240
262 | msgid "No translation found"
263 | msgstr ""
264 |
265 | #: inc/surveytranslation.class.php:396
266 | #, php-format
267 | msgid "An %s translation for this Question already exist."
268 | msgstr ""
269 |
270 | #: inc/surveytranslation.class.php:409
271 | msgid "Translation successfully created."
272 | msgstr ""
273 |
274 | #: inc/surveytranslation.class.php:421
275 | msgid "Translation creation failed"
276 | msgstr ""
277 |
278 | #: inc/surveytranslation.class.php:435
279 | msgid "The translation you want to edit does not exist."
280 | msgstr ""
281 |
282 | #: inc/surveytranslation.class.php:445
283 | msgid "Translation successfully edited."
284 | msgstr ""
285 |
--------------------------------------------------------------------------------
/satisfaction.js:
--------------------------------------------------------------------------------
1 | /**
2 | *
3 | * @param root_doc
4 | * @param id
5 | */
6 | function plugin_satisfaction_load_defaultvalue(root_doc, default_value){
7 | var value = $('input[name="default_value"]').val();
8 |
9 | if(value > default_value) {
10 | value = default_value;
11 | }
12 |
13 | $.ajax({
14 | url: root_doc+'/ajax/satisfaction.php',
15 | type: 'POST',
16 | data: '&action_default_value&default_value='+ default_value + '&value=' + value,
17 | dataType: 'html',
18 | success: function (code_html, statut) {
19 | $('#default_value').html(code_html);
20 | },
21 |
22 | });
23 | }
--------------------------------------------------------------------------------
/satisfaction.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/pluginsGLPI/satisfaction/aa010b71167b74201fe8dfd8f270371cf64bc74a/satisfaction.png
--------------------------------------------------------------------------------
/satisfaction.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | More satisfaction
4 | satisfaction
5 | stable
6 | https://raw.githubusercontent.com/pluginsGLPI/satisfaction/master/satisfaction.png
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 | Satisfaction est un plugin qui vous permet d'ajouter des questions à l'enquête de satisfaction.
16 |
17 | Fonctionnalités
18 | ---------------
19 |
20 | - Différents questionnaires (un pour chaque entité)
21 |
22 | - Questions multiples avec trois types de questions :
23 | + Liste déroulante Oui / Non
24 | + Zone de texte
25 | + Note : Il sera possible de configurer la nombre total d’étoiles.
26 |
27 | - Ce plugin va permettre d’ajouter l’ensemble des questions configurés dans le plugin avec les deux
28 | questions du cœur de GLPI.
29 |
30 | - Ce plugin va ajouter deux nouvelles balises dans les notifications concernant les événements « Enquête
31 | de satisfaction » et « Réponse à l’enquête de satisfaction ».
32 | + La balise « ##satisfaction.question## » va permettre d’ajouter la liste des questions du plugin.
33 | + La balise « ##satisfaction.answer## » va permettre d’ajouter la liste des questions et réponses du
34 | plugin.
35 |
36 |
37 |
38 | Satisfaction is a plugin which allows you to add questions to the satisfaction survey.
39 |
40 | Features:
41 | ---------------
42 |
43 | - Different surveys (one for each entity)
44 |
45 | - Multiple questions with three types:
46 | + Yes / No dropdown list
47 | + Text box - Text box
48 | + Note: It will be possible to configure the total number of stars.
49 |
50 | - This plugin will allow you to add all the questions configured in the plugin with the two questions of
51 | the GLPI core in the satisfaction survey.
52 |
53 | - This plugin will add two new tags to the notifications for "Satisfaction survey" and "Satisfaction
54 | survey answer" events.
55 | + The tag "##satisfaction. question##" will allow you to add the list of questions of the plugin.
56 | + The tag "##satisfaction. answer##" will allow you to add the list of questions and answers of the
57 | plugin.
58 |
59 |
60 | Spokojenost je zásuvný modul který umožňuje přidávat do průzkumu o spokojenosti další otázky.
61 |
62 | Funkce:
63 | ---------------
64 |
65 | - Různé průzkumy (jeden pro každou entitu)
66 |
67 | - Vícero dotazů třech typů
68 | + Rozbalovací nabídka Ano/Ne
69 | + Textový box – Textový box
70 | + Pozn.: Bude možné nastavit celkový počet hvězdiček.
71 |
72 | - Tento zásuvný modul zásuvný modul umožnuje přidat všechny v něm nastavené otázky ke dvěma otázkám
73 | základního GLPI v průzkumu spokojenosti.
74 |
75 | - Tento modul přidá dva nové štítky k oznámením pro události „Průzkum spokojenosti“ a „Odpověď v
76 | průzkumu spokojenosti".
77 | + Štítek „##satisfaction. question##“ umožňí přidat seznam otázek zásuvného modulu.
78 | + Štítek „##satisfaction. answer##“ umožňí přidat seznam otázek a odpovědí zásuvného modulu..
79 |
80 |
81 |
82 | https://github.com/pluginsGLPI/satisfaction
83 | https://github.com/pluginsGLPI/satisfaction/releases
84 | https://github.com/pluginsGLPI/satisfaction/issues
85 | https://raw.githubusercontent.com/pluginsGLPI/satisfaction/master/README.md
86 |
87 | Infotel
88 |
89 |
90 |
91 | 1.6.2
92 | ~10.0
93 | https://github.com/pluginsGLPI/satisfaction/releases/download/1.6.2/glpi-satisfaction-1.6.2.tar.bz2
94 |
95 |
96 | 1.6.1
97 | ~10.0
98 | https://github.com/pluginsGLPI/satisfaction/releases/download/1.6.1/glpi-satisfaction-1.6.1.tar.bz2
99 |
100 |
101 | 1.6.0
102 | ~10.0
103 | https://github.com/pluginsGLPI/satisfaction/releases/download/1.6.0/glpi-satisfaction-1.6.0.tar.bz2
104 |
105 |
106 | 1.6.0-rc1
107 | ~10.0
108 | https://github.com/pluginsGLPI/satisfaction/releases/download/1.6.0-rc1/glpi-satisfaction-1.6.0-rc1.tar.bz2
109 |
110 |
111 | 1.5.2
112 | ~9.5.0
113 | https://github.com/pluginsGLPI/satisfaction/releases/download/1.5.2/glpi-satisfaction-1.5.2.tar.gz
114 |
115 |
116 | 1.5.1
117 | ~9.5.0
118 | https://github.com/pluginsGLPI/satisfaction/releases/download/1.5.1/glpi-satisfaction-1.5.1.tar.gz
119 |
120 |
121 | 1.5.0
122 | ~9.5.0
123 |
124 |
125 | 1.4.4
126 | 9.4
127 |
128 |
129 | 1.4.3
130 | 9.4
131 |
132 |
133 | 1.4.1
134 | 9.4
135 |
136 |
137 | 1.4.0
138 | 9.4
139 |
140 |
141 | 1.3.1
142 | 9.3
143 |
144 |
145 | 1.3.0
146 | 9.3
147 |
148 |
149 | 1.2.1
150 | 9.2
151 |
152 |
153 | 1.2.1
154 | 9.2
155 |
156 |
157 | 1.2.0
158 | 9.2
159 |
160 |
161 | 1.1.1
162 | 9.1
163 |
164 |
165 | 1.1.0
166 | 9.1
167 |
168 |
169 |
170 | cs_CZ
171 | en_GB
172 | fr_FR
173 | pt_PT
174 | ru_RU
175 |
176 |
177 |
178 |
179 | Satisfaction
180 | Questions
181 | Réponses
182 |
183 |
184 | Satisfaction
185 | Questions
186 | Answers
187 |
188 |
189 | Spokojenost
190 | Otázky
191 | Odpovědi
192 |
193 |
194 |
195 |
--------------------------------------------------------------------------------
/setup.php:
--------------------------------------------------------------------------------
1 | .
27 | --------------------------------------------------------------------------
28 | */
29 |
30 | /**
31 | * Init the hooks of the plugins -Needed
32 | */
33 |
34 | define ("PLUGIN_SATISFACTION_VERSION", "1.6.2");
35 |
36 | // Minimal GLPI version, inclusive
37 | define('PLUGIN_SATISFACTION_MIN_GLPI', '10.0');
38 | // Maximum GLPI version, exclusive
39 | define('PLUGIN_SATISFACTION_MAX_GLPI', '11.0');
40 |
41 | function plugin_init_satisfaction() {
42 | global $PLUGIN_HOOKS;
43 |
44 | $PLUGIN_HOOKS['csrf_compliant']['satisfaction'] = true;
45 | $PLUGIN_HOOKS['change_profile']['satisfaction'] = [PluginSatisfactionProfile::class, 'initProfile'];
46 |
47 | if (Plugin::isPluginActive('satisfaction')) {
48 |
49 | //if glpi is loaded
50 | if (Session::getLoginUserID()) {
51 |
52 | Plugin::registerClass(PluginSatisfactionProfile::class,
53 | ['addtabon' => Profile::class]);
54 |
55 | $PLUGIN_HOOKS['pre_item_form']['satisfaction'] = [PluginSatisfactionSurveyAnswer::class, 'displaySatisfaction'];
56 |
57 | $PLUGIN_HOOKS['pre_item_update']['satisfaction'][TicketSatisfaction::class] = [PluginSatisfactionSurveyAnswer::class,
58 | 'preUpdateSatisfaction'];
59 |
60 | $PLUGIN_HOOKS['item_get_events']['satisfaction'] =
61 | ['NotificationTargetTicket' => ['PluginSatisfactionNotificationTargetTicket', 'addEvents']];
62 |
63 | $PLUGIN_HOOKS['item_delete']['satisfaction'] = ['Ticket' => ['PluginSatisfactionReminder', 'deleteItem']];
64 |
65 | //current user must have config rights
66 | if (Session::haveRight('plugin_satisfaction', READ)) {
67 | $config_page = 'front/survey.php';
68 | $PLUGIN_HOOKS['config_page']['satisfaction'] = $config_page;
69 |
70 | $PLUGIN_HOOKS["menu_toadd"]['satisfaction'] = ['admin' => PluginSatisfactionMenu::class];
71 | }
72 |
73 | if (isset($_SESSION['glpiactiveprofile']['interface'])
74 | && $_SESSION['glpiactiveprofile']['interface'] == 'central') {
75 | $PLUGIN_HOOKS['add_javascript']['satisfaction'] = ["satisfaction.js"];
76 | }
77 | if (class_exists('PluginMydashboardMenu')) {
78 | $PLUGIN_HOOKS['mydashboard']['satisfaction'] = [PluginSatisfactionDashboard::class];
79 | }
80 | }
81 |
82 | $PLUGIN_HOOKS['item_get_datas']['satisfaction'] = [NotificationTargetTicket::class => [PluginSatisfactionSurveyAnswer::class,
83 | 'addNotificationDatas']];
84 | }
85 | }
86 |
87 | /**
88 | * Get the name and the version of the plugin - Needed
89 | *
90 | * @return array
91 | */
92 | function plugin_version_satisfaction() {
93 |
94 | return [
95 | 'name' => __("More satisfaction", 'satisfaction'),
96 | 'version' => PLUGIN_SATISFACTION_VERSION,
97 | 'author' => "Infotel",
98 | 'license' => 'GPLv2+',
99 | 'homepage' => 'https://github.com/pluginsGLPI/satisfaction',
100 | 'requirements' => [
101 | 'glpi' => [
102 | 'min' => PLUGIN_SATISFACTION_MIN_GLPI,
103 | 'max' => PLUGIN_SATISFACTION_MAX_GLPI,
104 | ]
105 | ]
106 | ];
107 | }
108 |
--------------------------------------------------------------------------------
/tools/extract_template.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | soft='GLPI - satisfaction plugin'
4 | version='1.1.0'
5 | email='glpi-translation@gna.org'
6 | copyright='INDEPNET Development Team'
7 |
8 | #xgettext *.php */*.php -copyright-holder='$copyright' --package-name=$soft --package-version=$version --msgid-bugs-address=$email -o locales/en_GB.po -L PHP --from-code=UTF-8 --force-po -i --keyword=_n:1,2 --keyword=__ --keyword=_e
9 |
10 | # Only strings with domain specified are extracted (use Xt args of keyword param to set number of args needed)
11 |
12 | xgettext *.php */*.php -o locales/glpi.pot -L PHP --add-comments=TRANS --from-code=UTF-8 --force-po \
13 | --keyword=_n:1,2,4t --keyword=__s:1,2t --keyword=__:1,2t --keyword=_e:1,2t --keyword=_x:1c,2,3t --keyword=_ex:1c,2,3t \
14 | --keyword=_sx:1c,2,3t --keyword=_nx:1c,2,3,5t
15 |
16 | ### for using tx :
17 | ##tx set --execute --auto-local -r GLPI_satisfaction.glpi_satisfaction-version-110 'locales/.po' --source-lang en --source-file locales/glpi.pot
18 | ## tx push -s
19 | ## tx pull -a
20 |
21 |
22 |
--------------------------------------------------------------------------------
/tools/update_mo.pl:
--------------------------------------------------------------------------------
1 | #!/usr/bin/perl
2 | #!/usr/bin/perl -w
3 |
4 | if (@ARGV!=0){
5 | print "USAGE update_mo.pl\n\n";
6 |
7 | exit();
8 | }
9 |
10 |
11 | opendir(DIRHANDLE,'locales')||die "ERROR: can not read current directory\n";
12 | foreach (readdir(DIRHANDLE)){
13 | if ($_ ne '..' && $_ ne '.'){
14 |
15 | if(!(-l "$dir/$_")){
16 | if (index($_,".po",0)==length($_)-3) {
17 | $lang=$_;
18 | $lang=~s/\.po//;
19 |
20 | `msgfmt locales/$_ -o locales/$lang.mo`;
21 | }
22 | }
23 |
24 | }
25 | }
26 | closedir DIRHANDLE;
27 |
28 | #
29 | #
30 |
--------------------------------------------------------------------------------
/tools/update_po.pl:
--------------------------------------------------------------------------------
1 | #!/usr/bin/perl
2 | #!/usr/bin/perl -w
3 |
4 | if (@ARGV!=2){
5 | print "USAGE update_po.pl transifex_login transifex_password\n\n";
6 |
7 | exit();
8 | }
9 | $user = $ARGV[0];
10 | $password = $ARGV[1];
11 |
12 | opendir(DIRHANDLE,'locales')||die "ERROR: can not read current directory\n";
13 | foreach (readdir(DIRHANDLE)){
14 | if ($_ ne '..' && $_ ne '.'){
15 |
16 | if(!(-l "$dir/$_")){
17 | if (index($_,".po",0)==length($_)-3) {
18 | $lang=$_;
19 | $lang=~s/\.po//;
20 |
21 | `wget --user=$user --password=$password --output-document=locales/$_ http://www.transifex.com/api/2/project/GLPI_satisfaction/resource/glpi/translation/$lang/?file=$_`;
22 | sleep(2);
23 | }
24 | }
25 |
26 | }
27 | }
28 | closedir DIRHANDLE;
29 |
30 | #
31 | #
32 |
--------------------------------------------------------------------------------