diff --git a/composer.lock b/composer.lock index 7f60324..46fe555 100644 --- a/composer.lock +++ b/composer.lock @@ -667,21 +667,21 @@ }, { "name": "league/container", - "version": "3.3.4", + "version": "3.3.5", "source": { "type": "git", "url": "https://github.com/thephpleague/container.git", - "reference": "40aed0f11d16bc23f9d04a27acc3549cd1bb42ab" + "reference": "048ab87810f508dbedbcb7ae941b606eb8ee353b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/container/zipball/40aed0f11d16bc23f9d04a27acc3549cd1bb42ab", - "reference": "40aed0f11d16bc23f9d04a27acc3549cd1bb42ab", + "url": "https://api.github.com/repos/thephpleague/container/zipball/048ab87810f508dbedbcb7ae941b606eb8ee353b", + "reference": "048ab87810f508dbedbcb7ae941b606eb8ee353b", "shasum": "" }, "require": { "php": "^7.0 || ^8.0", - "psr/container": "^1.0" + "psr/container": "^1.0.0 || ^2.0.0" }, "provide": { "psr/container-implementation": "^1.0" @@ -734,7 +734,7 @@ ], "support": { "issues": "https://github.com/thephpleague/container/issues", - "source": "https://github.com/thephpleague/container/tree/3.3.4" + "source": "https://github.com/thephpleague/container/tree/3.3.5" }, "funding": [ { @@ -742,7 +742,7 @@ "type": "github" } ], - "time": "2021-02-22T10:35:05+00:00" + "time": "2021-03-16T09:42:56+00:00" }, { "name": "phpstan/phpdoc-parser", @@ -847,16 +847,16 @@ }, { "name": "psr/log", - "version": "1.1.3", + "version": "1.1.4", "source": { "type": "git", "url": "https://github.com/php-fig/log.git", - "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc" + "reference": "d49695b909c3b7628b6289db5479a1c204601f11" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/0f73288fd15629204f9d42b7055f72dacbe811fc", - "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc", + "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11", + "reference": "d49695b909c3b7628b6289db5479a1c204601f11", "shasum": "" }, "require": { @@ -880,7 +880,7 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], "description": "Common interface for logging libraries", @@ -891,9 +891,9 @@ "psr-3" ], "support": { - "source": "https://github.com/php-fig/log/tree/1.1.3" + "source": "https://github.com/php-fig/log/tree/1.1.4" }, - "time": "2020-03-23T09:12:05+00:00" + "time": "2021-05-03T11:20:27+00:00" }, { "name": "slevomat/coding-standard", @@ -958,16 +958,16 @@ }, { "name": "squizlabs/php_codesniffer", - "version": "3.5.8", + "version": "3.6.0", "source": { "type": "git", "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "9d583721a7157ee997f235f327de038e7ea6dac4" + "reference": "ffced0d2c8fa8e6cdc4d695a743271fab6c38625" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/9d583721a7157ee997f235f327de038e7ea6dac4", - "reference": "9d583721a7157ee997f235f327de038e7ea6dac4", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ffced0d2c8fa8e6cdc4d695a743271fab6c38625", + "reference": "ffced0d2c8fa8e6cdc4d695a743271fab6c38625", "shasum": "" }, "require": { @@ -1010,20 +1010,20 @@ "source": "https://github.com/squizlabs/PHP_CodeSniffer", "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" }, - "time": "2020-10-23T02:01:07+00:00" + "time": "2021-04-09T00:54:41+00:00" }, { "name": "symfony/console", - "version": "v4.4.20", + "version": "v4.4.24", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "c98349bda966c70d6c08b4cd8658377c94166492" + "reference": "1b15ca1b1bedda86f98064da9ff5d800560d4c6d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/c98349bda966c70d6c08b4cd8658377c94166492", - "reference": "c98349bda966c70d6c08b4cd8658377c94166492", + "url": "https://api.github.com/repos/symfony/console/zipball/1b15ca1b1bedda86f98064da9ff5d800560d4c6d", + "reference": "1b15ca1b1bedda86f98064da9ff5d800560d4c6d", "shasum": "" }, "require": { @@ -1083,7 +1083,7 @@ "description": "Eases the creation of beautiful and testable command line interfaces", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/console/tree/v4.4.20" + "source": "https://github.com/symfony/console/tree/v4.4.24" }, "funding": [ { @@ -1099,7 +1099,7 @@ "type": "tidelift" } ], - "time": "2021-02-22T18:44:15+00:00" + "time": "2021-05-13T06:28:07+00:00" }, { "name": "symfony/event-dispatcher", @@ -1265,16 +1265,16 @@ }, { "name": "symfony/filesystem", - "version": "v4.4.20", + "version": "v4.4.22", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "715e7a531bdae109a828f9e91629e5b3b2926beb" + "reference": "f0f06656a18304cdeacb2c4c0113a2b78a2b4c2a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/715e7a531bdae109a828f9e91629e5b3b2926beb", - "reference": "715e7a531bdae109a828f9e91629e5b3b2926beb", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/f0f06656a18304cdeacb2c4c0113a2b78a2b4c2a", + "reference": "f0f06656a18304cdeacb2c4c0113a2b78a2b4c2a", "shasum": "" }, "require": { @@ -1307,7 +1307,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/filesystem/tree/v4.4.20" + "source": "https://github.com/symfony/filesystem/tree/v4.4.22" }, "funding": [ { @@ -1323,20 +1323,20 @@ "type": "tidelift" } ], - "time": "2021-02-11T19:34:41+00:00" + "time": "2021-04-01T10:24:12+00:00" }, { "name": "symfony/finder", - "version": "v4.4.20", + "version": "v4.4.24", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "2543795ab1570df588b9bbd31e1a2bd7037b94f6" + "reference": "a96bc19ed87c88eec78e1a4c803bdc1446952983" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/2543795ab1570df588b9bbd31e1a2bd7037b94f6", - "reference": "2543795ab1570df588b9bbd31e1a2bd7037b94f6", + "url": "https://api.github.com/repos/symfony/finder/zipball/a96bc19ed87c88eec78e1a4c803bdc1446952983", + "reference": "a96bc19ed87c88eec78e1a4c803bdc1446952983", "shasum": "" }, "require": { @@ -1368,7 +1368,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v4.4.20" + "source": "https://github.com/symfony/finder/tree/v4.4.24" }, "funding": [ { @@ -1384,20 +1384,20 @@ "type": "tidelift" } ], - "time": "2021-02-12T10:48:09+00:00" + "time": "2021-05-16T12:27:45+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.22.1", + "version": "v1.23.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "c6c942b1ac76c82448322025e084cadc56048b4e" + "reference": "46cd95797e9df938fdd2b03693b5fca5e64b01ce" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/c6c942b1ac76c82448322025e084cadc56048b4e", - "reference": "c6c942b1ac76c82448322025e084cadc56048b4e", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/46cd95797e9df938fdd2b03693b5fca5e64b01ce", + "reference": "46cd95797e9df938fdd2b03693b5fca5e64b01ce", "shasum": "" }, "require": { @@ -1409,7 +1409,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.22-dev" + "dev-main": "1.23-dev" }, "thanks": { "name": "symfony/polyfill", @@ -1447,7 +1447,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.22.1" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.23.0" }, "funding": [ { @@ -1463,20 +1463,20 @@ "type": "tidelift" } ], - "time": "2021-01-07T16:49:33+00:00" + "time": "2021-02-19T12:13:01+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.22.1", + "version": "v1.23.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "5232de97ee3b75b0360528dae24e73db49566ab1" + "reference": "2df51500adbaebdc4c38dea4c89a2e131c45c8a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/5232de97ee3b75b0360528dae24e73db49566ab1", - "reference": "5232de97ee3b75b0360528dae24e73db49566ab1", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/2df51500adbaebdc4c38dea4c89a2e131c45c8a1", + "reference": "2df51500adbaebdc4c38dea4c89a2e131c45c8a1", "shasum": "" }, "require": { @@ -1488,7 +1488,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.22-dev" + "dev-main": "1.23-dev" }, "thanks": { "name": "symfony/polyfill", @@ -1527,7 +1527,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.22.1" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.23.0" }, "funding": [ { @@ -1543,20 +1543,20 @@ "type": "tidelift" } ], - "time": "2021-01-22T09:19:47+00:00" + "time": "2021-05-27T09:27:20+00:00" }, { "name": "symfony/polyfill-php73", - "version": "v1.22.1", + "version": "v1.23.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2" + "reference": "fba8933c384d6476ab14fb7b8526e5287ca7e010" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/a678b42e92f86eca04b7fa4c0f6f19d097fb69e2", - "reference": "a678b42e92f86eca04b7fa4c0f6f19d097fb69e2", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fba8933c384d6476ab14fb7b8526e5287ca7e010", + "reference": "fba8933c384d6476ab14fb7b8526e5287ca7e010", "shasum": "" }, "require": { @@ -1565,7 +1565,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.22-dev" + "dev-main": "1.23-dev" }, "thanks": { "name": "symfony/polyfill", @@ -1606,7 +1606,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.22.1" + "source": "https://github.com/symfony/polyfill-php73/tree/v1.23.0" }, "funding": [ { @@ -1622,20 +1622,20 @@ "type": "tidelift" } ], - "time": "2021-01-07T16:49:33+00:00" + "time": "2021-02-19T12:13:01+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.22.1", + "version": "v1.23.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91" + "reference": "eca0bf41ed421bed1b57c4958bab16aa86b757d0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/dc3063ba22c2a1fd2f45ed856374d79114998f91", - "reference": "dc3063ba22c2a1fd2f45ed856374d79114998f91", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/eca0bf41ed421bed1b57c4958bab16aa86b757d0", + "reference": "eca0bf41ed421bed1b57c4958bab16aa86b757d0", "shasum": "" }, "require": { @@ -1644,7 +1644,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.22-dev" + "dev-main": "1.23-dev" }, "thanks": { "name": "symfony/polyfill", @@ -1689,7 +1689,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.22.1" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.23.0" }, "funding": [ { @@ -1705,20 +1705,20 @@ "type": "tidelift" } ], - "time": "2021-01-07T16:49:33+00:00" + "time": "2021-02-19T12:13:01+00:00" }, { "name": "symfony/process", - "version": "v4.4.20", + "version": "v4.4.22", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "7e950b6366d4da90292c2e7fa820b3c1842b965a" + "reference": "f5481b22729d465acb1cea3455fc04ce84b0148b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/7e950b6366d4da90292c2e7fa820b3c1842b965a", - "reference": "7e950b6366d4da90292c2e7fa820b3c1842b965a", + "url": "https://api.github.com/repos/symfony/process/zipball/f5481b22729d465acb1cea3455fc04ce84b0148b", + "reference": "f5481b22729d465acb1cea3455fc04ce84b0148b", "shasum": "" }, "require": { @@ -1750,7 +1750,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v4.4.20" + "source": "https://github.com/symfony/process/tree/v4.4.22" }, "funding": [ { @@ -1766,7 +1766,7 @@ "type": "tidelift" } ], - "time": "2021-01-27T09:09:26+00:00" + "time": "2021-04-07T16:22:29+00:00" }, { "name": "symfony/service-contracts", @@ -1849,16 +1849,16 @@ }, { "name": "symfony/yaml", - "version": "v4.4.20", + "version": "v4.4.24", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "29e61305e1c79d25f71060903982ead8f533e267" + "reference": "8b6d1b97521e2f125039b3fcb4747584c6dfa0ef" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/29e61305e1c79d25f71060903982ead8f533e267", - "reference": "29e61305e1c79d25f71060903982ead8f533e267", + "url": "https://api.github.com/repos/symfony/yaml/zipball/8b6d1b97521e2f125039b3fcb4747584c6dfa0ef", + "reference": "8b6d1b97521e2f125039b3fcb4747584c6dfa0ef", "shasum": "" }, "require": { @@ -1900,7 +1900,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v4.4.20" + "source": "https://github.com/symfony/yaml/tree/v4.4.24" }, "funding": [ { @@ -1916,7 +1916,7 @@ "type": "tidelift" } ], - "time": "2021-02-22T15:36:50+00:00" + "time": "2021-05-16T09:52:47+00:00" } ], "aliases": [], diff --git a/genericobject.xml b/genericobject.xml index dc6e62a..84358fa 100644 --- a/genericobject.xml +++ b/genericobject.xml @@ -24,6 +24,11 @@ Walid Nouh + + 2.11.0 + ~9.5.0 + https://github.com/pluginsGLPI/genericobject/releases/download/2.11.0/glpi-genericobject-2.11.0.tar.bz2 + 2.10.1 ~9.5.0 diff --git a/inc/type.class.php b/inc/type.class.php index 08c94b5..d739b58 100644 --- a/inc/type.class.php +++ b/inc/type.class.php @@ -1725,6 +1725,18 @@ static function getTypesByFamily($all = false) { } } + static function getTypesForFormcreator($param) { + $families = PluginGenericobjectTypeFamily::getFamilies(); + $familyFk = PluginGenericobjectTypeFamily::getForeignKeyField(); + foreach(self::getTypes() as $type => $typeData) { + $familyName = isset($families[$typeData[$familyFk]]) + ? $families[$typeData[$familyFk]] + : _n('Other', 'Others', Session::getPluralNumber(), 'genericobject'); + $param[$familyName][$type] = $typeData['name']; + } + return $param; + } + /** * Register all variables for a type * @param type the type's attributes diff --git a/locales/cs_CZ.mo b/locales/cs_CZ.mo index 5041726..545c072 100644 Binary files a/locales/cs_CZ.mo and b/locales/cs_CZ.mo differ diff --git a/locales/cs_CZ.po b/locales/cs_CZ.po index 025ff32..e87ba2c 100644 --- a/locales/cs_CZ.po +++ b/locales/cs_CZ.po @@ -9,9 +9,9 @@ msgid "" msgstr "" "Project-Id-Version: GLPI Plugin - Genericobject\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-15 14:07+0000\n" -"PO-Revision-Date: 2019-11-09 06:06+0000\n" -"Last-Translator: Pavel Borecki \n" +"POT-Creation-Date: 2021-05-28 10:21+0000\n" +"PO-Revision-Date: 2021-05-28 10:22+0000\n" +"Last-Translator: Cédric Anne\n" "Language-Team: Czech (Czech Republic) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/cs_CZ/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -21,7 +21,7 @@ msgstr "" #: index.php:58 front/familylist.php:33 front/familylist.php:41 #: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292 -#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223 +#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:227 msgid "Objects management" msgstr "Správa objektů" @@ -128,14 +128,22 @@ msgstr "Znovu vytvořit soubory" msgid "Link to other objects" msgstr "Propojit s ostatními objekty" +#: inc/type.class.php:1734 +msgid "Other" +msgid_plural "Others" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2089 +#: inc/type.class.php:2101 #, php-format msgid "Unable to load the class %1$s." msgstr "Nedaří se načíst třídu %1$s." #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2091 +#: inc/type.class.php:2103 #, php-format msgid "" "You probably have garbage data in your database for this plugin and missing " diff --git a/locales/en_GB.mo b/locales/en_GB.mo index 065e02e..c9e5471 100644 Binary files a/locales/en_GB.mo and b/locales/en_GB.mo differ diff --git a/locales/en_GB.po b/locales/en_GB.po index 937c5be..78d9a0d 100644 --- a/locales/en_GB.po +++ b/locales/en_GB.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-15 14:07+0000\n" -"PO-Revision-Date: 2021-02-15 14:07+0000\n" +"POT-Creation-Date: 2021-05-28 10:21+0000\n" +"PO-Revision-Date: 2021-05-28 10:21+0000\n" "Last-Translator: Automatically generated\n" "Language-Team: none\n" "Language: en_GB\n" @@ -19,7 +19,7 @@ msgstr "" #: index.php:58 front/familylist.php:33 front/familylist.php:41 #: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292 -#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223 +#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:227 msgid "Objects management" msgstr "Objects management" @@ -127,14 +127,20 @@ msgstr "Regenerate files" msgid "Link to other objects" msgstr "Link to other objects" +#: inc/type.class.php:1734 +msgid "Other" +msgid_plural "Others" +msgstr[0] "Other" +msgstr[1] "Others" + #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2089 +#: inc/type.class.php:2101 #, php-format msgid "Unable to load the class %1$s." msgstr "Unable to load the class %1$s." #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2091 +#: inc/type.class.php:2103 #, php-format msgid "" "You probably have garbage data in your database for this plugin and missing " diff --git a/locales/es_ES.mo b/locales/es_ES.mo index dcd7407..9419038 100644 Binary files a/locales/es_ES.mo and b/locales/es_ES.mo differ diff --git a/locales/es_ES.po b/locales/es_ES.po index 91792e0..c187c13 100644 --- a/locales/es_ES.po +++ b/locales/es_ES.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: GLPI Plugin - Genericobject\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-15 14:07+0000\n" -"PO-Revision-Date: 2019-11-08 14:59+0000\n" +"POT-Creation-Date: 2021-05-28 10:21+0000\n" +"PO-Revision-Date: 2021-05-28 10:22+0000\n" "Last-Translator: Cédric Anne\n" "Language-Team: Spanish (Spain) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/es_ES/)\n" "MIME-Version: 1.0\n" @@ -20,7 +20,7 @@ msgstr "" #: index.php:58 front/familylist.php:33 front/familylist.php:41 #: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292 -#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223 +#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:227 msgid "Objects management" msgstr "Gestión de objetos" @@ -127,14 +127,20 @@ msgstr "Generar de nuevo los ficheros" msgid "Link to other objects" msgstr "Enlace con otros objetos" +#: inc/type.class.php:1734 +msgid "Other" +msgid_plural "Others" +msgstr[0] "" +msgstr[1] "" + #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2089 +#: inc/type.class.php:2101 #, php-format msgid "Unable to load the class %1$s." msgstr "" #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2091 +#: inc/type.class.php:2103 #, php-format msgid "" "You probably have garbage data in your database for this plugin and missing " diff --git a/locales/fi_FI.mo b/locales/fi_FI.mo index 5a4f70c..d7eb92a 100644 Binary files a/locales/fi_FI.mo and b/locales/fi_FI.mo differ diff --git a/locales/fi_FI.po b/locales/fi_FI.po index b136d09..4ef274a 100644 --- a/locales/fi_FI.po +++ b/locales/fi_FI.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: GLPI Plugin - Genericobject\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-15 14:07+0000\n" -"PO-Revision-Date: 2019-11-08 14:59+0000\n" +"POT-Creation-Date: 2021-05-28 10:21+0000\n" +"PO-Revision-Date: 2021-05-28 10:22+0000\n" "Last-Translator: Cédric Anne\n" "Language-Team: Finnish (Finland) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/fi_FI/)\n" "MIME-Version: 1.0\n" @@ -20,7 +20,7 @@ msgstr "" #: index.php:58 front/familylist.php:33 front/familylist.php:41 #: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292 -#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223 +#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:227 msgid "Objects management" msgstr "Kohteiden hallinta" @@ -127,14 +127,20 @@ msgstr "Luo tiedostot uudelleen" msgid "Link to other objects" msgstr "Linkki muihin kohteisiin" +#: inc/type.class.php:1734 +msgid "Other" +msgid_plural "Others" +msgstr[0] "" +msgstr[1] "" + #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2089 +#: inc/type.class.php:2101 #, php-format msgid "Unable to load the class %1$s." msgstr "Ei voida ladata luokkaa %1$s." #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2091 +#: inc/type.class.php:2103 #, php-format msgid "" "You probably have garbage data in your database for this plugin and missing " diff --git a/locales/fr_CA.mo b/locales/fr_CA.mo index 742897b..5d3001b 100644 Binary files a/locales/fr_CA.mo and b/locales/fr_CA.mo differ diff --git a/locales/fr_CA.po b/locales/fr_CA.po index 3b64edc..f6a87cb 100644 --- a/locales/fr_CA.po +++ b/locales/fr_CA.po @@ -3,14 +3,14 @@ # This file is distributed under the same license as the PACKAGE package. # # Translators: -# Tiago Graca, 2020 +# Tiago Graça, 2020 msgid "" msgstr "" "Project-Id-Version: GLPI Plugin - Genericobject\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-15 14:07+0000\n" -"PO-Revision-Date: 2020-06-09 02:45+0000\n" -"Last-Translator: Tiago Graca\n" +"POT-Creation-Date: 2021-05-28 10:21+0000\n" +"PO-Revision-Date: 2021-05-28 10:22+0000\n" +"Last-Translator: Cédric Anne\n" "Language-Team: French (Canada) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/fr_CA/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -20,7 +20,7 @@ msgstr "" #: index.php:58 front/familylist.php:33 front/familylist.php:41 #: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292 -#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223 +#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:227 msgid "Objects management" msgstr "Gestion d'objets" @@ -127,14 +127,20 @@ msgstr "Regénérer les fichiers" msgid "Link to other objects" msgstr "Liaison avec d'autres objets" +#: inc/type.class.php:1734 +msgid "Other" +msgid_plural "Others" +msgstr[0] "" +msgstr[1] "" + #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2089 +#: inc/type.class.php:2101 #, php-format msgid "Unable to load the class %1$s." msgstr "Impossible de charger la classe %1$s" #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2091 +#: inc/type.class.php:2103 #, php-format msgid "" "You probably have garbage data in your database for this plugin and missing " diff --git a/locales/fr_FR.mo b/locales/fr_FR.mo index 92931b8..5fc751e 100644 Binary files a/locales/fr_FR.mo and b/locales/fr_FR.mo differ diff --git a/locales/fr_FR.po b/locales/fr_FR.po index 3c4a560..373d945 100644 --- a/locales/fr_FR.po +++ b/locales/fr_FR.po @@ -13,8 +13,8 @@ msgid "" msgstr "" "Project-Id-Version: GLPI Plugin - Genericobject\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-15 14:07+0000\n" -"PO-Revision-Date: 2019-11-08 14:59+0000\n" +"POT-Creation-Date: 2021-05-28 10:21+0000\n" +"PO-Revision-Date: 2021-05-28 10:22+0000\n" "Last-Translator: Cédric Anne\n" "Language-Team: French (France) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/fr_FR/)\n" "MIME-Version: 1.0\n" @@ -25,7 +25,7 @@ msgstr "" #: index.php:58 front/familylist.php:33 front/familylist.php:41 #: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292 -#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223 +#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:227 msgid "Objects management" msgstr "Gestion d'objets" @@ -132,14 +132,20 @@ msgstr "Regénérer les fichiers" msgid "Link to other objects" msgstr "Liaison avec d'autres objets" +#: inc/type.class.php:1734 +msgid "Other" +msgid_plural "Others" +msgstr[0] "" +msgstr[1] "" + #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2089 +#: inc/type.class.php:2101 #, php-format msgid "Unable to load the class %1$s." msgstr "Impossible de charger la classe %1$s" #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2091 +#: inc/type.class.php:2103 #, php-format msgid "" "You probably have garbage data in your database for this plugin and missing " diff --git a/locales/genericobject.pot b/locales/genericobject.pot index cf5e049..490c9b9 100644 --- a/locales/genericobject.pot +++ b/locales/genericobject.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-15 14:07+0000\n" +"POT-Creation-Date: 2021-05-28 10:21+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -16,10 +16,11 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" #: index.php:58 front/familylist.php:33 front/familylist.php:41 #: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292 -#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223 +#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:227 msgid "Objects management" msgstr "" @@ -126,14 +127,20 @@ msgstr "" msgid "Link to other objects" msgstr "" +#: inc/type.class.php:1734 +msgid "Other" +msgid_plural "Others" +msgstr[0] "" +msgstr[1] "" + #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2089 +#: inc/type.class.php:2101 #, php-format msgid "Unable to load the class %1$s." msgstr "" #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2091 +#: inc/type.class.php:2103 #, php-format msgid "" "You probably have garbage data in your database for this plugin and missing " diff --git a/locales/hr_HR.mo b/locales/hr_HR.mo index cb9e99e..4f682a0 100644 Binary files a/locales/hr_HR.mo and b/locales/hr_HR.mo differ diff --git a/locales/hr_HR.po b/locales/hr_HR.po index dd91c07..7c0e4c7 100644 --- a/locales/hr_HR.po +++ b/locales/hr_HR.po @@ -8,9 +8,9 @@ msgid "" msgstr "" "Project-Id-Version: GLPI Plugin - Genericobject\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-15 14:07+0000\n" -"PO-Revision-Date: 2020-02-12 13:54+0000\n" -"Last-Translator: milotype \n" +"POT-Creation-Date: 2021-05-28 10:21+0000\n" +"PO-Revision-Date: 2021-05-28 10:22+0000\n" +"Last-Translator: Cédric Anne\n" "Language-Team: Croatian (Croatia) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/hr_HR/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -20,7 +20,7 @@ msgstr "" #: index.php:58 front/familylist.php:33 front/familylist.php:41 #: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292 -#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223 +#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:227 msgid "Objects management" msgstr "Upravljanje objektima" @@ -127,14 +127,21 @@ msgstr "Ponovo generiraj datoteke" msgid "Link to other objects" msgstr "Poveži s drugim objektima" +#: inc/type.class.php:1734 +msgid "Other" +msgid_plural "Others" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2089 +#: inc/type.class.php:2101 #, php-format msgid "Unable to load the class %1$s." msgstr "Nije moguće učitati klasu %1$s." #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2091 +#: inc/type.class.php:2103 #, php-format msgid "" "You probably have garbage data in your database for this plugin and missing " diff --git a/locales/it_IT.mo b/locales/it_IT.mo index faf921f..8cc7a56 100644 Binary files a/locales/it_IT.mo and b/locales/it_IT.mo differ diff --git a/locales/it_IT.po b/locales/it_IT.po index 7b2cb76..d7715b8 100644 --- a/locales/it_IT.po +++ b/locales/it_IT.po @@ -10,8 +10,8 @@ msgid "" msgstr "" "Project-Id-Version: GLPI Plugin - Genericobject\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-15 14:07+0000\n" -"PO-Revision-Date: 2019-11-08 14:59+0000\n" +"POT-Creation-Date: 2021-05-28 10:21+0000\n" +"PO-Revision-Date: 2021-05-28 10:22+0000\n" "Last-Translator: Cédric Anne\n" "Language-Team: Italian (Italy) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/it_IT/)\n" "MIME-Version: 1.0\n" @@ -22,7 +22,7 @@ msgstr "" #: index.php:58 front/familylist.php:33 front/familylist.php:41 #: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292 -#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223 +#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:227 msgid "Objects management" msgstr "Gestione degli Oggetti" @@ -129,14 +129,20 @@ msgstr "Rigenera file" msgid "Link to other objects" msgstr "Collega ad altri oggetti" +#: inc/type.class.php:1734 +msgid "Other" +msgid_plural "Others" +msgstr[0] "" +msgstr[1] "" + #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2089 +#: inc/type.class.php:2101 #, php-format msgid "Unable to load the class %1$s." msgstr "Impossibile caricare la classe %1$s ." #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2091 +#: inc/type.class.php:2103 #, php-format msgid "" "You probably have garbage data in your database for this plugin and missing " diff --git a/locales/ko_KR.mo b/locales/ko_KR.mo index 6f5a9b6..031803e 100644 Binary files a/locales/ko_KR.mo and b/locales/ko_KR.mo differ diff --git a/locales/ko_KR.po b/locales/ko_KR.po index e45fb49..1432467 100644 --- a/locales/ko_KR.po +++ b/locales/ko_KR.po @@ -8,9 +8,9 @@ msgid "" msgstr "" "Project-Id-Version: GLPI Plugin - Genericobject\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-15 14:07+0000\n" -"PO-Revision-Date: 2020-02-03 04:26+0000\n" -"Last-Translator: SeongHyeon Cho \n" +"POT-Creation-Date: 2021-05-28 10:21+0000\n" +"PO-Revision-Date: 2021-05-28 10:22+0000\n" +"Last-Translator: Cédric Anne\n" "Language-Team: Korean (Korea) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/ko_KR/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -20,7 +20,7 @@ msgstr "" #: index.php:58 front/familylist.php:33 front/familylist.php:41 #: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292 -#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223 +#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:227 msgid "Objects management" msgstr "객체 관리" @@ -127,14 +127,19 @@ msgstr "파일 재생성" msgid "Link to other objects" msgstr "다른 객체들과 연결" +#: inc/type.class.php:1734 +msgid "Other" +msgid_plural "Others" +msgstr[0] "" + #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2089 +#: inc/type.class.php:2101 #, php-format msgid "Unable to load the class %1$s." msgstr "클래스 %1$s을 불러올 수 없습니다." #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2091 +#: inc/type.class.php:2103 #, php-format msgid "" "You probably have garbage data in your database for this plugin and missing " diff --git a/locales/pl_PL.mo b/locales/pl_PL.mo index 5b370a6..b5481a8 100644 Binary files a/locales/pl_PL.mo and b/locales/pl_PL.mo differ diff --git a/locales/pl_PL.po b/locales/pl_PL.po index 4e767ec..7213e52 100644 --- a/locales/pl_PL.po +++ b/locales/pl_PL.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: GLPI Plugin - Genericobject\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-15 14:07+0000\n" -"PO-Revision-Date: 2019-11-08 14:59+0000\n" +"POT-Creation-Date: 2021-05-28 10:21+0000\n" +"PO-Revision-Date: 2021-05-28 10:22+0000\n" "Last-Translator: Cédric Anne\n" "Language-Team: Polish (Poland) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/pl_PL/)\n" "MIME-Version: 1.0\n" @@ -20,7 +20,7 @@ msgstr "" #: index.php:58 front/familylist.php:33 front/familylist.php:41 #: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292 -#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223 +#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:227 msgid "Objects management" msgstr "Zarządzanie obiektami" @@ -127,14 +127,22 @@ msgstr "" msgid "Link to other objects" msgstr "Link do innych obiektów" +#: inc/type.class.php:1734 +msgid "Other" +msgid_plural "Others" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2089 +#: inc/type.class.php:2101 #, php-format msgid "Unable to load the class %1$s." msgstr "" #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2091 +#: inc/type.class.php:2103 #, php-format msgid "" "You probably have garbage data in your database for this plugin and missing " diff --git a/locales/pt_BR.mo b/locales/pt_BR.mo index 13f182e..63978a4 100644 Binary files a/locales/pt_BR.mo and b/locales/pt_BR.mo differ diff --git a/locales/pt_BR.po b/locales/pt_BR.po index 333e6d2..c4b2f1f 100644 --- a/locales/pt_BR.po +++ b/locales/pt_BR.po @@ -10,8 +10,8 @@ msgid "" msgstr "" "Project-Id-Version: GLPI Plugin - Genericobject\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-15 14:07+0000\n" -"PO-Revision-Date: 2019-11-08 14:59+0000\n" +"POT-Creation-Date: 2021-05-28 10:21+0000\n" +"PO-Revision-Date: 2021-05-28 10:22+0000\n" "Last-Translator: Cédric Anne\n" "Language-Team: Portuguese (Brazil) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/pt_BR/)\n" "MIME-Version: 1.0\n" @@ -22,7 +22,7 @@ msgstr "" #: index.php:58 front/familylist.php:33 front/familylist.php:41 #: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292 -#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223 +#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:227 msgid "Objects management" msgstr "Gerenciamento de objetos" @@ -129,14 +129,20 @@ msgstr "Regenerar arquivos" msgid "Link to other objects" msgstr "Conexão com outros objetos" +#: inc/type.class.php:1734 +msgid "Other" +msgid_plural "Others" +msgstr[0] "" +msgstr[1] "" + #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2089 +#: inc/type.class.php:2101 #, php-format msgid "Unable to load the class %1$s." msgstr "Não consegui carregar a classe %1$s." #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2091 +#: inc/type.class.php:2103 #, php-format msgid "" "You probably have garbage data in your database for this plugin and missing " diff --git a/locales/pt_PT.mo b/locales/pt_PT.mo index 99a2410..d09086c 100644 Binary files a/locales/pt_PT.mo and b/locales/pt_PT.mo differ diff --git a/locales/pt_PT.po b/locales/pt_PT.po index 05518e0..9dd12fd 100644 --- a/locales/pt_PT.po +++ b/locales/pt_PT.po @@ -7,8 +7,8 @@ msgid "" msgstr "" "Project-Id-Version: GLPI Plugin - Genericobject\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-15 14:07+0000\n" -"PO-Revision-Date: 2019-11-08 14:59+0000\n" +"POT-Creation-Date: 2021-05-28 10:21+0000\n" +"PO-Revision-Date: 2021-05-28 10:22+0000\n" "Last-Translator: Cédric Anne\n" "Language-Team: Portuguese (Portugal) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/pt_PT/)\n" "MIME-Version: 1.0\n" @@ -19,7 +19,7 @@ msgstr "" #: index.php:58 front/familylist.php:33 front/familylist.php:41 #: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292 -#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223 +#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:227 msgid "Objects management" msgstr "Gerenciamento de objetos" @@ -126,14 +126,20 @@ msgstr "Regenerar ficheiros" msgid "Link to other objects" msgstr "Ligação para outro objeto" +#: inc/type.class.php:1734 +msgid "Other" +msgid_plural "Others" +msgstr[0] "" +msgstr[1] "" + #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2089 +#: inc/type.class.php:2101 #, php-format msgid "Unable to load the class %1$s." msgstr "Não é possível carregar a classe usando %1$s." #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2091 +#: inc/type.class.php:2103 #, php-format msgid "" "You probably have garbage data in your database for this plugin and missing " diff --git a/locales/ro_RO.mo b/locales/ro_RO.mo index 97dc197..2e582d7 100644 Binary files a/locales/ro_RO.mo and b/locales/ro_RO.mo differ diff --git a/locales/ro_RO.po b/locales/ro_RO.po index 4bf3d66..6808cd7 100644 --- a/locales/ro_RO.po +++ b/locales/ro_RO.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: GLPI Plugin - Genericobject\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-15 14:07+0000\n" -"PO-Revision-Date: 2019-11-08 14:59+0000\n" +"POT-Creation-Date: 2021-05-28 10:21+0000\n" +"PO-Revision-Date: 2021-05-28 10:22+0000\n" "Last-Translator: Cédric Anne\n" "Language-Team: Romanian (Romania) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/ro_RO/)\n" "MIME-Version: 1.0\n" @@ -20,7 +20,7 @@ msgstr "" #: index.php:58 front/familylist.php:33 front/familylist.php:41 #: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292 -#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223 +#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:227 msgid "Objects management" msgstr "Managementul obiectelor" @@ -127,14 +127,21 @@ msgstr "Fisiere regenerate" msgid "Link to other objects" msgstr "Linck catre alte obiecte" +#: inc/type.class.php:1734 +msgid "Other" +msgid_plural "Others" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" + #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2089 +#: inc/type.class.php:2101 #, php-format msgid "Unable to load the class %1$s." msgstr "" #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2091 +#: inc/type.class.php:2103 #, php-format msgid "" "You probably have garbage data in your database for this plugin and missing " diff --git a/locales/ru_RU.mo b/locales/ru_RU.mo index eba7341..fc51554 100644 Binary files a/locales/ru_RU.mo and b/locales/ru_RU.mo differ diff --git a/locales/ru_RU.po b/locales/ru_RU.po index 7ca0336..7188f4d 100644 --- a/locales/ru_RU.po +++ b/locales/ru_RU.po @@ -9,8 +9,8 @@ msgid "" msgstr "" "Project-Id-Version: GLPI Plugin - Genericobject\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-15 14:07+0000\n" -"PO-Revision-Date: 2019-11-08 14:59+0000\n" +"POT-Creation-Date: 2021-05-28 10:21+0000\n" +"PO-Revision-Date: 2021-05-28 10:22+0000\n" "Last-Translator: Cédric Anne\n" "Language-Team: Russian (Russia) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/ru_RU/)\n" "MIME-Version: 1.0\n" @@ -21,7 +21,7 @@ msgstr "" #: index.php:58 front/familylist.php:33 front/familylist.php:41 #: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292 -#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223 +#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:227 msgid "Objects management" msgstr "Управление объектами" @@ -128,14 +128,22 @@ msgstr "" msgid "Link to other objects" msgstr "Связать с другим объектом" +#: inc/type.class.php:1734 +msgid "Other" +msgid_plural "Others" +msgstr[0] "" +msgstr[1] "" +msgstr[2] "" +msgstr[3] "" + #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2089 +#: inc/type.class.php:2101 #, php-format msgid "Unable to load the class %1$s." msgstr "" #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2091 +#: inc/type.class.php:2103 #, php-format msgid "" "You probably have garbage data in your database for this plugin and missing " diff --git a/locales/sv_SE.mo b/locales/sv_SE.mo index 0432e91..2cc40ef 100644 Binary files a/locales/sv_SE.mo and b/locales/sv_SE.mo differ diff --git a/locales/sv_SE.po b/locales/sv_SE.po index db5c2fa..08c3c3f 100644 --- a/locales/sv_SE.po +++ b/locales/sv_SE.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: GLPI Plugin - Genericobject\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-15 14:07+0000\n" -"PO-Revision-Date: 2019-11-08 14:59+0000\n" +"POT-Creation-Date: 2021-05-28 10:21+0000\n" +"PO-Revision-Date: 2021-05-28 10:22+0000\n" "Last-Translator: Cédric Anne\n" "Language-Team: Swedish (Sweden) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/sv_SE/)\n" "MIME-Version: 1.0\n" @@ -20,7 +20,7 @@ msgstr "" #: index.php:58 front/familylist.php:33 front/familylist.php:41 #: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292 -#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223 +#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:227 msgid "Objects management" msgstr "Hantera tillgångar" @@ -127,14 +127,20 @@ msgstr "Skapa filer på nytt" msgid "Link to other objects" msgstr "Länka till andra tillgångar" +#: inc/type.class.php:1734 +msgid "Other" +msgid_plural "Others" +msgstr[0] "" +msgstr[1] "" + #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2089 +#: inc/type.class.php:2101 #, php-format msgid "Unable to load the class %1$s." msgstr "Kunde inte läsa in klass %1$s-" #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2091 +#: inc/type.class.php:2103 #, php-format msgid "" "You probably have garbage data in your database for this plugin and missing " diff --git a/locales/tr_TR.mo b/locales/tr_TR.mo index 103b3be..afbf52b 100644 Binary files a/locales/tr_TR.mo and b/locales/tr_TR.mo differ diff --git a/locales/tr_TR.po b/locales/tr_TR.po index 2fb2984..569e3ab 100644 --- a/locales/tr_TR.po +++ b/locales/tr_TR.po @@ -8,9 +8,9 @@ msgid "" msgstr "" "Project-Id-Version: GLPI Plugin - Genericobject\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-15 14:07+0000\n" -"PO-Revision-Date: 2019-11-15 05:35+0000\n" -"Last-Translator: Kaya Zeren \n" +"POT-Creation-Date: 2021-05-28 10:21+0000\n" +"PO-Revision-Date: 2021-05-28 10:22+0000\n" +"Last-Translator: Cédric Anne\n" "Language-Team: Turkish (Turkey) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/tr_TR/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -20,7 +20,7 @@ msgstr "" #: index.php:58 front/familylist.php:33 front/familylist.php:41 #: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292 -#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223 +#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:227 msgid "Objects management" msgstr "Nesne yönetimi" @@ -127,14 +127,20 @@ msgstr "Dosyaları yeniden oluştur" msgid "Link to other objects" msgstr "Diğer nesnelere bağlantı" +#: inc/type.class.php:1734 +msgid "Other" +msgid_plural "Others" +msgstr[0] "" +msgstr[1] "" + #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2089 +#: inc/type.class.php:2101 #, php-format msgid "Unable to load the class %1$s." msgstr "%1$s sınıfı yüklenemedi." #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2091 +#: inc/type.class.php:2103 #, php-format msgid "" "You probably have garbage data in your database for this plugin and missing " diff --git a/locales/zh_CN.mo b/locales/zh_CN.mo index 1c73552..51370d7 100644 Binary files a/locales/zh_CN.mo and b/locales/zh_CN.mo differ diff --git a/locales/zh_CN.po b/locales/zh_CN.po index ea72ecd..ee99525 100644 --- a/locales/zh_CN.po +++ b/locales/zh_CN.po @@ -8,8 +8,8 @@ msgid "" msgstr "" "Project-Id-Version: GLPI Plugin - Genericobject\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-02-15 14:07+0000\n" -"PO-Revision-Date: 2019-11-08 14:59+0000\n" +"POT-Creation-Date: 2021-05-28 10:21+0000\n" +"PO-Revision-Date: 2021-05-28 10:22+0000\n" "Last-Translator: Cédric Anne\n" "Language-Team: Chinese (China) (http://www.transifex.com/teclib/glpi-project-plugin-genericobject/language/zh_CN/)\n" "MIME-Version: 1.0\n" @@ -20,7 +20,7 @@ msgstr "" #: index.php:58 front/familylist.php:33 front/familylist.php:41 #: front/type.form.php:73 inc/profile.class.php:39 inc/type.class.php:292 -#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:223 +#: inc/type.class.php:427 inc/object_item.class.php:109 setup.php:227 msgid "Objects management" msgstr "项目管理" @@ -127,14 +127,19 @@ msgstr "" msgid "Link to other objects" msgstr "" +#: inc/type.class.php:1734 +msgid "Other" +msgid_plural "Others" +msgstr[0] "" + #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2089 +#: inc/type.class.php:2101 #, php-format msgid "Unable to load the class %1$s." msgstr "" #. TRANS: %1$s is itemtype name -#: inc/type.class.php:2091 +#: inc/type.class.php:2103 #, php-format msgid "" "You probably have garbage data in your database for this plugin and missing " diff --git a/setup.php b/setup.php index 19681cb..0636efb 100644 --- a/setup.php +++ b/setup.php @@ -35,7 +35,7 @@ ---------------------------------------------------------------------- */ -define ('PLUGIN_GENERICOBJECT_VERSION', '2.10.1'); +define ('PLUGIN_GENERICOBJECT_VERSION', '2.11.0'); // Minimal GLPI version, inclusive define("PLUGIN_GENERICOBJECT_MIN_GLPI", "9.5"); @@ -194,6 +194,10 @@ function plugin_init_genericobject() { $PLUGIN_HOOKS['post_init']['genericobject'] = 'plugin_post_init_genericobject'; $PLUGIN_HOOKS['plugin_datainjection_populate']['genericobject'] = "plugin_datainjection_populate_genericobject"; + $PLUGIN_HOOKS['formcreator_get_glpi_object_types']['genericobject'] = [ + PluginGenericobjectType::getType(), + 'getTypesForFormcreator' + ]; } }