Skip to content

Commit

Permalink
Add GLPI 9.5 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
xacobofg committed Jul 27, 2020
1 parent 2049a0b commit 2746829
Show file tree
Hide file tree
Showing 12 changed files with 86 additions and 37 deletions.
Binary file modified locales/de_DE.mo
Binary file not shown.
20 changes: 15 additions & 5 deletions locales/de_DE.po
Original file line number Diff line number Diff line change
Expand Up @@ -9,29 +9,39 @@ msgid ""
msgstr ""
"Project-Id-Version: YAGP\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-03-07 16:57+0100\n"
"POT-Creation-Date: 2020-07-24 12:06+0200\n"
"PO-Revision-Date: 2020-04-08 15:47+0200\n"
"Last-Translator: Milo Ivir <[email protected]>\n"
"Language-Team: \n"
"Language: de_DE\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.3\n"
"Last-Translator: Milo Ivir <[email protected]>\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: de_DE\n"

#: inc/config.class.php:45 inc/config.class.php:106
#: inc/config.class.php:45 inc/config.class.php:116
msgid "Yagp"
msgstr "Yagp"

#: inc/config.class.php:88
msgid "Change ticket solved date to last task end time"
msgstr "Ändere das Schlussdatum des Tickets in die End-Zeit der letzten Aufgabe"
msgstr ""
"Ändere das Schlussdatum des Tickets in die End-Zeit der letzten Aufgabe"

#: inc/config.class.php:93
msgid "Auto renew tacit contracts"
msgstr "Stillschweigende Veträge automatisch erneuern"

#: inc/config.class.php:98
msgid "Fixed Menu"
msgstr ""

#: inc/config.class.php:103
#, fuzzy
msgid "Go to ticket"
msgstr "Anzahl Tickets"

#: inc/contractrenew.class.php:5
msgid "YagpContractRenew"
msgstr "Yagp Vetrag erneuern"
Expand Down
Binary file modified locales/en_GB.mo
Binary file not shown.
17 changes: 13 additions & 4 deletions locales/en_GB.po
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,20 @@
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-03-07 16:57+0100\n"
"PO-Revision-Date: 2019-03-07 16:28+0100\n"
"POT-Creation-Date: 2020-07-24 12:06+0200\n"
"PO-Revision-Date: 2020-07-24 12:08+0200\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: en_GB\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=ASCII\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Generator: Poedit 2.3.1\n"

#: inc/config.class.php:45 inc/config.class.php:106
#: inc/config.class.php:45 inc/config.class.php:116
msgid "Yagp"
msgstr "Yagp"

Expand All @@ -29,6 +30,14 @@ msgstr "Change ticket solved date to last task end time"
msgid "Auto renew tacit contracts"
msgstr "Auto renew tacit contracts"

#: inc/config.class.php:98
msgid "Fixed Menu"
msgstr "Fixed Menu"

#: inc/config.class.php:103
msgid "Go to ticket"
msgstr "Go to ticket"

#: inc/contractrenew.class.php:5
msgid "YagpContractRenew"
msgstr "YagpContractRenew"
Expand Down
Binary file modified locales/es_ES.mo
Binary file not shown.
16 changes: 12 additions & 4 deletions locales/es_ES.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-03-07 16:57+0100\n"
"PO-Revision-Date: 2019-03-07 16:32+0100\n"
"POT-Creation-Date: 2020-07-24 12:06+0200\n"
"PO-Revision-Date: 2020-07-24 12:08+0200\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: es_ES\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.0.6\n"
"X-Generator: Poedit 2.3.1\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: inc/config.class.php:45 inc/config.class.php:106
#: inc/config.class.php:45 inc/config.class.php:116
msgid "Yagp"
msgstr ""

Expand All @@ -30,6 +30,14 @@ msgstr "Cambiar fecha de solución por la fecha de fin de la ultima tarea"
msgid "Auto renew tacit contracts"
msgstr "Auto renovación de contratos tácitos"

#: inc/config.class.php:98
msgid "Fixed Menu"
msgstr "Menú fijo"

#: inc/config.class.php:103
msgid "Go to ticket"
msgstr "Ir al ticket"

#: inc/contractrenew.class.php:5
msgid "YagpContractRenew"
msgstr ""
Expand Down
Binary file modified locales/gl_ES.mo
Binary file not shown.
21 changes: 16 additions & 5 deletions locales/gl_ES.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,40 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-03-07 16:57+0100\n"
"POT-Creation-Date: 2020-07-24 12:06+0200\n"
"PO-Revision-Date: 2019-03-07 17:08+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
"Language: gl_ES\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.0.6\n"
"Last-Translator: \n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"Language: gl_ES\n"

