Skip to content

Commit

Permalink
Merge branch 'release/2.9.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
cedric-anne committed Oct 27, 2020
2 parents 3e57a21 + f12cbff commit f276c96
Show file tree
Hide file tree
Showing 23 changed files with 219 additions and 317 deletions.
417 changes: 156 additions & 261 deletions composer.lock

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions genericobject.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
<author>Walid Nouh</author>
</authors>
<versions>
<version>
<num>2.9.1</num>
<compatibility>~9.5.0</compatibility>
<download_url>https://github.com/pluginsGLPI/genericobject/releases/download/2.9.1/glpi-genericobject-2.9.1.tar.bz2</download_url>
</version>
<version>
<num>2.9.0</num>
<compatibility>~9.5.0</compatibility>
Expand Down
2 changes: 2 additions & 0 deletions inc/object.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ public function __construct() {
if (preg_match("/PluginGenericobject(.*)/", $class, $results)) {
if (preg_match("/^(.*)y$/i", $results[1], $end_results)) {
static::$rightname = 'plugin_genericobject_'.strtolower($end_results[1]).'ies';
} else if (preg_match("/^(.*)ss$/i", $results[1])) {
static::$rightname = 'plugin_genericobject_'.strtolower($results[1]).'es';
} else {
static::$rightname = 'plugin_genericobject_'.strtolower($results[1]).'s';
}
Expand Down
6 changes: 3 additions & 3 deletions locales/cs_CZ.po
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI Plugin - Genericobject\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-07-03 18:57+0000\n"
"POT-Creation-Date: 2020-10-27 15:13+0000\n"
"PO-Revision-Date: 2019-11-09 06:06+0000\n"
"Last-Translator: Pavel Borecki <pavel.borecki@gmail.com>\n"
"Language-Team: Czech (Czech Republic) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/cs_CZ/)\n"
Expand Down Expand Up @@ -142,11 +142,11 @@ msgid ""
"files in %1$s"
msgstr "Nejspíš ve své databázi máte pro tento modul v nepořádku data a chybí soubory v %1$s"

#: inc/object.class.php:537
#: inc/object.class.php:539
msgid "Object preview"
msgstr "Náhled objektu"

#: inc/object.class.php:801
#: inc/object.class.php:803
msgid "You must configure rights to enable the preview"
msgstr "Pro zapnutí náhledu je třeba nastavit oprávnění"

Expand Down
Binary file modified locales/en_GB.mo
Binary file not shown.
8 changes: 4 additions & 4 deletions locales/en_GB.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-07-03 18:57+0000\n"
"PO-Revision-Date: 2020-07-03 18:57+0000\n"
"POT-Creation-Date: 2020-10-27 15:13+0000\n"
"PO-Revision-Date: 2020-10-27 15:13+0000\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: en_GB\n"
Expand Down Expand Up @@ -143,11 +143,11 @@ msgstr ""
"You probably have garbage data in your database for this plugin and missing "
"files in %1$s"

#: inc/object.class.php:537
#: inc/object.class.php:539
msgid "Object preview"
msgstr "Object preview"

#: inc/object.class.php:801
#: inc/object.class.php:803
msgid "You must configure rights to enable the preview"
msgstr "You must configure rights to enable the preview"

Expand Down
6 changes: 3 additions & 3 deletions locales/es_ES.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI Plugin - Genericobject\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-07-03 18:57+0000\n"
"POT-Creation-Date: 2020-10-27 15:13+0000\n"
"PO-Revision-Date: 2019-11-08 14:59+0000\n"
"Last-Translator: Cédric Anne\n"
"Language-Team: Spanish (Spain) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/es_ES/)\n"
Expand Down Expand Up @@ -141,11 +141,11 @@ msgid ""
"files in %1$s"
msgstr ""

#: inc/object.class.php:537
#: inc/object.class.php:539
msgid "Object preview"
msgstr "Vista previa del objeto"

#: inc/object.class.php:801
#: inc/object.class.php:803
msgid "You must configure rights to enable the preview"
msgstr "Tiene que configurar los permisos para acceder a la vista previa"

Expand Down
6 changes: 3 additions & 3 deletions locales/fi_FI.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI Plugin - Genericobject\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-07-03 18:57+0000\n"
"POT-Creation-Date: 2020-10-27 15:13+0000\n"
"PO-Revision-Date: 2019-11-08 14:59+0000\n"
"Last-Translator: Cédric Anne\n"
"Language-Team: Finnish (Finland) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/fi_FI/)\n"
Expand Down Expand Up @@ -141,11 +141,11 @@ msgid ""
"files in %1$s"
msgstr "Tietokannassa on ongelma liittyen liitännäiseen ja puuttuvia tiedostoja %1$s"

#: inc/object.class.php:537
#: inc/object.class.php:539
msgid "Object preview"
msgstr "Kohteen esikatselu"

#: inc/object.class.php:801
#: inc/object.class.php:803
msgid "You must configure rights to enable the preview"
msgstr "Oikeudet on määritettävä, jotta esikatselu voidaan ottaa käyttöön"

Expand Down
6 changes: 3 additions & 3 deletions locales/fr_CA.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI Plugin - Genericobject\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-07-03 18:57+0000\n"
"POT-Creation-Date: 2020-10-27 15:13+0000\n"
"PO-Revision-Date: 2020-06-09 02:45+0000\n"
"Last-Translator: Tiago Graca\n"
"Language-Team: French (Canada) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/fr_CA/)\n"
Expand Down Expand Up @@ -141,11 +141,11 @@ msgid ""
"files in %1$s"
msgstr "Vous avez probablement d'anciennes données dans votre base de données pour ce plugin et des fichiers sont manquants dans %1$s"

#: inc/object.class.php:537
#: inc/object.class.php:539
msgid "Object preview"
msgstr "Prévisualisation d'un objet de ce type"

#: inc/object.class.php:801
#: inc/object.class.php:803
msgid "You must configure rights to enable the preview"
msgstr "Vous devez configurer les droits sur cet objet pour voir la prévisualisation"

Expand Down
6 changes: 3 additions & 3 deletions locales/fr_FR.po
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI Plugin - Genericobject\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-07-03 18:57+0000\n"
"POT-Creation-Date: 2020-10-27 15:13+0000\n"
"PO-Revision-Date: 2019-11-08 14:59+0000\n"
"Last-Translator: Cédric Anne\n"
"Language-Team: French (France) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/fr_FR/)\n"
Expand Down Expand Up @@ -146,11 +146,11 @@ msgid ""
"files in %1$s"
msgstr "Vous avez probablement d'anciennes données dans votre base pour ce plugin ou des fichiers manquants dans %1$s"

#: inc/object.class.php:537
#: inc/object.class.php:539
msgid "Object preview"
msgstr "Prévisualisation d'un objet de ce type"

#: inc/object.class.php:801
#: inc/object.class.php:803
msgid "You must configure rights to enable the preview"
msgstr "Vous devez configurer les droits sur cet objet pour voir la prévisualisation"

Expand Down
6 changes: 3 additions & 3 deletions locales/genericobject.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-07-03 18:57+0000\n"
"POT-Creation-Date: 2020-10-27 15:13+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"
Expand Down Expand Up @@ -140,11 +140,11 @@ msgid ""
"files in %1$s"
msgstr ""

#: inc/object.class.php:537
#: inc/object.class.php:539
msgid "Object preview"
msgstr ""

#: inc/object.class.php:801
#: inc/object.class.php:803
msgid "You must configure rights to enable the preview"
msgstr ""

Expand Down
6 changes: 3 additions & 3 deletions locales/hr_HR.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI Plugin - Genericobject\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-07-03 18:57+0000\n"
"POT-Creation-Date: 2020-10-27 15:13+0000\n"
"PO-Revision-Date: 2020-02-12 13:54+0000\n"
"Last-Translator: milotype <mail@milotype.de>\n"
"Language-Team: Croatian (Croatia) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/hr_HR/)\n"
Expand Down Expand Up @@ -141,11 +141,11 @@ msgid ""
"files in %1$s"
msgstr "U bazi podataka vjerojatno imaš smeće za ovaj dodatak i nedostaju datoteke u %1$s"

#: inc/object.class.php:537
#: inc/object.class.php:539
msgid "Object preview"
msgstr "Pregled objekta"

#: inc/object.class.php:801
#: inc/object.class.php:803
msgid "You must configure rights to enable the preview"
msgstr "Za aktiviranje pregleda moraš konfigurirati prava"

Expand Down
6 changes: 3 additions & 3 deletions locales/it_IT.po
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI Plugin - Genericobject\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-07-03 18:57+0000\n"
"POT-Creation-Date: 2020-10-27 15:13+0000\n"
"PO-Revision-Date: 2019-11-08 14:59+0000\n"
"Last-Translator: Cédric Anne\n"
"Language-Team: Italian (Italy) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/it_IT/)\n"
Expand Down Expand Up @@ -143,11 +143,11 @@ msgid ""
"files in %1$s"
msgstr "Per questo plugin hai, probabilmente, dei dati inutili nel tuo database e file mancanti in %1$s"

#: inc/object.class.php:537
#: inc/object.class.php:539
msgid "Object preview"
msgstr "Anteprima dell'oggetto"

#: inc/object.class.php:801
#: inc/object.class.php:803
msgid "You must configure rights to enable the preview"
msgstr "Bisogna configurare i diritti per abilitare l'anteprima"

Expand Down
6 changes: 3 additions & 3 deletions locales/ko_KR.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI Plugin - Genericobject\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-07-03 18:57+0000\n"
"POT-Creation-Date: 2020-10-27 15:13+0000\n"
"PO-Revision-Date: 2020-02-03 04:26+0000\n"
"Last-Translator: SeongHyeon Cho <jaymz9634@gmail.com>\n"
"Language-Team: Korean (Korea) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/ko_KR/)\n"
Expand Down Expand Up @@ -141,11 +141,11 @@ msgid ""
"files in %1$s"
msgstr "이 플러그인에 대한 데이터베이스 내에 개비지 데이터가 있거나 %1$s내의 파일이 누락된 것 같습니다"

#: inc/object.class.php:537
#: inc/object.class.php:539
msgid "Object preview"
msgstr "객체 미리보기"

#: inc/object.class.php:801
#: inc/object.class.php:803
msgid "You must configure rights to enable the preview"
msgstr "미리보기 활성화에 대한 권한을 구성해야 합니다"

Expand Down
6 changes: 3 additions & 3 deletions locales/pl_PL.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI Plugin - Genericobject\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-07-03 18:57+0000\n"
"POT-Creation-Date: 2020-10-27 15:13+0000\n"
"PO-Revision-Date: 2019-11-08 14:59+0000\n"
"Last-Translator: Cédric Anne\n"
"Language-Team: Polish (Poland) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/pl_PL/)\n"
Expand Down Expand Up @@ -141,11 +141,11 @@ msgid ""
"files in %1$s"
msgstr ""

#: inc/object.class.php:537
#: inc/object.class.php:539
msgid "Object preview"
msgstr "Podgląd obiektu"

#: inc/object.class.php:801
#: inc/object.class.php:803
msgid "You must configure rights to enable the preview"
msgstr ""

Expand Down
6 changes: 3 additions & 3 deletions locales/pt_BR.po
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI Plugin - Genericobject\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-07-03 18:57+0000\n"
"POT-Creation-Date: 2020-10-27 15:13+0000\n"
"PO-Revision-Date: 2019-11-08 14:59+0000\n"
"Last-Translator: Cédric Anne\n"
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/pt_BR/)\n"
Expand Down Expand Up @@ -143,11 +143,11 @@ msgid ""
"files in %1$s"
msgstr "Deve ter dados no lixo da tua base de dados porque estão a faltas ficheiros neste plugin %1$s"

#: inc/object.class.php:537
#: inc/object.class.php:539
msgid "Object preview"
msgstr "Pré-visualização do objet"

#: inc/object.class.php:801
#: inc/object.class.php:803
msgid "You must configure rights to enable the preview"
msgstr "Você deve configurar os direitos para habilitar pré-visualização"

Expand Down
6 changes: 3 additions & 3 deletions locales/pt_PT.po
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI Plugin - Genericobject\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-07-03 18:57+0000\n"
"POT-Creation-Date: 2020-10-27 15:13+0000\n"
"PO-Revision-Date: 2019-11-08 14:59+0000\n"
"Last-Translator: Cédric Anne\n"
"Language-Team: Portuguese (Portugal) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/pt_PT/)\n"
Expand Down Expand Up @@ -140,11 +140,11 @@ msgid ""
"files in %1$s"
msgstr "Provavelmente tem dados incorretos na sua base de dados para este plugin e arquivos ausentes em %1$s"

#: inc/object.class.php:537
#: inc/object.class.php:539
msgid "Object preview"
msgstr "Pré-visualização de objetos"

#: inc/object.class.php:801
#: inc/object.class.php:803
msgid "You must configure rights to enable the preview"
msgstr "Deve configurar os direitos para habilitar a visualização"

Expand Down
6 changes: 3 additions & 3 deletions locales/ro_RO.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI Plugin - Genericobject\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-07-03 18:57+0000\n"
"POT-Creation-Date: 2020-10-27 15:13+0000\n"
"PO-Revision-Date: 2019-11-08 14:59+0000\n"
"Last-Translator: Cédric Anne\n"
"Language-Team: Romanian (Romania) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/ro_RO/)\n"
Expand Down Expand Up @@ -141,11 +141,11 @@ msgid ""
"files in %1$s"
msgstr ""

#: inc/object.class.php:537
#: inc/object.class.php:539
msgid "Object preview"
msgstr "Previzualizeaza un obiect de acest tip"

#: inc/object.class.php:801
#: inc/object.class.php:803
msgid "You must configure rights to enable the preview"
msgstr "Trebuie sa configurati drepturi pe acest obiect pentru a putea previzualiza"

Expand Down
6 changes: 3 additions & 3 deletions locales/ru_RU.po
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI Plugin - Genericobject\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-07-03 18:57+0000\n"
"POT-Creation-Date: 2020-10-27 15:13+0000\n"
"PO-Revision-Date: 2019-11-08 14:59+0000\n"
"Last-Translator: Cédric Anne\n"
"Language-Team: Russian (Russia) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/ru_RU/)\n"
Expand Down Expand Up @@ -142,11 +142,11 @@ msgid ""
"files in %1$s"
msgstr ""

#: inc/object.class.php:537
#: inc/object.class.php:539
msgid "Object preview"
msgstr "Предпросмотр"

#: inc/object.class.php:801
#: inc/object.class.php:803
msgid "You must configure rights to enable the preview"
msgstr "Вы должны настроить права для предпросмотра"

Expand Down
6 changes: 3 additions & 3 deletions locales/sv_SE.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: GLPI Plugin - Genericobject\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-07-03 18:57+0000\n"
"POT-Creation-Date: 2020-10-27 15:13+0000\n"
"PO-Revision-Date: 2019-11-08 14:59+0000\n"
"Last-Translator: Cédric Anne\n"
"Language-Team: Swedish (Sweden) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/sv_SE/)\n"
Expand Down Expand Up @@ -141,11 +141,11 @@ msgid ""
"files in %1$s"
msgstr "Du har troligtvis skräpdata i databasen för denna plug-in och saknar filer i %1$s"

#: inc/object.class.php:537
#: inc/object.class.php:539
msgid "Object preview"
msgstr "Förhandsgranska tillgång"

#: inc/object.class.php:801
#: inc/object.class.php:803
msgid "You must configure rights to enable the preview"
msgstr "Du måste konfigurera rättigheter för att aktivera förhandsgranskning"

Expand Down
Loading

0 comments on commit f276c96

Please sign in to comment.