Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Binary file added locales/en_GB.mo
Binary file not shown.
87 changes: 87 additions & 0 deletions locales/en_GB.po
Original file line number Diff line number Diff line change
@@ -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:"
Binary file added locales/fr_FR.mo
Binary file not shown.
85 changes: 85 additions & 0 deletions locales/fr_FR.po
Original file line number Diff line number Diff line change
@@ -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 ""
85 changes: 85 additions & 0 deletions locales/moreoptions.pot
Original file line number Diff line number Diff line change
@@ -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 <EMAIL@ADDRESS>, 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 <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\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 ""
45 changes: 18 additions & 27 deletions moreoptions.xml
Original file line number Diff line number Diff line change
@@ -1,55 +1,46 @@
<root>
<name>MoreOptions</name>
<key>moreoptions</key>
<!-- stable, beta, development, alpha, ... -->
<state>stable</state>
<state>beta</state>
<logo>https://raw.githubusercontent.com/pluginsGLPI/moreoptions/main/moreoptions.png</logo>
<description>
<short>
<!-- Add as many lang tag you want -->
<en>MoreOptions GLPI plugin</en>
<fr>Plugin GLPI MoreOptions</fr>
<en>Additional configuration options for ITIL objects.</en>
<fr>Options de configuration supplémentaires pour les objets ITIL.</fr>
</short>
<long>
<!-- Add as many lang tag you want -->
<en>A long description for MoreOptions GLPI plugin.</en>
<fr>Une description longue pour le plugin GLPI MoreOptions.</fr>
<en>
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.
</en>
<fr>
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.
</fr>
</long>
</description>
<homepage>https://github.com/pluginsGLPI/moreoptions</homepage>
<download>https://github.com/pluginsGLPI/moreoptions/releases</download>
<issues>https://github.com/pluginsGLPI/moreoptions/issues</issues>
<readme>https://github.com/pluginsGLPI/moreoptions/blob/main/README.md</readme>
<authors>
<!-- Add as many author tag you want -->
<author>Teclib'</author>
</authors>
<versions>
<!-- Add as many version tag you want -->
<version>
<num>0.0.1</num>
<!-- Add as many compatibility tag you want -->
<num>1.0.0-rc1</num>
<compatibility>~11.0.0</compatibility>
</version>
</versions>
<langs>
<!-- Add as many lang tag you want -->
<lang>en_GB</lang>
<lang>fr_FR</lang>
</langs>
<license>MIT</license>
<!--tags>
<en>
<tag>One tag</tag>
<tag>Another tag</tag>
</en>
<fr>
<tag>Un tag</tag>
<tag>Un autre tag</tag>
</fr>
</tags-->
<!--screenshots>
<screenshot>https://github.com/pluginsGLPI/moreoptions/raw/main/screenshot.png</screenshot>
<screenshot>https://github.com/pluginsGLPI/moreoptions/raw/main/screenshot2.png</screenshot>
</screenshots-->
</root>
2 changes: 1 addition & 1 deletion setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) */
Expand Down