├── .github └── workflows │ ├── locales-sync.yml │ └── locales-update-source.yml ├── .gitignore ├── .tx └── config ├── AUTHORS.txt ├── LICENSE ├── README.md ├── composer.json ├── composer.lock ├── example.css ├── example.js ├── example.xml ├── example_anonymous.css ├── example_anonymous.js ├── front ├── config.php ├── devicecamera.form.php ├── devicecamera.php ├── dropdown.form.php ├── dropdown.php ├── example.form.php ├── example.php ├── popup.php ├── ruletest.form.php └── ruletest.php ├── hook.php ├── locales ├── cs_CZ.mo ├── cs_CZ.po ├── en_GB.mo ├── en_GB.po ├── en_US.mo ├── en_US.po ├── es_ES.mo ├── es_ES.po ├── es_MX.mo ├── es_MX.po ├── example.pot ├── fr_FR.mo ├── fr_FR.po ├── hu_HU.mo ├── hu_HU.po ├── it_IT.mo ├── it_IT.po ├── ko_KR.mo ├── ko_KR.po ├── lv_LV.mo ├── lv_LV.po ├── nl_NL.mo ├── nl_NL.po ├── pl_PL.mo ├── pl_PL.po ├── pt_BR.mo ├── pt_BR.po ├── pt_PT.mo ├── pt_PT.po ├── ro_RO.mo ├── ro_RO.po ├── ru_RU.mo ├── ru_RU.po ├── ru_lv.mo ├── ru_lv.po ├── tr_TR.mo ├── tr_TR.po ├── uk_UA.mo ├── uk_UA.po ├── zh_CN.mo └── zh_CN.po ├── misc ├── logo.png └── screenshots │ ├── first.png │ ├── fourth.png │ ├── second.png │ └── third.png ├── mymodule_anonymous.js ├── public └── computer_icon.svg ├── report.php ├── setup.php ├── src ├── Child.php ├── Computer.php ├── Config.php ├── DeviceCamera.php ├── Document.php ├── Dropdown.php ├── Example.php ├── Filters │ └── ComputerModelFilter.php ├── ItemForm.php ├── Item_DeviceCamera.php ├── NotificationTargetExample.php ├── Profile.php ├── RuleTest.php ├── RuleTestCollection.php └── Showtabitem.php ├── stat.php └── tools └── HEADER /.github/workflows/locales-sync.yml: -------------------------------------------------------------------------------- 1 | name: "Synchronize locales" 2 | 3 | on: 4 | schedule: 5 | - cron: "0 0 * * 1-5" 6 | workflow_dispatch: 7 | 8 | jobs: 9 | sync-with-transifex: 10 | name: "Sync with transifex" 11 | uses: "glpi-project/plugin-translation-workflows/.github/workflows/transifex-sync.yml@v1" 12 | secrets: 13 | github-token: "${{ secrets.LOCALES_SYNC_TOKEN }}" 14 | transifex-token: "${{ secrets.TRANSIFEX_TOKEN }}" 15 | -------------------------------------------------------------------------------- /.github/workflows/locales-update-source.yml: -------------------------------------------------------------------------------- 1 | name: "Update locales sources" 2 | 3 | on: 4 | push: 5 | branches: 6 | - "main" 7 | 8 | jobs: 9 | push-on-transifex: 10 | name: "Push locales sources" 11 | uses: "glpi-project/plugin-translation-workflows/.github/workflows/transifex-push-sources.yml@v1" 12 | secrets: 13 | transifex-token: "${{ secrets.TRANSIFEX_TOKEN }}" 14 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | vendor/ 3 | .gh_token 4 | *.min.* 5 | 6 | -------------------------------------------------------------------------------- /.tx/config: -------------------------------------------------------------------------------- 1 | [main] 2 | host = https://www.transifex.com 3 | 4 | [o:teclib:p:glpi-plugin-example:r:example-pot] 5 | file_filter = locales/.po 6 | source_file = locales/example.pot 7 | source_lang = en 8 | type = PO 9 | -------------------------------------------------------------------------------- /AUTHORS.txt: -------------------------------------------------------------------------------- 1 | 2 | ********************************************************************** 3 | 4 | ***************************Main dev team****************************** 5 | 6 | 7 | - Julien Dombre (moyo at indepnet.org) 8 | 9 | 10 | ********************************************************************** 11 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # GLPi Example Plugin 2 | 3 | ## Introduction 4 | 5 | This plugin implements a few basic glpi hooks. 6 | Most of implemented features stands for example and are not 7 | expected to provide fantastic functionality other than teaching. 8 | 9 | ## Documentation 10 | 11 | This plugin is documented [here](https://github.com/pluginsGLPI/glpi-example-plugin/wiki), 12 | It is the developer documentation for plugin contributors as of now. 13 | You may change that link and provide documentation for your plugin, 14 | if you totally create your plugin repository from the worktree of this one. 15 | 16 | ## Installation 17 | 18 | ```sh 19 | cd /my/glpi/deployment/main/directory/plugins 20 | git clone git@github.com:pluginsGLPI/glpi-example-plugin.git example 21 | ``` 22 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "require": { 3 | "php": ">=7.4" 4 | }, 5 | "require-dev": { 6 | "glpi-project/tools": "^0.5" 7 | }, 8 | "config": { 9 | "optimize-autoloader": true, 10 | "platform": { 11 | "php": "7.4.0" 12 | }, 13 | "sort-packages": true 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /example.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * ------------------------------------------------------------------------- 3 | * Example plugin for GLPI 4 | * ------------------------------------------------------------------------- 5 | * 6 | * LICENSE 7 | * 8 | * This file is part of Example. 9 | * 10 | * Example is free software; you can redistribute it and/or modify 11 | * it under the terms of the GNU General Public License as published by 12 | * the Free Software Foundation; either version 2 of the License, or 13 | * (at your option) any later version. 14 | * 15 | * Example is distributed in the hope that it will be useful, 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 | * GNU General Public License for more details. 19 | * 20 | * You should have received a copy of the GNU General Public License 21 | * along with Example. If not, see . 22 | * ------------------------------------------------------------------------- 23 | * @copyright Copyright (C) 2006-2022 by Example plugin team. 24 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 25 | * @link https://github.com/pluginsGLPI/example 26 | * ------------------------------------------------------------------------- 27 | */ 28 | 29 | /* empty file */ 30 | -------------------------------------------------------------------------------- /example.js: -------------------------------------------------------------------------------- 1 | /** 2 | * ------------------------------------------------------------------------- 3 | * Example plugin for GLPI 4 | * ------------------------------------------------------------------------- 5 | * 6 | * LICENSE 7 | * 8 | * This file is part of Example. 9 | * 10 | * Example is free software; you can redistribute it and/or modify 11 | * it under the terms of the GNU General Public License as published by 12 | * the Free Software Foundation; either version 2 of the License, or 13 | * (at your option) any later version. 14 | * 15 | * Example is distributed in the hope that it will be useful, 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 | * GNU General Public License for more details. 19 | * 20 | * You should have received a copy of the GNU General Public License 21 | * along with Example. If not, see . 22 | * ------------------------------------------------------------------------- 23 | * @copyright Copyright (C) 2006-2022 by Example plugin team. 24 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 25 | * @link https://github.com/pluginsGLPI/example 26 | * ------------------------------------------------------------------------- 27 | */ 28 | 29 | /* empty file */ 30 | -------------------------------------------------------------------------------- /example.xml: -------------------------------------------------------------------------------- 1 | 2 | Example 3 | example 4 | stable 5 | https://raw.githubusercontent.com/pluginsGLPI/example/master/misc/logo.png 6 | 7 | 8 | GLPI zásuvný modul pro ukázku, užitečný jako základ pro nějaký nový 9 | GLPI example plugin useful to bootstrap a new one 10 | Plugin GLPI d'example utile pour en démarrer un 11 | 12 | 13 | GLPI zásuvný modul pro ukázku, užitečný jako základ pro nějaký nový, pokud z něho vycházíte, měli byste přitom upravit každou z kolonek tohoto souboru a přečíst si obsah README.md 14 | GLPI example plugin useful to bootstrap a new one, you should edit every field of this file, and see README.md 15 | Plugin GLPI d'example utile pour en démarrer un, vous devriez editer tous les champs de ce fichier, et voir README.md 16 | 17 | 18 | https://github.com/pluginsGLPI/example 19 | https://github.com/pluginsGLPI/example/releases 20 | https://github.com/pluginsGLPI/example/issues 21 | https://raw.githubusercontent.com/pluginsGLPI/example/master/README.md 22 | 23 | Teclib' 24 | Indepnet 25 | 26 | 27 | 28 | 0.0.1 29 | ~10.0.0 30 | 31 | 32 | 33 | cs_CZ 34 | en_GB 35 | fr_FR 36 | 37 | GPL v2+ 38 | 39 | 40 | ukázka 41 | 42 | 43 | example 44 | 45 | 46 | exemple 47 | 48 | 49 | 50 | https://raw.githubusercontent.com/pluginsGLPI/example/master/misc/screenshots/first.png 51 | https://raw.githubusercontent.com/pluginsGLPI/example/master/misc/screenshots/second.png 52 | https://raw.githubusercontent.com/pluginsGLPI/example/master/misc/screenshots/third.png 53 | https://raw.githubusercontent.com/pluginsGLPI/example/master/misc/screenshots/fourth.png 54 | 55 | 56 | -------------------------------------------------------------------------------- /example_anonymous.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * ------------------------------------------------------------------------- 3 | * Example plugin for GLPI 4 | * ------------------------------------------------------------------------- 5 | * 6 | * LICENSE 7 | * 8 | * This file is part of Example. 9 | * 10 | * Example is free software; you can redistribute it and/or modify 11 | * it under the terms of the GNU General Public License as published by 12 | * the Free Software Foundation; either version 2 of the License, or 13 | * (at your option) any later version. 14 | * 15 | * Example is distributed in the hope that it will be useful, 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 | * GNU General Public License for more details. 19 | * 20 | * You should have received a copy of the GNU General Public License 21 | * along with Example. If not, see . 22 | * ------------------------------------------------------------------------- 23 | * @copyright Copyright (C) 2006-2022 by Example plugin team. 24 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 25 | * @link https://github.com/pluginsGLPI/example 26 | * ------------------------------------------------------------------------- 27 | */ 28 | 29 | /* empty file */ 30 | -------------------------------------------------------------------------------- /example_anonymous.js: -------------------------------------------------------------------------------- 1 | /** 2 | * ------------------------------------------------------------------------- 3 | * Example plugin for GLPI 4 | * ------------------------------------------------------------------------- 5 | * 6 | * LICENSE 7 | * 8 | * This file is part of Example. 9 | * 10 | * Example is free software; you can redistribute it and/or modify 11 | * it under the terms of the GNU General Public License as published by 12 | * the Free Software Foundation; either version 2 of the License, or 13 | * (at your option) any later version. 14 | * 15 | * Example is distributed in the hope that it will be useful, 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 | * GNU General Public License for more details. 19 | * 20 | * You should have received a copy of the GNU General Public License 21 | * along with Example. If not, see . 22 | * ------------------------------------------------------------------------- 23 | * @copyright Copyright (C) 2006-2022 by Example plugin team. 24 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 25 | * @link https://github.com/pluginsGLPI/example 26 | * ------------------------------------------------------------------------- 27 | */ 28 | 29 | /* empty file */ 30 | -------------------------------------------------------------------------------- /front/config.php: -------------------------------------------------------------------------------- 1 | . 24 | * ------------------------------------------------------------------------- 25 | * @copyright Copyright (C) 2006-2022 by Example plugin team. 26 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 27 | * @link https://github.com/pluginsGLPI/example 28 | * ------------------------------------------------------------------------- 29 | */ 30 | 31 | // ---------------------------------------------------------------------- 32 | // Original Author of file: 33 | // Purpose of file: 34 | // ---------------------------------------------------------------------- 35 | 36 | // Non menu entry case 37 | //header("Location:../../central.php"); 38 | 39 | // Entry menu case 40 | include ("../../../inc/includes.php"); 41 | 42 | Session::checkRight("config", UPDATE); 43 | 44 | // To be available when plugin in not activated 45 | Plugin::load('example'); 46 | 47 | Html::header("TITRE", $_SERVER['PHP_SELF'], "config", "plugins"); 48 | echo __("This is the plugin config page", 'example'); 49 | Html::footer(); 50 | -------------------------------------------------------------------------------- /front/devicecamera.form.php: -------------------------------------------------------------------------------- 1 | . 24 | * ------------------------------------------------------------------------- 25 | * @copyright Copyright (C) 2006-2022 by Example plugin team. 26 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 27 | * @link https://github.com/pluginsGLPI/example 28 | * ------------------------------------------------------------------------- 29 | */ 30 | 31 | // ---------------------------------------------------------------------- 32 | // Original Author of file: 33 | // Purpose of file: 34 | // ---------------------------------------------------------------------- 35 | 36 | use GlpiPlugin\Example\DeviceCamera; 37 | 38 | include ('../../../inc/includes.php'); 39 | Session::checkLoginUser(); 40 | 41 | $dropdown = new DeviceCamera(); 42 | include (GLPI_ROOT . "/front/dropdown.common.form.php"); 43 | -------------------------------------------------------------------------------- /front/devicecamera.php: -------------------------------------------------------------------------------- 1 | . 24 | * ------------------------------------------------------------------------- 25 | * @copyright Copyright (C) 2006-2022 by Example plugin team. 26 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 27 | * @link https://github.com/pluginsGLPI/example 28 | * ------------------------------------------------------------------------- 29 | */ 30 | 31 | // ---------------------------------------------------------------------- 32 | // Original Author of file: 33 | // Purpose of file: 34 | // ---------------------------------------------------------------------- 35 | 36 | include ('../../../inc/includes.php'); 37 | Session::checkLoginUser(); 38 | 39 | $dropdown = new DeviceCamera(); 40 | include (GLPI_ROOT . "/front/dropdown.common.php"); 41 | -------------------------------------------------------------------------------- /front/dropdown.form.php: -------------------------------------------------------------------------------- 1 | . 24 | * ------------------------------------------------------------------------- 25 | * @copyright Copyright (C) 2006-2022 by Example plugin team. 26 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 27 | * @link https://github.com/pluginsGLPI/example 28 | * ------------------------------------------------------------------------- 29 | */ 30 | 31 | // ---------------------------------------------------------------------- 32 | // Original Author of file: Remi Collet 33 | // Purpose of file: 34 | // ---------------------------------------------------------------------- 35 | 36 | use GlpiPlugin\Example\Dropdown; 37 | 38 | include ('../../../inc/includes.php'); 39 | Session::checkLoginUser(); 40 | 41 | Plugin::load('example', true); 42 | 43 | $dropdown = new Dropdown(); 44 | include (GLPI_ROOT . "/front/dropdown.common.form.php"); 45 | -------------------------------------------------------------------------------- /front/dropdown.php: -------------------------------------------------------------------------------- 1 | . 24 | * ------------------------------------------------------------------------- 25 | * @copyright Copyright (C) 2006-2022 by Example plugin team. 26 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 27 | * @link https://github.com/pluginsGLPI/example 28 | * ------------------------------------------------------------------------- 29 | */ 30 | 31 | // ---------------------------------------------------------------------- 32 | // Original Author of file: Remi collet 33 | // Purpose of file: 34 | // ---------------------------------------------------------------------- 35 | 36 | use GlpiPlugin\Example\Dropdown; 37 | 38 | include ('../../../inc/includes.php'); 39 | Session::checkLoginUser(); 40 | 41 | Plugin::load('example', true); 42 | 43 | $dropdown = new Dropdown(); 44 | include (GLPI_ROOT . "/front/dropdown.common.php"); 45 | -------------------------------------------------------------------------------- /front/example.form.php: -------------------------------------------------------------------------------- 1 | . 24 | * ------------------------------------------------------------------------- 25 | * @copyright Copyright (C) 2006-2022 by Example plugin team. 26 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 27 | * @link https://github.com/pluginsGLPI/example 28 | * ------------------------------------------------------------------------- 29 | */ 30 | 31 | // ---------------------------------------------------------------------- 32 | // Original Author of file: 33 | // Purpose of file: 34 | // ---------------------------------------------------------------------- 35 | 36 | use GlpiPlugin\Example\Example; 37 | 38 | include ('../../../inc/includes.php'); 39 | Session::checkLoginUser(); 40 | 41 | if ($_SESSION["glpiactiveprofile"]["interface"] == "central") { 42 | Html::header("TITRE", $_SERVER['PHP_SELF'], "plugins", Example::class, ""); 43 | } else { 44 | Html::helpHeader("TITRE", $_SERVER['PHP_SELF']); 45 | } 46 | 47 | $example = new Example(); 48 | $example->display($_GET); 49 | 50 | Html::footer(); 51 | -------------------------------------------------------------------------------- /front/example.php: -------------------------------------------------------------------------------- 1 | . 24 | * ------------------------------------------------------------------------- 25 | * @copyright Copyright (C) 2006-2022 by Example plugin team. 26 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 27 | * @link https://github.com/pluginsGLPI/example 28 | * ------------------------------------------------------------------------- 29 | */ 30 | 31 | // ---------------------------------------------------------------------- 32 | // Original Author of file: 33 | // Purpose of file: 34 | // ---------------------------------------------------------------------- 35 | 36 | use GlpiPlugin\Example\Example; 37 | 38 | include ('../../../inc/includes.php'); 39 | Session::checkRight(Example::$rightname, READ); 40 | 41 | if ($_SESSION["glpiactiveprofile"]["interface"] == "central") { 42 | Html::header("TITRE", $_SERVER['PHP_SELF'], "plugins", Example::class, ""); 43 | } else { 44 | Html::helpHeader("TITRE", $_SERVER['PHP_SELF']); 45 | } 46 | 47 | 48 | //checkTypeRight(Example::class,"r"); 49 | 50 | Search::show(Example::class); 51 | 52 | Html::footer(); 53 | -------------------------------------------------------------------------------- /front/popup.php: -------------------------------------------------------------------------------- 1 | . 24 | * ------------------------------------------------------------------------- 25 | * @copyright Copyright (C) 2006-2022 by Example plugin team. 26 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 27 | * @link https://github.com/pluginsGLPI/example 28 | * ------------------------------------------------------------------------- 29 | */ 30 | 31 | include ('../../../inc/includes.php'); 32 | 33 | Session::checkLoginUser(); 34 | 35 | if (isset($_GET["popup"])) { 36 | $_SESSION["glpipopup"]["name"] = $_GET["popup"]; 37 | } 38 | 39 | if (isset($_SESSION["glpipopup"]["name"])) { 40 | switch ($_SESSION["glpipopup"]["name"]) { 41 | case "test_rule" : 42 | Html::popHeader(__('Test'), $_SERVER['PHP_SELF']); 43 | include "../../../front/rule.test.php"; 44 | break; 45 | 46 | case "test_all_rules" : 47 | Html::popHeader(__('Test rules engine'), $_SERVER['PHP_SELF']); 48 | include "../../../front/rulesengine.test.php"; 49 | break; 50 | 51 | case "show_cache" : 52 | Html::popHeader(__('Cache information'), $_SERVER['PHP_SELF']); 53 | include "../../../front/rule.cache.php"; 54 | break; 55 | } 56 | echo "