#: inc/config.class.php:45 inc/config.class.php:106
#: inc/config.class.php:45 inc/config.class.php:116
msgid "Yagp"
msgstr ""

#: inc/config.class.php:88
msgid "Change ticket solved date to last task end time"
msgstr "Cambiar a data de resolución da petición pola data de finalización da ultima tarefa"
msgstr ""
"Cambiar a data de resolución da petición pola data de finalización da ultima "
"tarefa"

#: inc/config.class.php:93
msgid "Auto renew tacit contracts"
msgstr "Renovación automática dos contratos tácitos"

#: inc/config.class.php:98
msgid "Fixed Menu"
msgstr ""

#: inc/config.class.php:103
#, fuzzy
msgid "Go to ticket"
msgstr "Número de peticións"

#: inc/contractrenew.class.php:5
msgid "YagpContractRenew"
msgstr ""
Expand Down
Binary file modified locales/hr_HR.mo
Binary file not shown.
20 changes: 15 additions & 5 deletions locales/hr_HR.po
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,19 @@ msgid ""
msgstr ""
"Project-Id-Version: YAGP\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-03-07 16:57+0100\n"
"POT-Creation-Date: 2020-07-24 12:06+0200\n"
"PO-Revision-Date: 2020-04-08 15:47+0200\n"
"Last-Translator: Milo Ivir <[email protected]>\n"
"Language-Team: \n"
"Language: hr_HR\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.3\n"
"Last-Translator: Milo Ivir <[email protected]>\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
"Language: hr_HR\n"
"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
"%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"

#: inc/config.class.php:45 inc/config.class.php:106
#: inc/config.class.php:45 inc/config.class.php:116
msgid "Yagp"
msgstr "Yagp"

Expand All @@ -32,6 +33,15 @@ msgstr "Promijeni datum rješavanja naloga s vremenom završetka zadnjeg zadatka
msgid "Auto renew tacit contracts"
msgstr "Automatski obnovi implicitne ugovore"

#: inc/config.class.php:98
msgid "Fixed Menu"
msgstr ""

#: inc/config.class.php:103
#, fuzzy
msgid "Go to ticket"
msgstr "Broj naloga"

#: inc/contractrenew.class.php:5
msgid "YagpContractRenew"
msgstr "Yagp obnovi ugovor"
Expand Down
18 changes: 13 additions & 5 deletions locales/yagp.pot
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
# YAGP Glpi Plugin.
# Copyright (C) 2019 TICgal
# Copyright (C) 2020 TICgal
# This file is distributed under the same license as the PACKAGE package.
# TICgal, 2019
# TICgal, 2020
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-03-07 16:57+0100\n"
"PO-Revision-Date: 2019-MO-DA HO:MI+ZONE\n"
"POT-Creation-Date: 2020-07-24 12:09+0200\n"
"PO-Revision-Date: 2020-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"

#: inc/config.class.php:45 inc/config.class.php:106
#: inc/config.class.php:45 inc/config.class.php:116
msgid "Yagp"
msgstr ""

Expand All @@ -29,6 +29,14 @@ msgstr ""
msgid "Auto renew tacit contracts"
msgstr ""

#: inc/config.class.php:98
msgid "Fixed Menu"
msgstr ""

#: inc/config.class.php:103
msgid "Go to ticket"
msgstr ""

#: inc/contractrenew.class.php:5
msgid "YagpContractRenew"
msgstr ""
Expand Down
11 changes: 2 additions & 9 deletions setup.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php
define ('PLUGIN_YAGP_VERSION', '1.0.1');
// Minimal GLPI version, inclusive
define("PLUGIN_YAGP_MIN_GLPI", "9.3.0");
define("PLUGIN_YAGP_MIN_GLPI", "9.5.0");
// Maximum GLPI version, exclusive
define("PLUGIN_YAGP_MAX_GLPI", "9.5");
define("PLUGIN_YAGP_MAX_GLPI", "9.6");

function plugin_version_yagp() {
return ['name' => 'yagp',
Expand All @@ -20,13 +20,6 @@ function plugin_version_yagp() {
]];
}

/**
* Check plugin's prerequisites before installation
*/
function plugin_yagp_check_prerequisites() {
return true;
}

/**
* Check plugin's config before activation
*/
Expand Down

0 comments on commit 2746829

Please sign in to comment.