From 3d5df780c0ce54e179400d928791b7032f096589 Mon Sep 17 00:00:00 2001 From: Lainow Date: Mon, 14 Sep 2026 12:06:32 +0200 Subject: [PATCH 1/2] 1.0.0-rc1 --- locales/en_GB.mo | Bin 0 -> 2021 bytes locales/en_GB.po | 87 ++++++++++++++++++++++++++++++++++++++++ locales/fr_FR.mo | Bin 0 -> 355 bytes locales/fr_FR.po | 85 +++++++++++++++++++++++++++++++++++++++ locales/moreoptions.pot | 85 +++++++++++++++++++++++++++++++++++++++ moreoptions.xml | 45 +++++++++------------ setup.php | 2 +- 7 files changed, 276 insertions(+), 28 deletions(-) create mode 100644 locales/en_GB.mo create mode 100644 locales/en_GB.po create mode 100644 locales/fr_FR.mo create mode 100644 locales/fr_FR.po create mode 100644 locales/moreoptions.pot diff --git a/locales/en_GB.mo b/locales/en_GB.mo new file mode 100644 index 0000000000000000000000000000000000000000..bfc50c50a4a679891386a0b1bd32b3ab319d42ab GIT binary patch literal 2021 zcmeH`&u$b)5XPH864?BK_yR~qDnKYPFlKETWRK&++FsBq-mo$QSJa-VogF;eJ#_cj z_~s)#KzM>kQItb+%QNJVCx{f~L~eP8d^NkV5592A#VytRW~QsFzpCo~bLQN43gZjd zEbM#OW!T*_cwoE+Bk&D)5BwFp4gL+bz?lz}`WUl-`2uj>vK+*9BC_3JOH^F~E(J}MU zM90^l`1e535kS%L78D&ngQDX%P;|^AnCPfL(eWb)8R~P`1=wdWNLP^64ACGplp%S4 z(!4ckDTHhWB&kc&chPzgc7FP;I^Gw#p}^_L6sayLcebu*f5e8;kv4f@a!PgJ+`5C4 z-eYZa&hGvE3vFoV?3jY~yA&){+OY{#1RkpmYl5?7$xdzZP}gNpeQh!wurCb@E;CO< z>nOomPpM-a3TsaKAnX%c?lEC8ZIsqC^^)F}SAFZ4Y$dC_8aUpQty4JE_`hF-Q6tM! zVJNY*X~_p2YOfN#%M?aDt&AO#_THuiYLZQ)A9*-_S+ftQM^nY)rPK0C0j4vEcjGCv zN#NtzFa2cx##HE}TwRaG=!~iG#76Iw*jTa)Q0A#}oN~q{MRt4GI*j0E4bQ7YVi)Ny z2Rg7da`ed2HaRnmw4Wv%MmmsT1jXbIQ)wK;zm6w4^MhR+7LF zeY5*=QYMXxn}yOMNf2_R;qSe6;Oq-dL)6QnXY4%s71N-z@lEGZm!5UEpY$Go+uG*J zx)Ak!US!dFo%<-UF|`Jdqix4JKNR literal 0 HcmV?d00001 diff --git a/locales/en_GB.po b/locales/en_GB.po new file mode 100644 index 0000000..a80c3e6 --- /dev/null +++ b/locales/en_GB.po @@ -0,0 +1,87 @@ +# English translations for PACKAGE package. +# Copyright (C) 2026 THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# Automatically generated, 2026. +# +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2026-09-14 09:44+0000\n" +"PO-Revision-Date: 2026-09-14 09:44+0000\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: en_GB\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: templates/config.html.twig +msgid "" +"The \"Use the technician's group\" option from Escalade is enabled and takes " +"precedence over this one." +msgstr "" +"The \"Use the technician's group\" option from Escalade is enabled and takes " +"precedence over this one." + +#: templates/config.html.twig +msgid "Take the group of associated item" +msgstr "Take the group of associated item" + +#: templates/config.html.twig +msgid "Take the requester group" +msgstr "Take the requester group" + +#: templates/config.html.twig +msgid "Take the technician group" +msgstr "Take the technician group" + +#: templates/config.html.twig +msgid "Prevent closure with tasks in To Do status" +msgstr "Prevent closure with tasks in To Do status" + +#: templates/config.html.twig +msgid "Assign technical manager when changing category" +msgstr "Assign technical manager when changing category" + +#: templates/config.html.twig +msgid "Assign technical group when changing category" +msgstr "Assign technical group when changing category" + +#: templates/config.html.twig +msgid "Assign technician from task to parent item" +msgstr "Assign technician from task to parent item" + +#: templates/config.html.twig +msgid "Mandatory fields to Solve and Close ITILs" +msgstr "Mandatory fields to Solve and Close ITILs" + +#: templates/config.html.twig +msgid "Mandatory fields for Tasks creation" +msgstr "Mandatory fields for Tasks creation" + +#: src/Config.php:54 src/Config.php:59 src/Config.php:86 +msgid "More options" +msgstr "More options" + +#: src/Config.php:191 +msgid "Default" +msgstr "Default" + +#: src/Controller.php:75 +msgid "Controller" +msgstr "Controller" + +#: src/Controller.php:340 +msgid "The ticket you wish to close has tasks that need to be completed." +msgstr "The ticket you wish to close has tasks that need to be completed." + +#: src/Controller.php:436 +#, php-format +msgid "To close this %s, you must fill in the following fields:" +msgstr "To close this %s, you must fill in the following fields:" + +#: src/Controller.php:473 +msgid "To create this task, you must fill in the following fields:" +msgstr "To create this task, you must fill in the following fields:" diff --git a/locales/fr_FR.mo b/locales/fr_FR.mo new file mode 100644 index 0000000000000000000000000000000000000000..4f2f364b0892f3ec9a7e7c694db1c87afe83c936 GIT binary patch literal 355 zcmYL@&q@O^5XLKd%F(ljIe4(>=x!;}rd04x3k4TTS-r>IX^f=Fl4Qj`NMFxqaaN)I z;KwAHZ}QF0>B+9gI%3Y4bLN=2VmghOJ~zi)JI`Lr;6JHKxTx`sLNwk<(6%v<=VC>T z4+)E?O^pw&j#zpLV)=qA`ZAptpHw0VgKTh%*%O0tK1jH4 zli#RhDrM~!G&u@9UbE5ZR%ybL)JB5yj`nX7)u=(nX7zloR%00WZwV) literal 0 HcmV?d00001 diff --git a/locales/fr_FR.po b/locales/fr_FR.po new file mode 100644 index 0000000..2d826fe --- /dev/null +++ b/locales/fr_FR.po @@ -0,0 +1,85 @@ +# French translations for glpi package. +# Copyright (C) 2026 THE glpi'S COPYRIGHT HOLDER +# This file is distributed under the same license as the glpi package. +# Automatically generated, 2026. +# +msgid "" +msgstr "" +"Project-Id-Version: glpi 11\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2026-09-14 09:44+0000\n" +"PO-Revision-Date: 2026-09-14 09:44+0000\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#: templates/config.html.twig +msgid "" +"The \"Use the technician's group\" option from Escalade is enabled and takes " +"precedence over this one." +msgstr "" + +#: templates/config.html.twig +msgid "Take the group of associated item" +msgstr "" + +#: templates/config.html.twig +msgid "Take the requester group" +msgstr "" + +#: templates/config.html.twig +msgid "Take the technician group" +msgstr "" + +#: templates/config.html.twig +msgid "Prevent closure with tasks in To Do status" +msgstr "" + +#: templates/config.html.twig +msgid "Assign technical manager when changing category" +msgstr "" + +#: templates/config.html.twig +msgid "Assign technical group when changing category" +msgstr "" + +#: templates/config.html.twig +msgid "Assign technician from task to parent item" +msgstr "" + +#: templates/config.html.twig +msgid "Mandatory fields to Solve and Close ITILs" +msgstr "" + +#: templates/config.html.twig +msgid "Mandatory fields for Tasks creation" +msgstr "" + +#: src/Config.php:54 src/Config.php:59 src/Config.php:86 +msgid "More options" +msgstr "" + +#: src/Config.php:191 +msgid "Default" +msgstr "" + +#: src/Controller.php:75 +msgid "Controller" +msgstr "" + +#: src/Controller.php:340 +msgid "The ticket you wish to close has tasks that need to be completed." +msgstr "" + +#: src/Controller.php:436 +#, php-format +msgid "To close this %s, you must fill in the following fields:" +msgstr "" + +#: src/Controller.php:473 +msgid "To create this task, you must fill in the following fields:" +msgstr "" diff --git a/locales/moreoptions.pot b/locales/moreoptions.pot new file mode 100644 index 0000000..45d4d77 --- /dev/null +++ b/locales/moreoptions.pot @@ -0,0 +1,85 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2026-09-14 09:44+0000\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: templates/config.html.twig +msgid "" +"The \"Use the technician's group\" option from Escalade is enabled and takes " +"precedence over this one." +msgstr "" + +#: templates/config.html.twig +msgid "Take the group of associated item" +msgstr "" + +#: templates/config.html.twig +msgid "Take the requester group" +msgstr "" + +#: templates/config.html.twig +msgid "Take the technician group" +msgstr "" + +#: templates/config.html.twig +msgid "Prevent closure with tasks in To Do status" +msgstr "" + +#: templates/config.html.twig +msgid "Assign technical manager when changing category" +msgstr "" + +#: templates/config.html.twig +msgid "Assign technical group when changing category" +msgstr "" + +#: templates/config.html.twig +msgid "Assign technician from task to parent item" +msgstr "" + +#: templates/config.html.twig +msgid "Mandatory fields to Solve and Close ITILs" +msgstr "" + +#: templates/config.html.twig +msgid "Mandatory fields for Tasks creation" +msgstr "" + +#: src/Config.php:54 src/Config.php:59 src/Config.php:86 +msgid "More options" +msgstr "" + +#: src/Config.php:191 +msgid "Default" +msgstr "" + +#: src/Controller.php:75 +msgid "Controller" +msgstr "" + +#: src/Controller.php:340 +msgid "The ticket you wish to close has tasks that need to be completed." +msgstr "" + +#: src/Controller.php:436 +#, php-format +msgid "To close this %s, you must fill in the following fields:" +msgstr "" + +#: src/Controller.php:473 +msgid "To create this task, you must fill in the following fields:" +msgstr "" diff --git a/moreoptions.xml b/moreoptions.xml index a3777d8..63ef425 100644 --- a/moreoptions.xml +++ b/moreoptions.xml @@ -1,19 +1,28 @@ MoreOptions moreoptions - - stable + beta https://raw.githubusercontent.com/pluginsGLPI/moreoptions/main/moreoptions.png - - MoreOptions GLPI plugin - Plugin GLPI MoreOptions + Additional configuration options for ITIL objects. + Options de configuration supplémentaires pour les objets ITIL. - - A long description for MoreOptions GLPI plugin. - Une description longue pour le plugin GLPI MoreOptions. + +This plugin adds several configuration options for ITIL objects (tickets, changes, problems): + +- groups of requesters, technicians, and objects; +- mandatory fields on closure and task creation; +- block closure of tickets with a pending task. + + +Ce plugin ajoute plusieurs options de configuration pour les objets ITIL (tickets, changements, problèmes) : + +- groupes de demandeurs, de techniciens et d'objets; +- champs obligatoires à la clôture et à la création de tâche; +- blocage de la clôture des tickets avec une tâche en attente. + https://github.com/pluginsGLPI/moreoptions @@ -21,35 +30,17 @@ https://github.com/pluginsGLPI/moreoptions/issues https://github.com/pluginsGLPI/moreoptions/blob/main/README.md - Teclib' - - 0.0.1 - + 1.0.0-rc1 ~11.0.0 - en_GB fr_FR MIT - - diff --git a/setup.php b/setup.php index b0dea80..22928a6 100644 --- a/setup.php +++ b/setup.php @@ -36,7 +36,7 @@ use GlpiPlugin\Moreoptions\Controller; /** @phpstan-ignore theCodingMachineSafe.function (safe to assume this isn't already defined) */ -define('PLUGIN_MOREOPTIONS_VERSION', '0.0.1'); +define('PLUGIN_MOREOPTIONS_VERSION', '1.0.0-rc1'); // Minimal GLPI version, inclusive /** @phpstan-ignore theCodingMachineSafe.function (safe to assume this isn't already defined) */ From 13ce9df817da3be0508ec27f1153d99ad3400a81 Mon Sep 17 00:00:00 2001 From: Lainow Date: Mon, 14 Sep 2026 12:12:55 +0200 Subject: [PATCH 2/2] Update CHangelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 52eb2d6..5d8ad23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,4 +5,4 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). -## [unreleased] +## [1.0.0-rc1]