".__('Back').""; 57 | echo "
"; 58 | Html::popFooter(); 59 | } 60 | -------------------------------------------------------------------------------- /front/ruletest.form.php: -------------------------------------------------------------------------------- 1 | . 24 | * ------------------------------------------------------------------------- 25 | * @copyright Copyright (C) 2006-2022 by Example plugin team. 26 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 27 | * @link https://github.com/pluginsGLPI/example 28 | * ------------------------------------------------------------------------- 29 | */ 30 | 31 | // ---------------------------------------------------------------------- 32 | // Original Author of file: Walid Nouh 33 | // Purpose of file: 34 | // ---------------------------------------------------------------------- 35 | 36 | use GlpiPlugin\Example\RuleTestCollection; 37 | 38 | include ('../../../inc/includes.php'); 39 | Session::checkLoginUser(); 40 | 41 | $rulecollection = new RuleTestCollection(); 42 | 43 | include (GLPI_ROOT . "/front/rule.common.form.php"); 44 | -------------------------------------------------------------------------------- /front/ruletest.php: -------------------------------------------------------------------------------- 1 | . 24 | * ------------------------------------------------------------------------- 25 | * @copyright Copyright (C) 2006-2022 by Example plugin team. 26 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 27 | * @link https://github.com/pluginsGLPI/example 28 | * ------------------------------------------------------------------------- 29 | */ 30 | 31 | // ---------------------------------------------------------------------- 32 | // Original Author of file: Walid Nouh 33 | // Purpose of file: 34 | // ---------------------------------------------------------------------- 35 | 36 | use GlpiPlugin\Example\RuleTestCollection; 37 | 38 | include ('../../../inc/includes.php'); 39 | Session::checkLoginUser(); 40 | 41 | $rulecollection = new RuleTestCollection(); 42 | 43 | include (GLPI_ROOT . "/front/rule.common.php"); 44 | -------------------------------------------------------------------------------- /locales/cs_CZ.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/example/e283c254cda1bacf68b7361637c521cae2fe0287/locales/cs_CZ.mo -------------------------------------------------------------------------------- /locales/cs_CZ.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # 5 | # Translators: 6 | # David Stepan , 2016 7 | # Pavel Borecki , 2018 8 | msgid "" 9 | msgstr "" 10 | "Project-Id-Version: GLPI Plugin - Example\n" 11 | "Report-Msgid-Bugs-To: \n" 12 | "POT-Creation-Date: 2024-12-20 01:27+0000\n" 13 | "PO-Revision-Date: 2015-09-18 12:02+0000\n" 14 | "Last-Translator: Pavel Borecki , 2018\n" 15 | "Language-Team: Czech (Czech Republic) (http://app.transifex.com/teclib/glpi-plugin-example/language/cs_CZ/)\n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=UTF-8\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | "Language: cs_CZ\n" 20 | "Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" 21 | 22 | #: src/Example.php:447 23 | msgid "But... I say I will do nothing for:" 24 | msgstr "Ale… Říkám že nebudu dělat nic pro:" 25 | 26 | #: src/RuleTest.php:82 27 | msgid "Category (class)" 28 | msgstr "Kategorie (třída)" 29 | 30 | #: src/Example.php:154 31 | msgid "Cron description for example" 32 | msgstr "Popis naplánované úlohy (cron) pro ukázku" 33 | 34 | #: src/Example.php:155 35 | msgid "Cron parameter for example" 36 | msgstr "Parametr naplánované úlohy (cron) pro ukázku" 37 | 38 | #: hook.php:371 39 | msgid "Delete Computer Hook" 40 | msgstr "Smazat háček počítače" 41 | 42 | #: src/Example.php:390 43 | msgid "Do Nothing - just for fun" 44 | msgstr "Nedělat nic – jen pro pobavení" 45 | 46 | #: hook.php:355 47 | msgid "Empty Computer Hook" 48 | msgstr "Prázdný háček počítače" 49 | 50 | #: src/NotificationTargetExample.php:48 src/Example.php:212 51 | #: src/Example.php:218 src/Example.php:221 52 | msgid "Example" 53 | msgstr "Příklad" 54 | 55 | #: hook.php:617 56 | msgid "Example datas" 57 | msgstr "Příklad dat" 58 | 59 | #: hook.php:612 60 | msgid "Example event" 61 | msgstr "Příklad události" 62 | 63 | #: hook.php:69 64 | msgid "Example plugin" 65 | msgstr "Zásuvný modul pro ukázku" 66 | 67 | #: hook.php:83 68 | msgid "Example plugin new" 69 | msgstr "Zásuvný modul pro ukázku nové" 70 | 71 | #: src/Example.php:277 72 | msgid "First tab of Plugin example" 73 | msgstr "První panel zásuvného modulu pro ukázku" 74 | 75 | #: src/Example.php:374 76 | msgid "History from plugin example" 77 | msgstr "Historie ze zásuvného modulu pro ukázku" 78 | 79 | #: setup.php:341 80 | msgid "Installed / not configured" 81 | msgstr "Nainstalováno/nenastaveno" 82 | 83 | #: hook.php:289 hook.php:299 84 | msgid "Not really specific - Just for example" 85 | msgstr "Ve skutečnosti nekonkrétní – jen pro ukázku" 86 | 87 | #: hook.php:319 88 | msgid "Not really specific - Use your own dropdown - Just for example" 89 | msgstr "Ve skutečnosti nekonkrétní – použijte vlastní rozbalovací nabídku – jen pro příklad" 90 | 91 | #: src/Example.php:480 92 | msgid "Plugin Example" 93 | msgstr "" 94 | 95 | #: src/Example.php:485 96 | msgid "Plugin Example (static)" 97 | msgstr "" 98 | 99 | #: hook.php:54 100 | msgid "Plugin Example Dropdown" 101 | msgstr "Rozbalovací nabídka zásuvného modulu pro ukázku" 102 | 103 | #: src/Dropdown.php:45 src/Dropdown.php:47 104 | msgid "Plugin Example Dropdowns" 105 | msgstr "Rozbalovací nabídky zásuvného modulu pro ukázku" 106 | 107 | #: src/Example.php:244 108 | msgid "Plugin Example on Phone" 109 | msgstr "Zásuvný modul pro ukázku na telefonu" 110 | 111 | #: src/Example.php:248 112 | msgid "Plugin central action" 113 | msgstr "Centrální akce zásuvného modulu" 114 | 115 | #. TRANS: %1$s is a class name, %2$d is an item ID 116 | #: src/Example.php:285 117 | #, php-format 118 | msgid "Plugin example CLASS=%1$s id=%2$d" 119 | msgstr "Zásuvný modul pro ukázku CLASS=%1$s id=%2$d" 120 | 121 | #: hook.php:674 hook.php:687 122 | msgid "Plugin example displays on central page" 123 | msgstr "Zásuvný modul pro ukázku zobrazuje na centrální stránce" 124 | 125 | #: hook.php:681 126 | msgid "Plugin example displays on login page" 127 | msgstr "Zásuvný modul pro ukázku zobrazuje na přihlašovací stránce" 128 | 129 | #: src/Example.php:271 130 | msgid "Plugin mailing action" 131 | msgstr "E-mailová akce zásuvného modulu" 132 | 133 | #: hook.php:365 134 | msgid "Pre Delete Computer Hook" 135 | msgstr "Háček před smazáním počítače" 136 | 137 | #: hook.php:379 138 | msgid "Pre Purge Computer Hook" 139 | msgstr "Háček před odstraněním počítače" 140 | 141 | #: hook.php:393 142 | msgid "Pre Restore Computer Hook" 143 | msgstr "Háček před obnovením počítače" 144 | 145 | #: hook.php:400 146 | msgid "Pre Restore Phone Hook" 147 | msgstr "Háček před obnovením telefonu" 148 | 149 | #: hook.php:341 150 | msgid "Pre Update Computer Hook" 151 | msgstr "Háček počítače před aktualizací" 152 | 153 | #: hook.php:385 154 | msgid "Purge Computer Hook" 155 | msgstr "Háček odstranění počítače" 156 | 157 | #: hook.php:406 158 | msgid "Restore Computer Hook" 159 | msgstr "Háček obnovení počítače" 160 | 161 | #: src/Example.php:424 src/Example.php:446 162 | msgid "Right it is the type I want..." 163 | msgstr "Právě toto je typ který chci…" 164 | 165 | #: src/Example.php:279 166 | msgid "Second tab of Plugin example" 167 | msgstr "Druhý panel zásuvného modulu pro ukázku" 168 | 169 | #: src/Example.php:225 src/Example.php:232 170 | msgid "Test Plugin" 171 | msgstr "Testovací zásuvný modul" 172 | 173 | #: src/Example.php:226 174 | msgid "Test Plugin 2" 175 | msgstr "Testovací zásuvný modul 2" 176 | 177 | #: src/Example.php:66 178 | msgid "Test link" 179 | msgstr "Testovací odkaz" 180 | 181 | #: front/config.php:48 182 | msgid "This is the plugin config page" 183 | msgstr "Toto je stránka s nastaveními zásuvného modulu" 184 | 185 | #. TRANS: %1$s is the source type, %2$d is the source ID, %3$d is the 186 | #. destination ID 187 | #: hook.php:414 188 | #, php-format 189 | msgid "Transfer Computer Hook %1$s %2$d -> %3$d" 190 | msgstr "Háček přenesení počítače %1$s%2$d -> %3$d" 191 | 192 | #: hook.php:347 193 | #, php-format 194 | msgid "Update Computer Hook (%s)" 195 | msgstr "Háček aktualizovat počítač (%s)" 196 | 197 | #: src/Example.php:401 src/Example.php:425 198 | msgid "Write in item history" 199 | msgstr "Zapsat do historie položky" 200 | 201 | #: src/Example.php:405 202 | msgid "but do nothing :)" 203 | msgstr "ale nic nedělat :)" 204 | 205 | #: hook.php:268 206 | msgid "plugin_example_DoIt" 207 | msgstr "plugin_example_DoIt" 208 | 209 | #: src/Example.php:314 210 | msgid "test planning example 1" 211 | msgstr "Test příklad plánu 1" 212 | -------------------------------------------------------------------------------- /locales/en_GB.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/example/e283c254cda1bacf68b7361637c521cae2fe0287/locales/en_GB.mo -------------------------------------------------------------------------------- /locales/en_GB.po: -------------------------------------------------------------------------------- 1 | # English translations for PACKAGE package. 2 | # Copyright (C) 2024 THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # Automatically generated, 2024. 5 | # 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: PACKAGE VERSION\n" 9 | "Report-Msgid-Bugs-To: \n" 10 | "POT-Creation-Date: 2024-12-30 01:37+0000\n" 11 | "PO-Revision-Date: 2024-12-30 01:37+0000\n" 12 | "Last-Translator: Automatically generated\n" 13 | "Language-Team: none\n" 14 | "Language: en_GB\n" 15 | "MIME-Version: 1.0\n" 16 | "Content-Type: text/plain; charset=ASCII\n" 17 | "Content-Transfer-Encoding: 8bit\n" 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 | 20 | #: src/Example.php:447 21 | msgid "But... I say I will do nothing for:" 22 | msgstr "But... I say I will do nothing for:" 23 | 24 | #: src/RuleTest.php:82 25 | msgid "Category (class)" 26 | msgstr "Category (class)" 27 | 28 | #: src/Example.php:154 29 | msgid "Cron description for example" 30 | msgstr "Cron description for example" 31 | 32 | #: src/Example.php:155 33 | msgid "Cron parameter for example" 34 | msgstr "Cron parameter for example" 35 | 36 | #: hook.php:371 37 | msgid "Delete Computer Hook" 38 | msgstr "Delete Computer Hook" 39 | 40 | #: src/Example.php:390 41 | msgid "Do Nothing - just for fun" 42 | msgstr "Do Nothing - just for fun" 43 | 44 | #: hook.php:355 45 | msgid "Empty Computer Hook" 46 | msgstr "Empty Computer Hook" 47 | 48 | #: src/NotificationTargetExample.php:48 src/Example.php:212 src/Example.php:218 49 | #: src/Example.php:221 50 | msgid "Example" 51 | msgstr "Example" 52 | 53 | #: hook.php:617 54 | msgid "Example datas" 55 | msgstr "Example datas" 56 | 57 | #: hook.php:612 58 | msgid "Example event" 59 | msgstr "Example event" 60 | 61 | #: hook.php:69 62 | msgid "Example plugin" 63 | msgstr "Example plugin" 64 | 65 | #: hook.php:83 66 | msgid "Example plugin new" 67 | msgstr "Example plugin new" 68 | 69 | #: src/Example.php:277 70 | msgid "First tab of Plugin example" 71 | msgstr "First tab of Plugin example" 72 | 73 | #: src/Example.php:374 74 | msgid "History from plugin example" 75 | msgstr "History from plugin example" 76 | 77 | #: setup.php:341 78 | msgid "Installed / not configured" 79 | msgstr "Installed / not configured" 80 | 81 | #: hook.php:289 hook.php:299 82 | msgid "Not really specific - Just for example" 83 | msgstr "Not really specific - Just for example" 84 | 85 | #: hook.php:319 86 | msgid "Not really specific - Use your own dropdown - Just for example" 87 | msgstr "Not really specific - Use your own dropdown - Just for example" 88 | 89 | #: src/Example.php:480 90 | msgid "Plugin Example" 91 | msgstr "Plugin Example" 92 | 93 | #: src/Example.php:485 94 | msgid "Plugin Example (static)" 95 | msgstr "Plugin Example (static)" 96 | 97 | #: hook.php:54 98 | msgid "Plugin Example Dropdown" 99 | msgstr "Plugin Example Dropdown" 100 | 101 | #: src/Dropdown.php:45 src/Dropdown.php:47 102 | msgid "Plugin Example Dropdowns" 103 | msgstr "Plugin Example Dropdowns" 104 | 105 | #: src/Example.php:244 106 | msgid "Plugin Example on Phone" 107 | msgstr "Plugin Example on Phone" 108 | 109 | #: src/Example.php:248 110 | msgid "Plugin central action" 111 | msgstr "Plugin central action" 112 | 113 | #. TRANS: %1$s is a class name, %2$d is an item ID 114 | #: src/Example.php:285 115 | #, php-format 116 | msgid "Plugin example CLASS=%1$s id=%2$d" 117 | msgstr "Plugin example CLASS=%1$s id=%2$d" 118 | 119 | #: hook.php:674 hook.php:687 120 | msgid "Plugin example displays on central page" 121 | msgstr "Plugin example displays on central page" 122 | 123 | #: hook.php:681 124 | msgid "Plugin example displays on login page" 125 | msgstr "Plugin example displays on login page" 126 | 127 | #: src/Example.php:271 128 | msgid "Plugin mailing action" 129 | msgstr "Plugin mailing action" 130 | 131 | #: hook.php:365 132 | msgid "Pre Delete Computer Hook" 133 | msgstr "Pre Delete Computer Hook" 134 | 135 | #: hook.php:379 136 | msgid "Pre Purge Computer Hook" 137 | msgstr "Pre Purge Computer Hook" 138 | 139 | #: hook.php:393 140 | msgid "Pre Restore Computer Hook" 141 | msgstr "Pre Restore Computer Hook" 142 | 143 | #: hook.php:400 144 | msgid "Pre Restore Phone Hook" 145 | msgstr "Pre Restore Phone Hook" 146 | 147 | #: hook.php:341 148 | msgid "Pre Update Computer Hook" 149 | msgstr "Pre Update Computer Hook" 150 | 151 | #: hook.php:385 152 | msgid "Purge Computer Hook" 153 | msgstr "Purge Computer Hook" 154 | 155 | #: hook.php:406 156 | msgid "Restore Computer Hook" 157 | msgstr "Restore Computer Hook" 158 | 159 | #: src/Example.php:424 src/Example.php:446 160 | msgid "Right it is the type I want..." 161 | msgstr "Right it is the type I want..." 162 | 163 | #: src/Example.php:279 164 | msgid "Second tab of Plugin example" 165 | msgstr "Second tab of Plugin example" 166 | 167 | #: src/Example.php:225 src/Example.php:232 168 | msgid "Test Plugin" 169 | msgstr "Test Plugin" 170 | 171 | #: src/Example.php:226 172 | msgid "Test Plugin 2" 173 | msgstr "Test Plugin 2" 174 | 175 | #: src/Example.php:66 176 | msgid "Test link" 177 | msgstr "Test link" 178 | 179 | #: front/config.php:48 180 | msgid "This is the plugin config page" 181 | msgstr "This is the plugin config page" 182 | 183 | #. TRANS: %1$s is the source type, %2$d is the source ID, %3$d is the destination ID 184 | #: hook.php:414 185 | #, php-format 186 | msgid "Transfer Computer Hook %1$s %2$d -> %3$d" 187 | msgstr "Transfer Computer Hook %1$s %2$d -> %3$d" 188 | 189 | #: hook.php:347 190 | #, php-format 191 | msgid "Update Computer Hook (%s)" 192 | msgstr "Update Computer Hook (%s)" 193 | 194 | #: src/Example.php:401 src/Example.php:425 195 | msgid "Write in item history" 196 | msgstr "Write in item history" 197 | 198 | #: src/Example.php:405 199 | msgid "but do nothing :)" 200 | msgstr "but do nothing :)" 201 | 202 | #: hook.php:268 203 | msgid "plugin_example_DoIt" 204 | msgstr "plugin_example_DoIt" 205 | 206 | #: src/Example.php:314 207 | msgid "test planning example 1" 208 | msgstr "test planning example 1" 209 | -------------------------------------------------------------------------------- /locales/en_US.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/example/e283c254cda1bacf68b7361637c521cae2fe0287/locales/en_US.mo -------------------------------------------------------------------------------- /locales/en_US.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # 5 | # Translators: 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: GLPI Plugin - Example\n" 9 | "Report-Msgid-Bugs-To: \n" 10 | "POT-Creation-Date: 2016-06-02 14:54+0200\n" 11 | "PO-Revision-Date: 2016-06-02 12:54+0000\n" 12 | "Last-Translator: Alexandre DELAUNAY \n" 13 | "Language-Team: English (United States) (http://www.transifex.com/teclib/glpi-plugin-example/language/en_US/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: en_US\n" 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 | 20 | #: config.php:48 21 | msgid "This is the plugin config page" 22 | msgstr "" 23 | 24 | #: hook.php:61 25 | msgid "Plugin Example Dropdown" 26 | msgstr "" 27 | 28 | #: hook.php:76 29 | msgid "Example plugin" 30 | msgstr "" 31 | 32 | #: hook.php:260 33 | msgid "plugin_example_DoIt" 34 | msgstr "" 35 | 36 | #: hook.php:281 hook.php:292 37 | msgid "Not really specific - Just for example" 38 | msgstr "" 39 | 40 | #: hook.php:312 41 | msgid "Not really specific - Use your own dropdown - Just for example" 42 | msgstr "" 43 | 44 | #: hook.php:334 45 | msgid "Pre Update Computer Hook" 46 | msgstr "" 47 | 48 | #: hook.php:340 49 | #, php-format 50 | msgid "Update Computer Hook (%s)" 51 | msgstr "" 52 | 53 | #: hook.php:348 54 | msgid "Empty Computer Hook" 55 | msgstr "" 56 | 57 | #: hook.php:358 58 | msgid "Pre Delete Computer Hook" 59 | msgstr "" 60 | 61 | #: hook.php:364 62 | msgid "Delete Computer Hook" 63 | msgstr "" 64 | 65 | #: hook.php:372 66 | msgid "Pre Purge Computer Hook" 67 | msgstr "" 68 | 69 | #: hook.php:378 70 | msgid "Purge Computer Hook" 71 | msgstr "" 72 | 73 | #: hook.php:386 74 | msgid "Pre Restore Computer Hook" 75 | msgstr "" 76 | 77 | #: hook.php:393 78 | msgid "Pre Restore Phone Hook" 79 | msgstr "" 80 | 81 | #: hook.php:399 82 | msgid "Restore Computer Hook" 83 | msgstr "" 84 | 85 | #. TRANS: %1$s is the source type, %2$d is the source ID, %3$d is the 86 | #. destination ID 87 | #: hook.php:407 88 | #, php-format 89 | msgid "Transfer Computer Hook %1$s %2$d -> %3$d" 90 | msgstr "" 91 | 92 | #: hook.php:589 93 | msgid "Example event" 94 | msgstr "" 95 | 96 | #: hook.php:594 97 | msgid "Example datas" 98 | msgstr "" 99 | 100 | #: hook.php:651 101 | msgid "Plugin example displays on central page" 102 | msgstr "" 103 | 104 | #: hook.php:658 105 | msgid "Plugin example displays on login page" 106 | msgstr "" 107 | 108 | #: setup.php:210 109 | msgid "Installed / not configured" 110 | msgstr "" 111 | 112 | #: inc/dropdown.class.php:42 inc/dropdown.class.php:44 113 | msgid "Plugin Example Dropdowns" 114 | msgstr "" 115 | 116 | #: inc/example.class.php:80 117 | msgid "Test link" 118 | msgstr "" 119 | 120 | #: inc/example.class.php:124 121 | msgid "Cron description for example" 122 | msgstr "" 123 | 124 | #: inc/example.class.php:125 125 | msgid "Cron parameter for example" 126 | msgstr "" 127 | 128 | #: inc/example.class.php:182 inc/example.class.php:188 129 | #: inc/example.class.php:191 inc/notificationtargetexample.class.php:44 130 | msgid "Example" 131 | msgstr "" 132 | 133 | #: inc/example.class.php:195 inc/example.class.php:202 134 | msgid "Test Plugin" 135 | msgstr "" 136 | 137 | #: inc/example.class.php:196 138 | msgid "Test Plugin 2" 139 | msgstr "" 140 | 141 | #: inc/example.class.php:214 142 | msgid "Plugin Example on Phone" 143 | msgstr "" 144 | 145 | #: inc/example.class.php:218 146 | msgid "Plugin central action" 147 | msgstr "" 148 | 149 | #: inc/example.class.php:241 150 | msgid "Plugin mailing action" 151 | msgstr "" 152 | 153 | #: inc/example.class.php:247 154 | msgid "First tab of Plugin example" 155 | msgstr "" 156 | 157 | #: inc/example.class.php:249 158 | msgid "Second tab of Plugin example" 159 | msgstr "" 160 | 161 | #. TRANS: %1$s is a class name, %2$d is an item ID 162 | #: inc/example.class.php:255 163 | #, php-format 164 | msgid "Plugin example CLASS=%1$s id=%2$d" 165 | msgstr "" 166 | 167 | #: inc/example.class.php:284 168 | msgid "test planning example 1" 169 | msgstr "" 170 | 171 | #: inc/example.class.php:344 172 | msgid "History from plugin example" 173 | msgstr "" 174 | 175 | #: inc/example.class.php:367 176 | msgid "Do Nothing - just for fun" 177 | msgstr "" 178 | 179 | #: inc/example.class.php:384 inc/example.class.php:408 180 | msgid "Write in item history" 181 | msgstr "" 182 | 183 | #: inc/example.class.php:388 184 | msgid "but do nothing :)" 185 | msgstr "" 186 | 187 | #: inc/example.class.php:407 inc/example.class.php:429 188 | msgid "Right it is the type I want..." 189 | msgstr "" 190 | 191 | #: inc/example.class.php:430 192 | msgid "But... I say I will do nothing for:" 193 | msgstr "" 194 | 195 | #: inc/ruletest.class.php:77 196 | msgid "Category (class)" 197 | msgstr "" 198 | -------------------------------------------------------------------------------- /locales/es_ES.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/example/e283c254cda1bacf68b7361637c521cae2fe0287/locales/es_ES.mo -------------------------------------------------------------------------------- /locales/es_ES.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # 5 | # Translators: 6 | # 5b63a00e0726b96d7ef35c99d5553cd0_b787b5f <8bb2d0f7e8927228f17fba8639d787be_31711>, 2016 7 | # JAVIER ANDREU , 2018 8 | msgid "" 9 | msgstr "" 10 | "Project-Id-Version: GLPI Plugin - Example\n" 11 | "Report-Msgid-Bugs-To: \n" 12 | "POT-Creation-Date: 2024-12-20 01:27+0000\n" 13 | "PO-Revision-Date: 2015-09-18 12:02+0000\n" 14 | "Last-Translator: JAVIER ANDREU , 2018\n" 15 | "Language-Team: Spanish (Spain) (http://app.transifex.com/teclib/glpi-plugin-example/language/es_ES/)\n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=UTF-8\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | "Language: es_ES\n" 20 | "Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" 21 | 22 | #: src/Example.php:447 23 | msgid "But... I say I will do nothing for:" 24 | msgstr "Pero... Yo digo que no voy hacer nada para:" 25 | 26 | #: src/RuleTest.php:82 27 | msgid "Category (class)" 28 | msgstr "Categoría (clase)" 29 | 30 | #: src/Example.php:154 31 | msgid "Cron description for example" 32 | msgstr "Descripción del cron para ejemplo" 33 | 34 | #: src/Example.php:155 35 | msgid "Cron parameter for example" 36 | msgstr "Parametro cron para ejemplo" 37 | 38 | #: hook.php:371 39 | msgid "Delete Computer Hook" 40 | msgstr "Eliminar Gancho o Hook del Ordenador" 41 | 42 | #: src/Example.php:390 43 | msgid "Do Nothing - just for fun" 44 | msgstr "No hace nada - solo para diversión" 45 | 46 | #: hook.php:355 47 | msgid "Empty Computer Hook" 48 | msgstr "Gancho o Hook del Ordenador Vacio" 49 | 50 | #: src/NotificationTargetExample.php:48 src/Example.php:212 51 | #: src/Example.php:218 src/Example.php:221 52 | msgid "Example" 53 | msgstr "Ejemplo" 54 | 55 | #: hook.php:617 56 | msgid "Example datas" 57 | msgstr "Data ejemplo" 58 | 59 | #: hook.php:612 60 | msgid "Example event" 61 | msgstr "Evento ejemplo" 62 | 63 | #: hook.php:69 64 | msgid "Example plugin" 65 | msgstr "Plugin Ejemplo" 66 | 67 | #: hook.php:83 68 | msgid "Example plugin new" 69 | msgstr "" 70 | 71 | #: src/Example.php:277 72 | msgid "First tab of Plugin example" 73 | msgstr "Primera pestaña del Plugin ejemplo" 74 | 75 | #: src/Example.php:374 76 | msgid "History from plugin example" 77 | msgstr "Historial para el plugin ejemplo" 78 | 79 | #: setup.php:341 80 | msgid "Installed / not configured" 81 | msgstr "Instalado / no configurado" 82 | 83 | #: hook.php:289 hook.php:299 84 | msgid "Not really specific - Just for example" 85 | msgstr "Nada en específico realmente - Solo para ejemplificar" 86 | 87 | #: hook.php:319 88 | msgid "Not really specific - Use your own dropdown - Just for example" 89 | msgstr "Nada en específico realmente - Use to propio desplegable - Solo para ejemplificar" 90 | 91 | #: src/Example.php:480 92 | msgid "Plugin Example" 93 | msgstr "" 94 | 95 | #: src/Example.php:485 96 | msgid "Plugin Example (static)" 97 | msgstr "" 98 | 99 | #: hook.php:54 100 | msgid "Plugin Example Dropdown" 101 | msgstr "Ejemplo de Plugin Desplegable" 102 | 103 | #: src/Dropdown.php:45 src/Dropdown.php:47 104 | msgid "Plugin Example Dropdowns" 105 | msgstr "Menús desplegables del Plugin Ejemplo" 106 | 107 | #: src/Example.php:244 108 | msgid "Plugin Example on Phone" 109 | msgstr "Plugin ejemplo en el teléfono" 110 | 111 | #: src/Example.php:248 112 | msgid "Plugin central action" 113 | msgstr "Acción del plugin central" 114 | 115 | #. TRANS: %1$s is a class name, %2$d is an item ID 116 | #: src/Example.php:285 117 | #, php-format 118 | msgid "Plugin example CLASS=%1$s id=%2$d" 119 | msgstr "Plugin ejemplo CLASS=%1$s id=%2$d" 120 | 121 | #: hook.php:674 hook.php:687 122 | msgid "Plugin example displays on central page" 123 | msgstr "El ejemplo del plugin se muestra en la página central" 124 | 125 | #: hook.php:681 126 | msgid "Plugin example displays on login page" 127 | msgstr "El ejemplo del plugin se muestra en la página de inicio de sesión" 128 | 129 | #: src/Example.php:271 130 | msgid "Plugin mailing action" 131 | msgstr "Acción de correo del plugin" 132 | 133 | #: hook.php:365 134 | msgid "Pre Delete Computer Hook" 135 | msgstr "Pre Eliminar Gancho o Hook del Ordenador" 136 | 137 | #: hook.php:379 138 | msgid "Pre Purge Computer Hook" 139 | msgstr "Pre Purgado del Gancho o Hook del Ordenador" 140 | 141 | #: hook.php:393 142 | msgid "Pre Restore Computer Hook" 143 | msgstr "Pre Restaurado del Gancho o Hook del Ordenador" 144 | 145 | #: hook.php:400 146 | msgid "Pre Restore Phone Hook" 147 | msgstr "Pre Restaurado del Gancho Hook del Teléfono" 148 | 149 | #: hook.php:341 150 | msgid "Pre Update Computer Hook" 151 | msgstr "Pre actualización del gancho o hook del ordenador " 152 | 153 | #: hook.php:385 154 | msgid "Purge Computer Hook" 155 | msgstr "Purgar Gancho o Hook del Ordenador" 156 | 157 | #: hook.php:406 158 | msgid "Restore Computer Hook" 159 | msgstr "Restaurar Gancho o Hook del Ordenador" 160 | 161 | #: src/Example.php:424 src/Example.php:446 162 | msgid "Right it is the type I want..." 163 | msgstr "Correcto este es el tipo que yo quiero..." 164 | 165 | #: src/Example.php:279 166 | msgid "Second tab of Plugin example" 167 | msgstr "Segunda pestaña del Plugin ejemplo" 168 | 169 | #: src/Example.php:225 src/Example.php:232 170 | msgid "Test Plugin" 171 | msgstr "Test Plugin" 172 | 173 | #: src/Example.php:226 174 | msgid "Test Plugin 2" 175 | msgstr "Test Plugin 2" 176 | 177 | #: src/Example.php:66 178 | msgid "Test link" 179 | msgstr "Vinculo de prueba" 180 | 181 | #: front/config.php:48 182 | msgid "This is the plugin config page" 183 | msgstr "Esta es la página de configuración del plugin" 184 | 185 | #. TRANS: %1$s is the source type, %2$d is the source ID, %3$d is the 186 | #. destination ID 187 | #: hook.php:414 188 | #, php-format 189 | msgid "Transfer Computer Hook %1$s %2$d -> %3$d" 190 | msgstr "Transferir Gancho o Hook del Ordenador %1$s %2$d -> %3$d" 191 | 192 | #: hook.php:347 193 | #, php-format 194 | msgid "Update Computer Hook (%s)" 195 | msgstr "Actualizar Gancho o Hook del Ordenador (%s" 196 | 197 | #: src/Example.php:401 src/Example.php:425 198 | msgid "Write in item history" 199 | msgstr "Escribir como item del historial" 200 | 201 | #: src/Example.php:405 202 | msgid "but do nothing :)" 203 | msgstr "pero no hace nada :)" 204 | 205 | #: hook.php:268 206 | msgid "plugin_example_DoIt" 207 | msgstr "plugin_ejemplo_Tonto" 208 | 209 | #: src/Example.php:314 210 | msgid "test planning example 1" 211 | msgstr "prueba de planificación del ejemplo 1" 212 | -------------------------------------------------------------------------------- /locales/es_MX.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/example/e283c254cda1bacf68b7361637c521cae2fe0287/locales/es_MX.mo -------------------------------------------------------------------------------- /locales/es_MX.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # 5 | # Translators: 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: GLPI Plugin - Example\n" 9 | "Report-Msgid-Bugs-To: \n" 10 | "POT-Creation-Date: 2016-06-02 14:54+0200\n" 11 | "PO-Revision-Date: 2016-06-02 12:54+0000\n" 12 | "Last-Translator: Alexandre DELAUNAY \n" 13 | "Language-Team: Spanish (Mexico) (http://www.transifex.com/teclib/glpi-plugin-example/language/es_MX/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: es_MX\n" 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 | 20 | #: config.php:48 21 | msgid "This is the plugin config page" 22 | msgstr "" 23 | 24 | #: hook.php:61 25 | msgid "Plugin Example Dropdown" 26 | msgstr "" 27 | 28 | #: hook.php:76 29 | msgid "Example plugin" 30 | msgstr "" 31 | 32 | #: hook.php:260 33 | msgid "plugin_example_DoIt" 34 | msgstr "" 35 | 36 | #: hook.php:281 hook.php:292 37 | msgid "Not really specific - Just for example" 38 | msgstr "" 39 | 40 | #: hook.php:312 41 | msgid "Not really specific - Use your own dropdown - Just for example" 42 | msgstr "" 43 | 44 | #: hook.php:334 45 | msgid "Pre Update Computer Hook" 46 | msgstr "" 47 | 48 | #: hook.php:340 49 | #, php-format 50 | msgid "Update Computer Hook (%s)" 51 | msgstr "" 52 | 53 | #: hook.php:348 54 | msgid "Empty Computer Hook" 55 | msgstr "" 56 | 57 | #: hook.php:358 58 | msgid "Pre Delete Computer Hook" 59 | msgstr "" 60 | 61 | #: hook.php:364 62 | msgid "Delete Computer Hook" 63 | msgstr "" 64 | 65 | #: hook.php:372 66 | msgid "Pre Purge Computer Hook" 67 | msgstr "" 68 | 69 | #: hook.php:378 70 | msgid "Purge Computer Hook" 71 | msgstr "" 72 | 73 | #: hook.php:386 74 | msgid "Pre Restore Computer Hook" 75 | msgstr "" 76 | 77 | #: hook.php:393 78 | msgid "Pre Restore Phone Hook" 79 | msgstr "" 80 | 81 | #: hook.php:399 82 | msgid "Restore Computer Hook" 83 | msgstr "" 84 | 85 | #. TRANS: %1$s is the source type, %2$d is the source ID, %3$d is the 86 | #. destination ID 87 | #: hook.php:407 88 | #, php-format 89 | msgid "Transfer Computer Hook %1$s %2$d -> %3$d" 90 | msgstr "" 91 | 92 | #: hook.php:589 93 | msgid "Example event" 94 | msgstr "" 95 | 96 | #: hook.php:594 97 | msgid "Example datas" 98 | msgstr "" 99 | 100 | #: hook.php:651 101 | msgid "Plugin example displays on central page" 102 | msgstr "" 103 | 104 | #: hook.php:658 105 | msgid "Plugin example displays on login page" 106 | msgstr "" 107 | 108 | #: setup.php:210 109 | msgid "Installed / not configured" 110 | msgstr "" 111 | 112 | #: inc/dropdown.class.php:42 inc/dropdown.class.php:44 113 | msgid "Plugin Example Dropdowns" 114 | msgstr "" 115 | 116 | #: inc/example.class.php:80 117 | msgid "Test link" 118 | msgstr "" 119 | 120 | #: inc/example.class.php:124 121 | msgid "Cron description for example" 122 | msgstr "" 123 | 124 | #: inc/example.class.php:125 125 | msgid "Cron parameter for example" 126 | msgstr "" 127 | 128 | #: inc/example.class.php:182 inc/example.class.php:188 129 | #: inc/example.class.php:191 inc/notificationtargetexample.class.php:44 130 | msgid "Example" 131 | msgstr "" 132 | 133 | #: inc/example.class.php:195 inc/example.class.php:202 134 | msgid "Test Plugin" 135 | msgstr "" 136 | 137 | #: inc/example.class.php:196 138 | msgid "Test Plugin 2" 139 | msgstr "" 140 | 141 | #: inc/example.class.php:214 142 | msgid "Plugin Example on Phone" 143 | msgstr "" 144 | 145 | #: inc/example.class.php:218 146 | msgid "Plugin central action" 147 | msgstr "" 148 | 149 | #: inc/example.class.php:241 150 | msgid "Plugin mailing action" 151 | msgstr "" 152 | 153 | #: inc/example.class.php:247 154 | msgid "First tab of Plugin example" 155 | msgstr "" 156 | 157 | #: inc/example.class.php:249 158 | msgid "Second tab of Plugin example" 159 | msgstr "" 160 | 161 | #. TRANS: %1$s is a class name, %2$d is an item ID 162 | #: inc/example.class.php:255 163 | #, php-format 164 | msgid "Plugin example CLASS=%1$s id=%2$d" 165 | msgstr "" 166 | 167 | #: inc/example.class.php:284 168 | msgid "test planning example 1" 169 | msgstr "" 170 | 171 | #: inc/example.class.php:344 172 | msgid "History from plugin example" 173 | msgstr "" 174 | 175 | #: inc/example.class.php:367 176 | msgid "Do Nothing - just for fun" 177 | msgstr "" 178 | 179 | #: inc/example.class.php:384 inc/example.class.php:408 180 | msgid "Write in item history" 181 | msgstr "" 182 | 183 | #: inc/example.class.php:388 184 | msgid "but do nothing :)" 185 | msgstr "" 186 | 187 | #: inc/example.class.php:407 inc/example.class.php:429 188 | msgid "Right it is the type I want..." 189 | msgstr "" 190 | 191 | #: inc/example.class.php:430 192 | msgid "But... I say I will do nothing for:" 193 | msgstr "" 194 | 195 | #: inc/ruletest.class.php:77 196 | msgid "Category (class)" 197 | msgstr "" 198 | -------------------------------------------------------------------------------- /locales/example.pot: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # FIRST AUTHOR , YEAR. 5 | # 6 | #, fuzzy 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: PACKAGE VERSION\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2024-12-30 01:37+0000\n" 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 13 | "Last-Translator: FULL NAME \n" 14 | "Language-Team: LANGUAGE \n" 15 | "Language: \n" 16 | "MIME-Version: 1.0\n" 17 | "Content-Type: text/plain; charset=CHARSET\n" 18 | "Content-Transfer-Encoding: 8bit\n" 19 | 20 | #: src/Example.php:447 21 | msgid "But... I say I will do nothing for:" 22 | msgstr "" 23 | 24 | #: src/RuleTest.php:82 25 | msgid "Category (class)" 26 | msgstr "" 27 | 28 | #: src/Example.php:154 29 | msgid "Cron description for example" 30 | msgstr "" 31 | 32 | #: src/Example.php:155 33 | msgid "Cron parameter for example" 34 | msgstr "" 35 | 36 | #: hook.php:371 37 | msgid "Delete Computer Hook" 38 | msgstr "" 39 | 40 | #: src/Example.php:390 41 | msgid "Do Nothing - just for fun" 42 | msgstr "" 43 | 44 | #: hook.php:355 45 | msgid "Empty Computer Hook" 46 | msgstr "" 47 | 48 | #: src/NotificationTargetExample.php:48 src/Example.php:212 src/Example.php:218 49 | #: src/Example.php:221 50 | msgid "Example" 51 | msgstr "" 52 | 53 | #: hook.php:617 54 | msgid "Example datas" 55 | msgstr "" 56 | 57 | #: hook.php:612 58 | msgid "Example event" 59 | msgstr "" 60 | 61 | #: hook.php:69 62 | msgid "Example plugin" 63 | msgstr "" 64 | 65 | #: hook.php:83 66 | msgid "Example plugin new" 67 | msgstr "" 68 | 69 | #: src/Example.php:277 70 | msgid "First tab of Plugin example" 71 | msgstr "" 72 | 73 | #: src/Example.php:374 74 | msgid "History from plugin example" 75 | msgstr "" 76 | 77 | #: setup.php:341 78 | msgid "Installed / not configured" 79 | msgstr "" 80 | 81 | #: hook.php:289 hook.php:299 82 | msgid "Not really specific - Just for example" 83 | msgstr "" 84 | 85 | #: hook.php:319 86 | msgid "Not really specific - Use your own dropdown - Just for example" 87 | msgstr "" 88 | 89 | #: src/Example.php:480 90 | msgid "Plugin Example" 91 | msgstr "" 92 | 93 | #: src/Example.php:485 94 | msgid "Plugin Example (static)" 95 | msgstr "" 96 | 97 | #: hook.php:54 98 | msgid "Plugin Example Dropdown" 99 | msgstr "" 100 | 101 | #: src/Dropdown.php:45 src/Dropdown.php:47 102 | msgid "Plugin Example Dropdowns" 103 | msgstr "" 104 | 105 | #: src/Example.php:244 106 | msgid "Plugin Example on Phone" 107 | msgstr "" 108 | 109 | #: src/Example.php:248 110 | msgid "Plugin central action" 111 | msgstr "" 112 | 113 | #. TRANS: %1$s is a class name, %2$d is an item ID 114 | #: src/Example.php:285 115 | #, php-format 116 | msgid "Plugin example CLASS=%1$s id=%2$d" 117 | msgstr "" 118 | 119 | #: hook.php:674 hook.php:687 120 | msgid "Plugin example displays on central page" 121 | msgstr "" 122 | 123 | #: hook.php:681 124 | msgid "Plugin example displays on login page" 125 | msgstr "" 126 | 127 | #: src/Example.php:271 128 | msgid "Plugin mailing action" 129 | msgstr "" 130 | 131 | #: hook.php:365 132 | msgid "Pre Delete Computer Hook" 133 | msgstr "" 134 | 135 | #: hook.php:379 136 | msgid "Pre Purge Computer Hook" 137 | msgstr "" 138 | 139 | #: hook.php:393 140 | msgid "Pre Restore Computer Hook" 141 | msgstr "" 142 | 143 | #: hook.php:400 144 | msgid "Pre Restore Phone Hook" 145 | msgstr "" 146 | 147 | #: hook.php:341 148 | msgid "Pre Update Computer Hook" 149 | msgstr "" 150 | 151 | #: hook.php:385 152 | msgid "Purge Computer Hook" 153 | msgstr "" 154 | 155 | #: hook.php:406 156 | msgid "Restore Computer Hook" 157 | msgstr "" 158 | 159 | #: src/Example.php:424 src/Example.php:446 160 | msgid "Right it is the type I want..." 161 | msgstr "" 162 | 163 | #: src/Example.php:279 164 | msgid "Second tab of Plugin example" 165 | msgstr "" 166 | 167 | #: src/Example.php:225 src/Example.php:232 168 | msgid "Test Plugin" 169 | msgstr "" 170 | 171 | #: src/Example.php:226 172 | msgid "Test Plugin 2" 173 | msgstr "" 174 | 175 | #: src/Example.php:66 176 | msgid "Test link" 177 | msgstr "" 178 | 179 | #: front/config.php:48 180 | msgid "This is the plugin config page" 181 | msgstr "" 182 | 183 | #. TRANS: %1$s is the source type, %2$d is the source ID, %3$d is the destination ID 184 | #: hook.php:414 185 | #, php-format 186 | msgid "Transfer Computer Hook %1$s %2$d -> %3$d" 187 | msgstr "" 188 | 189 | #: hook.php:347 190 | #, php-format 191 | msgid "Update Computer Hook (%s)" 192 | msgstr "" 193 | 194 | #: src/Example.php:401 src/Example.php:425 195 | msgid "Write in item history" 196 | msgstr "" 197 | 198 | #: src/Example.php:405 199 | msgid "but do nothing :)" 200 | msgstr "" 201 | 202 | #: hook.php:268 203 | msgid "plugin_example_DoIt" 204 | msgstr "" 205 | 206 | #: src/Example.php:314 207 | msgid "test planning example 1" 208 | msgstr "" 209 | -------------------------------------------------------------------------------- /locales/fr_FR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/example/e283c254cda1bacf68b7361637c521cae2fe0287/locales/fr_FR.mo -------------------------------------------------------------------------------- /locales/fr_FR.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # 5 | # Translators: 6 | # DOMBRE Julien , 2011-2012 7 | # 06c8e5f1ec78ded2ceb41498ec52b068, 2015 8 | # Johan Cwiklinski , 2016 9 | # Yoann TERUEL , 2016 10 | msgid "" 11 | msgstr "" 12 | "Project-Id-Version: GLPI Plugin - Example\n" 13 | "Report-Msgid-Bugs-To: \n" 14 | "POT-Creation-Date: 2019-11-08 14:54+0000\n" 15 | "PO-Revision-Date: 2018-08-21 14:34+0000\n" 16 | "Last-Translator: Cédric Anne\n" 17 | "Language-Team: French (France) (http://www.transifex.com/teclib/glpi-plugin-example/language/fr_FR/)\n" 18 | "MIME-Version: 1.0\n" 19 | "Content-Type: text/plain; charset=UTF-8\n" 20 | "Content-Transfer-Encoding: 8bit\n" 21 | "Language: fr_FR\n" 22 | "Plural-Forms: nplurals=2; plural=(n > 1);\n" 23 | 24 | #: config.php:48 25 | msgid "This is the plugin config page" 26 | msgstr "Ceci est la page de configuration du plugin" 27 | 28 | #: inc/dropdown.class.php:42 inc/dropdown.class.php:44 29 | msgid "Plugin Example Dropdowns" 30 | msgstr "Listes déroulantes du plugin Exemple" 31 | 32 | #: inc/example.class.php:82 33 | msgid "Test link" 34 | msgstr "Lien de test" 35 | 36 | #: inc/example.class.php:170 37 | msgid "Cron description for example" 38 | msgstr "" 39 | 40 | #: inc/example.class.php:171 41 | msgid "Cron parameter for example" 42 | msgstr "" 43 | 44 | #: inc/example.class.php:228 inc/example.class.php:234 45 | #: inc/example.class.php:237 inc/notificationtargetexample.class.php:44 46 | msgid "Example" 47 | msgstr "Exemple" 48 | 49 | #: inc/example.class.php:241 inc/example.class.php:248 50 | msgid "Test Plugin" 51 | msgstr "Test plugin" 52 | 53 | #: inc/example.class.php:242 54 | msgid "Test Plugin 2" 55 | msgstr "Test plugin 2" 56 | 57 | #: inc/example.class.php:260 58 | msgid "Plugin Example on Phone" 59 | msgstr "Plugin Exemple sur les Téléphones" 60 | 61 | #: inc/example.class.php:264 62 | msgid "Plugin central action" 63 | msgstr "" 64 | 65 | #: inc/example.class.php:287 66 | msgid "Plugin mailing action" 67 | msgstr "" 68 | 69 | #: inc/example.class.php:293 70 | msgid "First tab of Plugin example" 71 | msgstr "Premier onglet du plugin Exemple" 72 | 73 | #: inc/example.class.php:295 74 | msgid "Second tab of Plugin example" 75 | msgstr "Deuxième onglet du plugin Exemple" 76 | 77 | #. TRANS: %1$s is a class name, %2$d is an item ID 78 | #: inc/example.class.php:301 79 | #, php-format 80 | msgid "Plugin example CLASS=%1$s id=%2$d" 81 | msgstr "" 82 | 83 | #: inc/example.class.php:330 84 | msgid "test planning example 1" 85 | msgstr "" 86 | 87 | #: inc/example.class.php:390 88 | msgid "History from plugin example" 89 | msgstr "Historique du plugin Exemple" 90 | 91 | #: inc/example.class.php:411 92 | msgid "Do Nothing - just for fun" 93 | msgstr "Ne fait rien - just pour le fun" 94 | 95 | #: inc/example.class.php:428 inc/example.class.php:452 96 | msgid "Write in item history" 97 | msgstr "Ecrit un élément d'historique" 98 | 99 | #: inc/example.class.php:432 100 | msgid "but do nothing :)" 101 | msgstr "mais ne fait rien" 102 | 103 | #: inc/example.class.php:451 inc/example.class.php:473 104 | msgid "Right it is the type I want..." 105 | msgstr "Bien, c'est le type que je voulais..." 106 | 107 | #: inc/example.class.php:474 108 | msgid "But... I say I will do nothing for:" 109 | msgstr "Cependant, j'ai dit que je ne ferais rien pour :" 110 | 111 | #: inc/ruletest.class.php:77 112 | msgid "Category (class)" 113 | msgstr "Categorie (classe)" 114 | 115 | #: setup.php:272 116 | msgid "Installed / not configured" 117 | msgstr "Installer / non configurer" 118 | 119 | #: hook.php:60 120 | msgid "Plugin Example Dropdown" 121 | msgstr "Dropdown du plugin example" 122 | 123 | #: hook.php:75 124 | msgid "Example plugin" 125 | msgstr "Plugin Example" 126 | 127 | #: hook.php:89 128 | msgid "Example plugin new" 129 | msgstr "" 130 | 131 | #: hook.php:274 132 | msgid "plugin_example_DoIt" 133 | msgstr "Effectuer l'action" 134 | 135 | #: hook.php:295 hook.php:306 136 | msgid "Not really specific - Just for example" 137 | msgstr "Pas vraiment spécifique - Juste pour l'exemple" 138 | 139 | #: hook.php:326 140 | msgid "Not really specific - Use your own dropdown - Just for example" 141 | msgstr "Pas vraiment spécifique - Utilisez votre propre liste déroulante - Juste pour l'exemple" 142 | 143 | #: hook.php:348 144 | msgid "Pre Update Computer Hook" 145 | msgstr "Hook avant mise à jour d'un Ordinateur" 146 | 147 | #: hook.php:354 148 | #, php-format 149 | msgid "Update Computer Hook (%s)" 150 | msgstr "Hook de mise à jour d'un Ordinateur (%s)" 151 | 152 | #: hook.php:362 153 | msgid "Empty Computer Hook" 154 | msgstr "Hook sur ordinateur vide" 155 | 156 | #: hook.php:372 157 | msgid "Pre Delete Computer Hook" 158 | msgstr "Hook de pré-suppression d'ordinateur" 159 | 160 | #: hook.php:378 161 | msgid "Delete Computer Hook" 162 | msgstr "Hook de suppression d'ordinateur" 163 | 164 | #: hook.php:386 165 | msgid "Pre Purge Computer Hook" 166 | msgstr "Hook de pré-purge d'ordinateur" 167 | 168 | #: hook.php:392 169 | msgid "Purge Computer Hook" 170 | msgstr "Hook de purge d'ordinateur" 171 | 172 | #: hook.php:400 173 | msgid "Pre Restore Computer Hook" 174 | msgstr "Hoo de pré-restauration d'ordinateur" 175 | 176 | #: hook.php:407 177 | msgid "Pre Restore Phone Hook" 178 | msgstr "Hook de pré-restauration de téléphone" 179 | 180 | #: hook.php:413 181 | msgid "Restore Computer Hook" 182 | msgstr "Hook de restauration de téléphone" 183 | 184 | #. TRANS: %1$s is the source type, %2$d is the source ID, %3$d is the 185 | #. destination ID 186 | #: hook.php:421 187 | #, php-format 188 | msgid "Transfer Computer Hook %1$s %2$d -> %3$d" 189 | msgstr "" 190 | 191 | #: hook.php:611 192 | msgid "Example event" 193 | msgstr "Événement exemple" 194 | 195 | #: hook.php:616 196 | msgid "Example datas" 197 | msgstr "Données d'exemple" 198 | 199 | #: hook.php:673 hook.php:686 200 | msgid "Plugin example displays on central page" 201 | msgstr "Affichage sur la page centrale depuis le plugin exemple" 202 | 203 | #: hook.php:680 204 | msgid "Plugin example displays on login page" 205 | msgstr "Affichage sur la page de connexion depuis le plugin exemple" 206 | -------------------------------------------------------------------------------- /locales/hu_HU.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/example/e283c254cda1bacf68b7361637c521cae2fe0287/locales/hu_HU.mo -------------------------------------------------------------------------------- /locales/hu_HU.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # 5 | # Translators: 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: GLPI Plugin - Example\n" 9 | "Report-Msgid-Bugs-To: \n" 10 | "POT-Creation-Date: 2016-06-02 14:54+0200\n" 11 | "PO-Revision-Date: 2016-06-02 12:54+0000\n" 12 | "Last-Translator: Alexandre DELAUNAY \n" 13 | "Language-Team: Hungarian (Hungary) (http://www.transifex.com/teclib/glpi-plugin-example/language/hu_HU/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: hu_HU\n" 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 | 20 | #: config.php:48 21 | msgid "This is the plugin config page" 22 | msgstr "" 23 | 24 | #: hook.php:61 25 | msgid "Plugin Example Dropdown" 26 | msgstr "" 27 | 28 | #: hook.php:76 29 | msgid "Example plugin" 30 | msgstr "" 31 | 32 | #: hook.php:260 33 | msgid "plugin_example_DoIt" 34 | msgstr "" 35 | 36 | #: hook.php:281 hook.php:292 37 | msgid "Not really specific - Just for example" 38 | msgstr "" 39 | 40 | #: hook.php:312 41 | msgid "Not really specific - Use your own dropdown - Just for example" 42 | msgstr "" 43 | 44 | #: hook.php:334 45 | msgid "Pre Update Computer Hook" 46 | msgstr "" 47 | 48 | #: hook.php:340 49 | #, php-format 50 | msgid "Update Computer Hook (%s)" 51 | msgstr "" 52 | 53 | #: hook.php:348 54 | msgid "Empty Computer Hook" 55 | msgstr "" 56 | 57 | #: hook.php:358 58 | msgid "Pre Delete Computer Hook" 59 | msgstr "" 60 | 61 | #: hook.php:364 62 | msgid "Delete Computer Hook" 63 | msgstr "" 64 | 65 | #: hook.php:372 66 | msgid "Pre Purge Computer Hook" 67 | msgstr "" 68 | 69 | #: hook.php:378 70 | msgid "Purge Computer Hook" 71 | msgstr "" 72 | 73 | #: hook.php:386 74 | msgid "Pre Restore Computer Hook" 75 | msgstr "" 76 | 77 | #: hook.php:393 78 | msgid "Pre Restore Phone Hook" 79 | msgstr "" 80 | 81 | #: hook.php:399 82 | msgid "Restore Computer Hook" 83 | msgstr "" 84 | 85 | #. TRANS: %1$s is the source type, %2$d is the source ID, %3$d is the 86 | #. destination ID 87 | #: hook.php:407 88 | #, php-format 89 | msgid "Transfer Computer Hook %1$s %2$d -> %3$d" 90 | msgstr "" 91 | 92 | #: hook.php:589 93 | msgid "Example event" 94 | msgstr "" 95 | 96 | #: hook.php:594 97 | msgid "Example datas" 98 | msgstr "" 99 | 100 | #: hook.php:651 101 | msgid "Plugin example displays on central page" 102 | msgstr "" 103 | 104 | #: hook.php:658 105 | msgid "Plugin example displays on login page" 106 | msgstr "" 107 | 108 | #: setup.php:210 109 | msgid "Installed / not configured" 110 | msgstr "" 111 | 112 | #: inc/dropdown.class.php:42 inc/dropdown.class.php:44 113 | msgid "Plugin Example Dropdowns" 114 | msgstr "" 115 | 116 | #: inc/example.class.php:80 117 | msgid "Test link" 118 | msgstr "" 119 | 120 | #: inc/example.class.php:124 121 | msgid "Cron description for example" 122 | msgstr "" 123 | 124 | #: inc/example.class.php:125 125 | msgid "Cron parameter for example" 126 | msgstr "" 127 | 128 | #: inc/example.class.php:182 inc/example.class.php:188 129 | #: inc/example.class.php:191 inc/notificationtargetexample.class.php:44 130 | msgid "Example" 131 | msgstr "" 132 | 133 | #: inc/example.class.php:195 inc/example.class.php:202 134 | msgid "Test Plugin" 135 | msgstr "" 136 | 137 | #: inc/example.class.php:196 138 | msgid "Test Plugin 2" 139 | msgstr "" 140 | 141 | #: inc/example.class.php:214 142 | msgid "Plugin Example on Phone" 143 | msgstr "" 144 | 145 | #: inc/example.class.php:218 146 | msgid "Plugin central action" 147 | msgstr "" 148 | 149 | #: inc/example.class.php:241 150 | msgid "Plugin mailing action" 151 | msgstr "" 152 | 153 | #: inc/example.class.php:247 154 | msgid "First tab of Plugin example" 155 | msgstr "" 156 | 157 | #: inc/example.class.php:249 158 | msgid "Second tab of Plugin example" 159 | msgstr "" 160 | 161 | #. TRANS: %1$s is a class name, %2$d is an item ID 162 | #: inc/example.class.php:255 163 | #, php-format 164 | msgid "Plugin example CLASS=%1$s id=%2$d" 165 | msgstr "" 166 | 167 | #: inc/example.class.php:284 168 | msgid "test planning example 1" 169 | msgstr "" 170 | 171 | #: inc/example.class.php:344 172 | msgid "History from plugin example" 173 | msgstr "" 174 | 175 | #: inc/example.class.php:367 176 | msgid "Do Nothing - just for fun" 177 | msgstr "" 178 | 179 | #: inc/example.class.php:384 inc/example.class.php:408 180 | msgid "Write in item history" 181 | msgstr "" 182 | 183 | #: inc/example.class.php:388 184 | msgid "but do nothing :)" 185 | msgstr "" 186 | 187 | #: inc/example.class.php:407 inc/example.class.php:429 188 | msgid "Right it is the type I want..." 189 | msgstr "" 190 | 191 | #: inc/example.class.php:430 192 | msgid "But... I say I will do nothing for:" 193 | msgstr "" 194 | 195 | #: inc/ruletest.class.php:77 196 | msgid "Category (class)" 197 | msgstr "" 198 | -------------------------------------------------------------------------------- /locales/it_IT.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/example/e283c254cda1bacf68b7361637c521cae2fe0287/locales/it_IT.mo -------------------------------------------------------------------------------- /locales/it_IT.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # 5 | # Translators: 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: GLPI Plugin - Example\n" 9 | "Report-Msgid-Bugs-To: \n" 10 | "POT-Creation-Date: 2016-06-02 14:54+0200\n" 11 | "PO-Revision-Date: 2016-06-02 12:54+0000\n" 12 | "Last-Translator: Alexandre DELAUNAY \n" 13 | "Language-Team: Italian (Italy) (http://www.transifex.com/teclib/glpi-plugin-example/language/it_IT/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: it_IT\n" 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 | 20 | #: config.php:48 21 | msgid "This is the plugin config page" 22 | msgstr "" 23 | 24 | #: hook.php:61 25 | msgid "Plugin Example Dropdown" 26 | msgstr "" 27 | 28 | #: hook.php:76 29 | msgid "Example plugin" 30 | msgstr "" 31 | 32 | #: hook.php:260 33 | msgid "plugin_example_DoIt" 34 | msgstr "" 35 | 36 | #: hook.php:281 hook.php:292 37 | msgid "Not really specific - Just for example" 38 | msgstr "" 39 | 40 | #: hook.php:312 41 | msgid "Not really specific - Use your own dropdown - Just for example" 42 | msgstr "" 43 | 44 | #: hook.php:334 45 | msgid "Pre Update Computer Hook" 46 | msgstr "" 47 | 48 | #: hook.php:340 49 | #, php-format 50 | msgid "Update Computer Hook (%s)" 51 | msgstr "" 52 | 53 | #: hook.php:348 54 | msgid "Empty Computer Hook" 55 | msgstr "" 56 | 57 | #: hook.php:358 58 | msgid "Pre Delete Computer Hook" 59 | msgstr "" 60 | 61 | #: hook.php:364 62 | msgid "Delete Computer Hook" 63 | msgstr "" 64 | 65 | #: hook.php:372 66 | msgid "Pre Purge Computer Hook" 67 | msgstr "" 68 | 69 | #: hook.php:378 70 | msgid "Purge Computer Hook" 71 | msgstr "" 72 | 73 | #: hook.php:386 74 | msgid "Pre Restore Computer Hook" 75 | msgstr "" 76 | 77 | #: hook.php:393 78 | msgid "Pre Restore Phone Hook" 79 | msgstr "" 80 | 81 | #: hook.php:399 82 | msgid "Restore Computer Hook" 83 | msgstr "" 84 | 85 | #. TRANS: %1$s is the source type, %2$d is the source ID, %3$d is the 86 | #. destination ID 87 | #: hook.php:407 88 | #, php-format 89 | msgid "Transfer Computer Hook %1$s %2$d -> %3$d" 90 | msgstr "" 91 | 92 | #: hook.php:589 93 | msgid "Example event" 94 | msgstr "" 95 | 96 | #: hook.php:594 97 | msgid "Example datas" 98 | msgstr "" 99 | 100 | #: hook.php:651 101 | msgid "Plugin example displays on central page" 102 | msgstr "" 103 | 104 | #: hook.php:658 105 | msgid "Plugin example displays on login page" 106 | msgstr "" 107 | 108 | #: setup.php:210 109 | msgid "Installed / not configured" 110 | msgstr "" 111 | 112 | #: inc/dropdown.class.php:42 inc/dropdown.class.php:44 113 | msgid "Plugin Example Dropdowns" 114 | msgstr "" 115 | 116 | #: inc/example.class.php:80 117 | msgid "Test link" 118 | msgstr "" 119 | 120 | #: inc/example.class.php:124 121 | msgid "Cron description for example" 122 | msgstr "" 123 | 124 | #: inc/example.class.php:125 125 | msgid "Cron parameter for example" 126 | msgstr "" 127 | 128 | #: inc/example.class.php:182 inc/example.class.php:188 129 | #: inc/example.class.php:191 inc/notificationtargetexample.class.php:44 130 | msgid "Example" 131 | msgstr "" 132 | 133 | #: inc/example.class.php:195 inc/example.class.php:202 134 | msgid "Test Plugin" 135 | msgstr "" 136 | 137 | #: inc/example.class.php:196 138 | msgid "Test Plugin 2" 139 | msgstr "" 140 | 141 | #: inc/example.class.php:214 142 | msgid "Plugin Example on Phone" 143 | msgstr "" 144 | 145 | #: inc/example.class.php:218 146 | msgid "Plugin central action" 147 | msgstr "" 148 | 149 | #: inc/example.class.php:241 150 | msgid "Plugin mailing action" 151 | msgstr "" 152 | 153 | #: inc/example.class.php:247 154 | msgid "First tab of Plugin example" 155 | msgstr "" 156 | 157 | #: inc/example.class.php:249 158 | msgid "Second tab of Plugin example" 159 | msgstr "" 160 | 161 | #. TRANS: %1$s is a class name, %2$d is an item ID 162 | #: inc/example.class.php:255 163 | #, php-format 164 | msgid "Plugin example CLASS=%1$s id=%2$d" 165 | msgstr "" 166 | 167 | #: inc/example.class.php:284 168 | msgid "test planning example 1" 169 | msgstr "" 170 | 171 | #: inc/example.class.php:344 172 | msgid "History from plugin example" 173 | msgstr "" 174 | 175 | #: inc/example.class.php:367 176 | msgid "Do Nothing - just for fun" 177 | msgstr "" 178 | 179 | #: inc/example.class.php:384 inc/example.class.php:408 180 | msgid "Write in item history" 181 | msgstr "" 182 | 183 | #: inc/example.class.php:388 184 | msgid "but do nothing :)" 185 | msgstr "" 186 | 187 | #: inc/example.class.php:407 inc/example.class.php:429 188 | msgid "Right it is the type I want..." 189 | msgstr "" 190 | 191 | #: inc/example.class.php:430 192 | msgid "But... I say I will do nothing for:" 193 | msgstr "" 194 | 195 | #: inc/ruletest.class.php:77 196 | msgid "Category (class)" 197 | msgstr "" 198 | -------------------------------------------------------------------------------- /locales/ko_KR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/example/e283c254cda1bacf68b7361637c521cae2fe0287/locales/ko_KR.mo -------------------------------------------------------------------------------- /locales/ko_KR.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # 5 | # Translators: 6 | # 조성현 (jaymz9634) , 2020 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: GLPI Plugin - Example\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2024-12-20 01:27+0000\n" 12 | "PO-Revision-Date: 2015-09-18 12:02+0000\n" 13 | "Last-Translator: 조성현 (jaymz9634) , 2020\n" 14 | "Language-Team: Korean (Korea) (http://app.transifex.com/teclib/glpi-plugin-example/language/ko_KR/)\n" 15 | "MIME-Version: 1.0\n" 16 | "Content-Type: text/plain; charset=UTF-8\n" 17 | "Content-Transfer-Encoding: 8bit\n" 18 | "Language: ko_KR\n" 19 | "Plural-Forms: nplurals=1; plural=0;\n" 20 | 21 | #: src/Example.php:447 22 | msgid "But... I say I will do nothing for:" 23 | msgstr "하지만... 전 아무것도 안 할거라고 했어요:" 24 | 25 | #: src/RuleTest.php:82 26 | msgid "Category (class)" 27 | msgstr "분류 (class)" 28 | 29 | #: src/Example.php:154 30 | msgid "Cron description for example" 31 | msgstr "예제용 작업 상세" 32 | 33 | #: src/Example.php:155 34 | msgid "Cron parameter for example" 35 | msgstr "예제용 작업 매개변수" 36 | 37 | #: hook.php:371 38 | msgid "Delete Computer Hook" 39 | msgstr "컴퓨터 후크 삭제" 40 | 41 | #: src/Example.php:390 42 | msgid "Do Nothing - just for fun" 43 | msgstr "아무것도 하지 마세요 - 그냥 즐기세요" 44 | 45 | #: hook.php:355 46 | msgid "Empty Computer Hook" 47 | msgstr "컴퓨터 후크 비우기" 48 | 49 | #: src/NotificationTargetExample.php:48 src/Example.php:212 50 | #: src/Example.php:218 src/Example.php:221 51 | msgid "Example" 52 | msgstr "예제" 53 | 54 | #: hook.php:617 55 | msgid "Example datas" 56 | msgstr "예제 자료" 57 | 58 | #: hook.php:612 59 | msgid "Example event" 60 | msgstr "예제 이벤트" 61 | 62 | #: hook.php:69 63 | msgid "Example plugin" 64 | msgstr "예제 플러그인" 65 | 66 | #: hook.php:83 67 | msgid "Example plugin new" 68 | msgstr "플러그인 예제 신규" 69 | 70 | #: src/Example.php:277 71 | msgid "First tab of Plugin example" 72 | msgstr "플러그인 예제의 첫번째 탭" 73 | 74 | #: src/Example.php:374 75 | msgid "History from plugin example" 76 | msgstr "플러그인 예제 이력" 77 | 78 | #: setup.php:341 79 | msgid "Installed / not configured" 80 | msgstr "설치됨 / 구성 안됨" 81 | 82 | #: hook.php:289 hook.php:299 83 | msgid "Not really specific - Just for example" 84 | msgstr "실제로 지정 안됨 - 그냥 예제임" 85 | 86 | #: hook.php:319 87 | msgid "Not really specific - Use your own dropdown - Just for example" 88 | msgstr "실제 지정 안됨 - 당신만의 드롭다운을 사용 - 그냥 예제임" 89 | 90 | #: src/Example.php:480 91 | msgid "Plugin Example" 92 | msgstr "" 93 | 94 | #: src/Example.php:485 95 | msgid "Plugin Example (static)" 96 | msgstr "" 97 | 98 | #: hook.php:54 99 | msgid "Plugin Example Dropdown" 100 | msgstr "플러그인 예제 드롭다운" 101 | 102 | #: src/Dropdown.php:45 src/Dropdown.php:47 103 | msgid "Plugin Example Dropdowns" 104 | msgstr "플러그인 예제 드롭다운" 105 | 106 | #: src/Example.php:244 107 | msgid "Plugin Example on Phone" 108 | msgstr "전화 플러그인 예제" 109 | 110 | #: src/Example.php:248 111 | msgid "Plugin central action" 112 | msgstr "플러그인 중심 작업" 113 | 114 | #. TRANS: %1$s is a class name, %2$d is an item ID 115 | #: src/Example.php:285 116 | #, php-format 117 | msgid "Plugin example CLASS=%1$s id=%2$d" 118 | msgstr "플러그인 예제 CLASS=%1$s id=%2$d" 119 | 120 | #: hook.php:674 hook.php:687 121 | msgid "Plugin example displays on central page" 122 | msgstr "가운데 페이지에 플러그인 예제 표시" 123 | 124 | #: hook.php:681 125 | msgid "Plugin example displays on login page" 126 | msgstr "로그인 페이지에 플러그인 예제 표시" 127 | 128 | #: src/Example.php:271 129 | msgid "Plugin mailing action" 130 | msgstr "플러그인 메일링 작업" 131 | 132 | #: hook.php:365 133 | msgid "Pre Delete Computer Hook" 134 | msgstr "컴퓨터 후크 사전 삭제" 135 | 136 | #: hook.php:379 137 | msgid "Pre Purge Computer Hook" 138 | msgstr "컴퓨터 후크 사전 제거" 139 | 140 | #: hook.php:393 141 | msgid "Pre Restore Computer Hook" 142 | msgstr "컴퓨터 후크 사전 복원" 143 | 144 | #: hook.php:400 145 | msgid "Pre Restore Phone Hook" 146 | msgstr "전화 후크 사전 복원" 147 | 148 | #: hook.php:341 149 | msgid "Pre Update Computer Hook" 150 | msgstr "컴퓨터 후크 사전 갱신" 151 | 152 | #: hook.php:385 153 | msgid "Purge Computer Hook" 154 | msgstr "컴퓨터 후크 제거" 155 | 156 | #: hook.php:406 157 | msgid "Restore Computer Hook" 158 | msgstr "컴퓨터 후크 복원" 159 | 160 | #: src/Example.php:424 src/Example.php:446 161 | msgid "Right it is the type I want..." 162 | msgstr "바로 제가 원하는 유형입니다..." 163 | 164 | #: src/Example.php:279 165 | msgid "Second tab of Plugin example" 166 | msgstr "플러그인 예제의 두번째 탭" 167 | 168 | #: src/Example.php:225 src/Example.php:232 169 | msgid "Test Plugin" 170 | msgstr "테스트 플러그인" 171 | 172 | #: src/Example.php:226 173 | msgid "Test Plugin 2" 174 | msgstr "테스트 플러그인 2" 175 | 176 | #: src/Example.php:66 177 | msgid "Test link" 178 | msgstr "테스트 링크" 179 | 180 | #: front/config.php:48 181 | msgid "This is the plugin config page" 182 | msgstr "이것은 플러그인 구성 페이지 입니다" 183 | 184 | #. TRANS: %1$s is the source type, %2$d is the source ID, %3$d is the 185 | #. destination ID 186 | #: hook.php:414 187 | #, php-format 188 | msgid "Transfer Computer Hook %1$s %2$d -> %3$d" 189 | msgstr "컴퓨터 후크 %1$s %2$d -> %3$d 전송" 190 | 191 | #: hook.php:347 192 | #, php-format 193 | msgid "Update Computer Hook (%s)" 194 | msgstr "컴퓨터 후크 갱신 (%s)" 195 | 196 | #: src/Example.php:401 src/Example.php:425 197 | msgid "Write in item history" 198 | msgstr "품목 이력에 기록" 199 | 200 | #: src/Example.php:405 201 | msgid "but do nothing :)" 202 | msgstr "하지만 아무것도 하지마세요 :)" 203 | 204 | #: hook.php:268 205 | msgid "plugin_example_DoIt" 206 | msgstr "plugin_example_DoIt" 207 | 208 | #: src/Example.php:314 209 | msgid "test planning example 1" 210 | msgstr "테스트 계획 예제 1" 211 | -------------------------------------------------------------------------------- /locales/lv_LV.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/example/e283c254cda1bacf68b7361637c521cae2fe0287/locales/lv_LV.mo -------------------------------------------------------------------------------- /locales/lv_LV.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # 5 | # Translators: 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: GLPI Plugin - Example\n" 9 | "Report-Msgid-Bugs-To: \n" 10 | "POT-Creation-Date: 2016-06-02 14:54+0200\n" 11 | "PO-Revision-Date: 2016-06-02 12:54+0000\n" 12 | "Last-Translator: Alexandre DELAUNAY \n" 13 | "Language-Team: Latvian (Latvia) (http://www.transifex.com/teclib/glpi-plugin-example/language/lv_LV/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: lv_LV\n" 18 | "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n" 19 | 20 | #: config.php:48 21 | msgid "This is the plugin config page" 22 | msgstr "" 23 | 24 | #: hook.php:61 25 | msgid "Plugin Example Dropdown" 26 | msgstr "" 27 | 28 | #: hook.php:76 29 | msgid "Example plugin" 30 | msgstr "" 31 | 32 | #: hook.php:260 33 | msgid "plugin_example_DoIt" 34 | msgstr "" 35 | 36 | #: hook.php:281 hook.php:292 37 | msgid "Not really specific - Just for example" 38 | msgstr "" 39 | 40 | #: hook.php:312 41 | msgid "Not really specific - Use your own dropdown - Just for example" 42 | msgstr "" 43 | 44 | #: hook.php:334 45 | msgid "Pre Update Computer Hook" 46 | msgstr "" 47 | 48 | #: hook.php:340 49 | #, php-format 50 | msgid "Update Computer Hook (%s)" 51 | msgstr "" 52 | 53 | #: hook.php:348 54 | msgid "Empty Computer Hook" 55 | msgstr "" 56 | 57 | #: hook.php:358 58 | msgid "Pre Delete Computer Hook" 59 | msgstr "" 60 | 61 | #: hook.php:364 62 | msgid "Delete Computer Hook" 63 | msgstr "" 64 | 65 | #: hook.php:372 66 | msgid "Pre Purge Computer Hook" 67 | msgstr "" 68 | 69 | #: hook.php:378 70 | msgid "Purge Computer Hook" 71 | msgstr "" 72 | 73 | #: hook.php:386 74 | msgid "Pre Restore Computer Hook" 75 | msgstr "" 76 | 77 | #: hook.php:393 78 | msgid "Pre Restore Phone Hook" 79 | msgstr "" 80 | 81 | #: hook.php:399 82 | msgid "Restore Computer Hook" 83 | msgstr "" 84 | 85 | #. TRANS: %1$s is the source type, %2$d is the source ID, %3$d is the 86 | #. destination ID 87 | #: hook.php:407 88 | #, php-format 89 | msgid "Transfer Computer Hook %1$s %2$d -> %3$d" 90 | msgstr "" 91 | 92 | #: hook.php:589 93 | msgid "Example event" 94 | msgstr "" 95 | 96 | #: hook.php:594 97 | msgid "Example datas" 98 | msgstr "" 99 | 100 | #: hook.php:651 101 | msgid "Plugin example displays on central page" 102 | msgstr "" 103 | 104 | #: hook.php:658 105 | msgid "Plugin example displays on login page" 106 | msgstr "" 107 | 108 | #: setup.php:210 109 | msgid "Installed / not configured" 110 | msgstr "" 111 | 112 | #: inc/dropdown.class.php:42 inc/dropdown.class.php:44 113 | msgid "Plugin Example Dropdowns" 114 | msgstr "" 115 | 116 | #: inc/example.class.php:80 117 | msgid "Test link" 118 | msgstr "" 119 | 120 | #: inc/example.class.php:124 121 | msgid "Cron description for example" 122 | msgstr "" 123 | 124 | #: inc/example.class.php:125 125 | msgid "Cron parameter for example" 126 | msgstr "" 127 | 128 | #: inc/example.class.php:182 inc/example.class.php:188 129 | #: inc/example.class.php:191 inc/notificationtargetexample.class.php:44 130 | msgid "Example" 131 | msgstr "" 132 | 133 | #: inc/example.class.php:195 inc/example.class.php:202 134 | msgid "Test Plugin" 135 | msgstr "" 136 | 137 | #: inc/example.class.php:196 138 | msgid "Test Plugin 2" 139 | msgstr "" 140 | 141 | #: inc/example.class.php:214 142 | msgid "Plugin Example on Phone" 143 | msgstr "" 144 | 145 | #: inc/example.class.php:218 146 | msgid "Plugin central action" 147 | msgstr "" 148 | 149 | #: inc/example.class.php:241 150 | msgid "Plugin mailing action" 151 | msgstr "" 152 | 153 | #: inc/example.class.php:247 154 | msgid "First tab of Plugin example" 155 | msgstr "" 156 | 157 | #: inc/example.class.php:249 158 | msgid "Second tab of Plugin example" 159 | msgstr "" 160 | 161 | #. TRANS: %1$s is a class name, %2$d is an item ID 162 | #: inc/example.class.php:255 163 | #, php-format 164 | msgid "Plugin example CLASS=%1$s id=%2$d" 165 | msgstr "" 166 | 167 | #: inc/example.class.php:284 168 | msgid "test planning example 1" 169 | msgstr "" 170 | 171 | #: inc/example.class.php:344 172 | msgid "History from plugin example" 173 | msgstr "" 174 | 175 | #: inc/example.class.php:367 176 | msgid "Do Nothing - just for fun" 177 | msgstr "" 178 | 179 | #: inc/example.class.php:384 inc/example.class.php:408 180 | msgid "Write in item history" 181 | msgstr "" 182 | 183 | #: inc/example.class.php:388 184 | msgid "but do nothing :)" 185 | msgstr "" 186 | 187 | #: inc/example.class.php:407 inc/example.class.php:429 188 | msgid "Right it is the type I want..." 189 | msgstr "" 190 | 191 | #: inc/example.class.php:430 192 | msgid "But... I say I will do nothing for:" 193 | msgstr "" 194 | 195 | #: inc/ruletest.class.php:77 196 | msgid "Category (class)" 197 | msgstr "" 198 | -------------------------------------------------------------------------------- /locales/nl_NL.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/example/e283c254cda1bacf68b7361637c521cae2fe0287/locales/nl_NL.mo -------------------------------------------------------------------------------- /locales/nl_NL.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # 5 | # Translators: 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: GLPI Plugin - Example\n" 9 | "Report-Msgid-Bugs-To: \n" 10 | "POT-Creation-Date: 2016-06-02 14:54+0200\n" 11 | "PO-Revision-Date: 2016-06-02 12:54+0000\n" 12 | "Last-Translator: Alexandre DELAUNAY \n" 13 | "Language-Team: Dutch (Netherlands) (http://www.transifex.com/teclib/glpi-plugin-example/language/nl_NL/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: nl_NL\n" 18 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 19 | 20 | #: config.php:48 21 | msgid "This is the plugin config page" 22 | msgstr "" 23 | 24 | #: hook.php:61 25 | msgid "Plugin Example Dropdown" 26 | msgstr "" 27 | 28 | #: hook.php:76 29 | msgid "Example plugin" 30 | msgstr "" 31 | 32 | #: hook.php:260 33 | msgid "plugin_example_DoIt" 34 | msgstr "" 35 | 36 | #: hook.php:281 hook.php:292 37 | msgid "Not really specific - Just for example" 38 | msgstr "" 39 | 40 | #: hook.php:312 41 | msgid "Not really specific - Use your own dropdown - Just for example" 42 | msgstr "" 43 | 44 | #: hook.php:334 45 | msgid "Pre Update Computer Hook" 46 | msgstr "" 47 | 48 | #: hook.php:340 49 | #, php-format 50 | msgid "Update Computer Hook (%s)" 51 | msgstr "" 52 | 53 | #: hook.php:348 54 | msgid "Empty Computer Hook" 55 | msgstr "" 56 | 57 | #: hook.php:358 58 | msgid "Pre Delete Computer Hook" 59 | msgstr "" 60 | 61 | #: hook.php:364 62 | msgid "Delete Computer Hook" 63 | msgstr "" 64 | 65 | #: hook.php:372 66 | msgid "Pre Purge Computer Hook" 67 | msgstr "" 68 | 69 | #: hook.php:378 70 | msgid "Purge Computer Hook" 71 | msgstr "" 72 | 73 | #: hook.php:386 74 | msgid "Pre Restore Computer Hook" 75 | msgstr "" 76 | 77 | #: hook.php:393 78 | msgid "Pre Restore Phone Hook" 79 | msgstr "" 80 | 81 | #: hook.php:399 82 | msgid "Restore Computer Hook" 83 | msgstr "" 84 | 85 | #. TRANS: %1$s is the source type, %2$d is the source ID, %3$d is the 86 | #. destination ID 87 | #: hook.php:407 88 | #, php-format 89 | msgid "Transfer Computer Hook %1$s %2$d -> %3$d" 90 | msgstr "" 91 | 92 | #: hook.php:589 93 | msgid "Example event" 94 | msgstr "" 95 | 96 | #: hook.php:594 97 | msgid "Example datas" 98 | msgstr "" 99 | 100 | #: hook.php:651 101 | msgid "Plugin example displays on central page" 102 | msgstr "" 103 | 104 | #: hook.php:658 105 | msgid "Plugin example displays on login page" 106 | msgstr "" 107 | 108 | #: setup.php:210 109 | msgid "Installed / not configured" 110 | msgstr "" 111 | 112 | #: inc/dropdown.class.php:42 inc/dropdown.class.php:44 113 | msgid "Plugin Example Dropdowns" 114 | msgstr "" 115 | 116 | #: inc/example.class.php:80 117 | msgid "Test link" 118 | msgstr "" 119 | 120 | #: inc/example.class.php:124 121 | msgid "Cron description for example" 122 | msgstr "" 123 | 124 | #: inc/example.class.php:125 125 | msgid "Cron parameter for example" 126 | msgstr "" 127 | 128 | #: inc/example.class.php:182 inc/example.class.php:188 129 | #: inc/example.class.php:191 inc/notificationtargetexample.class.php:44 130 | msgid "Example" 131 | msgstr "" 132 | 133 | #: inc/example.class.php:195 inc/example.class.php:202 134 | msgid "Test Plugin" 135 | msgstr "" 136 | 137 | #: inc/example.class.php:196 138 | msgid "Test Plugin 2" 139 | msgstr "" 140 | 141 | #: inc/example.class.php:214 142 | msgid "Plugin Example on Phone" 143 | msgstr "" 144 | 145 | #: inc/example.class.php:218 146 | msgid "Plugin central action" 147 | msgstr "" 148 | 149 | #: inc/example.class.php:241 150 | msgid "Plugin mailing action" 151 | msgstr "" 152 | 153 | #: inc/example.class.php:247 154 | msgid "First tab of Plugin example" 155 | msgstr "" 156 | 157 | #: inc/example.class.php:249 158 | msgid "Second tab of Plugin example" 159 | msgstr "" 160 | 161 | #. TRANS: %1$s is a class name, %2$d is an item ID 162 | #: inc/example.class.php:255 163 | #, php-format 164 | msgid "Plugin example CLASS=%1$s id=%2$d" 165 | msgstr "" 166 | 167 | #: inc/example.class.php:284 168 | msgid "test planning example 1" 169 | msgstr "" 170 | 171 | #: inc/example.class.php:344 172 | msgid "History from plugin example" 173 | msgstr "" 174 | 175 | #: inc/example.class.php:367 176 | msgid "Do Nothing - just for fun" 177 | msgstr "" 178 | 179 | #: inc/example.class.php:384 inc/example.class.php:408 180 | msgid "Write in item history" 181 | msgstr "" 182 | 183 | #: inc/example.class.php:388 184 | msgid "but do nothing :)" 185 | msgstr "" 186 | 187 | #: inc/example.class.php:407 inc/example.class.php:429 188 | msgid "Right it is the type I want..." 189 | msgstr "" 190 | 191 | #: inc/example.class.php:430 192 | msgid "But... I say I will do nothing for:" 193 | msgstr "" 194 | 195 | #: inc/ruletest.class.php:77 196 | msgid "Category (class)" 197 | msgstr "" 198 | -------------------------------------------------------------------------------- /locales/pl_PL.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/example/e283c254cda1bacf68b7361637c521cae2fe0287/locales/pl_PL.mo -------------------------------------------------------------------------------- /locales/pl_PL.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # 5 | # Translators: 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: GLPI Plugin - Example\n" 9 | "Report-Msgid-Bugs-To: \n" 10 | "POT-Creation-Date: 2016-06-02 14:54+0200\n" 11 | "PO-Revision-Date: 2016-06-02 12:54+0000\n" 12 | "Last-Translator: Alexandre DELAUNAY \n" 13 | "Language-Team: Polish (Poland) (http://www.transifex.com/teclib/glpi-plugin-example/language/pl_PL/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: pl_PL\n" 18 | "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" 19 | 20 | #: config.php:48 21 | msgid "This is the plugin config page" 22 | msgstr "" 23 | 24 | #: hook.php:61 25 | msgid "Plugin Example Dropdown" 26 | msgstr "" 27 | 28 | #: hook.php:76 29 | msgid "Example plugin" 30 | msgstr "" 31 | 32 | #: hook.php:260 33 | msgid "plugin_example_DoIt" 34 | msgstr "" 35 | 36 | #: hook.php:281 hook.php:292 37 | msgid "Not really specific - Just for example" 38 | msgstr "" 39 | 40 | #: hook.php:312 41 | msgid "Not really specific - Use your own dropdown - Just for example" 42 | msgstr "" 43 | 44 | #: hook.php:334 45 | msgid "Pre Update Computer Hook" 46 | msgstr "" 47 | 48 | #: hook.php:340 49 | #, php-format 50 | msgid "Update Computer Hook (%s)" 51 | msgstr "" 52 | 53 | #: hook.php:348 54 | msgid "Empty Computer Hook" 55 | msgstr "" 56 | 57 | #: hook.php:358 58 | msgid "Pre Delete Computer Hook" 59 | msgstr "" 60 | 61 | #: hook.php:364 62 | msgid "Delete Computer Hook" 63 | msgstr "" 64 | 65 | #: hook.php:372 66 | msgid "Pre Purge Computer Hook" 67 | msgstr "" 68 | 69 | #: hook.php:378 70 | msgid "Purge Computer Hook" 71 | msgstr "" 72 | 73 | #: hook.php:386 74 | msgid "Pre Restore Computer Hook" 75 | msgstr "" 76 | 77 | #: hook.php:393 78 | msgid "Pre Restore Phone Hook" 79 | msgstr "" 80 | 81 | #: hook.php:399 82 | msgid "Restore Computer Hook" 83 | msgstr "" 84 | 85 | #. TRANS: %1$s is the source type, %2$d is the source ID, %3$d is the 86 | #. destination ID 87 | #: hook.php:407 88 | #, php-format 89 | msgid "Transfer Computer Hook %1$s %2$d -> %3$d" 90 | msgstr "" 91 | 92 | #: hook.php:589 93 | msgid "Example event" 94 | msgstr "" 95 | 96 | #: hook.php:594 97 | msgid "Example datas" 98 | msgstr "" 99 | 100 | #: hook.php:651 101 | msgid "Plugin example displays on central page" 102 | msgstr "" 103 | 104 | #: hook.php:658 105 | msgid "Plugin example displays on login page" 106 | msgstr "" 107 | 108 | #: setup.php:210 109 | msgid "Installed / not configured" 110 | msgstr "" 111 | 112 | #: inc/dropdown.class.php:42 inc/dropdown.class.php:44 113 | msgid "Plugin Example Dropdowns" 114 | msgstr "" 115 | 116 | #: inc/example.class.php:80 117 | msgid "Test link" 118 | msgstr "" 119 | 120 | #: inc/example.class.php:124 121 | msgid "Cron description for example" 122 | msgstr "" 123 | 124 | #: inc/example.class.php:125 125 | msgid "Cron parameter for example" 126 | msgstr "" 127 | 128 | #: inc/example.class.php:182 inc/example.class.php:188 129 | #: inc/example.class.php:191 inc/notificationtargetexample.class.php:44 130 | msgid "Example" 131 | msgstr "" 132 | 133 | #: inc/example.class.php:195 inc/example.class.php:202 134 | msgid "Test Plugin" 135 | msgstr "" 136 | 137 | #: inc/example.class.php:196 138 | msgid "Test Plugin 2" 139 | msgstr "" 140 | 141 | #: inc/example.class.php:214 142 | msgid "Plugin Example on Phone" 143 | msgstr "" 144 | 145 | #: inc/example.class.php:218 146 | msgid "Plugin central action" 147 | msgstr "" 148 | 149 | #: inc/example.class.php:241 150 | msgid "Plugin mailing action" 151 | msgstr "" 152 | 153 | #: inc/example.class.php:247 154 | msgid "First tab of Plugin example" 155 | msgstr "" 156 | 157 | #: inc/example.class.php:249 158 | msgid "Second tab of Plugin example" 159 | msgstr "" 160 | 161 | #. TRANS: %1$s is a class name, %2$d is an item ID 162 | #: inc/example.class.php:255 163 | #, php-format 164 | msgid "Plugin example CLASS=%1$s id=%2$d" 165 | msgstr "" 166 | 167 | #: inc/example.class.php:284 168 | msgid "test planning example 1" 169 | msgstr "" 170 | 171 | #: inc/example.class.php:344 172 | msgid "History from plugin example" 173 | msgstr "" 174 | 175 | #: inc/example.class.php:367 176 | msgid "Do Nothing - just for fun" 177 | msgstr "" 178 | 179 | #: inc/example.class.php:384 inc/example.class.php:408 180 | msgid "Write in item history" 181 | msgstr "" 182 | 183 | #: inc/example.class.php:388 184 | msgid "but do nothing :)" 185 | msgstr "" 186 | 187 | #: inc/example.class.php:407 inc/example.class.php:429 188 | msgid "Right it is the type I want..." 189 | msgstr "" 190 | 191 | #: inc/example.class.php:430 192 | msgid "But... I say I will do nothing for:" 193 | msgstr "" 194 | 195 | #: inc/ruletest.class.php:77 196 | msgid "Category (class)" 197 | msgstr "" 198 | -------------------------------------------------------------------------------- /locales/pt_BR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/example/e283c254cda1bacf68b7361637c521cae2fe0287/locales/pt_BR.mo -------------------------------------------------------------------------------- /locales/pt_BR.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # 5 | # Translators: 6 | # Andrei Bernardo Simoni , 2020 7 | # Andrei Bernardo Simoni , 2017 8 | # Arthur Schaefer , 2017 9 | # Arthur Schaefer , 2017 10 | msgid "" 11 | msgstr "" 12 | "Project-Id-Version: GLPI Plugin - Example\n" 13 | "Report-Msgid-Bugs-To: \n" 14 | "POT-Creation-Date: 2024-12-20 01:27+0000\n" 15 | "PO-Revision-Date: 2015-09-18 12:02+0000\n" 16 | "Last-Translator: Andrei Bernardo Simoni , 2020\n" 17 | "Language-Team: Portuguese (Brazil) (http://app.transifex.com/teclib/glpi-plugin-example/language/pt_BR/)\n" 18 | "MIME-Version: 1.0\n" 19 | "Content-Type: text/plain; charset=UTF-8\n" 20 | "Content-Transfer-Encoding: 8bit\n" 21 | "Language: pt_BR\n" 22 | "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" 23 | 24 | #: src/Example.php:447 25 | msgid "But... I say I will do nothing for:" 26 | msgstr "Mas... Eu digo que não farei nada para:" 27 | 28 | #: src/RuleTest.php:82 29 | msgid "Category (class)" 30 | msgstr "Categoria (classe)" 31 | 32 | #: src/Example.php:154 33 | msgid "Cron description for example" 34 | msgstr "Descrição de cron para exemplo" 35 | 36 | #: src/Example.php:155 37 | msgid "Cron parameter for example" 38 | msgstr "Parâmetro de cron para exemplo" 39 | 40 | #: hook.php:371 41 | msgid "Delete Computer Hook" 42 | msgstr "Gancho de Exclusão de Computador" 43 | 44 | #: src/Example.php:390 45 | msgid "Do Nothing - just for fun" 46 | msgstr "Não faça nada - apenas por diversão" 47 | 48 | #: hook.php:355 49 | msgid "Empty Computer Hook" 50 | msgstr "Esvaziar Gancho de Computador" 51 | 52 | #: src/NotificationTargetExample.php:48 src/Example.php:212 53 | #: src/Example.php:218 src/Example.php:221 54 | msgid "Example" 55 | msgstr "Exemplo" 56 | 57 | #: hook.php:617 58 | msgid "Example datas" 59 | msgstr "Arquivos de exemplo" 60 | 61 | #: hook.php:612 62 | msgid "Example event" 63 | msgstr "Evento de exemplo" 64 | 65 | #: hook.php:69 66 | msgid "Example plugin" 67 | msgstr "Exemplo de plugin" 68 | 69 | #: hook.php:83 70 | msgid "Example plugin new" 71 | msgstr "Exemplo de plugin novo" 72 | 73 | #: src/Example.php:277 74 | msgid "First tab of Plugin example" 75 | msgstr "Primeira aba do Plugin exemplo" 76 | 77 | #: src/Example.php:374 78 | msgid "History from plugin example" 79 | msgstr "Histórico do plugin exemplo" 80 | 81 | #: setup.php:341 82 | msgid "Installed / not configured" 83 | msgstr "Instalado / não configurado" 84 | 85 | #: hook.php:289 hook.php:299 86 | msgid "Not really specific - Just for example" 87 | msgstr "Não é realmente específico - é apenas um exemplo" 88 | 89 | #: hook.php:319 90 | msgid "Not really specific - Use your own dropdown - Just for example" 91 | msgstr "Não realmente específico - Use sua própria lista suspensa - Apenas um exemplo" 92 | 93 | #: src/Example.php:480 94 | msgid "Plugin Example" 95 | msgstr "" 96 | 97 | #: src/Example.php:485 98 | msgid "Plugin Example (static)" 99 | msgstr "" 100 | 101 | #: hook.php:54 102 | msgid "Plugin Example Dropdown" 103 | msgstr "Lista suspensa de exemplo do plugi" 104 | 105 | #: src/Dropdown.php:45 src/Dropdown.php:47 106 | msgid "Plugin Example Dropdowns" 107 | msgstr "Listas suspensas do Pluguin Exemplo" 108 | 109 | #: src/Example.php:244 110 | msgid "Plugin Example on Phone" 111 | msgstr "Plugin Exemplo no Telefone" 112 | 113 | #: src/Example.php:248 114 | msgid "Plugin central action" 115 | msgstr "Plugin ação central" 116 | 117 | #. TRANS: %1$s is a class name, %2$d is an item ID 118 | #: src/Example.php:285 119 | #, php-format 120 | msgid "Plugin example CLASS=%1$s id=%2$d" 121 | msgstr "Pluguin exemplo CLASS=%1$s id=%2$d" 122 | 123 | #: hook.php:674 hook.php:687 124 | msgid "Plugin example displays on central page" 125 | msgstr "Exemplo de plugin exibido na página central" 126 | 127 | #: hook.php:681 128 | msgid "Plugin example displays on login page" 129 | msgstr "Exemplo de plugin exibido na página central" 130 | 131 | #: src/Example.php:271 132 | msgid "Plugin mailing action" 133 | msgstr "Plugin ação de e-mail" 134 | 135 | #: hook.php:365 136 | msgid "Pre Delete Computer Hook" 137 | msgstr "Gancho de Pré Exclusão de Computador" 138 | 139 | #: hook.php:379 140 | msgid "Pre Purge Computer Hook" 141 | msgstr "Gancho de Pré Expurgo de Computador" 142 | 143 | #: hook.php:393 144 | msgid "Pre Restore Computer Hook" 145 | msgstr "Gancho de Pré Restauração de Computador" 146 | 147 | #: hook.php:400 148 | msgid "Pre Restore Phone Hook" 149 | msgstr "Gancho de Pré Restauração de Telefone" 150 | 151 | #: hook.php:341 152 | msgid "Pre Update Computer Hook" 153 | msgstr "Gancho de Pré atualização de Computador" 154 | 155 | #: hook.php:385 156 | msgid "Purge Computer Hook" 157 | msgstr "Gancho Expurgo de Computador" 158 | 159 | #: hook.php:406 160 | msgid "Restore Computer Hook" 161 | msgstr "Gancho de Restauração de Computador" 162 | 163 | #: src/Example.php:424 src/Example.php:446 164 | msgid "Right it is the type I want..." 165 | msgstr "Certo, este é o tipo que eu quero..." 166 | 167 | #: src/Example.php:279 168 | msgid "Second tab of Plugin example" 169 | msgstr "Segunda guia do plugin de exemplo" 170 | 171 | #: src/Example.php:225 src/Example.php:232 172 | msgid "Test Plugin" 173 | msgstr "Plugin de teste" 174 | 175 | #: src/Example.php:226 176 | msgid "Test Plugin 2" 177 | msgstr "Plugin de teste 2" 178 | 179 | #: src/Example.php:66 180 | msgid "Test link" 181 | msgstr "Link de teste" 182 | 183 | #: front/config.php:48 184 | msgid "This is the plugin config page" 185 | msgstr "Esta é a página de configuração do plugin" 186 | 187 | #. TRANS: %1$s is the source type, %2$d is the source ID, %3$d is the 188 | #. destination ID 189 | #: hook.php:414 190 | #, php-format 191 | msgid "Transfer Computer Hook %1$s %2$d -> %3$d" 192 | msgstr "Gancho de Transferência de Computador %1$s %2$d -> %3$d" 193 | 194 | #: hook.php:347 195 | #, php-format 196 | msgid "Update Computer Hook (%s)" 197 | msgstr "Gancho de Pré atualização (%s)" 198 | 199 | #: src/Example.php:401 src/Example.php:425 200 | msgid "Write in item history" 201 | msgstr "Escrever no histórico do item" 202 | 203 | #: src/Example.php:405 204 | msgid "but do nothing :)" 205 | msgstr "não faz nada :)" 206 | 207 | #: hook.php:268 208 | msgid "plugin_example_DoIt" 209 | msgstr "plugin_example_DoIt" 210 | 211 | #: src/Example.php:314 212 | msgid "test planning example 1" 213 | msgstr "teste de planejamento de exemplo 1" 214 | -------------------------------------------------------------------------------- /locales/pt_PT.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/example/e283c254cda1bacf68b7361637c521cae2fe0287/locales/pt_PT.mo -------------------------------------------------------------------------------- /locales/pt_PT.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # 5 | # Translators: 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: GLPI Plugin - Example\n" 9 | "Report-Msgid-Bugs-To: \n" 10 | "POT-Creation-Date: 2024-12-20 01:27+0000\n" 11 | "PO-Revision-Date: 2015-09-18 12:02+0000\n" 12 | "Last-Translator: FULL NAME \n" 13 | "Language-Team: Portuguese (Portugal) (http://app.transifex.com/teclib/glpi-plugin-example/language/pt_PT/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: pt_PT\n" 18 | "Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" 19 | 20 | #: src/Example.php:447 21 | msgid "But... I say I will do nothing for:" 22 | msgstr "Mas… Eu digo que não farei nada para:" 23 | 24 | #: src/RuleTest.php:82 25 | msgid "Category (class)" 26 | msgstr "Categoria (classe)" 27 | 28 | #: src/Example.php:154 29 | msgid "Cron description for example" 30 | msgstr "Descrição Cron por exemplo" 31 | 32 | #: src/Example.php:155 33 | msgid "Cron parameter for example" 34 | msgstr "Parâmetro Cron por exemplo" 35 | 36 | #: hook.php:371 37 | msgid "Delete Computer Hook" 38 | msgstr "Excluir dependência do computador" 39 | 40 | #: src/Example.php:390 41 | msgid "Do Nothing - just for fun" 42 | msgstr "Não faça nada - só por diversão" 43 | 44 | #: hook.php:355 45 | msgid "Empty Computer Hook" 46 | msgstr "Dependência vazia do computador" 47 | 48 | #: src/NotificationTargetExample.php:48 src/Example.php:212 49 | #: src/Example.php:218 src/Example.php:221 50 | msgid "Example" 51 | msgstr "Exemplo" 52 | 53 | #: hook.php:617 54 | msgid "Example datas" 55 | msgstr "Exemplo de datas" 56 | 57 | #: hook.php:612 58 | msgid "Example event" 59 | msgstr "Exemplo de evento" 60 | 61 | #: hook.php:69 62 | msgid "Example plugin" 63 | msgstr "Exemplo de plugin" 64 | 65 | #: hook.php:83 66 | msgid "Example plugin new" 67 | msgstr "Exemplo de plugin novo" 68 | 69 | #: src/Example.php:277 70 | msgid "First tab of Plugin example" 71 | msgstr "Primeira guia do exemplo plugin" 72 | 73 | #: src/Example.php:374 74 | msgid "History from plugin example" 75 | msgstr "Histórico do exemplo de plugin" 76 | 77 | #: setup.php:341 78 | msgid "Installed / not configured" 79 | msgstr "Instalado / não configurado" 80 | 81 | #: hook.php:289 hook.php:299 82 | msgid "Not really specific - Just for example" 83 | msgstr "Não é realmente específico-apenas por exemplo" 84 | 85 | #: hook.php:319 86 | msgid "Not really specific - Use your own dropdown - Just for example" 87 | msgstr "Não é realmente específico-use seu próprio DropDown-apenas por exemplo" 88 | 89 | #: src/Example.php:480 90 | msgid "Plugin Example" 91 | msgstr "" 92 | 93 | #: src/Example.php:485 94 | msgid "Plugin Example (static)" 95 | msgstr "" 96 | 97 | #: hook.php:54 98 | msgid "Plugin Example Dropdown" 99 | msgstr "Exemplo de plugin DropDown" 100 | 101 | #: src/Dropdown.php:45 src/Dropdown.php:47 102 | msgid "Plugin Example Dropdowns" 103 | msgstr "Dropdowns exemplo plugin" 104 | 105 | #: src/Example.php:244 106 | msgid "Plugin Example on Phone" 107 | msgstr "Exemplo de plugin no telefone" 108 | 109 | #: src/Example.php:248 110 | msgid "Plugin central action" 111 | msgstr "Ação central de plugins" 112 | 113 | #. TRANS: %1$s is a class name, %2$d is an item ID 114 | #: src/Example.php:285 115 | #, php-format 116 | msgid "Plugin example CLASS=%1$s id=%2$d" 117 | msgstr "Exemplo de plugin CLASS=%1$s id=%2$d" 118 | 119 | #: hook.php:674 hook.php:687 120 | msgid "Plugin example displays on central page" 121 | msgstr "Exemplo de plugin exibido na página central" 122 | 123 | #: hook.php:681 124 | msgid "Plugin example displays on login page" 125 | msgstr "Exemplo de plug-in exibido na página de login" 126 | 127 | #: src/Example.php:271 128 | msgid "Plugin mailing action" 129 | msgstr "Ação de envio de plugin" 130 | 131 | #: hook.php:365 132 | msgid "Pre Delete Computer Hook" 133 | msgstr "Pré exclusão da dependência do computador" 134 | 135 | #: hook.php:379 136 | msgid "Pre Purge Computer Hook" 137 | msgstr "Dependência do pré purge do computador" 138 | 139 | #: hook.php:393 140 | msgid "Pre Restore Computer Hook" 141 | msgstr "Dependência do pré restauro do computador" 142 | 143 | #: hook.php:400 144 | msgid "Pre Restore Phone Hook" 145 | msgstr "Dependência do pré restauro do telefone" 146 | 147 | #: hook.php:341 148 | msgid "Pre Update Computer Hook" 149 | msgstr "Dependência do computador da pré atualização" 150 | 151 | #: hook.php:385 152 | msgid "Purge Computer Hook" 153 | msgstr "Dependência do purge do computador" 154 | 155 | #: hook.php:406 156 | msgid "Restore Computer Hook" 157 | msgstr "Dependência do restauro do computador" 158 | 159 | #: src/Example.php:424 src/Example.php:446 160 | msgid "Right it is the type I want..." 161 | msgstr "Certo, é o tipo que eu quero…" 162 | 163 | #: src/Example.php:279 164 | msgid "Second tab of Plugin example" 165 | msgstr "Segunda guia do exemplo plugin" 166 | 167 | #: src/Example.php:225 src/Example.php:232 168 | msgid "Test Plugin" 169 | msgstr "Plugin de teste" 170 | 171 | #: src/Example.php:226 172 | msgid "Test Plugin 2" 173 | msgstr "Plugin de teste 2" 174 | 175 | #: src/Example.php:66 176 | msgid "Test link" 177 | msgstr "Ligação de teste" 178 | 179 | #: front/config.php:48 180 | msgid "This is the plugin config page" 181 | msgstr "Esta é a página de configuração do plugin" 182 | 183 | #. TRANS: %1$s is the source type, %2$d is the source ID, %3$d is the 184 | #. destination ID 185 | #: hook.php:414 186 | #, php-format 187 | msgid "Transfer Computer Hook %1$s %2$d -> %3$d" 188 | msgstr "Dependência do Computador de Transferência %1$s %2$d -> %3$d" 189 | 190 | #: hook.php:347 191 | #, php-format 192 | msgid "Update Computer Hook (%s)" 193 | msgstr "Dependência da atualização do computador (%s)" 194 | 195 | #: src/Example.php:401 src/Example.php:425 196 | msgid "Write in item history" 197 | msgstr "Escrever no histórico de itens" 198 | 199 | #: src/Example.php:405 200 | msgid "but do nothing :)" 201 | msgstr "mas não faça nada :)" 202 | 203 | #: hook.php:268 204 | msgid "plugin_example_DoIt" 205 | msgstr "plugin_exemplo_Dolt" 206 | 207 | #: src/Example.php:314 208 | msgid "test planning example 1" 209 | msgstr "exemplo de planejamento de teste 1" 210 | -------------------------------------------------------------------------------- /locales/ro_RO.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/example/e283c254cda1bacf68b7361637c521cae2fe0287/locales/ro_RO.mo -------------------------------------------------------------------------------- /locales/ro_RO.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # 5 | # Translators: 6 | # Doru DEACONU , 2015 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: GLPI Plugin - Example\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2019-11-08 14:54+0000\n" 12 | "PO-Revision-Date: 2018-08-21 14:34+0000\n" 13 | "Last-Translator: Cédric Anne\n" 14 | "Language-Team: Romanian (Romania) (http://www.transifex.com/teclib/glpi-plugin-example/language/ro_RO/)\n" 15 | "MIME-Version: 1.0\n" 16 | "Content-Type: text/plain; charset=UTF-8\n" 17 | "Content-Transfer-Encoding: 8bit\n" 18 | "Language: ro_RO\n" 19 | "Plural-Forms: nplurals=3; plural=(n==1?0:(((n%100>19)||((n%100==0)&&(n!=0)))?2:1));\n" 20 | 21 | #: config.php:48 22 | msgid "This is the plugin config page" 23 | msgstr "Aceasta este pagina de configurare plugin" 24 | 25 | #: inc/dropdown.class.php:42 inc/dropdown.class.php:44 26 | msgid "Plugin Example Dropdowns" 27 | msgstr "" 28 | 29 | #: inc/example.class.php:82 30 | msgid "Test link" 31 | msgstr "Test link" 32 | 33 | #: inc/example.class.php:170 34 | msgid "Cron description for example" 35 | msgstr "Descriere Cron pentru exemplu" 36 | 37 | #: inc/example.class.php:171 38 | msgid "Cron parameter for example" 39 | msgstr "Parametru Cron pentru exemplu" 40 | 41 | #: inc/example.class.php:228 inc/example.class.php:234 42 | #: inc/example.class.php:237 inc/notificationtargetexample.class.php:44 43 | msgid "Example" 44 | msgstr "Exemplu" 45 | 46 | #: inc/example.class.php:241 inc/example.class.php:248 47 | msgid "Test Plugin" 48 | msgstr "" 49 | 50 | #: inc/example.class.php:242 51 | msgid "Test Plugin 2" 52 | msgstr "" 53 | 54 | #: inc/example.class.php:260 55 | msgid "Plugin Example on Phone" 56 | msgstr "" 57 | 58 | #: inc/example.class.php:264 59 | msgid "Plugin central action" 60 | msgstr "" 61 | 62 | #: inc/example.class.php:287 63 | msgid "Plugin mailing action" 64 | msgstr "" 65 | 66 | #: inc/example.class.php:293 67 | msgid "First tab of Plugin example" 68 | msgstr "" 69 | 70 | #: inc/example.class.php:295 71 | msgid "Second tab of Plugin example" 72 | msgstr "" 73 | 74 | #. TRANS: %1$s is a class name, %2$d is an item ID 75 | #: inc/example.class.php:301 76 | #, php-format 77 | msgid "Plugin example CLASS=%1$s id=%2$d" 78 | msgstr "" 79 | 80 | #: inc/example.class.php:330 81 | msgid "test planning example 1" 82 | msgstr "test planning exemplu 1" 83 | 84 | #: inc/example.class.php:390 85 | msgid "History from plugin example" 86 | msgstr "Istoric de la exemplu plugin" 87 | 88 | #: inc/example.class.php:411 89 | msgid "Do Nothing - just for fun" 90 | msgstr "Nu fa nimic - doar pentru distractie" 91 | 92 | #: inc/example.class.php:428 inc/example.class.php:452 93 | msgid "Write in item history" 94 | msgstr "Scrie in istoric elemente" 95 | 96 | #: inc/example.class.php:432 97 | msgid "but do nothing :)" 98 | msgstr "dar nu face nimic :)" 99 | 100 | #: inc/example.class.php:451 inc/example.class.php:473 101 | msgid "Right it is the type I want..." 102 | msgstr "" 103 | 104 | #: inc/example.class.php:474 105 | msgid "But... I say I will do nothing for:" 106 | msgstr "" 107 | 108 | #: inc/ruletest.class.php:77 109 | msgid "Category (class)" 110 | msgstr "Categorie (class)" 111 | 112 | #: setup.php:272 113 | msgid "Installed / not configured" 114 | msgstr "Instalat / neconfigurat" 115 | 116 | #: hook.php:60 117 | msgid "Plugin Example Dropdown" 118 | msgstr "" 119 | 120 | #: hook.php:75 121 | msgid "Example plugin" 122 | msgstr "Exemplu plugin" 123 | 124 | #: hook.php:89 125 | msgid "Example plugin new" 126 | msgstr "" 127 | 128 | #: hook.php:274 129 | msgid "plugin_example_DoIt" 130 | msgstr "" 131 | 132 | #: hook.php:295 hook.php:306 133 | msgid "Not really specific - Just for example" 134 | msgstr "" 135 | 136 | #: hook.php:326 137 | msgid "Not really specific - Use your own dropdown - Just for example" 138 | msgstr "" 139 | 140 | #: hook.php:348 141 | msgid "Pre Update Computer Hook" 142 | msgstr "" 143 | 144 | #: hook.php:354 145 | #, php-format 146 | msgid "Update Computer Hook (%s)" 147 | msgstr "" 148 | 149 | #: hook.php:362 150 | msgid "Empty Computer Hook" 151 | msgstr "" 152 | 153 | #: hook.php:372 154 | msgid "Pre Delete Computer Hook" 155 | msgstr "" 156 | 157 | #: hook.php:378 158 | msgid "Delete Computer Hook" 159 | msgstr "" 160 | 161 | #: hook.php:386 162 | msgid "Pre Purge Computer Hook" 163 | msgstr "" 164 | 165 | #: hook.php:392 166 | msgid "Purge Computer Hook" 167 | msgstr "" 168 | 169 | #: hook.php:400 170 | msgid "Pre Restore Computer Hook" 171 | msgstr "" 172 | 173 | #: hook.php:407 174 | msgid "Pre Restore Phone Hook" 175 | msgstr "" 176 | 177 | #: hook.php:413 178 | msgid "Restore Computer Hook" 179 | msgstr "" 180 | 181 | #. TRANS: %1$s is the source type, %2$d is the source ID, %3$d is the 182 | #. destination ID 183 | #: hook.php:421 184 | #, php-format 185 | msgid "Transfer Computer Hook %1$s %2$d -> %3$d" 186 | msgstr "" 187 | 188 | #: hook.php:611 189 | msgid "Example event" 190 | msgstr "Exemplu eveniment" 191 | 192 | #: hook.php:616 193 | msgid "Example datas" 194 | msgstr "Exemplu date" 195 | 196 | #: hook.php:673 hook.php:686 197 | msgid "Plugin example displays on central page" 198 | msgstr "" 199 | 200 | #: hook.php:680 201 | msgid "Plugin example displays on login page" 202 | msgstr "" 203 | -------------------------------------------------------------------------------- /locales/ru_RU.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/example/e283c254cda1bacf68b7361637c521cae2fe0287/locales/ru_RU.mo -------------------------------------------------------------------------------- /locales/ru_RU.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # 5 | # Translators: 6 | # Nikolai Petrov , 2016 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: GLPI Plugin - Example\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2019-11-08 14:54+0000\n" 12 | "PO-Revision-Date: 2018-08-21 14:34+0000\n" 13 | "Last-Translator: Cédric Anne\n" 14 | "Language-Team: Russian (Russia) (http://www.transifex.com/teclib/glpi-plugin-example/language/ru_RU/)\n" 15 | "MIME-Version: 1.0\n" 16 | "Content-Type: text/plain; charset=UTF-8\n" 17 | "Content-Transfer-Encoding: 8bit\n" 18 | "Language: ru_RU\n" 19 | "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" 20 | 21 | #: config.php:48 22 | msgid "This is the plugin config page" 23 | msgstr "Эта страница настройки плагина" 24 | 25 | #: inc/dropdown.class.php:42 inc/dropdown.class.php:44 26 | msgid "Plugin Example Dropdowns" 27 | msgstr "" 28 | 29 | #: inc/example.class.php:82 30 | msgid "Test link" 31 | msgstr "Тест ссылки" 32 | 33 | #: inc/example.class.php:170 34 | msgid "Cron description for example" 35 | msgstr "" 36 | 37 | #: inc/example.class.php:171 38 | msgid "Cron parameter for example" 39 | msgstr "" 40 | 41 | #: inc/example.class.php:228 inc/example.class.php:234 42 | #: inc/example.class.php:237 inc/notificationtargetexample.class.php:44 43 | msgid "Example" 44 | msgstr "Пример" 45 | 46 | #: inc/example.class.php:241 inc/example.class.php:248 47 | msgid "Test Plugin" 48 | msgstr "" 49 | 50 | #: inc/example.class.php:242 51 | msgid "Test Plugin 2" 52 | msgstr "" 53 | 54 | #: inc/example.class.php:260 55 | msgid "Plugin Example on Phone" 56 | msgstr "" 57 | 58 | #: inc/example.class.php:264 59 | msgid "Plugin central action" 60 | msgstr "" 61 | 62 | #: inc/example.class.php:287 63 | msgid "Plugin mailing action" 64 | msgstr "" 65 | 66 | #: inc/example.class.php:293 67 | msgid "First tab of Plugin example" 68 | msgstr "" 69 | 70 | #: inc/example.class.php:295 71 | msgid "Second tab of Plugin example" 72 | msgstr "" 73 | 74 | #. TRANS: %1$s is a class name, %2$d is an item ID 75 | #: inc/example.class.php:301 76 | #, php-format 77 | msgid "Plugin example CLASS=%1$s id=%2$d" 78 | msgstr "" 79 | 80 | #: inc/example.class.php:330 81 | msgid "test planning example 1" 82 | msgstr "" 83 | 84 | #: inc/example.class.php:390 85 | msgid "History from plugin example" 86 | msgstr "История из плагина примера" 87 | 88 | #: inc/example.class.php:411 89 | msgid "Do Nothing - just for fun" 90 | msgstr "Ничего не делать - шутки ради" 91 | 92 | #: inc/example.class.php:428 inc/example.class.php:452 93 | msgid "Write in item history" 94 | msgstr "Записать в пункт истории" 95 | 96 | #: inc/example.class.php:432 97 | msgid "but do nothing :)" 98 | msgstr "но ничего не делать :)" 99 | 100 | #: inc/example.class.php:451 inc/example.class.php:473 101 | msgid "Right it is the type I want..." 102 | msgstr "" 103 | 104 | #: inc/example.class.php:474 105 | msgid "But... I say I will do nothing for:" 106 | msgstr "" 107 | 108 | #: inc/ruletest.class.php:77 109 | msgid "Category (class)" 110 | msgstr "Категория (класс)" 111 | 112 | #: setup.php:272 113 | msgid "Installed / not configured" 114 | msgstr "" 115 | 116 | #: hook.php:60 117 | msgid "Plugin Example Dropdown" 118 | msgstr "Плагин примера выпадающего списка" 119 | 120 | #: hook.php:75 121 | msgid "Example plugin" 122 | msgstr "Плагин примера" 123 | 124 | #: hook.php:89 125 | msgid "Example plugin new" 126 | msgstr "" 127 | 128 | #: hook.php:274 129 | msgid "plugin_example_DoIt" 130 | msgstr "" 131 | 132 | #: hook.php:295 hook.php:306 133 | msgid "Not really specific - Just for example" 134 | msgstr "Не конкретный - Просто для примера" 135 | 136 | #: hook.php:326 137 | msgid "Not really specific - Use your own dropdown - Just for example" 138 | msgstr "" 139 | 140 | #: hook.php:348 141 | msgid "Pre Update Computer Hook" 142 | msgstr "" 143 | 144 | #: hook.php:354 145 | #, php-format 146 | msgid "Update Computer Hook (%s)" 147 | msgstr "" 148 | 149 | #: hook.php:362 150 | msgid "Empty Computer Hook" 151 | msgstr "" 152 | 153 | #: hook.php:372 154 | msgid "Pre Delete Computer Hook" 155 | msgstr "" 156 | 157 | #: hook.php:378 158 | msgid "Delete Computer Hook" 159 | msgstr "" 160 | 161 | #: hook.php:386 162 | msgid "Pre Purge Computer Hook" 163 | msgstr "" 164 | 165 | #: hook.php:392 166 | msgid "Purge Computer Hook" 167 | msgstr "Очистка подцепленного компьютера" 168 | 169 | #: hook.php:400 170 | msgid "Pre Restore Computer Hook" 171 | msgstr "" 172 | 173 | #: hook.php:407 174 | msgid "Pre Restore Phone Hook" 175 | msgstr "" 176 | 177 | #: hook.php:413 178 | msgid "Restore Computer Hook" 179 | msgstr "Восстановление подцепленного компьютера" 180 | 181 | #. TRANS: %1$s is the source type, %2$d is the source ID, %3$d is the 182 | #. destination ID 183 | #: hook.php:421 184 | #, php-format 185 | msgid "Transfer Computer Hook %1$s %2$d -> %3$d" 186 | msgstr "" 187 | 188 | #: hook.php:611 189 | msgid "Example event" 190 | msgstr "Пример события" 191 | 192 | #: hook.php:616 193 | msgid "Example datas" 194 | msgstr "Пример даты" 195 | 196 | #: hook.php:673 hook.php:686 197 | msgid "Plugin example displays on central page" 198 | msgstr "" 199 | 200 | #: hook.php:680 201 | msgid "Plugin example displays on login page" 202 | msgstr "" 203 | -------------------------------------------------------------------------------- /locales/ru_lv.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/example/e283c254cda1bacf68b7361637c521cae2fe0287/locales/ru_lv.mo -------------------------------------------------------------------------------- /locales/ru_lv.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # 5 | # Translators: 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: GLPI Plugin - Example\n" 9 | "Report-Msgid-Bugs-To: \n" 10 | "POT-Creation-Date: 2016-06-02 14:54+0200\n" 11 | "PO-Revision-Date: 2016-06-02 12:54+0000\n" 12 | "Last-Translator: Alexandre DELAUNAY \n" 13 | "Language-Team: Russian (Latvia) (http://www.transifex.com/teclib/glpi-plugin-example/language/ru_lv/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: ru_lv\n" 18 | "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" 19 | 20 | #: config.php:48 21 | msgid "This is the plugin config page" 22 | msgstr "" 23 | 24 | #: hook.php:61 25 | msgid "Plugin Example Dropdown" 26 | msgstr "" 27 | 28 | #: hook.php:76 29 | msgid "Example plugin" 30 | msgstr "" 31 | 32 | #: hook.php:260 33 | msgid "plugin_example_DoIt" 34 | msgstr "" 35 | 36 | #: hook.php:281 hook.php:292 37 | msgid "Not really specific - Just for example" 38 | msgstr "" 39 | 40 | #: hook.php:312 41 | msgid "Not really specific - Use your own dropdown - Just for example" 42 | msgstr "" 43 | 44 | #: hook.php:334 45 | msgid "Pre Update Computer Hook" 46 | msgstr "" 47 | 48 | #: hook.php:340 49 | #, php-format 50 | msgid "Update Computer Hook (%s)" 51 | msgstr "" 52 | 53 | #: hook.php:348 54 | msgid "Empty Computer Hook" 55 | msgstr "" 56 | 57 | #: hook.php:358 58 | msgid "Pre Delete Computer Hook" 59 | msgstr "" 60 | 61 | #: hook.php:364 62 | msgid "Delete Computer Hook" 63 | msgstr "" 64 | 65 | #: hook.php:372 66 | msgid "Pre Purge Computer Hook" 67 | msgstr "" 68 | 69 | #: hook.php:378 70 | msgid "Purge Computer Hook" 71 | msgstr "" 72 | 73 | #: hook.php:386 74 | msgid "Pre Restore Computer Hook" 75 | msgstr "" 76 | 77 | #: hook.php:393 78 | msgid "Pre Restore Phone Hook" 79 | msgstr "" 80 | 81 | #: hook.php:399 82 | msgid "Restore Computer Hook" 83 | msgstr "" 84 | 85 | #. TRANS: %1$s is the source type, %2$d is the source ID, %3$d is the 86 | #. destination ID 87 | #: hook.php:407 88 | #, php-format 89 | msgid "Transfer Computer Hook %1$s %2$d -> %3$d" 90 | msgstr "" 91 | 92 | #: hook.php:589 93 | msgid "Example event" 94 | msgstr "" 95 | 96 | #: hook.php:594 97 | msgid "Example datas" 98 | msgstr "" 99 | 100 | #: hook.php:651 101 | msgid "Plugin example displays on central page" 102 | msgstr "" 103 | 104 | #: hook.php:658 105 | msgid "Plugin example displays on login page" 106 | msgstr "" 107 | 108 | #: setup.php:210 109 | msgid "Installed / not configured" 110 | msgstr "" 111 | 112 | #: inc/dropdown.class.php:42 inc/dropdown.class.php:44 113 | msgid "Plugin Example Dropdowns" 114 | msgstr "" 115 | 116 | #: inc/example.class.php:80 117 | msgid "Test link" 118 | msgstr "" 119 | 120 | #: inc/example.class.php:124 121 | msgid "Cron description for example" 122 | msgstr "" 123 | 124 | #: inc/example.class.php:125 125 | msgid "Cron parameter for example" 126 | msgstr "" 127 | 128 | #: inc/example.class.php:182 inc/example.class.php:188 129 | #: inc/example.class.php:191 inc/notificationtargetexample.class.php:44 130 | msgid "Example" 131 | msgstr "" 132 | 133 | #: inc/example.class.php:195 inc/example.class.php:202 134 | msgid "Test Plugin" 135 | msgstr "" 136 | 137 | #: inc/example.class.php:196 138 | msgid "Test Plugin 2" 139 | msgstr "" 140 | 141 | #: inc/example.class.php:214 142 | msgid "Plugin Example on Phone" 143 | msgstr "" 144 | 145 | #: inc/example.class.php:218 146 | msgid "Plugin central action" 147 | msgstr "" 148 | 149 | #: inc/example.class.php:241 150 | msgid "Plugin mailing action" 151 | msgstr "" 152 | 153 | #: inc/example.class.php:247 154 | msgid "First tab of Plugin example" 155 | msgstr "" 156 | 157 | #: inc/example.class.php:249 158 | msgid "Second tab of Plugin example" 159 | msgstr "" 160 | 161 | #. TRANS: %1$s is a class name, %2$d is an item ID 162 | #: inc/example.class.php:255 163 | #, php-format 164 | msgid "Plugin example CLASS=%1$s id=%2$d" 165 | msgstr "" 166 | 167 | #: inc/example.class.php:284 168 | msgid "test planning example 1" 169 | msgstr "" 170 | 171 | #: inc/example.class.php:344 172 | msgid "History from plugin example" 173 | msgstr "" 174 | 175 | #: inc/example.class.php:367 176 | msgid "Do Nothing - just for fun" 177 | msgstr "" 178 | 179 | #: inc/example.class.php:384 inc/example.class.php:408 180 | msgid "Write in item history" 181 | msgstr "" 182 | 183 | #: inc/example.class.php:388 184 | msgid "but do nothing :)" 185 | msgstr "" 186 | 187 | #: inc/example.class.php:407 inc/example.class.php:429 188 | msgid "Right it is the type I want..." 189 | msgstr "" 190 | 191 | #: inc/example.class.php:430 192 | msgid "But... I say I will do nothing for:" 193 | msgstr "" 194 | 195 | #: inc/ruletest.class.php:77 196 | msgid "Category (class)" 197 | msgstr "" 198 | -------------------------------------------------------------------------------- /locales/tr_TR.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/example/e283c254cda1bacf68b7361637c521cae2fe0287/locales/tr_TR.mo -------------------------------------------------------------------------------- /locales/tr_TR.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # 5 | # Translators: 6 | # Kaya Zeren , 2015-2016,2018-2019,2021,2023-2024 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: GLPI Plugin - Example\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2024-12-30 01:37+0000\n" 12 | "PO-Revision-Date: 2015-09-18 12:02+0000\n" 13 | "Last-Translator: Kaya Zeren , 2015-2016,2018-2019,2021,2023-2024\n" 14 | "Language-Team: Turkish (Turkey) (http://app.transifex.com/teclib/glpi-plugin-example/language/tr_TR/)\n" 15 | "MIME-Version: 1.0\n" 16 | "Content-Type: text/plain; charset=UTF-8\n" 17 | "Content-Transfer-Encoding: 8bit\n" 18 | "Language: tr_TR\n" 19 | "Plural-Forms: nplurals=2; plural=(n > 1);\n" 20 | 21 | #: src/Example.php:447 22 | msgid "But... I say I will do nothing for:" 23 | msgstr "Ancak... Şunun için hiç bir şey yapma diyeceğim:" 24 | 25 | #: src/RuleTest.php:82 26 | msgid "Category (class)" 27 | msgstr "Kategori (sınıf)" 28 | 29 | #: src/Example.php:154 30 | msgid "Cron description for example" 31 | msgstr "Örnek zamanlanmış görev açıklaması" 32 | 33 | #: src/Example.php:155 34 | msgid "Cron parameter for example" 35 | msgstr "Örnek zamanlanmış görev parametresi" 36 | 37 | #: hook.php:371 38 | msgid "Delete Computer Hook" 39 | msgstr "Bilgisayar kancasını sil" 40 | 41 | #: src/Example.php:390 42 | msgid "Do Nothing - just for fun" 43 | msgstr "Hiç bir işlem yapmaz - Yalnız eğlence için" 44 | 45 | #: hook.php:355 46 | msgid "Empty Computer Hook" 47 | msgstr "Bilgisayar kancasını boşalt" 48 | 49 | #: src/NotificationTargetExample.php:48 src/Example.php:212 50 | #: src/Example.php:218 src/Example.php:221 51 | msgid "Example" 52 | msgstr "Örnek" 53 | 54 | #: hook.php:617 55 | msgid "Example datas" 56 | msgstr "Örnek veriler" 57 | 58 | #: hook.php:612 59 | msgid "Example event" 60 | msgstr "Örnek etkinlik" 61 | 62 | #: hook.php:69 63 | msgid "Example plugin" 64 | msgstr "Örnek eklenti" 65 | 66 | #: hook.php:83 67 | msgid "Example plugin new" 68 | msgstr "Örnek eklenti yeni" 69 | 70 | #: src/Example.php:277 71 | msgid "First tab of Plugin example" 72 | msgstr "Örnek eklentinin ilk sekmesi" 73 | 74 | #: src/Example.php:374 75 | msgid "History from plugin example" 76 | msgstr "Örnek eklenti geçmişi" 77 | 78 | #: setup.php:341 79 | msgid "Installed / not configured" 80 | msgstr "Kurulmuş / yapılandırılmamış" 81 | 82 | #: hook.php:289 hook.php:299 83 | msgid "Not really specific - Just for example" 84 | msgstr "Özel bir şey değil - Yalnız örnek olarak" 85 | 86 | #: hook.php:319 87 | msgid "Not really specific - Use your own dropdown - Just for example" 88 | msgstr "Özel bir şey değil - Kendi açılan kutunuzu kullanın - Yalnız örnek olarak" 89 | 90 | #: src/Example.php:480 91 | msgid "Plugin Example" 92 | msgstr "Örnek eklenti" 93 | 94 | #: src/Example.php:485 95 | msgid "Plugin Example (static)" 96 | msgstr "Örnek eklenti (sabit)" 97 | 98 | #: hook.php:54 99 | msgid "Plugin Example Dropdown" 100 | msgstr "Örnek eklenti açılan kutu" 101 | 102 | #: src/Dropdown.php:45 src/Dropdown.php:47 103 | msgid "Plugin Example Dropdowns" 104 | msgstr "Örnek eklenti açılan kutular" 105 | 106 | #: src/Example.php:244 107 | msgid "Plugin Example on Phone" 108 | msgstr "Telefon için örnek eklenti" 109 | 110 | #: src/Example.php:248 111 | msgid "Plugin central action" 112 | msgstr "Eklenti temel işlemi" 113 | 114 | #. TRANS: %1$s is a class name, %2$d is an item ID 115 | #: src/Example.php:285 116 | #, php-format 117 | msgid "Plugin example CLASS=%1$s id=%2$d" 118 | msgstr "Örnek eklenti CLASS=%1$s id=%2$d" 119 | 120 | #: hook.php:674 hook.php:687 121 | msgid "Plugin example displays on central page" 122 | msgstr "Örnek eklenti merkez sayfada görüntülenir" 123 | 124 | #: hook.php:681 125 | msgid "Plugin example displays on login page" 126 | msgstr "Örnek eklenti oturum açma sayfasında görüntülenir" 127 | 128 | #: src/Example.php:271 129 | msgid "Plugin mailing action" 130 | msgstr "Eklenti postalama işlemi" 131 | 132 | #: hook.php:365 133 | msgid "Pre Delete Computer Hook" 134 | msgstr "Bilgisayar kancasını silme öncesi" 135 | 136 | #: hook.php:379 137 | msgid "Pre Purge Computer Hook" 138 | msgstr "Bilgisayar kancasını boşaltma öncesi" 139 | 140 | #: hook.php:393 141 | msgid "Pre Restore Computer Hook" 142 | msgstr "Bilgisayar kancasını geri yükleme öncesi" 143 | 144 | #: hook.php:400 145 | msgid "Pre Restore Phone Hook" 146 | msgstr "Telefon kancasını geri yükleme öncesi" 147 | 148 | #: hook.php:341 149 | msgid "Pre Update Computer Hook" 150 | msgstr "Bilgisayar kancasını güncelleme öncesi" 151 | 152 | #: hook.php:385 153 | msgid "Purge Computer Hook" 154 | msgstr "Bilgisayar kancasını boşalt" 155 | 156 | #: hook.php:406 157 | msgid "Restore Computer Hook" 158 | msgstr "Bilgisayar kancasını geri yükle" 159 | 160 | #: src/Example.php:424 src/Example.php:446 161 | msgid "Right it is the type I want..." 162 | msgstr "Doğru bu benim istediğim tür..." 163 | 164 | #: src/Example.php:279 165 | msgid "Second tab of Plugin example" 166 | msgstr "Örnek eklentinin ikinci sekmesi" 167 | 168 | #: src/Example.php:225 src/Example.php:232 169 | msgid "Test Plugin" 170 | msgstr "Deneme eklentisi" 171 | 172 | #: src/Example.php:226 173 | msgid "Test Plugin 2" 174 | msgstr "Deneme eklentisi 2" 175 | 176 | #: src/Example.php:66 177 | msgid "Test link" 178 | msgstr "Deneme bağlantısı" 179 | 180 | #: front/config.php:48 181 | msgid "This is the plugin config page" 182 | msgstr "Eklenti yapılandırması" 183 | 184 | #. TRANS: %1$s is the source type, %2$d is the source ID, %3$d is the 185 | #. destination ID 186 | #: hook.php:414 187 | #, php-format 188 | msgid "Transfer Computer Hook %1$s %2$d -> %3$d" 189 | msgstr "Bilgisayar kancasını aktar %1$s %2$d -> %3$d" 190 | 191 | #: hook.php:347 192 | #, php-format 193 | msgid "Update Computer Hook (%s)" 194 | msgstr "Bilgisayar kancasını güncelle (%s)" 195 | 196 | #: src/Example.php:401 src/Example.php:425 197 | msgid "Write in item history" 198 | msgstr "Öge geçmişine yaz" 199 | 200 | #: src/Example.php:405 201 | msgid "but do nothing :)" 202 | msgstr "Ama hiç bir şey yapma :)" 203 | 204 | #: hook.php:268 205 | msgid "plugin_example_DoIt" 206 | msgstr "eklenti_ornek_Yap" 207 | 208 | #: src/Example.php:314 209 | msgid "test planning example 1" 210 | msgstr "örnek deneme planı 1" 211 | -------------------------------------------------------------------------------- /locales/uk_UA.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/example/e283c254cda1bacf68b7361637c521cae2fe0287/locales/uk_UA.mo -------------------------------------------------------------------------------- /locales/uk_UA.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # 5 | # Translators: 6 | msgid "" 7 | msgstr "" 8 | "Project-Id-Version: GLPI Plugin - Example\n" 9 | "Report-Msgid-Bugs-To: \n" 10 | "POT-Creation-Date: 2016-06-02 14:54+0200\n" 11 | "PO-Revision-Date: 2016-06-02 12:54+0000\n" 12 | "Last-Translator: Alexandre DELAUNAY \n" 13 | "Language-Team: Ukrainian (Ukraine) (http://www.transifex.com/teclib/glpi-plugin-example/language/uk_UA/)\n" 14 | "MIME-Version: 1.0\n" 15 | "Content-Type: text/plain; charset=UTF-8\n" 16 | "Content-Transfer-Encoding: 8bit\n" 17 | "Language: uk_UA\n" 18 | "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" 19 | 20 | #: config.php:48 21 | msgid "This is the plugin config page" 22 | msgstr "" 23 | 24 | #: hook.php:61 25 | msgid "Plugin Example Dropdown" 26 | msgstr "" 27 | 28 | #: hook.php:76 29 | msgid "Example plugin" 30 | msgstr "" 31 | 32 | #: hook.php:260 33 | msgid "plugin_example_DoIt" 34 | msgstr "" 35 | 36 | #: hook.php:281 hook.php:292 37 | msgid "Not really specific - Just for example" 38 | msgstr "" 39 | 40 | #: hook.php:312 41 | msgid "Not really specific - Use your own dropdown - Just for example" 42 | msgstr "" 43 | 44 | #: hook.php:334 45 | msgid "Pre Update Computer Hook" 46 | msgstr "" 47 | 48 | #: hook.php:340 49 | #, php-format 50 | msgid "Update Computer Hook (%s)" 51 | msgstr "" 52 | 53 | #: hook.php:348 54 | msgid "Empty Computer Hook" 55 | msgstr "" 56 | 57 | #: hook.php:358 58 | msgid "Pre Delete Computer Hook" 59 | msgstr "" 60 | 61 | #: hook.php:364 62 | msgid "Delete Computer Hook" 63 | msgstr "" 64 | 65 | #: hook.php:372 66 | msgid "Pre Purge Computer Hook" 67 | msgstr "" 68 | 69 | #: hook.php:378 70 | msgid "Purge Computer Hook" 71 | msgstr "" 72 | 73 | #: hook.php:386 74 | msgid "Pre Restore Computer Hook" 75 | msgstr "" 76 | 77 | #: hook.php:393 78 | msgid "Pre Restore Phone Hook" 79 | msgstr "" 80 | 81 | #: hook.php:399 82 | msgid "Restore Computer Hook" 83 | msgstr "" 84 | 85 | #. TRANS: %1$s is the source type, %2$d is the source ID, %3$d is the 86 | #. destination ID 87 | #: hook.php:407 88 | #, php-format 89 | msgid "Transfer Computer Hook %1$s %2$d -> %3$d" 90 | msgstr "" 91 | 92 | #: hook.php:589 93 | msgid "Example event" 94 | msgstr "" 95 | 96 | #: hook.php:594 97 | msgid "Example datas" 98 | msgstr "" 99 | 100 | #: hook.php:651 101 | msgid "Plugin example displays on central page" 102 | msgstr "" 103 | 104 | #: hook.php:658 105 | msgid "Plugin example displays on login page" 106 | msgstr "" 107 | 108 | #: setup.php:210 109 | msgid "Installed / not configured" 110 | msgstr "" 111 | 112 | #: inc/dropdown.class.php:42 inc/dropdown.class.php:44 113 | msgid "Plugin Example Dropdowns" 114 | msgstr "" 115 | 116 | #: inc/example.class.php:80 117 | msgid "Test link" 118 | msgstr "" 119 | 120 | #: inc/example.class.php:124 121 | msgid "Cron description for example" 122 | msgstr "" 123 | 124 | #: inc/example.class.php:125 125 | msgid "Cron parameter for example" 126 | msgstr "" 127 | 128 | #: inc/example.class.php:182 inc/example.class.php:188 129 | #: inc/example.class.php:191 inc/notificationtargetexample.class.php:44 130 | msgid "Example" 131 | msgstr "" 132 | 133 | #: inc/example.class.php:195 inc/example.class.php:202 134 | msgid "Test Plugin" 135 | msgstr "" 136 | 137 | #: inc/example.class.php:196 138 | msgid "Test Plugin 2" 139 | msgstr "" 140 | 141 | #: inc/example.class.php:214 142 | msgid "Plugin Example on Phone" 143 | msgstr "" 144 | 145 | #: inc/example.class.php:218 146 | msgid "Plugin central action" 147 | msgstr "" 148 | 149 | #: inc/example.class.php:241 150 | msgid "Plugin mailing action" 151 | msgstr "" 152 | 153 | #: inc/example.class.php:247 154 | msgid "First tab of Plugin example" 155 | msgstr "" 156 | 157 | #: inc/example.class.php:249 158 | msgid "Second tab of Plugin example" 159 | msgstr "" 160 | 161 | #. TRANS: %1$s is a class name, %2$d is an item ID 162 | #: inc/example.class.php:255 163 | #, php-format 164 | msgid "Plugin example CLASS=%1$s id=%2$d" 165 | msgstr "" 166 | 167 | #: inc/example.class.php:284 168 | msgid "test planning example 1" 169 | msgstr "" 170 | 171 | #: inc/example.class.php:344 172 | msgid "History from plugin example" 173 | msgstr "" 174 | 175 | #: inc/example.class.php:367 176 | msgid "Do Nothing - just for fun" 177 | msgstr "" 178 | 179 | #: inc/example.class.php:384 inc/example.class.php:408 180 | msgid "Write in item history" 181 | msgstr "" 182 | 183 | #: inc/example.class.php:388 184 | msgid "but do nothing :)" 185 | msgstr "" 186 | 187 | #: inc/example.class.php:407 inc/example.class.php:429 188 | msgid "Right it is the type I want..." 189 | msgstr "" 190 | 191 | #: inc/example.class.php:430 192 | msgid "But... I say I will do nothing for:" 193 | msgstr "" 194 | 195 | #: inc/ruletest.class.php:77 196 | msgid "Category (class)" 197 | msgstr "" 198 | -------------------------------------------------------------------------------- /locales/zh_CN.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/example/e283c254cda1bacf68b7361637c521cae2fe0287/locales/zh_CN.mo -------------------------------------------------------------------------------- /locales/zh_CN.po: -------------------------------------------------------------------------------- 1 | # SOME DESCRIPTIVE TITLE. 2 | # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER 3 | # This file is distributed under the same license as the PACKAGE package. 4 | # 5 | # Translators: 6 | # liAnGjiA , 2018 7 | msgid "" 8 | msgstr "" 9 | "Project-Id-Version: GLPI Plugin - Example\n" 10 | "Report-Msgid-Bugs-To: \n" 11 | "POT-Creation-Date: 2019-11-08 14:54+0000\n" 12 | "PO-Revision-Date: 2018-08-21 14:34+0000\n" 13 | "Last-Translator: Cédric Anne\n" 14 | "Language-Team: Chinese (China) (http://www.transifex.com/teclib/glpi-plugin-example/language/zh_CN/)\n" 15 | "MIME-Version: 1.0\n" 16 | "Content-Type: text/plain; charset=UTF-8\n" 17 | "Content-Transfer-Encoding: 8bit\n" 18 | "Language: zh_CN\n" 19 | "Plural-Forms: nplurals=1; plural=0;\n" 20 | 21 | #: config.php:48 22 | msgid "This is the plugin config page" 23 | msgstr "此插件配置界面" 24 | 25 | #: inc/dropdown.class.php:42 inc/dropdown.class.php:44 26 | msgid "Plugin Example Dropdowns" 27 | msgstr "插件下拉列表示例" 28 | 29 | #: inc/example.class.php:82 30 | msgid "Test link" 31 | msgstr "测试关联" 32 | 33 | #: inc/example.class.php:170 34 | msgid "Cron description for example" 35 | msgstr "" 36 | 37 | #: inc/example.class.php:171 38 | msgid "Cron parameter for example" 39 | msgstr "" 40 | 41 | #: inc/example.class.php:228 inc/example.class.php:234 42 | #: inc/example.class.php:237 inc/notificationtargetexample.class.php:44 43 | msgid "Example" 44 | msgstr "示例" 45 | 46 | #: inc/example.class.php:241 inc/example.class.php:248 47 | msgid "Test Plugin" 48 | msgstr "测试插件" 49 | 50 | #: inc/example.class.php:242 51 | msgid "Test Plugin 2" 52 | msgstr "测试插件 2" 53 | 54 | #: inc/example.class.php:260 55 | msgid "Plugin Example on Phone" 56 | msgstr "" 57 | 58 | #: inc/example.class.php:264 59 | msgid "Plugin central action" 60 | msgstr "" 61 | 62 | #: inc/example.class.php:287 63 | msgid "Plugin mailing action" 64 | msgstr "" 65 | 66 | #: inc/example.class.php:293 67 | msgid "First tab of Plugin example" 68 | msgstr "" 69 | 70 | #: inc/example.class.php:295 71 | msgid "Second tab of Plugin example" 72 | msgstr "" 73 | 74 | #. TRANS: %1$s is a class name, %2$d is an item ID 75 | #: inc/example.class.php:301 76 | #, php-format 77 | msgid "Plugin example CLASS=%1$s id=%2$d" 78 | msgstr "" 79 | 80 | #: inc/example.class.php:330 81 | msgid "test planning example 1" 82 | msgstr "" 83 | 84 | #: inc/example.class.php:390 85 | msgid "History from plugin example" 86 | msgstr "" 87 | 88 | #: inc/example.class.php:411 89 | msgid "Do Nothing - just for fun" 90 | msgstr "" 91 | 92 | #: inc/example.class.php:428 inc/example.class.php:452 93 | msgid "Write in item history" 94 | msgstr "" 95 | 96 | #: inc/example.class.php:432 97 | msgid "but do nothing :)" 98 | msgstr "" 99 | 100 | #: inc/example.class.php:451 inc/example.class.php:473 101 | msgid "Right it is the type I want..." 102 | msgstr "" 103 | 104 | #: inc/example.class.php:474 105 | msgid "But... I say I will do nothing for:" 106 | msgstr "" 107 | 108 | #: inc/ruletest.class.php:77 109 | msgid "Category (class)" 110 | msgstr "" 111 | 112 | #: setup.php:272 113 | msgid "Installed / not configured" 114 | msgstr "已安装 / 不配置" 115 | 116 | #: hook.php:60 117 | msgid "Plugin Example Dropdown" 118 | msgstr "插件下拉列表示例" 119 | 120 | #: hook.php:75 121 | msgid "Example plugin" 122 | msgstr "示例插件" 123 | 124 | #: hook.php:89 125 | msgid "Example plugin new" 126 | msgstr "" 127 | 128 | #: hook.php:274 129 | msgid "plugin_example_DoIt" 130 | msgstr "plugin_example_DoIt" 131 | 132 | #: hook.php:295 hook.php:306 133 | msgid "Not really specific - Just for example" 134 | msgstr "" 135 | 136 | #: hook.php:326 137 | msgid "Not really specific - Use your own dropdown - Just for example" 138 | msgstr "" 139 | 140 | #: hook.php:348 141 | msgid "Pre Update Computer Hook" 142 | msgstr "" 143 | 144 | #: hook.php:354 145 | #, php-format 146 | msgid "Update Computer Hook (%s)" 147 | msgstr "" 148 | 149 | #: hook.php:362 150 | msgid "Empty Computer Hook" 151 | msgstr "" 152 | 153 | #: hook.php:372 154 | msgid "Pre Delete Computer Hook" 155 | msgstr "" 156 | 157 | #: hook.php:378 158 | msgid "Delete Computer Hook" 159 | msgstr "" 160 | 161 | #: hook.php:386 162 | msgid "Pre Purge Computer Hook" 163 | msgstr "" 164 | 165 | #: hook.php:392 166 | msgid "Purge Computer Hook" 167 | msgstr "" 168 | 169 | #: hook.php:400 170 | msgid "Pre Restore Computer Hook" 171 | msgstr "" 172 | 173 | #: hook.php:407 174 | msgid "Pre Restore Phone Hook" 175 | msgstr "" 176 | 177 | #: hook.php:413 178 | msgid "Restore Computer Hook" 179 | msgstr "" 180 | 181 | #. TRANS: %1$s is the source type, %2$d is the source ID, %3$d is the 182 | #. destination ID 183 | #: hook.php:421 184 | #, php-format 185 | msgid "Transfer Computer Hook %1$s %2$d -> %3$d" 186 | msgstr "" 187 | 188 | #: hook.php:611 189 | msgid "Example event" 190 | msgstr "示例事件" 191 | 192 | #: hook.php:616 193 | msgid "Example datas" 194 | msgstr "示例数据" 195 | 196 | #: hook.php:673 hook.php:686 197 | msgid "Plugin example displays on central page" 198 | msgstr "在后台管理面板显示示例插件" 199 | 200 | #: hook.php:680 201 | msgid "Plugin example displays on login page" 202 | msgstr "在登陆界面显示示例插件" 203 | -------------------------------------------------------------------------------- /misc/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/example/e283c254cda1bacf68b7361637c521cae2fe0287/misc/logo.png -------------------------------------------------------------------------------- /misc/screenshots/first.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/example/e283c254cda1bacf68b7361637c521cae2fe0287/misc/screenshots/first.png -------------------------------------------------------------------------------- /misc/screenshots/fourth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/example/e283c254cda1bacf68b7361637c521cae2fe0287/misc/screenshots/fourth.png -------------------------------------------------------------------------------- /misc/screenshots/second.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/example/e283c254cda1bacf68b7361637c521cae2fe0287/misc/screenshots/second.png -------------------------------------------------------------------------------- /misc/screenshots/third.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pluginsGLPI/example/e283c254cda1bacf68b7361637c521cae2fe0287/misc/screenshots/third.png -------------------------------------------------------------------------------- /mymodule_anonymous.js: -------------------------------------------------------------------------------- 1 | 2 | /** 3 | * ------------------------------------------------------------------------- 4 | * Example plugin for GLPI 5 | * ------------------------------------------------------------------------- 6 | * 7 | * LICENSE 8 | * 9 | * This file is part of Example. 10 | * 11 | * Example is free software; you can redistribute it and/or modify 12 | * it under the terms of the GNU General Public License as published by 13 | * the Free Software Foundation; either version 2 of the License, or 14 | * (at your option) any later version. 15 | * 16 | * Example is distributed in the hope that it will be useful, 17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 | * GNU General Public License for more details. 20 | * 21 | * You should have received a copy of the GNU General Public License 22 | * along with Example. If not, see . 23 | * ------------------------------------------------------------------------- 24 | * @copyright Copyright (C) 2006-2022 by Example plugin team. 25 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 26 | * @link https://github.com/pluginsGLPI/example 27 | * ------------------------------------------------------------------------- 28 | */ 29 | 30 | /* empty JS module file */ 31 | export {}; -------------------------------------------------------------------------------- /public/computer_icon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /report.php: -------------------------------------------------------------------------------- 1 | . 24 | * ------------------------------------------------------------------------- 25 | * @copyright Copyright (C) 2006-2022 by Example plugin team. 26 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 27 | * @link https://github.com/pluginsGLPI/example 28 | * ------------------------------------------------------------------------- 29 | */ 30 | 31 | // ---------------------------------------------------------------------- 32 | // Original Author of file: 33 | // Purpose of file: 34 | // ---------------------------------------------------------------------- 35 | 36 | // Non menu entry case 37 | //header("Location:../../central.php"); 38 | 39 | // Entry menu case 40 | define('GLPI_ROOT', '../..'); 41 | include (GLPI_ROOT . "/inc/includes.php"); 42 | 43 | Session::checkRight(Config::$rightname, UPDATE); 44 | 45 | Html::header("TITRE", $_SERVER['PHP_SELF'], "plugins"); 46 | 47 | echo "This is the plugin report page"; 48 | 49 | Html::footer(); 50 | -------------------------------------------------------------------------------- /src/Child.php: -------------------------------------------------------------------------------- 1 | . 24 | * ------------------------------------------------------------------------- 25 | * @copyright Copyright (C) 2006-2022 by Example plugin team. 26 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 27 | * @link https://github.com/pluginsGLPI/example 28 | * ------------------------------------------------------------------------- 29 | */ 30 | 31 | // ---------------------------------------------------------------------- 32 | // Original Author of file: 33 | // Purpose of file: 34 | // ---------------------------------------------------------------------- 35 | 36 | namespace GlpiPlugin\Example; 37 | use CommonDBChild; 38 | use Session; 39 | 40 | // Sample of class that inherit from CommonDBChild. The behaviour of CommonRelation is similar. 41 | // The main evolution introduced by 0.84 version of GLPI is a stronger control and log of 42 | // interactions. We suggest you to refer to the header of CommonDBConnexity class to see these 43 | // enhancements. 44 | // For CommonDBRelation, the variable are quiet equivalent, but they use _1 and _2 for each side 45 | // parent 46 | class Child extends CommonDBChild { 47 | 48 | // A child rely on an item. If $itemtype=='itemtype', then that is a variable item. 49 | static public $itemtype = 'itemtype'; 50 | static public $items_id = 'items_id'; 51 | 52 | 53 | // With 0.84, you have to specify each right (create, view, update and delete), because 54 | // CommonDBChild(s) and CommonDBRelation(s) mainly depend on the rights on the parent item 55 | // All these methods rely on parent:can*. Two attributs are usefull : 56 | // * $checkParentRights: define what to check regarding the parent : 57 | // - CommonDBConnexity::DONT_CHECK_ITEM_RIGHTS don't eaven relly on parents rights 58 | // - CommonDBConnexity::HAVE_VIEW_RIGHT_ON_ITEM view right on the item is enough 59 | // - CommonDBConnexity::HAVE_SAME_RIGHT_ON_ITEM we must have at least update right 60 | // on the item 61 | // * $mustBeAttached: some CommonDBChild can be free, without any parent. 62 | static function canCreate() { 63 | 64 | return (Session::haveRight('internet', UPDATE) 65 | && parent::canCreate()); 66 | } 67 | 68 | 69 | static function canView() { 70 | 71 | return (Session::haveRight('internet', READ) 72 | && parent::canView()); 73 | } 74 | 75 | 76 | static function canUpdate() { 77 | 78 | return (Session::haveRight('internet', UPDATE) 79 | && parent::canUpdate()); 80 | } 81 | 82 | 83 | static function canDelete() { 84 | 85 | return (Session::haveRight('internet', DELETE) 86 | && parent::canDelete()); 87 | } 88 | 89 | 90 | // By default, post_addItem, post_updateItem and post_deleteFromDB are defined. 91 | // They define the history to add to the parents 92 | // This method define the name to set inside the history of the parent. 93 | // All these methods use $log_history_add, $log_history_update and $log_history_delete to 94 | // define the level of log (Log::HISTORY_ADD_DEVICE, Log::HISTORY_UPDATE_DEVICE ...) 95 | function getHistoryName_for_item($case) { 96 | } 97 | 98 | // CommonDBChild also check if we can add or updatethe item regarding the new item 99 | // ($input[static::$itemtype] and $input[static::$items_id]). 100 | // But don't forget to call parent::prepareInputForAdd() 101 | function prepareInputForAdd($input) { 102 | // My preparation on $input 103 | return parent::prepareInputForAdd($input); 104 | } 105 | 106 | } 107 | -------------------------------------------------------------------------------- /src/Computer.php: -------------------------------------------------------------------------------- 1 | . 24 | * ------------------------------------------------------------------------- 25 | * @copyright Copyright (C) 2006-2022 by Example plugin team. 26 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 27 | * @link https://github.com/pluginsGLPI/example 28 | * ------------------------------------------------------------------------- 29 | */ 30 | 31 | // ---------------------------------------------------------------------- 32 | // Original Author of file: 33 | // Purpose of file: 34 | // ---------------------------------------------------------------------- 35 | 36 | namespace GlpiPlugin\Example; 37 | use CommonDBTM; 38 | 39 | // Class of the defined type 40 | 41 | if (!defined('GLPI_ROOT')) { 42 | die("Sorry. You can't access directly to this file"); 43 | } 44 | 45 | class Computer extends CommonDBTM { 46 | 47 | static function showInfo() { 48 | 49 | echo ''; 50 | echo ''; 51 | echo ''; 52 | echo ''; 53 | echo ''; 54 | echo ''; 57 | echo ''; 58 | echo '
'.__('More information').'
'; 55 | echo __('Test successful'); 56 | echo '
'; 59 | } 60 | 61 | 62 | static function item_can($item) { 63 | 64 | if (($item->getType() == 'Computer') 65 | && ($item->right == READ) 66 | && ($item->fields['groups_id'] > 0) 67 | && !in_array($item->fields['groups_id'], $_SESSION["glpigroups"])) { 68 | $item->right = 0; // unknown, so denied. 69 | } 70 | } 71 | 72 | 73 | static function add_default_where($in) { 74 | 75 | list($itemtype, $condition) = $in; 76 | if ($itemtype == 'Computer') { 77 | $table = getTableForItemType($itemtype); 78 | $condition .= " (".$table.".groups_id NOT IN (".implode(',', $_SESSION["glpigroups"])."))"; 79 | } 80 | return [$itemtype, $condition]; 81 | } 82 | 83 | } 84 | -------------------------------------------------------------------------------- /src/Config.php: -------------------------------------------------------------------------------- 1 | . 24 | * ------------------------------------------------------------------------- 25 | * @copyright Copyright (C) 2006-2022 by Example plugin team. 26 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 27 | * @link https://github.com/pluginsGLPI/example 28 | * ------------------------------------------------------------------------- 29 | */ 30 | 31 | namespace GlpiPlugin\Example; 32 | use CommonDBTM; 33 | use CommonGLPI; 34 | use Config as GlpiConfig; 35 | use Dropdown; 36 | use Html; 37 | use Session; 38 | use Toolbox; 39 | 40 | class Config extends CommonDBTM { 41 | 42 | static protected $notable = true; 43 | 44 | function getTabNameForItem(CommonGLPI $item, $withtemplate = 0) { 45 | 46 | if (!$withtemplate) { 47 | if ($item->getType() == 'Config') { 48 | return __('Example plugin'); 49 | } 50 | } 51 | return ''; 52 | } 53 | 54 | static function configUpdate($input) { 55 | $input['configuration'] = 1 - $input['configuration']; 56 | return $input; 57 | } 58 | 59 | function showFormExample() { 60 | global $CFG_GLPI; 61 | 62 | if (!Session::haveRight("config", UPDATE)) { 63 | return false; 64 | } 65 | 66 | $my_config = GlpiConfig::getConfigurationValues('plugin:Example'); 67 | 68 | echo "
"; 69 | echo "
"; 70 | echo ""; 71 | echo ""; 72 | echo ""; 73 | echo ""; 78 | 79 | echo ""; 80 | echo ""; 83 | 84 | echo "
" . __('Example setup') . "
" . __('My boolean choice :') . ""; 74 | echo ""; 75 | echo ""; 76 | Dropdown::showYesNo("configuration", $my_config['configuration']); 77 | echo "
"; 81 | echo ""; 82 | echo "
"; 85 | Html::closeForm(); 86 | } 87 | 88 | static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0) { 89 | 90 | if ($item->getType() == 'Config') { 91 | $config = new self(); 92 | $config->showFormExample(); 93 | } 94 | } 95 | 96 | } 97 | -------------------------------------------------------------------------------- /src/DeviceCamera.php: -------------------------------------------------------------------------------- 1 | . 24 | * ------------------------------------------------------------------------- 25 | * @copyright Copyright (C) 2006-2022 by Example plugin team. 26 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 27 | * @link https://github.com/pluginsGLPI/example 28 | * ------------------------------------------------------------------------- 29 | */ 30 | 31 | // ---------------------------------------------------------------------- 32 | // Original Author of file: 33 | // Purpose of file: 34 | // ---------------------------------------------------------------------- 35 | 36 | namespace GlpiPlugin\Example; 37 | use CommonDevice; 38 | 39 | // Class of the defined type 40 | 41 | if (!defined('GLPI_ROOT')) { 42 | die("Sorry. You can't access directly to this file"); 43 | } 44 | 45 | /// Class DeviceCamera 46 | class DeviceCamera extends CommonDevice { 47 | 48 | static function getTypeName($nb = 0) { 49 | return _n('Camera', 'Cameras', $nb); 50 | } 51 | 52 | } 53 | -------------------------------------------------------------------------------- /src/Document.php: -------------------------------------------------------------------------------- 1 | . 27 | -------------------------------------------------------------------------- 28 | */ 29 | 30 | /** 31 | * Show how to dowload a file (or any stream) from the REST API 32 | * as well as metatadata stored in DB 33 | * 34 | * This itemtype is designed to be the same as Document in GLPI Core 35 | * to focus on the file dowload and upload features 36 | * 37 | * Example to download a file with cURL 38 | * 39 | * $ curl -X GET \ 40 | * -H 'Content-Type: application/json' \ 41 | * -H 'Session-Token: s6f3jik227ttrsat7d8ap9laal' \ 42 | * -H 'Accept: application/octet-stream' \ 43 | * 'http://path/to/glpi/apirest.php/PluginExampleDocument/1' \ 44 | * --output /tmp/test_download 45 | * 46 | * Example to upload a file with cURL 47 | * 48 | * $ curl -X POST \ 49 | * -H 'Content-Type: multipart/form-data' \ 50 | * -H "Session-Token: s6f3jik227ttrsat7d8ap9laal" \ 51 | * -F 'uploadManifest={"input": {"name": "Uploaded document", "_filename" : ["file.txt"]}}' \ 52 | * -F 'file[]=@/tmp/test.txt' \ 53 | * 'http://path/to/glpi/apirest.php/PluginExampleDocument/' 54 | * 55 | */ 56 | 57 | namespace GlpiPlugin\Example; 58 | use Document as GlpiDocument; 59 | 60 | if (!defined('GLPI_ROOT')) { 61 | die("Sorry. You can't access this file directly"); 62 | } 63 | 64 | class Document extends GlpiDocument { 65 | 66 | /** 67 | * Return the table used to store this object. Overloads the implementation in CommonDBTM 68 | * 69 | * @param string $classname Force class (to avoid late_binding on inheritance) 70 | * 71 | * @return string 72 | **/ 73 | public static function getTable($classname = null) { 74 | if ($classname === null) { 75 | $classname = get_called_class(); 76 | } 77 | if ($classname == get_called_class()) { 78 | return parent::getTable(Document::class); 79 | } 80 | 81 | return parent::getTable($classname); 82 | } 83 | 84 | /** 85 | * Prepare creation of an item 86 | * 87 | * @param array $input 88 | * @return array|false 89 | */ 90 | public function prepareInputForAdd($input) { 91 | $input['_only_if_upload_succeed'] = true; 92 | if (!isset($_FILES['file'])) { 93 | return false; 94 | } 95 | 96 | // Move the uploaded file to GLPi's tmp dir 97 | while (count($_FILES['file']['name']) > 0) { 98 | $source = array_pop($_FILES['file']['name']); 99 | $destination = GLPI_TMP_DIR . '/' . $source; 100 | move_uploaded_file($source, $destination); 101 | $input['_filename'][] = $source; 102 | } 103 | 104 | return parent::prepareInputForAdd($input); 105 | } 106 | 107 | /** 108 | * Prepare update of an item 109 | * 110 | * @param array $input 111 | * @return array|false 112 | */ 113 | public function prepareInputForUpdate($input) { 114 | // Do not allow update of document 115 | return false; 116 | } 117 | 118 | /** 119 | * Process required after loading an object from DB 120 | * In this example, a file is sent as a byte strem then stops execution. 121 | * 122 | * @return void 123 | */ 124 | public function post_getFromDB() { 125 | // Check the user can view this itemtype and can view this item 126 | if ($this->canView() && $this->canViewItem()) { 127 | if (isset($_SERVER['HTTP_ACCEPT']) && $_SERVER['HTTP_ACCEPT'] == 'application/octet-stream' 128 | || isset($_GET['alt']) && $_GET['alt'] == 'media') { 129 | $this->sendFile(); // and terminate script 130 | } 131 | } 132 | } 133 | 134 | /** 135 | * Send a byte stream to the HTTP client and stops execution 136 | * 137 | * @return void 138 | */ 139 | protected function sendFile() { 140 | $streamSource = GLPI_DOC_DIR . '/' . $this->fields['filepath']; 141 | 142 | // Ensure the file exists 143 | if (!file_exists($streamSource) || !is_file($streamSource)) { 144 | header("HTTP/1.0 404 Not Found"); 145 | exit(0); 146 | } 147 | 148 | // Download range defaults to the full file 149 | // get file metadata 150 | $size = filesize($streamSource); 151 | $begin = 0; 152 | $end = $size - 1; 153 | $mimeType = 'application/octet-stream'; 154 | $time = date('r', filemtime($streamSource)); 155 | 156 | // Open the file 157 | $fileHandle = @fopen($streamSource, 'rb'); 158 | if (!$fileHandle) { 159 | header ("HTTP/1.0 500 Internal Server Error"); 160 | exit(0); 161 | } 162 | 163 | // set range if specified by the client 164 | if (isset($_SERVER['HTTP_RANGE'])) { 165 | if (preg_match('/bytes=\h*(\d+)?-(\d*)[\D.*]?/i', $_SERVER['HTTP_RANGE'], $matches)) { 166 | if (!empty($matches[1])) { 167 | $begin = intval($matches[1]); 168 | } 169 | if (!empty($matches[2])) { 170 | $end = min(intval($matches[2]), $end); 171 | } 172 | } 173 | } 174 | 175 | // seek to the begining of the range 176 | $currentPosition = $begin; 177 | if (fseek($fileHandle, $begin, SEEK_SET) < 0) { 178 | header("HTTP/1.0 500 Internal Server Error"); 179 | exit(0); 180 | } 181 | 182 | // send headers to ensure the client is able to detect a corrupted download 183 | // example : less bytes than the expected range 184 | // send meta data 185 | // setup client's cache behavior 186 | header("Expires: Mon, 26 Nov 1962 00:00:00 GMT"); 187 | header('Pragma: private'); /// IE BUG + SSL 188 | header('Cache-control: private, must-revalidate'); /// IE BUG + SSL 189 | header("Content-disposition: attachment; filename=\"" . $this->fields['filename'] . "\""); 190 | header("Content-type: $mimeType"); 191 | header("Last-Modified: $time"); 192 | header('Accept-Ranges: bytes'); 193 | header('Content-Length:' . ($end - $begin + 1)); 194 | header("Content-Range: bytes $begin-$end/$size"); 195 | header("Content-Transfer-Encoding: binary\n"); 196 | header('Connection: close'); 197 | 198 | // Prepare HTTP response 199 | if ($begin > 0 || $end < $size - 1) { 200 | header('HTTP/1.0 206 Partial Content'); 201 | } else { 202 | header('HTTP/1.0 200 OK'); 203 | } 204 | 205 | // Sends bytes until the end of the range or connection closed 206 | while (!feof($fileHandle) && $currentPosition < $end && (connection_status() == 0)) { 207 | // allow a few seconds to send a few KB. 208 | set_time_limit(10); 209 | $content = fread($fileHandle, min(1024 * 16, $end - $currentPosition + 1)); 210 | if ($content === false) { 211 | header("HTTP/1.0 500 Internal Server Error", true); // Replace previously sent headers 212 | exit(0); 213 | } else { 214 | print $content; 215 | } 216 | flush(); 217 | $currentPosition += 1024 * 16; 218 | } 219 | 220 | // End now to prevent any unwanted bytes 221 | exit(0); 222 | } 223 | 224 | } 225 | -------------------------------------------------------------------------------- /src/Dropdown.php: -------------------------------------------------------------------------------- 1 | . 24 | * ------------------------------------------------------------------------- 25 | * @copyright Copyright (C) 2006-2022 by Example plugin team. 26 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 27 | * @link https://github.com/pluginsGLPI/example 28 | * ------------------------------------------------------------------------- 29 | */ 30 | 31 | // ---------------------------------------------------------------------- 32 | // Original Author of file: 33 | // Purpose of file: 34 | // ---------------------------------------------------------------------- 35 | namespace GlpiPlugin\Example; 36 | use CommonDropdown; 37 | 38 | // Class for a Dropdown 39 | class Dropdown extends CommonDropdown { 40 | 41 | 42 | static function getTypeName($nb = 0) { 43 | 44 | if ($nb > 0) { 45 | return __('Plugin Example Dropdowns', 'example'); 46 | } 47 | return __('Plugin Example Dropdowns', 'example'); 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /src/Filters/ComputerModelFilter.php: -------------------------------------------------------------------------------- 1 | . 24 | * ------------------------------------------------------------------------- 25 | * @copyright Copyright (C) 2006-2022 by Example plugin team. 26 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 27 | * @link https://github.com/pluginsGLPI/example 28 | * ------------------------------------------------------------------------- 29 | */ 30 | 31 | namespace GlpiPlugin\Example\Filters; 32 | 33 | use ComputerModel; 34 | use DBmysql; 35 | use Glpi\Dashboard\Filters\AbstractFilter; 36 | 37 | class ComputerModelFilter extends AbstractFilter 38 | { 39 | public static function getName(): string 40 | { 41 | return __("Computer model"); 42 | } 43 | 44 | public static function getId(): string 45 | { 46 | return "plugin_example_computer_model"; 47 | } 48 | 49 | public static function canBeApplied(string $table): bool 50 | { 51 | global $DB; 52 | 53 | return $DB->fieldExists($table, ComputerModel::getForeignKeyField()); 54 | } 55 | 56 | public static function getHtml($value): string 57 | { 58 | return self::displayList( 59 | self::getName(), 60 | is_string($value) ? $value : "", 61 | self::getId(), 62 | ComputerModel::class 63 | ); 64 | } 65 | 66 | public static function getCriteria(string $table, $value): array 67 | { 68 | if ((int) $value > 0) { 69 | $field = ComputerModel::getForeignKeyField(); 70 | return [ 71 | "WHERE" => [ 72 | "$table.$field" => (int) $value 73 | ] 74 | ]; 75 | } 76 | 77 | return []; 78 | } 79 | 80 | public static function getSearchCriteria(string $table, $value): array 81 | { 82 | if ((int) $value > 0) { 83 | return [ 84 | [ 85 | 'link' => 'AND', 86 | 'searchtype' => 'equals', 87 | 'value' => (int) $value, 88 | 'field' => self::getSearchOptionID( 89 | $table, 90 | ComputerModel::getForeignKeyField(), 91 | ComputerModel::getTable() 92 | ), 93 | ] 94 | ]; 95 | } 96 | 97 | return []; 98 | } 99 | } 100 | -------------------------------------------------------------------------------- /src/ItemForm.php: -------------------------------------------------------------------------------- 1 | . 24 | * ------------------------------------------------------------------------- 25 | * @copyright Copyright (C) 2006-2022 by Example plugin team. 26 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 27 | * @link https://github.com/pluginsGLPI/example 28 | * ------------------------------------------------------------------------- 29 | */ 30 | 31 | namespace GlpiPlugin\Example; 32 | 33 | use Glpi\Application\View\TemplateRenderer; 34 | use Html; 35 | use Ticket; 36 | 37 | /** 38 | * Summary of GlpiPlugin\Example\ItemForm 39 | * Example of *_item_form implementation 40 | * @see http://glpi-developer-documentation.rtfd.io/en/master/plugins/hooks.html#items-display-related 41 | * */ 42 | class ItemForm { 43 | 44 | 45 | /** 46 | * Display contents at the begining of ITILObject section (right panel). 47 | * 48 | * @param array $params Array with "item" and "options" keys 49 | * 50 | * @return void 51 | */ 52 | static public function preSection($params) { 53 | $item = $params['item']; 54 | $options = $params['options']; 55 | 56 | echo TemplateRenderer::getInstance()->renderFromStringTemplate(<< 58 |

59 | 65 |

66 |
67 |
68 | Example pre section 69 |
70 |
71 | 72 | TWIG, []); 73 | 74 | } 75 | 76 | /** 77 | * Display contents at the end of ITILObject section (right panel). 78 | * 79 | * @param array $params Array with "item" and "options" keys 80 | * 81 | * @return void 82 | */ 83 | static public function postSection($params) { 84 | $item = $params['item']; 85 | $options = $params['options']; 86 | 87 | echo TemplateRenderer::getInstance()->renderFromStringTemplate(<< 89 |

90 | 96 |

97 |
98 |
99 | Example post section 100 |
101 |
102 | 103 | TWIG, []); 104 | } 105 | 106 | 107 | 108 | 109 | 110 | /** 111 | * Display contents at the begining of item forms. 112 | * 113 | * @param array $params Array with "item" and "options" keys 114 | * 115 | * @return void 116 | */ 117 | static public function preItemForm($params) { 118 | $item = $params['item']; 119 | $options = $params['options']; 120 | 121 | $firstelt = ($item::getType() == Ticket::class ? 'th' : 'td'); 122 | 123 | $out = ''; 124 | $out .= sprintf( 125 | __('Start %1$s hook call for %2$s type'), 126 | 'pre_item_form', 127 | $item::getType() 128 | ); 129 | $out .= ''; 130 | 131 | $out .= "<$firstelt>"; 132 | $out .= ''; 133 | $out .= ""; 134 | $out .= ''; 135 | $out .= "<$firstelt>"; 136 | $out .= ''; 137 | $out .= ""; 138 | $out .= ''; 139 | $out .= ''; 140 | 141 | $out .= ''; 142 | $out .= sprintf( 143 | __('End %1$s hook call for %2$s type'), 144 | 'pre_item_form', 145 | $item::getType() 146 | ); 147 | $out .= ''; 148 | 149 | echo $out; 150 | } 151 | 152 | /** 153 | * Display contents at the begining of item forms. 154 | * 155 | * @param array $params Array with "item" and "options" keys 156 | * 157 | * @return void 158 | */ 159 | static public function postItemForm($params) { 160 | $item = $params['item']; 161 | $options = $params['options']; 162 | 163 | $firstelt = ($item::getType() == Ticket::class ? 'th' : 'td'); 164 | 165 | $out = ''; 166 | $out .= sprintf( 167 | __('Start %1$s hook call for %2$s type'), 168 | 'post_item_form', 169 | $item::getType() 170 | ); 171 | $out .= ''; 172 | 173 | $out .= "<$firstelt>"; 174 | $out .= ''; 175 | $out .= ""; 176 | $out .= ''; 177 | $out .= "<$firstelt>"; 178 | $out .= ''; 179 | $out .= ""; 180 | $out .= ''; 181 | $out .= ''; 182 | 183 | $out .= ''; 184 | $out .= sprintf( 185 | __('End %1$s hook call for %2$s type'), 186 | 'post_item_form', 187 | $item::getType() 188 | ); 189 | $out .= ''; 190 | 191 | echo $out; 192 | } 193 | 194 | static public function timelineActions($params = []) { 195 | $rand = $params['rand']; 196 | $ticket = $params['item']; 197 | 198 | if (get_class($ticket) !== "Ticket") { 199 | return false; 200 | } 201 | 202 | $edit_panel = "viewitem".$ticket->fields['id'].$rand; 203 | $JS = << 212 | ". 213 | __("Send a notification"). 214 | Html::scriptBlock($JS)." 215 | "; 216 | } 217 | } 218 | -------------------------------------------------------------------------------- /src/Item_DeviceCamera.php: -------------------------------------------------------------------------------- 1 | . 24 | * ------------------------------------------------------------------------- 25 | * @copyright Copyright (C) 2006-2022 by Example plugin team. 26 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 27 | * @link https://github.com/pluginsGLPI/example 28 | * ------------------------------------------------------------------------- 29 | */ 30 | 31 | // ---------------------------------------------------------------------- 32 | // Original Author of file: 33 | // Purpose of file: 34 | // ---------------------------------------------------------------------- 35 | 36 | // Class of the defined type 37 | 38 | namespace GlpiPlugin\Example; 39 | use GlpiPlugin\Example\DeviceCamera; 40 | use Item_Devices; 41 | 42 | if (!defined('GLPI_ROOT')) { 43 | die("Sorry. You can't access directly to this file"); 44 | } 45 | 46 | /** 47 | * Relation between item and devices 48 | **/ 49 | class Item_DeviceCamera extends Item_Devices { 50 | 51 | static public $itemtype_2 = DeviceCamera::class; 52 | static public $items_id_2 = 'plugin_example_devicecameras_id'; 53 | 54 | static protected $notable = false; 55 | 56 | } 57 | -------------------------------------------------------------------------------- /src/NotificationTargetExample.php: -------------------------------------------------------------------------------- 1 | . 24 | * ------------------------------------------------------------------------- 25 | * @copyright Copyright (C) 2006-2022 by Example plugin team. 26 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 27 | * @link https://github.com/pluginsGLPI/example 28 | * ------------------------------------------------------------------------- 29 | */ 30 | 31 | namespace GlpiPlugin\Example; 32 | use NotificationTarget; 33 | 34 | if (!defined('GLPI_ROOT')) { 35 | die("Sorry. You can't access directly to this file"); 36 | } 37 | 38 | // Class NotificationTarget 39 | class NotificationTargetExample extends NotificationTarget { 40 | 41 | function getEvents() { 42 | return ['alert' => 'alert example']; 43 | } 44 | 45 | function addDataForTemplate($event, $options = []) { 46 | global $DB, $CFG_GLPI; 47 | 48 | $this->data['##example.name##'] = __('Example', 'example'); 49 | } 50 | } 51 | -------------------------------------------------------------------------------- /src/Profile.php: -------------------------------------------------------------------------------- 1 | . 24 | * ------------------------------------------------------------------------- 25 | * @copyright Copyright (C) 2006-2022 by Example plugin team. 26 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 27 | * @link https://github.com/pluginsGLPI/example 28 | * ------------------------------------------------------------------------- 29 | */ 30 | 31 | namespace GlpiPlugin\Example; 32 | 33 | use CommonGLPI; 34 | use Html; 35 | use Session; 36 | 37 | final class Profile extends \Profile 38 | { 39 | public function getTabNameForItem(CommonGLPI $item, $withtemplate = 0) 40 | { 41 | return __('Example plugin'); 42 | } 43 | 44 | public static function displayTabContentForItem(CommonGLPI $item, $tabnum = 1, $withtemplate = 0) 45 | { 46 | $profile = new self(); 47 | $profile->showFormExample($item->getID()); 48 | } 49 | 50 | public function showFormExample(int $profiles_id): void 51 | { 52 | if (!$this->can($profiles_id, READ)) { 53 | return; 54 | } 55 | 56 | echo "
"; 57 | 58 | $can_edit = Session::haveRight(self::$rightname, UPDATE); 59 | if ($can_edit) { 60 | echo ""; 61 | } 62 | 63 | $matrix_options = [ 64 | 'canedit' => $can_edit, 65 | ]; 66 | $rights = [ 67 | [ 68 | 'itemtype' => Example::class, 69 | 'label' => Example::getTypeName(Session::getPluralNumber()), 70 | 'field' => Example::$rightname 71 | ] 72 | ]; 73 | $matrix_options['title'] = self::getTypeName(1); 74 | $this->displayRightsChoiceMatrix($rights, $matrix_options); 75 | 76 | if ($can_edit) { 77 | echo "
"; 78 | echo Html::hidden('id', ['value' => $profiles_id]); 79 | echo Html::submit(_sx('button', 'Save'), ['name' => 'update']); 80 | echo "
\n"; 81 | Html::closeForm(); 82 | } 83 | echo '
'; 84 | } 85 | } 86 | -------------------------------------------------------------------------------- /src/RuleTest.php: -------------------------------------------------------------------------------- 1 | . 24 | * ------------------------------------------------------------------------- 25 | * @copyright Copyright (C) 2006-2022 by Example plugin team. 26 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 27 | * @link https://github.com/pluginsGLPI/example 28 | * ------------------------------------------------------------------------- 29 | */ 30 | 31 | // ---------------------------------------------------------------------- 32 | // Original Author of file: Walid Nouh 33 | // Purpose of file: 34 | // ---------------------------------------------------------------------- 35 | 36 | namespace GlpiPlugin\Example; 37 | use Rule; 38 | 39 | if (!defined('GLPI_ROOT')) { 40 | die("Sorry. You can't access directly to this file"); 41 | } 42 | 43 | 44 | /** 45 | * Rule class store all informations about a GLPI rule : 46 | * - description 47 | * - criterias 48 | * - actions 49 | * 50 | **/ 51 | class RuleTest extends Rule { 52 | 53 | // From Rule 54 | public static $rightname = 'rule_import'; 55 | public $can_sort = true; 56 | 57 | 58 | function getTitle() { 59 | return 'test'; 60 | } 61 | 62 | 63 | function maxActionsCount() { 64 | return 1; 65 | } 66 | 67 | 68 | function getCriterias() { 69 | 70 | $criterias = []; 71 | $criterias['name']['field'] = 'name'; 72 | $criterias['name']['name'] = __('Software'); 73 | $criterias['name']['table'] = 'glpi_softwares'; 74 | 75 | return $criterias; 76 | } 77 | 78 | 79 | function getActions() { 80 | 81 | $actions = []; 82 | $actions['softwarecategories_id']['name'] = __('Category (class)', 'example'); 83 | $actions['softwarecategories_id']['type'] = 'dropdown'; 84 | $actions['softwarecategories_id']['table'] = 'glpi_softwarecategories'; 85 | return $actions; 86 | } 87 | } 88 | -------------------------------------------------------------------------------- /src/RuleTestCollection.php: -------------------------------------------------------------------------------- 1 | . 24 | * ------------------------------------------------------------------------- 25 | * @copyright Copyright (C) 2006-2022 by Example plugin team. 26 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 27 | * @link https://github.com/pluginsGLPI/example 28 | * ------------------------------------------------------------------------- 29 | */ 30 | 31 | // ---------------------------------------------------------------------- 32 | // Original Author of file: Walid Nouh 33 | // Purpose of file: 34 | // ---------------------------------------------------------------------- 35 | 36 | namespace GlpiPlugin\Example; 37 | use RuleCollection; 38 | 39 | if (!defined('GLPI_ROOT')) { 40 | die("Sorry. You can't access directly to this file"); 41 | } 42 | 43 | 44 | class RuleTestCollection extends RuleCollection { 45 | 46 | // From RuleCollection 47 | public $stop_on_first_match = true; 48 | public static $rightname = 'rule_import'; 49 | public $menu_option = 'test'; 50 | 51 | function getTitle() { 52 | return 'Rulesengine test'; 53 | } 54 | } 55 | -------------------------------------------------------------------------------- /src/Showtabitem.php: -------------------------------------------------------------------------------- 1 | . 24 | * ------------------------------------------------------------------------- 25 | * @copyright Copyright (C) 2006-2022 by Example plugin team. 26 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 27 | * @link https://github.com/pluginsGLPI/example 28 | * ------------------------------------------------------------------------- 29 | */ 30 | 31 | namespace GlpiPlugin\Example; 32 | 33 | /** 34 | * Summary of GlpiPlugin\Example\Showtabitem 35 | * Example of pre_show_xxx and post_show_xxx implementation 36 | * 37 | * 38 | * pre_show_item will be fired before an item is shown 39 | * ex: when viewing a ticket, change, computer,... 40 | * 41 | * will be fired at each sub-item 42 | * ex: for each TicketTask, ITILFollowup, ... 43 | * 44 | * post_show_item will be fired after the item show 45 | * 46 | * 47 | * pre_show_tab will be fired before a tab is shown 48 | * when tabs are loaded, 49 | * ex: when viewing the Followup tab 50 | * 51 | * post_show_tab will be fired after the tab show 52 | * 53 | * */ 54 | class Showtabitem { 55 | 56 | /** 57 | * Summary of pre_show_tab 58 | * @param array $params is an array like following 59 | * array( 'item', 'options') 60 | * where 'item' is the parent object (like 'Ticket'), 61 | * and 'options' are options like following 62 | * array( 'tabnum', 'itemtype') 63 | * where 'tabnum' is the internal name of the tab that will be shown 64 | * and 'itemtype' is the type of the tab (ex: 'ITILFollowup' when showing followup tab in a ticket) 65 | * Note: you may pass datas to post_show_tab using the $param['options'] array (see example below) 66 | */ 67 | static function pre_show_tab($params) { 68 | switch ($params['item']->getType()) { 69 | case 'Ticket': 70 | if ($params['options']['itemtype']=='TicketValidation' && $params['options']['tabnum']==2) { 71 | // if tasks are not all done 72 | // then prevent solution div to show 73 | // this is an example to prevent solving of ticket 74 | if (true) { // here you should test if some tasks are in todo status. 75 | $params['options']['prevent_solution'] = true; // this will be passed to the post_show hook 76 | echo ""; 92 | echo "
93 |
94 |
95 |
96 |
97 |
98 |
99 |
100 |
101 |
102 |

103 | "."Can't solve ticket"." 104 |
105 |
106 |

107 |

108 | "."Tasks are waiting to be done"." 109 | 110 |

111 |
112 |
113 |
114 |
115 |
116 |
117 |
118 |
119 |
120 |
"; 121 | } 122 | break; 123 | 124 | case 'Computer': 125 | break; 126 | } 127 | } 128 | 129 | /** 130 | * Summary of pre_show_item 131 | * @param array $params is an array like following 132 | * array( 'item', 'options') 133 | * where 'item' is the object to show (like 'Ticket', 'TicketTask', ...), 134 | * BEWARE that sometimes it can be an array of data and not an object (ex: for solution item) 135 | * and 'options' are options like following 136 | * if item is a main object like a ticket, change, problem, ... then it contains 137 | * array( 'id' ) 138 | * where 'id' is the id of object that will be shown (same than $param['item']->fields['id']) 139 | * or if item contains a sub-object like followup, task, ... then it contains 140 | * array( 'parent', 'rand', 'showprivate') 141 | * where 'parent' is the main object related to the current item (ex: if 'item' is ITILFollowup then it will be the related Ticket) 142 | * and 'rand' contains the random number that will be used to render the item 143 | * and 'showprivate' is the right to show private items 144 | * Note: you may pass datas to post_show_item using the $param['options'] array 145 | */ 146 | static function pre_show_item($params) { 147 | if (!is_array($params['item'])) { 148 | switch ($params['item']->getType()) { 149 | case 'Ticket': 150 | //echo 'test' ; 151 | break; 152 | case 'TicketTask' : 153 | //echo 'test' ; 154 | break; 155 | case 'ITILFollowup' : 156 | //echo 'test' ; 157 | break; 158 | } 159 | } else { 160 | // here we are going to view a Solution 161 | return; 162 | } 163 | } 164 | 165 | /** 166 | * Summary of post_show_item 167 | * @param array $params is an array like following 168 | * array( 'item', 'options') 169 | * where 'item' is the object to show (like 'Ticket', 'TicketTask', ...), 170 | * and 'options' are options like following 171 | * if item is a main object like a ticket, change, problem, ... then it contains 172 | * array( 'id' ) 173 | * where 'id' is the id of object that will be shown (same than $param['item']->fields['id']) 174 | * or if item contains a sub-object like followup, task, ... then it contains 175 | * array( 'parent', 'rand', 'showprivate') 176 | * where 'parent' is the main object related to the current item (ex: if 'item' is ITILFollowup then it will be the related Ticket) 177 | * and 'rand' contains the random number that will be used to render the item 178 | * and 'showprivate' is the right to show private items 179 | * Note: you may get datas from pre_show_item using the $param['options'] array 180 | */ 181 | static function post_show_item($params) { 182 | if (!is_array($params['item'])) { 183 | switch ($params['item']->getType()) { 184 | case 'Ticket': 185 | //echo 'test' ; 186 | break; 187 | case 'TicketTask' : 188 | //echo 'test' ; 189 | break; 190 | case 'ITILFollowup' : 191 | //echo 'test' ; 192 | break; 193 | } 194 | } else { 195 | // here we are going to view a Solution 196 | return; 197 | } 198 | } 199 | 200 | } 201 | -------------------------------------------------------------------------------- /stat.php: -------------------------------------------------------------------------------- 1 | . 24 | * ------------------------------------------------------------------------- 25 | * @copyright Copyright (C) 2006-2022 by Example plugin team. 26 | * @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 27 | * @link https://github.com/pluginsGLPI/example 28 | * ------------------------------------------------------------------------- 29 | */ 30 | 31 | // ---------------------------------------------------------------------- 32 | // Original Author of file: 33 | // Purpose of file: 34 | // ---------------------------------------------------------------------- 35 | 36 | // Non menu entry case 37 | //header("Location:../../central.php"); 38 | 39 | // Entry menu case 40 | define('GLPI_ROOT', '../..'); 41 | include (GLPI_ROOT . "/inc/includes.php"); 42 | 43 | Session::checkRight(Config::$rightname, UPDATE); 44 | 45 | Html::header("TITLE", $_SERVER['PHP_SELF'], "plugins"); 46 | 47 | echo "This is the plugin stat page"; 48 | 49 | Html::footer(); 50 | -------------------------------------------------------------------------------- /tools/HEADER: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------- 2 | Example plugin for GLPI 3 | ------------------------------------------------------------------------- 4 | 5 | LICENSE 6 | 7 | This file is part of Example. 8 | 9 | Example is free software; you can redistribute it and/or modify 10 | it under the terms of the GNU General Public License as published by 11 | the Free Software Foundation; either version 2 of the License, or 12 | (at your option) any later version. 13 | 14 | Example is distributed in the hope that it will be useful, 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 | GNU General Public License for more details. 18 | 19 | You should have received a copy of the GNU General Public License 20 | along with Example. If not, see . 21 | ------------------------------------------------------------------------- 22 | @copyright Copyright (C) 2006-2022 by Example plugin team. 23 | @license GPLv2 https://www.gnu.org/licenses/gpl-2.0.html 24 | @link https://github.com/pluginsGLPI/example 25 | ------------------------------------------------------------------------- 26 | --------------------------------------------------------------------------------