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] diff --git a/locales/en_GB.mo b/locales/en_GB.mo new file mode 100644 index 0000000..bfc50c5 Binary files /dev/null and b/locales/en_GB.mo differ 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 0000000..4f2f364 Binary files /dev/null and b/locales/fr_FR.mo differ 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) */